Click here to Skip to main content
15,917,997 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to connect vb .net data grid view to a ms access database files Pin
Luc Pattyn15-Sep-11 6:23
sitebuilderLuc Pattyn15-Sep-11 6:23 
GeneralRe: How to connect vb .net data grid view to a ms access database files Pin
Manar.A21-Sep-11 6:01
Manar.A21-Sep-11 6:01 
GeneralRe: How to connect vb .net data grid view to a ms access database files Pin
Luc Pattyn21-Sep-11 6:15
sitebuilderLuc Pattyn21-Sep-11 6:15 
QuestionLeft$, Right$, Trim$, "$" Advice. Pin
Clark Kent12314-Sep-11 11:00
professionalClark Kent12314-Sep-11 11:00 
AnswerRe: Left$, Right$, Trim$, "$" Advice. Pin
Dave Doknjas14-Sep-11 11:49
Dave Doknjas14-Sep-11 11:49 
GeneralRe: Left$, Right$, Trim$, "$" Advice. Pin
Nagy Vilmos15-Sep-11 0:13
professionalNagy Vilmos15-Sep-11 0:13 
GeneralRe: Left$, Right$, Trim$, "$" Advice. Pin
Clark Kent12315-Sep-11 2:18
professionalClark Kent12315-Sep-11 2:18 
AnswerRe: Left$, Right$, Trim$, "$" Advice. Pin
MicroVirus15-Sep-11 4:25
MicroVirus15-Sep-11 4:25 
The $ were added to add some explicit typing. In VB6, almost all library functions use variants (object references) rather than an explicit type; even if the argument in question only ever accepts a string, the parameter was still declared without a type.

Adding the $ to the Left/Right/Mid functions forced their type to string, so they accept and return only a string. Apparently (I did not know this), the non-string versions accepted a Nothing value for the objects they were passed? This surprises me, as VB6 always raised an error when nothing was passed.
QuestionStored Proedure Pin
megasoft house14-Sep-11 1:18
megasoft house14-Sep-11 1:18 
AnswerRe: Stored Proedure Pin
ekolis14-Sep-11 5:21
ekolis14-Sep-11 5:21 
AnswerRe: Stored Proedure Pin
Simon_Whale14-Sep-11 6:05
Simon_Whale14-Sep-11 6:05 
QuestionJSON in a console application Pin
oakleaf13-Sep-11 8:35
oakleaf13-Sep-11 8:35 
QuestionInsufficient Base Table Information for Updating and Refreshing Pin
Ravindra Bisen13-Sep-11 5:03
Ravindra Bisen13-Sep-11 5:03 
AnswerRe: Insufficient Base Table Information for Updating and Refreshing Pin
Richard MacCutchan13-Sep-11 5:26
mveRichard MacCutchan13-Sep-11 5:26 
QuestionSave MsFlexgrid Table in Ms.Acess Pin
Lek Plepi12-Sep-11 3:57
Lek Plepi12-Sep-11 3:57 
AnswerRe: Save MsFlexgrid Table in Ms.Acess Pin
Eddy Vluggen12-Sep-11 12:14
professionalEddy Vluggen12-Sep-11 12:14 
GeneralRe: Save MsFlexgrid Table in Ms.Acess Pin
Lek Plepi12-Sep-11 23:06
Lek Plepi12-Sep-11 23:06 
AnswerRe: Save MsFlexgrid Table in Ms.Acess Pin
Eddy Vluggen13-Sep-11 6:45
professionalEddy Vluggen13-Sep-11 6:45 
QuestionCombobox 2 ListView Pin
Lek Plepi12-Sep-11 2:39
Lek Plepi12-Sep-11 2:39 
AnswerRe: Combobox 2 ListView Pin
Wayne Gaylard12-Sep-11 2:48
professionalWayne Gaylard12-Sep-11 2:48 
GeneralRe: Combobox 2 ListView Pin
Lek Plepi12-Sep-11 2:57
Lek Plepi12-Sep-11 2:57 
GeneralRe: Combobox 2 ListView Pin
Wayne Gaylard12-Sep-11 3:04
professionalWayne Gaylard12-Sep-11 3:04 
GeneralRe: Combobox 2 ListView Pin
Lek Plepi12-Sep-11 3:14
Lek Plepi12-Sep-11 3:14 
GeneralRe: Combobox 2 ListView Pin
Wayne Gaylard12-Sep-11 3:23
professionalWayne Gaylard12-Sep-11 3:23 
GeneralRe: Combobox 2 ListView Pin
Lek Plepi12-Sep-11 3:41
Lek Plepi12-Sep-11 3:41 

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.