Click here to Skip to main content
15,902,198 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to Change this code to visual basic? Pin
Jats_4ru8-May-07 21:29
Jats_4ru8-May-07 21:29 
AnswerRe: How to Change this code to visual basic? Pin
Christian Graus8-May-07 21:59
protectorChristian Graus8-May-07 21:59 
QuestionInsert data into a word template Pin
Jats_4ru8-May-07 23:37
Jats_4ru8-May-07 23:37 
AnswerRe: How to Change this code to visual basic? Pin
Dave Doknjas9-May-07 15:03
Dave Doknjas9-May-07 15:03 
QuestionDatabase connection problem in vb.net Pin
hbk_leo8-May-07 21:06
hbk_leo8-May-07 21:06 
AnswerRe: Database connection problem in vb.net Pin
P P Vilsad8-May-07 21:32
P P Vilsad8-May-07 21:32 
GeneralRe: Database connection problem in vb.net Pin
hbk_leo9-May-07 3:18
hbk_leo9-May-07 3:18 
AnswerRe: Database connection problem in vb.net Pin
P P Vilsad9-May-07 4:18
P P Vilsad9-May-07 4:18 
try this
<br />
dim constring as string = "Data Source=.\SQLEXPRESS;AttachDbFilename=" & application.startuppath & "\LIB.mdf;Integrated Security=True;User Instance=True"<br />

connect with this string

Note : after exiting application you need to click on server explorer and right click lib.mdf database and click on close connection and copy lib.mdf and lib.log files from debug folder to back to lib folder. otherwise you will not get the changes and the file will be overwritten with the old one when you are running your application again

Vilsad P P
MCTS (Windows Applications) .Net 2.0

GeneralRe: Database connection problem in vb.net Pin
hbk_leo9-May-07 8:44
hbk_leo9-May-07 8:44 
GeneralRe: Database connection problem in vb.net Pin
Dave Kreskowiak9-May-07 9:27
mveDave Kreskowiak9-May-07 9:27 
GeneralRe: Database connection problem in vb.net Pin
hbk_leo9-May-07 19:24
hbk_leo9-May-07 19:24 
AnswerRe: Database connection problem in vb.net Pin
P P Vilsad9-May-07 17:51
P P Vilsad9-May-07 17:51 
GeneralRe: Database connection problem in vb.net Pin
hbk_leo9-May-07 19:28
hbk_leo9-May-07 19:28 
GeneralRe: Database connection problem in vb.net Pin
P P Vilsad10-May-07 16:54
P P Vilsad10-May-07 16:54 
AnswerRe: Database connection problem in vb.net Pin
Dave Kreskowiak9-May-07 4:38
mveDave Kreskowiak9-May-07 4:38 
GeneralRe: Database connection problem in vb.net Pin
hbk_leo9-May-07 8:00
hbk_leo9-May-07 8:00 
GeneralRe: Database connection problem in vb.net Pin
Dave Kreskowiak9-May-07 9:25
mveDave Kreskowiak9-May-07 9:25 
GeneralRe: Database connection problem in vb.net Pin
hbk_leo9-May-07 19:31
hbk_leo9-May-07 19:31 
QuestionInsert data to word template Pin
Jats_4ru8-May-07 20:18
Jats_4ru8-May-07 20:18 
AnswerRe: Insert data to word template Pin
Dave Kreskowiak9-May-07 4:32
mveDave Kreskowiak9-May-07 4:32 
GeneralRe: Insert data to word template Pin
Jats_4ru9-May-07 22:55
Jats_4ru9-May-07 22:55 
QuestionVB communication problem Pin
Mr ericsson8-May-07 19:29
Mr ericsson8-May-07 19:29 
AnswerRe: VB communication problem Pin
Dave Kreskowiak9-May-07 4:30
mveDave Kreskowiak9-May-07 4:30 
QuestionHowTO: Packet Capture / Redirect URL Pin
Sunil KC8-May-07 19:15
Sunil KC8-May-07 19:15 
AnswerRe: HowTO: Packet Capture / Redirect URL Pin
Colin Angus Mackay8-May-07 23:47
Colin Angus Mackay8-May-07 23:47 

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.