Click here to Skip to main content
15,889,877 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Need help on making a advanced internet based application? VB.NET Pin
Patrice T16-Mar-16 14:56
mvePatrice T16-Mar-16 14:56 
GeneralRe: Need help on making a advanced internet based application? VB.NET Pin
Member 1237915716-Mar-16 22:26
Member 1237915716-Mar-16 22:26 
GeneralRe: Need help on making a advanced internet based application? VB.NET Pin
Patrice T16-Mar-16 22:55
mvePatrice T16-Mar-16 22:55 
GeneralRe: Need help on making a advanced internet based application? VB.NET Pin
Member 1237915716-Mar-16 23:39
Member 1237915716-Mar-16 23:39 
AnswerRe: Need help on making a advanced internet based application? VB.NET Pin
Patrice T17-Mar-16 0:09
mvePatrice T17-Mar-16 0:09 
GeneralRe: Need help on making a advanced internet based application? VB.NET Pin
Member 1237915717-Mar-16 0:23
Member 1237915717-Mar-16 0:23 
GeneralRe: Need help on making a advanced internet based application? VB.NET Pin
Richard MacCutchan17-Mar-16 2:56
mveRichard MacCutchan17-Mar-16 2:56 
Questionvb.net 2010 db error message Pin
dcof15-Mar-16 12:06
dcof15-Mar-16 12:06 
C#
In an existing vb.net 2010 app, I am getting the following error message when I debug the code and use a sql server database:

System.ArgumentException {"Keyword not supported;'testdb; database'."}

The error message come from the following code:

#Region "Public Shared Function OpenConnectionO() As SqlConnection"
    Public Shared Function OpenConnectionA() As SqlConnection
         
             Dim con As SqlConnection = New SqlConnection(SiteHelper.SQLConnectionStringO)
             con.Open()

            Return con

    End Function
 #End Region

This is code that has existed for a very long time. What is new is the connection is being made to a new test database that has been setup within the last 6 months. 

The config file looks like the following:

<connectionStrings>
     <clear />
         <add name="sqlO" connectionString="TestI; Database=OPS; User ID=Usr; Password=etxxxxxx;" />

  </connectionStrings>

Thus would you tell me what you suggest I try so that I can determine where the error lies?

QuestionRe: vb.net 2010 db error message Pin
Eddy Vluggen15-Mar-16 13:43
professionalEddy Vluggen15-Mar-16 13:43 
AnswerRe: vb.net 2010 db error message Pin
Richard MacCutchan15-Mar-16 23:44
mveRichard MacCutchan15-Mar-16 23:44 
AnswerRe: vb.net 2010 db error message Pin
Richard Deeming16-Mar-16 1:57
mveRichard Deeming16-Mar-16 1:57 
GeneralRe: vb.net 2010 db error message Pin
dcof16-Mar-16 7:05
dcof16-Mar-16 7:05 
AnswerRe: vb.net 2010 db error message Pin
dcof16-Mar-16 7:06
dcof16-Mar-16 7:06 
QuestionHow to separate the hours and min.? because the hours is only added to min.? Pin
Real Corks15-Mar-16 5:46
Real Corks15-Mar-16 5:46 
QuestionRe: How to separate the hours and min.? because the hours is only added to min.? Pin
Richard MacCutchan15-Mar-16 6:17
mveRichard MacCutchan15-Mar-16 6:17 
AnswerRe: How to separate the hours and min.? because the hours is only added to min.? Pin
Real Corks15-Mar-16 9:18
Real Corks15-Mar-16 9:18 
GeneralRe: How to separate the hours and min.? because the hours is only added to min.? Pin
Dave Kreskowiak15-Mar-16 9:34
mveDave Kreskowiak15-Mar-16 9:34 
GeneralRe: How to separate the hours and min.? because the hours is only added to min.? Pin
Real Corks15-Mar-16 12:36
Real Corks15-Mar-16 12:36 
GeneralRe: How to separate the hours and min.? because the hours is only added to min.? Pin
Eddy Vluggen15-Mar-16 13:45
professionalEddy Vluggen15-Mar-16 13:45 
GeneralRe: How to separate the hours and min.? because the hours is only added to min.? Pin
Dave Kreskowiak16-Mar-16 4:38
mveDave Kreskowiak16-Mar-16 4:38 
GeneralRe: How to separate the hours and min.? because the hours is only added to min.? Pin
Richard MacCutchan16-Mar-16 5:35
mveRichard MacCutchan16-Mar-16 5:35 
GeneralRe: How to separate the hours and min.? because the hours is only added to min.? Pin
Real Corks17-Mar-16 1:24
Real Corks17-Mar-16 1:24 
GeneralRe: How to separate the hours and min.? because the hours is only added to min.? Pin
Richard Deeming17-Mar-16 2:01
mveRichard Deeming17-Mar-16 2:01 
GeneralRe: How to separate the hours and min.? because the hours is only added to min.? Pin
Richard MacCutchan15-Mar-16 10:35
mveRichard MacCutchan15-Mar-16 10:35 
AnswerRe: How to separate the hours and min.? because the hours is only added to min.? Pin
Eddy Vluggen15-Mar-16 10:10
professionalEddy Vluggen15-Mar-16 10:10 

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.