Click here to Skip to main content
15,904,638 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: update version of my winform Pin
sathish s14-Mar-06 22:43
sathish s14-Mar-06 22:43 
QuestionHow to resize the form and its controls according to the screen resolution Pin
Hari Prasad Karnam14-Mar-06 22:00
Hari Prasad Karnam14-Mar-06 22:00 
AnswerRe: How to resize the form and its controls according to the screen resolution Pin
andreapv14-Mar-06 22:13
andreapv14-Mar-06 22:13 
GeneralRe: How to resize the form and its controls according to the screen resolution Pin
Hari Prasad Karnam20-Mar-06 2:15
Hari Prasad Karnam20-Mar-06 2:15 
GeneralRe: How to resize the form and its controls according to the screen resolution Pin
Garner T18-Mar-06 16:52
Garner T18-Mar-06 16:52 
AnswerRe: How to resize the form and its controls according to the screen resolution Pin
Hari Prasad Karnam20-Mar-06 2:14
Hari Prasad Karnam20-Mar-06 2:14 
Questionhow will i create a program...? Pin
whippersnapper7614-Mar-06 20:30
whippersnapper7614-Mar-06 20:30 
AnswerRe: how will i create a program...? Pin
noshaba mariam14-Mar-06 23:24
noshaba mariam14-Mar-06 23:24 
u need to create a connection object to access the database and a recordset object to access a table.
then with the help of that recordset u can access the values of fields.
ex:

private sub form_load()

dim cn as new adodb.connection
dim rs as new adodb.recordset
dim query as string

cn.ConnectionString = "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Initial Catalog=mbdb;Data Source=abc"

cn.Open

query = "selet * from table1"

rs.open query , cn

if rs.eof = false then
txtbox1.text = rs.fields("field1")
end if

rs.close
set rs = nothing

cn.close

end sub

try this hope it will help u

Noshaba
GeneralRe: how will i create a program...? Pin
whippersnapper7615-Mar-06 21:31
whippersnapper7615-Mar-06 21:31 
GeneralRe: how will i create a program...? Pin
whippersnapper7615-Mar-06 21:32
whippersnapper7615-Mar-06 21:32 
QuestionTransparent Video Pin
MAP Tiger14-Mar-06 20:09
MAP Tiger14-Mar-06 20:09 
AnswerRe: Transparent Video Pin
Dave Kreskowiak15-Mar-06 1:19
mveDave Kreskowiak15-Mar-06 1:19 
QuestionHow to caputer the formload complete event from parent form Pin
Member 227165514-Mar-06 20:09
Member 227165514-Mar-06 20:09 
AnswerRe: How to caputer the formload complete event from parent form Pin
sathish s14-Mar-06 22:02
sathish s14-Mar-06 22:02 
GeneralRe: How to caputer the formload complete event from parent form Pin
Member 227165514-Mar-06 22:35
Member 227165514-Mar-06 22:35 
GeneralRe: How to caputer the formload complete event from parent form Pin
sathish s14-Mar-06 22:50
sathish s14-Mar-06 22:50 
GeneralRe: How to caputer the formload complete event from parent form Pin
Member 227165514-Mar-06 23:09
Member 227165514-Mar-06 23:09 
QuestionMessage box in VB.NET Pin
rama m14-Mar-06 17:31
rama m14-Mar-06 17:31 
AnswerRe: Message box in VB.NET Pin
Steve Pullan14-Mar-06 17:38
Steve Pullan14-Mar-06 17:38 
AnswerRe: Message box in VB.NET Pin
sathish s14-Mar-06 18:25
sathish s14-Mar-06 18:25 
AnswerRe: Message box in VB.NET Pin
albCode14-Mar-06 22:40
albCode14-Mar-06 22:40 
Questionerror while inserting user to database Pin
uglyeyes14-Mar-06 16:05
uglyeyes14-Mar-06 16:05 
AnswerRe: error while inserting user to database Pin
Steve Pullan14-Mar-06 16:49
Steve Pullan14-Mar-06 16:49 
GeneralRe: error while inserting user to database Pin
uglyeyes14-Mar-06 18:15
uglyeyes14-Mar-06 18:15 
GeneralRe: error while inserting user to database Pin
Steve Pullan14-Mar-06 18:49
Steve Pullan14-Mar-06 18:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.