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

Visual Basic

 
AnswerRe: Run a crystal report via VB.Net Pin
alien viper16-Feb-06 15:51
alien viper16-Feb-06 15:51 
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 
Set...
myOpenFileDialog.RestoreDirectory = True<br />
mySaveFileDialog.RestoreDirectory = True


This will prevent the app's current directory from changing and allow these dialogs to still remember the last selected path.

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.


It sounds like you are accessing your help files via relative paths. If so, then I strongly recommend that you access them via absolute paths, which can be built based on Application.StartupPath.
The reason is if someone makes a shortcut to your app but forgets to set the working directory to the app's path, this will break all of the relative paths to your files.
AnswerRe: Reset the current directory to AppPath on exit Pin
Dave Kreskowiak16-Feb-06 10:31
mveDave Kreskowiak16-Feb-06 10:31 
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 

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.