I am using a strongly typed dataset and have filled the table adapter like so:
Me.TblOrderTableAdapter.Fill(Me.DS_OrderLookup.tblOrder, "OrderUID < 0")
giving me tblOrder table in my dataset with no records (since none will have OrderUID < 0).
I'm using the following SQL stored proc...
Unfortunately, I don't get the problem on the development pc, I get other errors further along in the vb.net app like Microsoft exception errors. The vb.net app works great when it is run by itself... Sometimes I can get it to work ok when called from vb6, sometimes not. Very frustrating...
I can't tell. The titlebar just says Error and the message says:
The program ["blah\blah.exe "x" "y" 4 "z"] caused a problem and is going to close. Would you like to save a dump file? with Yes and No buttons.
I never get to the vb.net main form.
I want to run a vb.net exe from a vb6 form's button. The vb.net exe must receive some passed parameters. I'm using the shell command. Sometimes this works, sometimes I get all kinds of different errors/exceptions. Can anyone tell me the correct way to do this?
Thank you
I need to distribute a MS Access 2003 mdb that will connect to SQL Server 2005 data on a remote server via tcp/ip. How could I do this in code so they can't see the connection userid and password? I'll be making an mde from it. I know how to programmatically create and use a connection...
Trying to run the following script in SQL Server 2005. The syntax checks out fine but when I execute it I get:
Msg 2714, Level 16, State 3, Procedure ehe_ConditionSubForm, Line 22
There is already an object named 'ehe_ConditionSubForm' in the database.
There is NO stored proc or anything else...
I'm trying to add a new record to a listbox. The listbox is bound to a dataview. When I trace through the code below, the dataview gets the newly added record correctly and the listbox says it has all the items. Problem is, the listbox shows a blank item where the newly added item should be...
I have a column in a datagrid that contains a button. I always want this button's picture to show on the row, not just when I put the cursor on a cell in the column. How could I do this?
thanks
I don't want to create the SQL table ahead of time. I want the program to create the SQL table just like it was a copy of the structure and data in the TempImport table in the dataset.
I have this code (partial shown) and add more columns, then insert rows into the added table. The table only resides in memory, not in SQL Server.
Dim workTable As DataTable = mdsTempImport.Tables.Add("TempImport")
workTable.Columns.Add("UID"...
I have a datatable built within the program. The data has not come directly from any underlying table. I want to now save this datatable as a new SQL Server table. Is this possible and if so, how?
Thks
I need to show zeros at the rightmost decimal place(s) if the user entered them. If they didn't, I don't want to show the zeros. Example:
entered 4.90 needs to show as 4.90 on all screens/reports and needs to be save in the database as 4.90
entered 4.9 in the same field, needs to show 4.9 on...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.