Click here to Skip to main content
15,895,370 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Run a crystal report via VB.Net Pin
KreativeKai17-Feb-06 2:44
professionalKreativeKai17-Feb-06 2:44 
QuestionHow do i manipulate Windows file system in VB.NET? Pin
Slow Learner16-Feb-06 7:44
Slow Learner16-Feb-06 7:44 
AnswerRe: How do i manipulate Windows file system in VB.NET? Pin
KaptinKrunch16-Feb-06 15:22
KaptinKrunch16-Feb-06 15:22 
QuestionProxy for VB.NET 2005 Pin
Devraj Raut16-Feb-06 3:37
Devraj Raut16-Feb-06 3:37 
QuestionReset the current directory to AppPath on exit Pin
DJLarZ16-Feb-06 2:40
DJLarZ16-Feb-06 2:40 
AnswerRe: Reset the current directory to AppPath on exit Pin
malharone16-Feb-06 7:27
malharone16-Feb-06 7:27 
AnswerRe: Reset the current directory to AppPath on exit Pin
Joshua Quick16-Feb-06 7:43
Joshua Quick16-Feb-06 7:43 
AnswerRe: Reset the current directory to AppPath on exit Pin
Dave Kreskowiak16-Feb-06 10:31
mveDave Kreskowiak16-Feb-06 10:31 
DJLarZ wrote:
The reason I need this is that I use openfiledialogs and savefiledialogs which changes the current directory, and I have stored help files relative to the program path.


You should not be worrying about what the current directory is. You should be using absolute paths ALWAYS when dealing with files. You can always get the applications directory by using:
Dim appDirectory As String = Application.StartupPath

You can make a fully qualified path name by using something like this:
Imports System.Io
.
.
.
    Dim myHelpFilePath As String = Path.Combine(Application.StartupPath, "myHelpFile.hlp")



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

AnswerRe: Reset the current directory to AppPath on exit Pin
DJLarZ16-Feb-06 21:07
DJLarZ16-Feb-06 21:07 
Questionvb.net 3003 draw tool Pin
yorickthefirst15-Feb-06 23:43
yorickthefirst15-Feb-06 23:43 
AnswerRe: vb.net 3003 draw tool Pin
Dave Kreskowiak16-Feb-06 1:30
mveDave Kreskowiak16-Feb-06 1:30 
QuestionHow to get path to the CD drive Pin
Chatura Dilan15-Feb-06 23:17
Chatura Dilan15-Feb-06 23:17 
AnswerRe: How to get path to the CD drive Pin
alien viper15-Feb-06 23:42
alien viper15-Feb-06 23:42 
GeneralRe: How to get path to the CD drive Pin
Chatura Dilan16-Feb-06 15:33
Chatura Dilan16-Feb-06 15:33 
GeneralRe: How to get path to the CD drive Pin
alien viper16-Feb-06 16:14
alien viper16-Feb-06 16:14 
QuestionCrystal Reports Pin
microuser_200015-Feb-06 22:29
microuser_200015-Feb-06 22:29 
QuestionDatagrid > DataTable > Excel Pin
RichardBerry15-Feb-06 22:02
RichardBerry15-Feb-06 22:02 
AnswerRe: Datagrid > DataTable > Excel Pin
KreativeKai17-Feb-06 4:08
professionalKreativeKai17-Feb-06 4:08 
AnswerRe: Datagrid > DataTable > Excel Pin
Dean_SF17-Feb-06 7:44
Dean_SF17-Feb-06 7:44 
GeneralRe: Datagrid > DataTable > Excel Pin
RichardBerry21-Feb-06 3:35
RichardBerry21-Feb-06 3:35 
GeneralRe: Datagrid > DataTable > Excel Pin
Dean_SF21-Feb-06 4:13
Dean_SF21-Feb-06 4:13 
Questionproduct security Pin
brindhavijay15-Feb-06 19:49
brindhavijay15-Feb-06 19:49 
AnswerRe: product security Pin
Joshua Quick15-Feb-06 20:56
Joshua Quick15-Feb-06 20:56 
Questioncan't find keycodeV.dll Pin
shekhar8115-Feb-06 19:47
shekhar8115-Feb-06 19:47 
AnswerRe: can't find keycodeV.dll Pin
nguyenvhn15-Feb-06 20:35
nguyenvhn15-Feb-06 20: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.