Click here to Skip to main content
16,008,469 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Hidding a Console window from Task Manager Pin
KaptinKrunch8-Sep-05 8:16
KaptinKrunch8-Sep-05 8:16 
GeneralRe: Hidding a Console window from Task Manager Pin
Chaos Machine8-Sep-05 12:33
Chaos Machine8-Sep-05 12:33 
QuestionConverting Java Class into the .Net DLL Pin
iamalik6-Sep-05 17:55
professionaliamalik6-Sep-05 17:55 
AnswerRe: Converting Java Class into the .Net DLL Pin
Christian Graus6-Sep-05 18:10
protectorChristian Graus6-Sep-05 18:10 
Questionboolean in SQL Pin
DaveC4269136-Sep-05 11:07
DaveC4269136-Sep-05 11:07 
AnswerRe: boolean in SQL Pin
Christian Graus6-Sep-05 11:39
protectorChristian Graus6-Sep-05 11:39 
GeneralRe: boolean in SQL Pin
DaveC4269137-Sep-05 3:11
DaveC4269137-Sep-05 3:11 
GeneralRe: boolean in SQL Pin
Christian Graus7-Sep-05 12:39
protectorChristian Graus7-Sep-05 12:39 
DaveC426913 wrote:
Did you mean *I do* or *I do not* have to?

You *do*. the variable cmd is a string. Therefore, you have to turn whatever you pass through into a string, to make it part of the string command.

DaveC426913 wrote:
It doesn't. It chokes trying to parse that line of code. This isn't a db problem, it's a VB problem.

OK, in that case, VB isn't magically turning your boolean into a string, call it's .ToString method to get what you need.

DaveC426913 wrote:
Well, I have to change T/F to 1/0, which is what I'm doing.

Query Analyzer needs a 1 or 0, not true or false ? In that case, does VB support ? : notation ? As in myBool ? 1 : 0, returns 1 if myBool is true, otherwise returns false ?

DaveC426913 wrote:
A thought: Should my structure have a get/set that automatically converts between T/F and 0/1?

I'd try to do it inline. Or, if you used stored procedures, you can pass them a bool as a parameter, and the SP will turn it into what is needed. That's what I do, which is why I wasn't sure if SQL Server accepts true/false as bit values.

Christian Graus - Microsoft MVP - C++
Questionscript attacks Pin
phamus6-Sep-05 8:49
phamus6-Sep-05 8:49 
AnswerRe: script attacks Pin
Dave Kreskowiak6-Sep-05 8:58
mveDave Kreskowiak6-Sep-05 8:58 
GeneralRe: script attacks Pin
phamus6-Sep-05 9:01
phamus6-Sep-05 9:01 
GeneralRe: script attacks Pin
Dave Kreskowiak6-Sep-05 10:09
mveDave Kreskowiak6-Sep-05 10:09 
QuestionHard question about Mailing in Vb.NET Pin
korso_rogan6-Sep-05 8:49
korso_rogan6-Sep-05 8:49 
QuestionDrawing Over Video ( C# or VB.Net ) Pin
Alejandro K.6-Sep-05 6:58
Alejandro K.6-Sep-05 6:58 
AnswerRe: Drawing Over Video ( C# or VB.Net ) Pin
Christian Graus6-Sep-05 11:45
protectorChristian Graus6-Sep-05 11:45 
QuestionRepeater or DataList minimum Pin
DaveC4269136-Sep-05 5:38
DaveC4269136-Sep-05 5:38 
Questionpulling hair out Pin
DaveC4269136-Sep-05 5:33
DaveC4269136-Sep-05 5:33 
AnswerRe: pulling hair out Pin
Dave Kreskowiak6-Sep-05 7:27
mveDave Kreskowiak6-Sep-05 7:27 
GeneralRe: pulling hair out Pin
DaveC4269136-Sep-05 11:00
DaveC4269136-Sep-05 11:00 
GeneralRe: pulling hair out Pin
Dave Kreskowiak6-Sep-05 13:35
mveDave Kreskowiak6-Sep-05 13:35 
GeneralRe: pulling hair out Pin
DaveC4269137-Sep-05 3:04
DaveC4269137-Sep-05 3:04 
GeneralRe: pulling hair out Pin
Dave Kreskowiak7-Sep-05 3:32
mveDave Kreskowiak7-Sep-05 3:32 
GeneralRe: pulling hair out Pin
DaveC4269137-Sep-05 6:04
DaveC4269137-Sep-05 6:04 
GeneralRe: pulling hair out Pin
Dave Kreskowiak7-Sep-05 9:36
mveDave Kreskowiak7-Sep-05 9:36 
GeneralRe: pulling hair out Pin
DaveC4269137-Sep-05 9:56
DaveC4269137-Sep-05 9:56 

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.