Click here to Skip to main content
15,923,226 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRead file data when opening from... Pin
Taen_Karth3-Apr-06 15:05
Taen_Karth3-Apr-06 15:05 
AnswerRe: Read file data when opening from... Pin
Christian Graus3-Apr-06 15:09
protectorChristian Graus3-Apr-06 15:09 
GeneralRe: Read file data when opening from... Pin
Taen_Karth3-Apr-06 15:27
Taen_Karth3-Apr-06 15:27 
GeneralRe: Read file data when opening from... Pin
Christian Graus3-Apr-06 15:28
protectorChristian Graus3-Apr-06 15:28 
GeneralRe: Read file data when opening from... Pin
Taen_Karth3-Apr-06 15:33
Taen_Karth3-Apr-06 15:33 
GeneralRe: Read file data when opening from... Pin
Christian Graus3-Apr-06 15:36
protectorChristian Graus3-Apr-06 15:36 
GeneralRe: Read file data when opening from... Pin
Taen_Karth3-Apr-06 15:39
Taen_Karth3-Apr-06 15:39 
GeneralRe: Read file data when opening from... Pin
Christian Graus3-Apr-06 15:42
protectorChristian Graus3-Apr-06 15:42 
Ah, OK. I still can't get that from the wording of the original question Smile | :)

Your program entry point is a static void main method. That method is passed an array of arguments. You can check that array, the first argument passed in there is going to be the file path, so you can capture it there, and use it accordingly.


Christian Graus - Microsoft MVP - C++
GeneralRe: Read file data when opening from... Pin
Taen_Karth3-Apr-06 15:52
Taen_Karth3-Apr-06 15:52 
GeneralRe: Read file data when opening from... Pin
Christian Graus3-Apr-06 16:01
protectorChristian Graus3-Apr-06 16:01 
GeneralRe: Read file data when opening from... Pin
Taen_Karth3-Apr-06 16:06
Taen_Karth3-Apr-06 16:06 
GeneralRe: Read file data when opening from... Pin
Christian Graus3-Apr-06 16:09
protectorChristian Graus3-Apr-06 16:09 
QuestionHelp with array code Pin
Solid Snake3-Apr-06 14:57
Solid Snake3-Apr-06 14:57 
AnswerRe: Help with array code Pin
Christian Graus3-Apr-06 15:08
protectorChristian Graus3-Apr-06 15:08 
GeneralRe: Help with array code Pin
Solid Snake4-Apr-06 3:49
Solid Snake4-Apr-06 3:49 
GeneralRe: Help with array code Pin
Christian Graus4-Apr-06 13:45
protectorChristian Graus4-Apr-06 13:45 
AnswerRe: Help with array code Pin
FrankyT4-Apr-06 13:57
FrankyT4-Apr-06 13:57 
GeneralRe: Help with array code Pin
Solid Snake5-Apr-06 6:56
Solid Snake5-Apr-06 6:56 
Questionvb to vb.net Pin
machman13-Apr-06 13:08
machman13-Apr-06 13:08 
AnswerRe: vb to vb.net Pin
Christian Graus3-Apr-06 15:06
protectorChristian Graus3-Apr-06 15:06 
AnswerRe: vb to vb.net Pin
Chatura Dilan3-Apr-06 15:16
Chatura Dilan3-Apr-06 15:16 
QuestionDatagrid - Reload data - Timer? Pin
NewbieDave3-Apr-06 11:36
NewbieDave3-Apr-06 11:36 
AnswerRe: Datagrid - Reload data - Timer? Pin
Christian Graus3-Apr-06 15:37
protectorChristian Graus3-Apr-06 15:37 
Questionarray with listview Pin
calmeat3-Apr-06 9:16
calmeat3-Apr-06 9:16 
QuestionTCPListener.socket closes on send Pin
Bertymas3-Apr-06 8:25
Bertymas3-Apr-06 8:25 

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.