Click here to Skip to main content
15,120,326 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: no dropdown listbox Pin
lee238-May-07 23:57
Memberlee238-May-07 23:57 
Questionsubclassing CBN_DROPDOWN Pin
lee238-May-07 23:10
Memberlee238-May-07 23:10 
QuestionHow to Change this code to visual basic? Pin
braleping8-May-07 22:18
Memberbraleping8-May-07 22:18 
AnswerRe: How to Change this code to visual basic? Pin
Jats_4ru8-May-07 22:29
MemberJats_4ru8-May-07 22:29 
AnswerRe: How to Change this code to visual basic? Pin
Christian Graus8-May-07 22:59
protectorChristian Graus8-May-07 22:59 
QuestionInsert data into a word template Pin
Jats_4ru9-May-07 0:37
MemberJats_4ru9-May-07 0:37 
AnswerRe: How to Change this code to visual basic? Pin
Dave Doknjas9-May-07 16:03
MemberDave Doknjas9-May-07 16:03 
QuestionDatabase connection problem in vb.net Pin
hbk_leo8-May-07 22:06
Memberhbk_leo8-May-07 22:06 
Hi to all
I have a problem with database in vb.net using sqlexpress.

My problem is:
I have created a.mdf database file and tables in it, and written code for inserting data to this table through command object. But my real prob is when i supply the connection string which is created by the "data configuration wizard" to this cmd object then on runtime insert executes and also datais visible in datagridview but when i check the data in the table it is not there and all fields are NULL. given connection string.
("Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\LIB.mdf;Integrated Security=True;User Instance=True")



But on the otherhand if i give connection string as ::
"Data Source=.\SQLEXPRESS;AttachDbFilename=D:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects\LIB\LIB\LIB.mdf;Integrated Security=True;User Instance=True"

then data is successfully inserted in the database and i m also able to view it in my database table.


So if Any one can help me it will be highly appreciable.

Thanks.
AnswerRe: Database connection problem in vb.net Pin
P P Vilsad8-May-07 22:32
MemberP P Vilsad8-May-07 22:32 
GeneralRe: Database connection problem in vb.net Pin
hbk_leo9-May-07 4:18
Memberhbk_leo9-May-07 4:18 
AnswerRe: Database connection problem in vb.net Pin
P P Vilsad9-May-07 5:18
MemberP P Vilsad9-May-07 5:18 
GeneralRe: Database connection problem in vb.net Pin
hbk_leo9-May-07 9:44
Memberhbk_leo9-May-07 9:44 
GeneralRe: Database connection problem in vb.net Pin
Dave Kreskowiak9-May-07 10:27
mveDave Kreskowiak9-May-07 10:27 
GeneralRe: Database connection problem in vb.net Pin
hbk_leo9-May-07 20:24
Memberhbk_leo9-May-07 20:24 
AnswerRe: Database connection problem in vb.net Pin
P P Vilsad9-May-07 18:51
MemberP P Vilsad9-May-07 18:51 
GeneralRe: Database connection problem in vb.net Pin
hbk_leo9-May-07 20:28
Memberhbk_leo9-May-07 20:28 
GeneralRe: Database connection problem in vb.net Pin
P P Vilsad10-May-07 17:54
MemberP P Vilsad10-May-07 17:54 
AnswerRe: Database connection problem in vb.net Pin
Dave Kreskowiak9-May-07 5:38
mveDave Kreskowiak9-May-07 5:38 
GeneralRe: Database connection problem in vb.net Pin
hbk_leo9-May-07 9:00
Memberhbk_leo9-May-07 9:00 
GeneralRe: Database connection problem in vb.net Pin
Dave Kreskowiak9-May-07 10:25
mveDave Kreskowiak9-May-07 10:25 
GeneralRe: Database connection problem in vb.net Pin
hbk_leo9-May-07 20:31
Memberhbk_leo9-May-07 20:31 
QuestionInsert data to word template Pin
Jats_4ru8-May-07 21:18
MemberJats_4ru8-May-07 21:18 
AnswerRe: Insert data to word template Pin
Dave Kreskowiak9-May-07 5:32
mveDave Kreskowiak9-May-07 5:32 
GeneralRe: Insert data to word template Pin
Jats_4ru9-May-07 23:55
MemberJats_4ru9-May-07 23:55 
QuestionVB communication problem Pin
Mr ericsson8-May-07 20:29
MemberMr ericsson8-May-07 20:29 

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.