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

Visual Basic

 
GeneralRe: determining active node on clustered servers Pin
MagicGirL8310-Feb-05 12:30
MagicGirL8310-Feb-05 12:30 
QuestionCan anyone tell how to get Active Window Pin
heeren3-Feb-05 18:15
heeren3-Feb-05 18:15 
AnswerRe: Can anyone tell how to get Active Window Pin
Dave Kreskowiak4-Feb-05 4:34
mveDave Kreskowiak4-Feb-05 4:34 
GeneralRe: Can anyone tell how to get Active Window Pin
heeren5-Feb-05 2:18
heeren5-Feb-05 2:18 
GeneralRe: Can anyone tell how to get Active Window Pin
Dave Kreskowiak5-Feb-05 5:02
mveDave Kreskowiak5-Feb-05 5:02 
GeneralRe: Can anyone tell how to get Active Window Pin
heeren5-Feb-05 5:09
heeren5-Feb-05 5:09 
GeneralRe: Can anyone tell how to get Active Window Pin
Dave Kreskowiak6-Feb-05 3:52
mveDave Kreskowiak6-Feb-05 3:52 
GeneralGet value from a string array. Pin
japel3-Feb-05 16:09
japel3-Feb-05 16:09 
Took a file name broken up by delimitors the user picks and passed it to an array.

strFile = Path.GetFileName(strFilePath) 'need to extract the filename without the full path

strSplitArray = strFile.Split(strDelim) 'split file name & store it in strSplitArray

strDirName = strSplitArray.GetValue(0) 'first element of strSplitArray will be the dirName


If strDelim <> (strSplitArray.GetValue(1)) Then
MessageBox.Show("Check Delimitor value equals the one used in the string.", "Check Delimitor", MessageBoxButtons.OK, MessageBoxIcon.Error)
Exit Sub
End If

This is the code I am using to compare the Global Var the user picks as the delimitor to the one in the file.

My_New_File.txt

I got My out to make a new folder name with:

strDirName = strSplitArray.GetValue(0) 'first element of strSplitArray will be the dirName

So I thought replaceing (0) with (1) in the array I would get the delimitor but instead I get a "Index is out of array Bounds" error???

Web and book show the syntex is correct ???

What the???
GeneralRe: Get value from a string array. Pin
rwestgraham3-Feb-05 18:13
rwestgraham3-Feb-05 18:13 
GeneralRe: Get value from a string array. Pin
japel3-Feb-05 21:08
japel3-Feb-05 21:08 
Generalprinting text straight to the printer Pin
Member 16506833-Feb-05 13:39
Member 16506833-Feb-05 13:39 
GeneralRe: printing text straight to the printer Pin
Dave Kreskowiak3-Feb-05 13:57
mveDave Kreskowiak3-Feb-05 13:57 
GeneralRe: printing text straight to the printer Pin
Just Greeky Creek4-Feb-05 1:52
Just Greeky Creek4-Feb-05 1:52 
GeneralRe: printing text straight to the printer Pin
Dave Kreskowiak4-Feb-05 3:54
mveDave Kreskowiak4-Feb-05 3:54 
GeneralRe: printing text straight to the printer Pin
Member 165068311-Feb-05 10:26
Member 165068311-Feb-05 10:26 
GeneralRe: printing text straight to the printer Pin
Dave Kreskowiak11-Feb-05 14:16
mveDave Kreskowiak11-Feb-05 14:16 
GeneralRe: printing text straight to the printer Pin
Just Greeky Creek3-Feb-05 21:08
Just Greeky Creek3-Feb-05 21:08 
Questionhow to insert animation such as text and graphic animation into the VB. Pin
as813-Feb-05 12:41
as813-Feb-05 12:41 
AnswerRe: how to insert animation such as text and graphic animation into the VB. Pin
Christian Graus3-Feb-05 12:43
protectorChristian Graus3-Feb-05 12:43 
GeneralCross-Task Subclassing in VB.NET Pin
GrahamI3-Feb-05 11:49
GrahamI3-Feb-05 11:49 
GeneralFloat to Hex To Decimal Pin
halkettg3-Feb-05 11:49
halkettg3-Feb-05 11:49 
GeneralRe: Float to Hex To Decimal Pin
Christian Graus3-Feb-05 12:42
protectorChristian Graus3-Feb-05 12:42 
QuestionSetVersionInfo equivalent of GetVersionInfo? Pin
Zenly3-Feb-05 11:25
Zenly3-Feb-05 11:25 
AnswerRe: SetVersionInfo equivalent of GetVersionInfo? Pin
rwestgraham3-Feb-05 16:12
rwestgraham3-Feb-05 16:12 
GeneralRe: SetVersionInfo equivalent of GetVersionInfo? Pin
Zenly4-Feb-05 10:35
Zenly4-Feb-05 10:35 

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.