Surya Tripathi's Q&A profile
Visual Basic Making a simple calculator in VB
Hello, does any body know how to make a simple calculator using vb Thanks, Ian Here's a working Visual Studio 2003 project with the above code. The designer works, debugging works as well. If you're still having troubles with the form designer, it may be an issue with Visual Studio. http://huynms.members.winisp.net/windowsapplication3.zip HTH, ...Show All
Software Development for Windows Vista DelayActivity dynamic update
Hello, I would like to ask you if it is possible to update DelayActivity.TimeDuration value when DelayActivity is executing I want to achieve scenario like this: workflow is configured to simulate delay specified in the DelayActivity. After DelayActivity starts waiting, user wants to change delay value for the running instance (increase or decrease the delay value). Applying WorkflowChanges to the running workflow instance with dif ...Show All
SQL Server How versatile are Object variables?
I want to store a recordset in an Object variable. I will be constantly appending records to and deleting records from this recordset during runtime. More specifically, I want to append a record each time a container (including TaskHost container) starts to execute. When each container finishes executing I want to remove that record. Basically its a stack isn't it Fundamentally I just need to know if this is possible before I waste ti ...Show All
SQL Server Upgraded to SQL Server 2005. Updates no longer work. Error "Could not find server 'DEVDB' in sysservers. Execute sp_addlinkedse"
Hello! We just upgraded to SQL Server 2005 from SQL Server 2000. The DB was backed up using Enterprise Manager and restored with SQL Server Management Studio Express CTP. Everything went as expected (no errors, warnings, or any other indicator of problems). The DB resides in a DB Server (Server1) and the application we are running is a Client/Server system where the AppServer resides on Server2. During the application's operation all re ...Show All
.NET Development Remove table from xml file after a condition is true
Hi, Im trying to remove a table form an xml file. I keep getting an error in the console which says: Cannot find table 0. Made a dataSet: DataSet xmlFile = new DataSet (); xmlFile.ReadXml( "test.xml" ); Im iterating though the xml file like this: foreach ( DataRow dateRow in xmlFile.Tables[0].Rows) Im declaring the date as string and putting them in an array like this: string date = dateRow[ & ...Show All
Smart Device Development Zooming only a part of the image.
I am creating a application in which i am displaying a .jpg in a picture box.Now i want to give a functionality so that user can select a part of that image and zoom it on PDA screen. Is it Possible with CF Please help me out. thanks in advance. I doubt you can do this with a picture box, unless you first draw the bitmap with part of it zoomed, and then you may as well draw it directly in a paint ...Show All
.NET Development dynamic server control used 100s of times on one page - question
Hi all I am working on a server control that will be a basic "add to shopping cart" button. This button will be used anywhere from 0 to 75 times on one page ie on a search results page, you would get one button for each result. The problem I am having is handling the events that the cart button raises. The way I have it now, since the buttons are added dynamically to the page, I have to manually attach the handler using the addHandle ...Show All
Visual Basic Starting Directory
How Can I find out the full path to where the executible is, the directory from where it is running VB.Net 2003 Thanks Ken If you're creating a windows forms application, the Application.StartupPath property is the way to go. However, if you're creating a service or a console application, you'd want to use System.Reflection.Assembly.GetExecutingAssembly.Location() This is a more universal so ...Show All
Visual Studio DSL and GAT demo
I saw previous posts that there will be a demo presenting the complimentary work of DSL Tools and GAT demo. Is there anything available yet Do you know any recent presentations on DSL and software factories, excluding TechEd05 And this is a question that I have to ask: How are DSL Tools different from a simple code generator Is it only the designer support Thanks, Martin Kulov http://www.codeattest.com/blogs/martin ...Show All
Visual Studio Package Load Key for MSSCCI provider
Do I need a Package Load Key in order to distribute my MSSCCI compliant version control system Is there anything else I need to get before distributing it I went to the link in the VSIP documentation for getting a Package Load Key, and it is no longer there. If I need a Package Load Key where do I go to get it Thanks, JD the PLK site works for me. Source control providers can be implemented 2 ways ...Show All
Windows Forms Connection String "Best Practice"
A recent post inquired whether or not a database connection string can be stored in the application settings in the app's config file. Yes, this can be done. But I'd like to know, is this the best approach for storing connection strings, ...Show All
Visual Basic SQL problems
I am having a problem with the table adapter updating. I followed the direction of the video series, by dragging the detailed view of the table from the Data Sources window, and dropping it onto the form. It fills it in, and displays the information from the database. When I fill in a new record, and try to save the new info, nothing translates to the database. Is this possibly a problem with the copy that is in the bin file I seen that the ...Show All
Visual C# program crashes when other users run...
Ok, I created a simple program the other day with nothing complex. I have already been using it for a week or so and now another user wants to run this application. That is when the program crashes. The error I get when debugging is: An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in System.dll It works normally when I (Administrator) run it but when I run it as another user (both Guest and Limited) the program ...Show All
Visual C++ dialogs appearing behind the main window
hey guys, i have a simple problem with my MFC app. the messagebox's and color dialod's r appearing behind the main window. maybe is it because i have directx rendering a static text control in the main window so it always stays in focus or soemthing i dont know here is my code for displaying for displaying a color dialog: CColorDialog cd = CColorDialog(0, CC_ANYCOLOR); cd.DoModal(); when i press the alt button the color dialog appears. is ther ...Show All
Visual Studio Team System <checkin_note label="Comments" required="true"/>
Hi there! I've added this xml line to Versioncontrol.xml file in my custom project... This way I garantee that every developer sets comments in every check-in (let's forget about what's meaningfull and not). But, There's allready a comment text box in Pending Changes - Source Files window. Isn't there a way to reuse text inserted in that window to this window (Pending Changes - Policy Warnings) Best Regards, Rui Dias ...Show All
