Hello, Ive been working on a sql server 2000 db with vb.net front end. Ive used the dataform wizard to create it and it works fine, it created it with oledbconnection and data adapters.
I have tried to make a sql connection and data form from scratch but It doesnt want to work for me.
Is...
I have a sql database that im using vb.net 2003 as a front end. I dont know how to do this but i want to know the syntax to query a database for a particualr record.
I guess it would be the on load of the form. have that related to another form where the record number(primarykey) is inputed...
the combo box should look like xp too.....Try Vbcity.net and do a search on xp or xp theme.
I tried w 2003 but the manifest method didnt work for me. the 2nd way I put worked like a charm. if you put that in
the main form , it will pass the xp to all the child forms.
Tenn
ive tried that too. this is the current code im working with
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
On Error GoTo Err_Button2_Click
Dim VehicleEntry As New VehicleEntry
Dim objVeh As DataSet...
That works! now how and where do i put the code for this
when the child opens it displays the same record as the parent, but the child opens to record 1 (but it shows whatever number the parent was)
how do I goto record 4 on the main. hit the child and have it open record 4 on the child, or...
i found an easier way. if you have 2003.
just add this code to the area above the windows generated or reigon area:
Public Shared Sub Main()
System.Windows.Forms.Application.EnableVisualStyles()
Application.DoEvents()
System.Windows.Forms.Application.Run(New...
heres a link that tells how to do it
http://msdn.microsoft.com/vstudio/using/building/windows/default.aspx?pull=/library/en-us/dv_vstechart/html/vbtchusingwindowsxpvisualstyleswithcontrolsonwindowsforms.asp
ive tried it both ways. Ive tried the first was "contact" and just a blank entry. When the form loads the box has whatever is first in the source list either contact or just blank. I left the original text box on the form that shows whats in that field. The text box is correct but the list...
ive just tried that. i only have the value binding, and i have 1 combo box that displays the first in the list. the others display the correct value. i even added a new first record and that is displayed. any ideas?
Also I believe you helped me out on passing the record number to a new form...
Ive searched the site and the closest thing i've found was 796-742024, but it doesnt fully explain the fix for the problem.
Ive got a form created by the dataform wizard thats connected to a main table.
I've got a few combo boxes that were added that are bound to another table. The drop down...
i found this on the ms site and works ok for me
'' Track if a special key is pressed
' (in which case the text replacement operation will be skipped).
Private ControlKey As Boolean = False
' Determine whether a special key was pressed.
Private Sub...
Im positive this question has been asked before, but I cant find it in a search.
I have a database that has a Main Form. On the Main Form there is a button to open a Child Form for additional information. The Record Number is the main identifier. I need to pass the Record Number on the Main...
I have a access db for employee records which contain a OLE photo that displays on the page when thier record is pulled up. I upsized the access database to sql server and it converted all the oles to binary. I am trying to use ADP to display the same records with all the info and the photo, but...
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.