Click here to Skip to main content
15,897,371 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VB6 YO VB.NET [modified] Pin
John_Adams1-Nov-07 1:03
John_Adams1-Nov-07 1:03 
QuestionMSWebDVD Pin
portreathbeach31-Oct-07 6:30
portreathbeach31-Oct-07 6:30 
AnswerRe: MSWebDVD Pin
Dave Kreskowiak31-Oct-07 6:52
mveDave Kreskowiak31-Oct-07 6:52 
GeneralRe: MSWebDVD Pin
portreathbeach31-Oct-07 7:34
portreathbeach31-Oct-07 7:34 
QuestionVB6 to VB.NET Pin
s3rro31-Oct-07 5:18
s3rro31-Oct-07 5:18 
AnswerRe: VB6 to VB.NET Pin
AliAmjad31-Oct-07 5:24
AliAmjad31-Oct-07 5:24 
GeneralRe: VB6 to VB.NET Pin
s3rro31-Oct-07 6:25
s3rro31-Oct-07 6:25 
QuestionCapturing/supressing error message Pin
svanwass31-Oct-07 5:08
svanwass31-Oct-07 5:08 
I am in the final throws of my development for an app so I have started my testing.

One of my scenarios is a the removal of the SQL Native Client driver (Windows XP). After the uninstall, I attempt to run the app and am always presented with this error message, which is expected as the native client was required.

The problem I have is that I did not write in a message box to display this error!

I've searched through the code to find a rouge msgbox but found nothing that would present this error.

Any suggestions to suppress this so I can present something more friendly?


Here's how i create connection, if needed
<br />
<br />
Try<br />
                Using connection As New OdbcConnection(ConnectionString)<br />
                    Dim command As New OdbcCommand(queryString, connection)<br />
                    connection.Open()<br />
<br />
                    Dim reader As OdbcDataReader = command.ExecuteReader()<br />
<br />
                    While reader.Read()<br />
                        count = reader(0).ToString<br />
                    End While<br />
<br />
                    connection.Close()<br />
                    reader.Close()<br />
                End Using<br />
            Catch ex As Exception<br />
                SQLERROR = True<br />
                WriteErrorLog(ex.ToString)<br />
                Exit Sub<br />
<br />
            End Try<br />

AnswerRe: Capturing/supressing error message Pin
AliAmjad31-Oct-07 5:48
AliAmjad31-Oct-07 5:48 
GeneralRe: Capturing/supressing error message Pin
svanwass31-Oct-07 6:38
svanwass31-Oct-07 6:38 
GeneralRe: Capturing/supressing error message Pin
AliAmjad31-Oct-07 7:01
AliAmjad31-Oct-07 7:01 
AnswerRe: Capturing/supressing error message Pin
Dave Kreskowiak31-Oct-07 6:41
mveDave Kreskowiak31-Oct-07 6:41 
GeneralRe: Capturing/supressing error message Pin
svanwass31-Oct-07 9:59
svanwass31-Oct-07 9:59 
GeneralRe: Capturing/supressing error message Pin
Dave Kreskowiak31-Oct-07 10:13
mveDave Kreskowiak31-Oct-07 10:13 
QuestionUpgrading vb.net 2002 to vb.net 2005 [modified] Pin
gil_be31-Oct-07 3:57
gil_be31-Oct-07 3:57 
QuestionReturning a filename from command prompt. Pin
Support12331-Oct-07 3:50
Support12331-Oct-07 3:50 
AnswerRe: Returning a filename from command prompt. Pin
svanwass31-Oct-07 5:12
svanwass31-Oct-07 5:12 
GeneralRe: Returning a filename from command prompt. Pin
Support12331-Oct-07 5:23
Support12331-Oct-07 5:23 
GeneralRe: Returning a filename from command prompt. Pin
svanwass31-Oct-07 5:45
svanwass31-Oct-07 5:45 
AnswerRe: Returning a filename from command prompt. Pin
Dave Kreskowiak31-Oct-07 6:38
mveDave Kreskowiak31-Oct-07 6:38 
GeneralRe: Returning a filename from command prompt. Pin
Mycroft Holmes31-Oct-07 23:21
professionalMycroft Holmes31-Oct-07 23:21 
GeneralRe: Returning a filename from command prompt. Pin
Dave Kreskowiak1-Nov-07 1:45
mveDave Kreskowiak1-Nov-07 1:45 
QuestionHow pass an event to a sub Pin
Narenge31-Oct-07 3:37
Narenge31-Oct-07 3:37 
AnswerRe: How pass an event to a sub Pin
svanwass31-Oct-07 5:13
svanwass31-Oct-07 5:13 
AnswerRe: How pass an event to a sub Pin
AliAmjad31-Oct-07 5:13
AliAmjad31-Oct-07 5:13 

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.