Click here to Skip to main content
16,004,977 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Remoting Pin
Tom Deketelaere24-Sep-07 0:03
professionalTom Deketelaere24-Sep-07 0:03 
Questionfullname property of subdirectory? Pin
eyeball_200323-Sep-07 23:43
eyeball_200323-Sep-07 23:43 
AnswerRe: fullname property of subdirectory? Pin
Pete O'Hanlon23-Sep-07 23:59
mvePete O'Hanlon23-Sep-07 23:59 
GeneralRe: fullname property of subdirectory? Pin
eyeball_200324-Sep-07 0:11
eyeball_200324-Sep-07 0:11 
GeneralRe: fullname property of subdirectory? Pin
Luc Pattyn24-Sep-07 0:22
sitebuilderLuc Pattyn24-Sep-07 0:22 
GeneralRe: fullname property of subdirectory? Pin
eyeball_200324-Sep-07 1:13
eyeball_200324-Sep-07 1:13 
QuestionHandling combobox_selectedindexchanged event in gridview control Pin
Pradip Kishore23-Sep-07 22:08
Pradip Kishore23-Sep-07 22:08 
QuestionDoes any one know how to fix this adodc control problem? [modified] Pin
zhyuanshan23-Sep-07 21:56
zhyuanshan23-Sep-07 21:56 
Here is the problem:
I use Adodc control in vb6.0 to access sql server,everything works fine until when the network failed.
the code simply like this:
On Error ErrHandle

Adodc1.ConnectionString = "Provider=SQLOLEDB.1;user id=sa;password=123456;initial catalog=test;data source=192.168.1.23\SQLEXPRESS;Connect Timeout=30"
Adodc1.Recordset.Properties("prompt") = adPromptNever

Adodc1.RecordSource = "select *from admin"
Adodc1.Refresh
'other code

ErrHandle:
'do nothing

when the code run to Adodc1.Refresh,it pop up an error dialog with message "[DBNETLIB][ConnectionOpen (Connect()).]SQL Server Not Exist or Access Denied"
It's normal that you can't access data base when the network is not working,but since my program is runing at the server host I don't want it to click the dialog all the time when it can't connect to sql server.

So is there some way that can avoid the error dialog? and let it goto ErrHandle Section

I have being run into this problem for several months, any advice would help.

thank you.


polarstar


-- modified at 4:02 Monday 24th September, 2007
QuestionWebbrowser Control Pin
shaikhmido23-Sep-07 17:29
shaikhmido23-Sep-07 17:29 
AnswerRe: Webbrowser Control Pin
Luc Pattyn24-Sep-07 0:26
sitebuilderLuc Pattyn24-Sep-07 0:26 
QuestionWarning 1: Unable to apply publish properties for item "axinterop.mscomctllib". ***HELP! Pin
vbDigger'z23-Sep-07 14:46
vbDigger'z23-Sep-07 14:46 
QuestionLost a .dll - VB 6.0 Pin
nnadams23-Sep-07 11:48
nnadams23-Sep-07 11:48 
AnswerRe: Lost a .dll - VB 6.0 Pin
prahlad198123-Sep-07 18:40
prahlad198123-Sep-07 18:40 
QuestionUpdate datagridview in vb.net Pin
Abbhie23-Sep-07 6:20
Abbhie23-Sep-07 6:20 
AnswerRe: Update datagridview in vb.net Pin
DigiOz Multimedia23-Sep-07 14:04
DigiOz Multimedia23-Sep-07 14:04 
GeneralRe: Update datagridview in vb.net Pin
Abbhie25-Sep-07 8:17
Abbhie25-Sep-07 8:17 
Questionupdating values at runtime... Pin
manni_n23-Sep-07 4:56
manni_n23-Sep-07 4:56 
QuestionReport gen.. Pin
SamRST23-Sep-07 4:40
SamRST23-Sep-07 4:40 
Questiondatagridview [modified] Pin
gt223-Sep-07 4:20
gt223-Sep-07 4:20 
AnswerRe: datagridview Pin
Paul Conrad23-Sep-07 4:33
professionalPaul Conrad23-Sep-07 4:33 
GeneralRe: datagridview Pin
SamRST23-Sep-07 4:41
SamRST23-Sep-07 4:41 
GeneralRe: datagridview Pin
Paul Conrad23-Sep-07 4:57
professionalPaul Conrad23-Sep-07 4:57 
GeneralRe: datagridview Pin
SamRST23-Sep-07 5:01
SamRST23-Sep-07 5:01 
Questionprintdialog control in vb.net2005 Pin
nilam1123-Sep-07 3:08
nilam1123-Sep-07 3:08 
QuestionHow to pass ftp path to VLC media player remotely Pin
juli Paris22-Sep-07 22:49
juli Paris22-Sep-07 22: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.