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

Visual Basic

 
GeneralRe: using a form as a control (problem) Pin
PaleyX8-Jun-04 2:40
PaleyX8-Jun-04 2:40 
GeneralMake a directory... Pin
Brad Fackrell7-Jun-04 8:03
Brad Fackrell7-Jun-04 8:03 
GeneralRe: Make a directory... Pin
Dave Kreskowiak7-Jun-04 8:07
mveDave Kreskowiak7-Jun-04 8:07 
GeneralRe: Make a directory... Pin
Brad Fackrell7-Jun-04 8:37
Brad Fackrell7-Jun-04 8:37 
GeneralRe: Make a directory... Pin
Dave Kreskowiak7-Jun-04 9:02
mveDave Kreskowiak7-Jun-04 9:02 
GeneralRe: Make a directory... Pin
Brad Fackrell7-Jun-04 9:21
Brad Fackrell7-Jun-04 9:21 
GeneralRe: Make a directory... Pin
beowulfagate7-Jun-04 21:58
beowulfagate7-Jun-04 21:58 
GeneralRe: Make a directory... Pin
Colin Angus Mackay7-Jun-04 12:30
Colin Angus Mackay7-Jun-04 12:30 
Brad Fackrell wrote:
I have directory names listed in a Rich Text Box. An indented line means that-that particular name will be a sub-directory of the line (directory name) above it.

Here is some blatant self-promotion, but anyway here goes:

I have some code that does something similar in a recent article I wrote for code project, it is not creating directories but populating a tree view (which is a similar heirarchical structure to directories). Take a look at the Word and Category classes to get an idea of how you may implement your solution - it works on a plain text file rather than RTF, and in place of indents I've used $ symbols.

An International Hangman Game for the Pocket PC[^]

The .NET Compact Framework is a subset of the full .NET framework so the code there will work on a desktop application also.

I hope this helps.

Oh! And remember to vote for my article - you could win a Pocket PC too!


"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar

The Second EuroCPian Event will be in Brussels on the 4th of September

Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!

My Blog


GeneralRe: Make a directory... Pin
Brad Fackrell8-Jun-04 1:54
Brad Fackrell8-Jun-04 1:54 
GeneralRe: Make a directory... Pin
Colin Angus Mackay8-Jun-04 7:40
Colin Angus Mackay8-Jun-04 7:40 
GeneralRe: Make a directory... Pin
Brad Fackrell8-Jun-04 7:45
Brad Fackrell8-Jun-04 7:45 
GeneralRe: Make a directory... Pin
Colin Angus Mackay8-Jun-04 7:57
Colin Angus Mackay8-Jun-04 7:57 
GeneralRe: Make a directory... Pin
Brad Fackrell8-Jun-04 7:59
Brad Fackrell8-Jun-04 7:59 
GeneralMoving usercontrols over a panel Pin
Member 8573777-Jun-04 7:44
Member 8573777-Jun-04 7:44 
GeneralRe: Moving usercontrols over a panel Pin
emari9-Jun-04 20:11
emari9-Jun-04 20:11 
Generali need a free winhelp generating tool Pin
Mohan G7-Jun-04 6:24
Mohan G7-Jun-04 6:24 
GeneralRe: i need a free winhelp generating tool Pin
Dave Kreskowiak7-Jun-04 7:48
mveDave Kreskowiak7-Jun-04 7:48 
QuestionVB.NET with Linux? Pin
Brad Fackrell7-Jun-04 5:25
Brad Fackrell7-Jun-04 5:25 
AnswerRe: VB.NET with Linux? Pin
GISnet7-Jun-04 5:38
GISnet7-Jun-04 5:38 
GeneralRe: VB.NET with Linux? Pin
Brad Fackrell7-Jun-04 7:05
Brad Fackrell7-Jun-04 7:05 
GeneralRe: VB.NET with Linux? Pin
Dave Kreskowiak7-Jun-04 7:45
mveDave Kreskowiak7-Jun-04 7:45 
GeneralRe: VB.NET with Linux? Pin
GISnet7-Jun-04 7:58
GISnet7-Jun-04 7:58 
GeneralRe: VB.NET with Linux? Pin
Brad Fackrell7-Jun-04 8:06
Brad Fackrell7-Jun-04 8:06 
GeneralRe: VB.NET with Linux? Pin
Dave Kreskowiak7-Jun-04 8:08
mveDave Kreskowiak7-Jun-04 8:08 
GeneralRe: VB.NET with Linux? Pin
Steven Campbell7-Jun-04 11:47
Steven Campbell7-Jun-04 11:47 

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.