tflanman's Q&A profile
Visual Basic show tablenames in combobox
I want to list the tablenames of a MySql DB in a combobox, but i do not have any idea how. please help me! thanks a lot for the really fast answer! My problem is that I do not know how to fill the result in the combobox. Here is the code I am using: Private Sub cmd_tables_Click( ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cmd_tables.Click Dim sqlqry ...Show All
.NET Development .NET Runtime 2.0 Error Reporting
Hi, My application is running on 65 PC. After a few hours, this applications crash on 2-3 PC. I get no exception in my log files. I set the Application.ThreadException and AppDomain.CurrentDomain.UnhandledException exception event handlers. The last one is triggered with 'System.NullReferenceException: Object reference not set to an instance of an object.' but there is no stack trace available. I got no dump file, no popup window. I only get the ...Show All
SQL Server How to UPDATE ID in SQL
Okay, I was able to delete some records from my db, however, I notice that I have some gaps in the record (ID) field such as 1, 2, 3, 5, 6,9... the missing numbers are the deleted records. How do I update these records to be in numeric sequence such as 1,2,3,4,5,6,7 I keep getting an error that ID is not updateable (set on Auto). How do I change it Thanks. ...other than creating a new ta ...Show All
Visual Basic IIS stops abnormaly.
I have deployed my Web application on to the client machine. The application worked fine for the first 2 months. But since last 3 days the IIS server itself stops working. That is all the services stops working which affects my application and my application too stops. Users face alot of problems. This happens in a spcific time in the afternoon which I suppose is the peak hours for the client. Could anyone help me to resolve this Thank you in ...Show All
Visual FoxPro Foxpro is DBMS or RDBMS? and Why?
I will be verymuch thankful if one can give me answer with example. Jagannath DBMS = "Database Management System" RDBMS = "Relational Database Management System" Visual Foxpro is both. It is a database management system, and it can handle and manage relational data. Excel is an example of a DBMS that is not relational ...Show All
SQL Server Exec process task
how to pass 0-2 parameters to Execute process task .. I am runnint a .bat file ...Show All
Visual Studio Express Editions How do I write a select sql statement in visual basic using visual web deveoper?
I am attempting to write a select sql statement and a delete sql statement in my VB code and it keeps saying I need to add arguments, and I have no idea what VB wants adding. I am new to VB so I may be missing something. My code is below as well as an insert statement I wrote which is fine - I would presume they needed the same arguments is this not the case my code... ##Insert - working Di ...Show All
Visual Studio VS Web Site Project
Hi Kevin, Sorry for your frustration. Building web sites is a bit tricky because they don't support the same set of platforms as normal client projects. After talking to the Team Build folks, it appears that what you have to do is ... open up the .PROJ file (e.g., TFSBuild.proj) that gets created when you create a new Build Type. Look for the property called "PlatformToBuild". It probably has the default value of AnyCPU.& ...Show All
Visual Studio Team System Source control error when working with MCMS project
When we try to source control our MCMS project to TFS we are able to get the files and structure pushed to the system However, when we try to check in the project we are receiving the following error: Unable to cast object of type 'Microsoft.ContentManagement.DeveloperTools.VisualStudio.Documents.TemplateExplorerDocument' to type 'Microsoft.VisualStudio.Shell.Interop.IVsHierarchy'. Any ideas or solutions Thanks Marc ...Show All
SQL Server Restore from snapshot
Hello, Is there someone who alreadry tried to restore from a snapshot generated from a mirrored dabase Actually I am looking for the steps that I need to go through to do that. Do I have to stop the mirror before the restore Can I only restore from the snap if the local database is the 'principal' meaning that I have to generate a manual failover Thanks in advance for your help. Jerome You will need to remove dat ...Show All
Visual C++ free(pointer) in ansi C.
Hello, I'm using Visual C++ 2003 Standard for C coding. I have a problem with a freeing the pointer. In one place in my program it works, in another not. On gcc all goes well. Here is the code: void basic_pointers(){ int *pointer; int a=10; if (pointer == NULL) { printf("Out of memory, exiting\n"); &n ...Show All
Smart Device Development VS2005 Beta2 and Pocket PC 2003
I have VS2005 Beta2 installed. I am trying to develop a native C++ application for Pocket PC 2003. I use ActiveSync 3.8 I get the error "Connection failed. The current version of ActiveSync is not supported. Install the latest version from www.microsoft.com". Could someone help me with resolving this problem. Thanks -Anthony Hi Vladimir I think that you know Jeff Abraham ,he helped me so much w ...Show All
Windows Forms Parent/Child-Save options
Suppose we want to display a data from both parent and child in the same dataGridView control. Is it possible to update both the parent and child tables by providing the same save command The DataGridView does not have support for displaying both parent and child data in the same grid. You can use two DataGridView controls and show parent and child in the two grids. Then you can write additional code in the ParentSaveItem_Click event ...Show All
Visual Studio Team System Publishing MS Project to TFS
I'm trying to publish my project plan to TFS and get an error that it cannot connect to the server, yet I can checkout files etc. I'm accessing it through the sharepoint portal. I get the same error when I try to get updates. This worked in Beta 2. Any ideas I'm using MS Project 2003 SP1. Can you try checking out the file to your machine and then open the file from your local folde ...Show All
Visual Basic FileObjectSystem Malfuction
On my last program the FSO doesn't work. it give me the "run-time error 91 object variable or with block variable not set", but if i run other program that have the same code "fso.createfolder" (fso as filesystemobject) it work's greats.. some one can help me to understand If you are having problems with code it is usually best to provide the code that is giving the problem. Paste the full exception and state at which ...Show All
