Click here to Skip to main content
15,891,184 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Visual Studio, VB.Net ODBC Read from Progress Database Pin
RDCK14-Apr-09 12:40
RDCK14-Apr-09 12:40 
QuestionRounding problem w/ var of type single Pin
Jon_Boy9-Apr-09 7:09
Jon_Boy9-Apr-09 7:09 
AnswerRe: Rounding problem w/ var of type single Pin
Jon_Boy9-Apr-09 7:22
Jon_Boy9-Apr-09 7:22 
AnswerRe: Rounding problem w/ var of type single Pin
Dave Kreskowiak9-Apr-09 7:46
mveDave Kreskowiak9-Apr-09 7:46 
GeneralRe: Rounding problem w/ var of type single Pin
Jon_Boy9-Apr-09 7:59
Jon_Boy9-Apr-09 7:59 
GeneralRe: Rounding problem w/ var of type single Pin
Dalek Dave9-Apr-09 9:01
professionalDalek Dave9-Apr-09 9:01 
QuestionHow can I add a column using VB? Pin
enipla9-Apr-09 5:28
enipla9-Apr-09 5:28 
AnswerRe: How can I add a column using VB? Pin
Jon_Boy9-Apr-09 6:32
Jon_Boy9-Apr-09 6:32 
You can do something like this:

Using SqlConn As New SqlConnection(ConnectString), cmd As New SqlCommand("ALTER TABLE [dbo].[Setup] ADD [TestCol] [nchar] (10) COLLATE SQL_Latin1_General_CP1_CI_AS NULL", SqlConn)
    SqlConn.Open()
    cmd.ExecuteNonQuery()
    'populate your datatable after the column change
    SqlConn.Close()
End Using


Take your raw sql statement (meaning: "ALTER TABLE CRW_GIS_Data ADD (reception1 string(7)") and run in it SQL first and fix the errors. String (use CHAR, VARCHAR, etc) is not supported in SQL.

Cheers!

Any suggestions, ideas, or 'constructive criticism' are always welcome.

"There's no such thing as a stupid question, only stupid people." - Mr. Garrison

GeneralRe: How can I add a column using VB? Pin
enipla9-Apr-09 7:40
enipla9-Apr-09 7:40 
GeneralRe: How can I add a column using VB? Pin
enipla9-Apr-09 8:12
enipla9-Apr-09 8:12 
QuestionSyncLocking [modified] Pin
captainmogo9-Apr-09 4:45
captainmogo9-Apr-09 4:45 
AnswerRe: SyncLocking Pin
Dave Kreskowiak9-Apr-09 8:08
mveDave Kreskowiak9-Apr-09 8:08 
GeneralRe: SyncLocking Pin
captainmogo9-Apr-09 8:14
captainmogo9-Apr-09 8:14 
GeneralRe: SyncLocking Pin
Dave Kreskowiak9-Apr-09 8:18
mveDave Kreskowiak9-Apr-09 8:18 
GeneralRe: SyncLocking [modified] Pin
captainmogo9-Apr-09 8:30
captainmogo9-Apr-09 8:30 
QuestionClickonce and command line args? Pin
Jon_Boy9-Apr-09 3:44
Jon_Boy9-Apr-09 3:44 
AnswerRe: Clickonce and command line args? Pin
Dave Kreskowiak9-Apr-09 4:04
mveDave Kreskowiak9-Apr-09 4:04 
GeneralRe: Clickonce and command line args? Pin
Jon_Boy9-Apr-09 4:33
Jon_Boy9-Apr-09 4:33 
GeneralRe: Clickonce and command line args? Pin
Dave Kreskowiak9-Apr-09 4:43
mveDave Kreskowiak9-Apr-09 4:43 
GeneralRe: Clickonce and command line args? Pin
Jon_Boy9-Apr-09 4:58
Jon_Boy9-Apr-09 4:58 
GeneralRe: Clickonce and command line args? Pin
Eddy Vluggen9-Apr-09 8:30
professionalEddy Vluggen9-Apr-09 8:30 
GeneralRe: Clickonce and command line args? Pin
Jon_Boy9-Apr-09 9:01
Jon_Boy9-Apr-09 9:01 
QuestionRe: Clickonce and command line args? Pin
Eddy Vluggen9-Apr-09 9:28
professionalEddy Vluggen9-Apr-09 9:28 
AnswerRe: Clickonce and command line args? Pin
Jon_Boy9-Apr-09 9:49
Jon_Boy9-Apr-09 9:49 
GeneralRe: Clickonce and command line args? Pin
Eddy Vluggen9-Apr-09 10:21
professionalEddy Vluggen9-Apr-09 10: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.