Click here to Skip to main content
15,915,509 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Problem with Forms Pin
Steve Pullan22-Sep-05 19:16
Steve Pullan22-Sep-05 19:16 
GeneralRe: Problem with Forms Pin
_mubashir22-Sep-05 21:20
_mubashir22-Sep-05 21:20 
Questiongenetic algorithm Pin
Member 229845722-Sep-05 18:49
Member 229845722-Sep-05 18:49 
AnswerRe: genetic algorithm Pin
Steve Pullan22-Sep-05 19:09
Steve Pullan22-Sep-05 19:09 
GeneralRe: genetic algorithm Pin
Anonymous25-Sep-05 17:28
Anonymous25-Sep-05 17:28 
QuestionUpdating control properties on the form designer. Pin
Rahsas22-Sep-05 15:24
Rahsas22-Sep-05 15:24 
Questionmore vb grief *sigh* Pin
l a u r e n22-Sep-05 13:57
l a u r e n22-Sep-05 13:57 
AnswerRe: more vb grief *sigh* Pin
Steve Pullan22-Sep-05 14:31
Steve Pullan22-Sep-05 14:31 
Try wrapping the code in a Try..Catch block and inspect the exception message directly. It may be that your DSN connection is attempting to use a trusted connection when one does not exist so you may need to provide more parameters in the connection string.
Try
    Dim DBConnection As New OdbcConnection("DSN=XYZ")
    DBConnection.Open()
Catch ex As Exception
    Debug.WriteLine(ex.Message)
End Try


...Steve

-- modified at 20:36 Thursday 22nd September, 2005
Questionodbc enumeration... Pin
l a u r e n22-Sep-05 9:55
l a u r e n22-Sep-05 9:55 
AnswerRe: odbc enumeration... Pin
Joshua Quick22-Sep-05 10:47
Joshua Quick22-Sep-05 10:47 
GeneralRe: odbc enumeration... Pin
l a u r e n22-Sep-05 11:10
l a u r e n22-Sep-05 11:10 
AnswerRe: odbc enumeration... Pin
rwestgraham22-Sep-05 10:53
rwestgraham22-Sep-05 10:53 
GeneralRe: odbc enumeration... Pin
l a u r e n22-Sep-05 11:11
l a u r e n22-Sep-05 11:11 
GeneralRe: odbc enumeration... Pin
rwestgraham22-Sep-05 11:24
rwestgraham22-Sep-05 11:24 
QuestionHelp saving into pdf file Pin
Jason Ranin22-Sep-05 9:44
Jason Ranin22-Sep-05 9:44 
AnswerRe: Help saving into pdf file Pin
rwestgraham22-Sep-05 10:26
rwestgraham22-Sep-05 10:26 
Questioni need help Pin
ashishdubey198122-Sep-05 7:54
ashishdubey198122-Sep-05 7:54 
AnswerRe: i need help Pin
Dave Kreskowiak22-Sep-05 8:22
mveDave Kreskowiak22-Sep-05 8:22 
Questionlinkbutton to pdf Pin
mcgann22-Sep-05 5:40
mcgann22-Sep-05 5:40 
AnswerRe: linkbutton to pdf Pin
Dave Kreskowiak22-Sep-05 7:42
mveDave Kreskowiak22-Sep-05 7:42 
QuestionClose ALL forms Pin
Brad Fackrell22-Sep-05 5:29
Brad Fackrell22-Sep-05 5:29 
AnswerRe: Close ALL forms Pin
Dave Kreskowiak22-Sep-05 7:39
mveDave Kreskowiak22-Sep-05 7:39 
QuestionVB Excel: .Comment.Text method seems not working Pin
TheKriminal22-Sep-05 4:33
TheKriminal22-Sep-05 4:33 
QuestionLaunching application from windows services Pin
j_chrisb22-Sep-05 2:57
j_chrisb22-Sep-05 2:57 
AnswerRe: Launching application from windows services Pin
Dave Kreskowiak22-Sep-05 4:21
mveDave Kreskowiak22-Sep-05 4:21 

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.