Click here to Skip to main content
16,014,392 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalextending my application wih a vba or vba.net programming environment Pin
jdebont3-Jun-04 11:52
jdebont3-Jun-04 11:52 
GeneralPortability Error Pin
Pugman8123-Jun-04 9:54
Pugman8123-Jun-04 9:54 
GeneralRe: Portability Error Pin
Dave Kreskowiak3-Jun-04 10:00
mveDave Kreskowiak3-Jun-04 10:00 
GeneralRe: Portability Error Pin
Pugman8123-Jun-04 11:06
Pugman8123-Jun-04 11:06 
GeneralRe: Portability Error Pin
Dave Kreskowiak3-Jun-04 12:29
mveDave Kreskowiak3-Jun-04 12:29 
Generalsplit "C:\hello" "C:\h\ddd" Pin
skoizumi291103-Jun-04 6:43
sussskoizumi291103-Jun-04 6:43 
GeneralRe: split "C:\hello" "C:\h\ddd" Pin
Andy *M*3-Jun-04 6:45
Andy *M*3-Jun-04 6:45 
GeneralRe: split "C:\hello" "C:\h\ddd" Pin
Dave Kreskowiak3-Jun-04 6:56
mveDave Kreskowiak3-Jun-04 6:56 
32 is the space character, not 22.

The problem your going to have is that splitting on the space will also split on any spaces in the path names. Your string "C:\my fodler\hello" "C:\Documents and Settings\admin\", I'm assuming your including the quotes in the string!, will split liek this:
"C:\my
folder\hello"
"C:\Documents
and
Settings

You will have to supply your own function to parse this string. Assuming your including the quotes in the string as above, you can split the string on the " character instead. Then look through the resulting array and remove the blank array items. This should give you the paths your looking for.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: split "C:\hello" "C:\h\ddd" Pin
Spanky33-Jun-04 13:53
Spanky33-Jun-04 13:53 
GeneralRe: split "C:\hello" "C:\h\ddd" Pin
Dave Kreskowiak3-Jun-04 14:17
mveDave Kreskowiak3-Jun-04 14:17 
GeneralRe: split "C:\hello" "C:\h\ddd" Pin
dnmanner5-Jun-04 16:58
dnmanner5-Jun-04 16:58 
GeneralAccessing another form's controls Pin
Anonymous3-Jun-04 6:11
Anonymous3-Jun-04 6:11 
GeneralRe: Accessing another form's controls Pin
Dave Kreskowiak3-Jun-04 6:47
mveDave Kreskowiak3-Jun-04 6:47 
GeneralRe: Accessing another form's controls Pin
Kavari3-Jun-04 17:20
sussKavari3-Jun-04 17:20 
GeneralRe: Accessing another form's controls Pin
Dave Kreskowiak4-Jun-04 0:35
mveDave Kreskowiak4-Jun-04 0:35 
GeneralRe: Accessing another form's controls Pin
VB Crazy4-Jun-04 2:05
VB Crazy4-Jun-04 2:05 
GeneralRe: Accessing another form's controls Pin
kavari4-Jun-04 2:05
susskavari4-Jun-04 2:05 
GeneralRe: Accessing another form's controls Pin
Kavari3-Jun-04 17:22
sussKavari3-Jun-04 17:22 
GeneralRe: Accessing another form's controls Pin
Kavari3-Jun-04 17:22
sussKavari3-Jun-04 17:22 
GeneralGPRS Connection Pin
scarr3-Jun-04 2:12
scarr3-Jun-04 2:12 
GeneralSo Mad Pin
Doing4him2-Jun-04 20:09
Doing4him2-Jun-04 20:09 
GeneralRe: So Mad Pin
RichardGrimmer2-Jun-04 21:20
RichardGrimmer2-Jun-04 21:20 
GeneralRe: So Mad Pin
steff kamush2-Jun-04 23:20
steff kamush2-Jun-04 23:20 
GeneralRe: So Mad Pin
tanstaafl283-Jun-04 6:11
tanstaafl283-Jun-04 6:11 
GeneralRe: So Mad Pin
Doing4him3-Jun-04 17:09
Doing4him3-Jun-04 17:09 

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.