AMV5520's Q&A profile
Windows Forms Datagrid Refresh Problem
Hello, I have a datagrid. When I refresh the datagrid, the selected record becomes unselected and the datagrid record selector goes to the first record at the top of the datagrid. Is there a way to retain the selected record after a datagrid refresh ...Show All
SQL Server Can ODBC be used in Report Builder or Report Model?
Dear All, Our company use DB2. When I download Report Builder from Report site or when I create Report Model project in VS, I can only use SQL Server Data Source. Can Report Builder or Report Model use ODBC Thank U. I am pretty certain that report models can only be built from SQL server or Analysis Services data source. Support for other data sources has been rumored to be on the way, but who knows. This was a major disappoint ...Show All
SQL Server sql autoincrement
in mysql the primary key has the possibility tu autoincrement herself can it be done in MS SQL how You can use the IDENTITY_INSERT setting to temporary 'override' the IDENTITY and allow existing values to be inserted into the table. However, DUPLICATES will NOT be allowed and the import process will fail if there are any imported rows that would cause a duplicate value. Refer to Books Online, Topic: IDENTITY_INSERT U ...Show All
Visual C++ declare/initialize int?
Hello, I wish to have an integer inumber to use as the index in myArray[inumber] How do I declare/initialize this value Also can I have something similar to the C# code of private string[] results; results = new string[myArray.Length]; Thanks Geoff Jonathan, I got there just before your message - largely by trying anything I could think of! Thanks Geoff ...Show All
Smart Device Development Performance monitoring.
Hi, I get an application and I don't have the source code but I would like to know if there is any leack of memory in this application. So I would like to code an application running in background which will log the memory and the processor state . Do you know if it's possible to get some information about the memory used in the device, the processor used, and more particulary by a specific application. Thanks a lot, Hi, I found my answer ...Show All
Visual Basic Visual Studio Is Busy?
Pentium IV - Northwood 3.5 Ghz - I Gb of Ram. XP SP2 .. all current patches applied. VS2005 RTM Team Suite On occasion while debugging the IDE becomes nonresponsive and I receive a Bubble message informing me that "Visual Studio is busy waiting for an internal operation to complete - If you receive this message often, please inform Micorosoft" After I receive this message the IDE never recovers. All I can do is to de ...Show All
Visual Basic Reading text from a file
Hi, I am trying to read a text file and pull out each line from the file in a do...loop procedure. According to the help file, i should use stream reader, however i can't seem to get this to work. Using this, instead of reading a line and waiting, every time i hover over the variable, it changes, so it seems that is is constantly moving on and on. My text file is just a simple list.... TEST1 TEST2 TEST3 I have corresponding folders created ...Show All
Visual C# alexandrpaul's problem
i have the same problem anayone with a suggestion about stop closing the application when the user presses the X button thanks What do you want to do If you don't want to close the app, then don't have the button there to start with, anything else is counter intuitive. ...Show All
Visual Basic How can I prevent any type of pasting onto a txtbox.
How can I prevent any type of pasting onto a txtbox. Thanks William I'm curious to see if this has solved your dilemma. Let me know, if you don't mind, if this solved your problem. Thanks! ...Show All
Visual Studio Cast error when pass a parameter in localreport and reportviewer
hello friends, i have a problem with my report when pass a pamameter in vb.net and VS 2005 The code is: Dim objParameter As ReportParameter objParameter = New ReportParameter( "Name" , "test" ) Me .ReportViewer1.LocalReport.SetParameters(objParameter) the error is: System.InvalidCastException was unhandled Message="Unable to cast object of type 'Microsoft.Reporting.WinForms.ReportParameter' to type 'System.Collections.Generic. ...Show All
Smart Device Development Driver for videocamera Hp ipaq 6500
Hello I'm developing an application for an ipaq 6500 and I need to access the driver that mnages the videocamera inside of it. It's an application related with real-time video so I need to know where can I find that driver or the way to work with the images that the camera records 'in live'. I've made my app with recorded video and it works properly and now I want to jump to real time. I hope I've explained good Thank you ...Show All
SQL Server SMO / SqlBackup() - Unable to connect to SQLEXPRESS instance
I am using the following code in an attempt to backup a SQL 05 Express datbase that resides in the local machine instance (SQLEXPRESS). I keep getting a "Unable to connect" error that prevents the backup from running. Any suggestions and or fedback would be greatly appreciated. try { Server server = new Server(Environment.MachineName); BackupDeviceItem bdi = new BackupDeviceItem(@"C:\test. ...Show All
Visual Studio Inheritance Restriction?
Hi all, I' am having some troubles. maybe somebody can help me out. When compiling my DSL I got the folowing error: Architecture.ServiceModel.Designer' already contains a definition for 'ServiceOperationHasRequestMessageAddRule This error is caused by the "ViewFixupRules.cs" file. I already tried to find a double definition in the model but cannot find it. Also there is NO double "ViewFixupRules.cs" file in the project. The problem is caused ...Show All
Visual C# Network
Hi, I am start learning to use the System.Net functions build in 2.0. Now I have a simple task I want to complete, I want to be able to send information between different computers in my LAN. More exactly I want to send strings between the computers: - type - name - message What is the best way to do this The best thing to do is to working with a server-computer, I think, because I'm working with more than 4 computers. Pleas ...Show All
Visual Studio Express Editions Problem with Absolute Beginner's Video Series Lesson 7 - worm?
I have been using the Absolute Beginner's Video Series for Visual Basic Express and love it. For Lesson 7, however, it never gets past 83% downloaded. As a result the seek button doesn't work. Whether coincidently or not, I, also, get a worm blocked by Norton Virus. "Http WMF Metahdr file size Int Overflow. Intruder download.microsoft.com (67.72.4.94) http(80). Other IP addresses shown other times I got this were 70.183.191.72 and 4.78.2 ...Show All
