Click here to Skip to main content
16,005,491 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: MSCOMM1 problem Pin
fredde_d12-Jul-06 22:30
fredde_d12-Jul-06 22:30 
QuestionSend Email Pin
Socheat.Net11-Jul-06 15:44
Socheat.Net11-Jul-06 15:44 
AnswerRe: Send Email Pin
Dave Kreskowiak11-Jul-06 16:51
mveDave Kreskowiak11-Jul-06 16:51 
GeneralRe: Send Email Pin
Dave Sexton11-Jul-06 20:33
Dave Sexton11-Jul-06 20:33 
GeneralRe: Send Email Pin
Socheat.Net11-Jul-06 21:13
Socheat.Net11-Jul-06 21:13 
GeneralRe: Send Email Pin
vonb11-Jul-06 21:25
vonb11-Jul-06 21:25 
GeneralRe: Send Email Pin
Dave Kreskowiak12-Jul-06 2:19
mveDave Kreskowiak12-Jul-06 2:19 
QuestionError conexion with vbNet 2005 but not with others Pin
Serpiente11-Jul-06 15:15
Serpiente11-Jul-06 15:15 
Hello,

I have this sub:

Sub ConDB()
Dim oSqlCliCon As SqlConnection
oSqlCliCon = New SqlConnection("Data Source=120.260.9.8;Integrated Security=SSPI;Initial Catalog=pubs")
Try
oSqlCliCon.Open()
Catch ex As Exception
msgbox(ex.Message)
End Try
oSqlCliCon.Close()
End Sub

The problem:

The code works for VB6/VBNET/VBNET2003 for SQL SERVER
for VBNET2005 works only local but for the SQL SERVER don't.

The exception message:


Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.


The exception message if modify the connectionstring:

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Please help, thank you.

gangeles
AnswerRe: Error conexion with vbNet 2005 but not with others Pin
Dave Kreskowiak11-Jul-06 16:50
mveDave Kreskowiak11-Jul-06 16:50 
GeneralRe: Error conexion with vbNet 2005 but not with others Pin
Serpiente13-Jul-06 6:35
Serpiente13-Jul-06 6:35 
GeneralRe: Error conexion with vbNet 2005 but not with others Pin
Dave Kreskowiak13-Jul-06 12:22
mveDave Kreskowiak13-Jul-06 12:22 
GeneralRe: Error conexion with vbNet 2005 but not with others Pin
Serpiente13-Jul-06 15:01
Serpiente13-Jul-06 15:01 
QuestionVB6 code for cascading menu Pin
Dodzki11-Jul-06 14:27
Dodzki11-Jul-06 14:27 
QuestionAdding events to dynamically-created controls [modified] Pin
Joshua Boyle11-Jul-06 11:40
Joshua Boyle11-Jul-06 11:40 
AnswerRe: Adding events to dynamically-created controls [modified] Pin
Ray Cassick11-Jul-06 11:55
Ray Cassick11-Jul-06 11:55 
GeneralRe: Adding events to dynamically-created controls [modified] Pin
Joshua Boyle12-Jul-06 3:40
Joshua Boyle12-Jul-06 3:40 
GeneralRe: Adding events to dynamically-created controls Pin
Ray Cassick12-Jul-06 7:51
Ray Cassick12-Jul-06 7:51 
QuestionHow to Deploy my Vb.net 2005 application on server ? [modified] Pin
hemrk11-Jul-06 11:19
hemrk11-Jul-06 11:19 
AnswerRe: How to Deploy my Vb.net 2005 application on server ? Pin
Gavin Jeffrey11-Jul-06 14:13
Gavin Jeffrey11-Jul-06 14:13 
GeneralRe: How to Deploy my Vb.net 2005 application on server ? Pin
hemrk12-Jul-06 3:03
hemrk12-Jul-06 3:03 
AnswerRe: How to Deploy my Vb.net 2005 application on server ? Pin
Dave Kreskowiak11-Jul-06 16:46
mveDave Kreskowiak11-Jul-06 16:46 
GeneralRe: How to Deploy my Vb.net 2005 application on server ? Pin
hemrk12-Jul-06 3:12
hemrk12-Jul-06 3:12 
GeneralRe: How to Deploy my Vb.net 2005 application on server ? [modified] Pin
Dave Kreskowiak12-Jul-06 6:34
mveDave Kreskowiak12-Jul-06 6:34 
GeneralRe: How to Deploy my Vb.net 2005 application on server ? Pin
hemrk12-Jul-06 7:27
hemrk12-Jul-06 7:27 
GeneralRe: How to Deploy my Vb.net 2005 application on server ? Pin
hemrk12-Jul-06 7:49
hemrk12-Jul-06 7: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.