Click here to Skip to main content
15,922,696 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionNot allowing a program on a CD to be copied Pin
offroaderdan12-Oct-09 23:19
offroaderdan12-Oct-09 23:19 
AnswerRe: Not allowing a program on a CD to be copied Pin
Eddy Vluggen13-Oct-09 0:06
professionalEddy Vluggen13-Oct-09 0:06 
AnswerRe: Not allowing a program on a CD to be copied Pin
Dave Kreskowiak13-Oct-09 4:57
mveDave Kreskowiak13-Oct-09 4:57 
QuestionGuide on Crystal Report Pin
waner michaud12-Oct-09 10:25
waner michaud12-Oct-09 10:25 
QuestionFile name Parsing Pin
IvanIT12-Oct-09 5:45
IvanIT12-Oct-09 5:45 
AnswerRe: File name Parsing Pin
Henry Minute12-Oct-09 5:53
Henry Minute12-Oct-09 5:53 
GeneralRe: File name Parsing Pin
IvanIT12-Oct-09 6:09
IvanIT12-Oct-09 6:09 
GeneralRe: File name Parsing Pin
Henry Minute12-Oct-09 6:26
Henry Minute12-Oct-09 6:26 
IvanIT wrote:
Any other pointers on how to assign variables to each part of the name after the split


It depends on how many parts there are but one technique is to leave the parts in a String Array and then either use Constant values or an Enumeration as an indexer. Something like:

Enum PathParts
  Originator = 0
  XY = 1
  .......
  .......
  .......
End Enum

' OR
Public Const Originator = 0
Public Const XY = 1
.......
.......
.......

' Assuming your String Array is called SplitPath
' you can then refer to the different parts like this
SplitPath(PathParts.Originator)    ' SplitPath(Originator) if you use Constants
SplitPath(PathParts.XY)    ' SplitPath(XY) if you use Constants


Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

GeneralRe: File name Parsing Pin
IvanIT12-Oct-09 6:41
IvanIT12-Oct-09 6:41 
QuestionVisaul Basic program giving me fits! Pin
Chris081212-Oct-09 5:14
Chris081212-Oct-09 5:14 
AnswerRe: Visaul Basic program giving me fits! Pin
IvanIT12-Oct-09 6:05
IvanIT12-Oct-09 6:05 
AnswerRe: Visaul Basic program giving me fits! Pin
Dave Kreskowiak12-Oct-09 6:56
mveDave Kreskowiak12-Oct-09 6:56 
GeneralRe: Visaul Basic program giving me fits! Pin
Paul Conrad13-Oct-09 5:47
professionalPaul Conrad13-Oct-09 5:47 
GeneralRe: Visaul Basic program giving me fits! Pin
Dave Kreskowiak13-Oct-09 6:36
mveDave Kreskowiak13-Oct-09 6:36 
GeneralRe: Visual Basic program giving me fits! Pin
Chris081214-Oct-09 5:42
Chris081214-Oct-09 5:42 
GeneralRe: Visual Basic program giving me fits! Pin
Dave Kreskowiak14-Oct-09 11:51
mveDave Kreskowiak14-Oct-09 11:51 
AnswerRe: Visaul Basic program giving me fits! Pin
Henry Minute12-Oct-09 6:57
Henry Minute12-Oct-09 6:57 
GeneralRe: Visaul Basic program giving me fits! Pin
Mycroft Holmes12-Oct-09 17:57
professionalMycroft Holmes12-Oct-09 17:57 
GeneralRe: Visaul Basic program giving me fits! Pin
Henry Minute13-Oct-09 0:28
Henry Minute13-Oct-09 0:28 
QuestionHow To Create a basic Gantt chart Pin
Anoop Brijmohun12-Oct-09 3:24
Anoop Brijmohun12-Oct-09 3:24 
AnswerRe: How To Create a basic Gantt chart Pin
Henry Minute12-Oct-09 4:18
Henry Minute12-Oct-09 4:18 
GeneralRe: How To Create a basic Gantt chart Pin
Anoop Brijmohun12-Oct-09 4:24
Anoop Brijmohun12-Oct-09 4:24 
AnswerRe: How To Create a basic Gantt chart Pin
Andy_L_J12-Oct-09 18:37
Andy_L_J12-Oct-09 18:37 
QuestionPassing ByVal or ByRef Pin
PAguilar0912-Oct-09 1:54
PAguilar0912-Oct-09 1:54 
AnswerRe: Passing ByVal or ByRef Pin
freakyit12-Oct-09 3:02
freakyit12-Oct-09 3:02 

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.