Software Development Network Logo
  • Microsoft ISV
  • Audio and Video
  • IE Development
  • Windows Vista
  • Game Technologies
  • Smart Devicet
  • VS Team System
  • Visual C#
  • Visual C++
  • Windows Forms
  • SQL Server
  • Visual FoxPro
  • SharePoint Products
  • Visual Studio
  • .NET Development

Software Development Network >> dhino's Q&A profile

dhino

Member List

AlexGold
CezaryK
Takezo
RayClark096
yjacket2006
Ed Lewis
Ed Lorenz
Steffanp
Graham Harris
Fabio Vazquez
Ultrawhack
roy_b
paulpayne
Robert duario
Hans Preuer
Francois Menard
Vaibhav Kumar
DrDeath
vision2020
clint 2
Only Title

dhino's Q&A profile

  • Windows Forms Switching between Console application and Windows Forms applications

    I was hoping to write a single application that can behave as Console application if specific run parameters are specified and behave as Windows Forms application otherwise (of course without the Console). For example: public static void main(string[] args) { if(//check if args has specific run params) { //do stuff Console.WriteLine(//results); return; } else { //Show nice form and all that } } Couldn't find any pointers as to how to achieve this. Any pointers Mad.Earth Thanks again admed! However I am a bit nit picky! If I were writing the application for my own use, I would have used this strategy and wouldn't had these questions. However that's not the case ...Show All

  • .NET Development SqlDataAdapter

    Microsoft documentation for DbDataAdapter.Update Method (DataRow[], DataTableMapping) says: When using Update , the order of execution is as follows: The values in the DataRow are moved to the parameter values. The OnRowUpdating event is raised. The command executes. If the command is set to FirstReturnedRecord , then the first returned result is placed in the DataRow . If there are output parameters, they are placed in the DataRow . The OnRowUpdated event is raised. AcceptChanges is called. Does Microsoft implementation of this method call AcceptChanges after step 3 if the row to be updated is DataRowState.Added (a new row) This can be easily verified using an RowUpdated even ...Show All

  • Visual Studio Team System VB code to call a coded webtest from another webtest

    I am making a master coded webtest that calls several other coded webtest. How would I do this in VB Also can I pass values to the webtest and return values from the webtests ~Todd Basically, the problem is that the included web test (the one called from within another web test) is not correctly hooked up with the web test engine. This means the included test can't use databinding, CreateTransaction(), MoveDataTableCursor(), or WebTest events/plugins. It also means the WebTestContext objects exposed in the parent and the included web test are not unified. WebTestRequest events such as ValidateResponse and ExtractValues do actually still work as long as you keep in mind that the contexts are not unified. ...Show All

  • Software Development for Windows Vista Claims aren't static

    Another practical issue. Let's say I choose to request an email (or some other) claim from users who submit information cards to my site. I'm likely going to store that claim for later use in the user profile record I keep on my website. But that information could easily get stale over time and the next time the user authenticates with me, the email claim she submits could very well be different. I'm just curious how those of you deploying relying parties are thinking of dealing with this. It seems as though it might be a good idea to notice the change, and ask her if she wants to update her profile. I wonder if anyone (MS ) is thinking of putting together a set of guidelines for dealing with these corner cases. It'd sure help the user if ...Show All

  • SQL Server Same here

    Visual Studio runs out of memory when trying to use SSIS package. I am trying to create and run a SSIS package that validates and imports some large xml files >200MB. Validation fails because Visual studio cannot open large files without running out of memory. The SSIS package throws this error when I run the package..at the validation task. Error: 0xC002F304 at Validate bio_fixed, XML Task: An error occurred with the following error message: "Exception of type 'System.OutOfMemoryException' was thrown.". How do I increase the amount of RAM that VIsual Studio can use...I have plenty of RAM on my workstation >3GB, but VS chokes maybe around 100MB files Thanks, Forrest I have the same probl ...Show All

  • Visual FoxPro Printing to a Triumph-Adler

    One of my customers recently, bought a new printer, a Triumph-Adler DC2310, the printer runs fine with many applications, except with visual foxpro. It crashs VFP when I try to print. Anyone has a solution DaCosta. You may check to have the latest drivers for printer and check for CODEPAGE=<X>.X should have a value accepted by printer and vfp. You may check CODEPAGE with CPCURRENT (). You also may check fonts. ...Show All

  • Visual Basic How to make connectivity with Public Folder of MS Exchange Server & retrive data from it

    Hi friends! My requirements is to make connectivity with Public Folder of MS Exchange Server for Outlook using VB6.0 or VB.Net. I want to pullout data from Public Folder and want to store in a Excel. Any tips, suggestion or link regarding this topic will be appreciated. Regards Kirti One way I would figure would be to use Outlook to connect to the exchange to get the mail items and use Outlook's Object model to achieve this Using Outlook Automation http://support.microsoft.com/kb/220595/ Then look at the Outlook object model. http://search.live.com/results.aspx q=outlook+%2B+object+model&mkt=en-us&FORM=LVSP The may be able to use the Excel automation ...Show All

  • Visual C# Windows Service Install and verifying help

    Dear All, I am creating a windows service. So I have put my supposing code in the protected override void OnStart( string [] args). The problem now is how can I verify if my code is working or not because I tried to use MessageBox.show but is not available. So how to run my windows service base on interval of every 20 minutes. I dont how to go about installing it and testing it. Any help please. Thanks. First, create an installer to your service and eventlog using the Installer class. Once you build your project, use the InstallUtil.exe located in "<root>\Windows\Microsoft.Net\Framework\<version>" folder (with -u switch to uninsall). As for setting the inter ...Show All

  • Smart Device Development Close a message box

    HI, I have a message box that I want to close, I found there are two solutions either by using FindWindow described in VB here http://www.developerfusion.co.uk/show/141/ or by autoclicking in a specific position is it possible to do that in C# using FindWindow and sending a message to close it. Thanks Yes, it is possible - simply translate VB code to C# since you already have a sample. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Animated Sprite - the MSDN example

    Hi, With regards to this article, does anyone have the graphic they are loading in or a similar example I whipped up a simple 48x16 .png anim strip but when I use the AnimatedSprite class, it only shows one frame - the first, then blank, then frame 1 and so on, not the other 3 frames. I'm sure it's something simple I'm missing! I've entered the frame total as 3 by the way as I have 3 frames in that image. Cheers, Dylan. I would put a breakpoint in the DrawFrame method and see what values are being calculated for the "sourcerect" every frame. Do they fall within the bounds of your texture \ I would also potentially look at the UpdateFrame method ... are you calling this method and passing in " ...Show All

  • Software Development for Windows Vista UI Automation for automated GUI testing?

    Hi! I mentioned this problem in an other topic, but I would like to start a new topic to get opinions about this. I would like to write an automated GUI tester application of sowftwares developed using WPF. I know that UIA framework is excellent for assistive technologies, bit I read that, this also should be used for automated UI testing. If I would like to record the user interactions and then replay them, is it a good way, to subscribe for various automation events then call the approiate function of the appropriate control pattern on the current AutomationEvent to replay it For example, to make it for buttons, i subscribe for InvokeEvents and then to replay I call the Invoke functions ont the current AutomationEleme ...Show All

  • Visual Studio Tools for Office Excel Macros

    I have created an Excel Macro and saved as Personal Workbook Macro. I can then run the macro provided I don't close Excel completely. However, once I close Excel and attempt to run macro it is no longer available. You input as to what I am doing wrong will be greatly appreciated. Thanks, Juan Given this is an Excel Macro related question and not specific to VSTO I suggest posting it on the Excel newsgroup: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.excel.programming&lang=en&cr=US Thanks. ...Show All

  • Software Development for Windows Vista Problem Changing Capture Filter Frame Rate using IAMStreamConfig

    Changing Capture Filter frame rate using IAMStreamConfig doesn't work. Even if IAMStreamConfig.SetFormat returns S_OK the frame rate ramains unchanged. If i'am using Capture Pin Property Page frame rate changes are persistent. Any idea why IAMStreamConfig.SetFormat doesn't work After reboot and retest it strangely starts working. Another question: If cature filter doesn't implement IAMVideoControl how can we get frame rate list ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. About XNA GS Release

    At FIU we a Special Interest Group (SIG) that specializes in game and graphics programming and will be upgrading some of our lab machines (hardware and software) for next semester to start designing games using XNA.  We've got a few questions that I'm sure have been answered or talked about before, but many are months old  (at least the ones i've seen). And I'll like to make sure what the current status was regarding XNA GS. 1. When will the final release of XNA GS (Express and Pro) come out I've seen a date flying around but i'll like to make sure. 2. Will the Express edition support Visual Studio Pro. The last blog I saw about this was from October 10, maybe t ...Show All

  • Visual C# disable second tabpage?

    Hi. I have a windows application in c#. In the application i have put a tabcontrol, which has 2 tabpages. In the form load, i want to disable the tabpage2. How to disable the tabpage2 Here's a summary of what i've learned the lasts couple of hours: http://www.timvw.be/enable-and-disable-tabpages-on-a-tabcontrol/ ...Show All

©2008 Software Development Network