Click here to Skip to main content
15,927,174 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralHC_SKIP Pin
Hadi Fakhreddine12-Sep-04 1:38
Hadi Fakhreddine12-Sep-04 1:38 
GeneralRe: HC_SKIP Pin
Anonymous12-Sep-04 9:11
Anonymous12-Sep-04 9:11 
GeneralKey Up/Down on DataGrid Pin
AbuFahed11-Sep-04 13:52
AbuFahed11-Sep-04 13:52 
GeneralRe: Key Up/Down on DataGrid Pin
sreejith ss nair12-Sep-04 0:07
sreejith ss nair12-Sep-04 0:07 
GeneralRe: Key Up/Down on DataGrid Pin
Syed Abdul Khader13-Sep-04 3:39
Syed Abdul Khader13-Sep-04 3:39 
GeneralVideo Capture Pin
Badg3r197711-Sep-04 12:16
Badg3r197711-Sep-04 12:16 
GeneralRe: Video Capture Pin
Dave Kreskowiak13-Sep-04 2:59
mveDave Kreskowiak13-Sep-04 2:59 
GeneralSub main() Pin
Guido Neele11-Sep-04 11:36
Guido Neele11-Sep-04 11:36 
Hi,

I have the following problem:

I build a program where the user can save his/her progress to a file. What I want is that the user can double-click the saved file and that they can continue with the file they saved.

I tried the following code:
<br />
Sub Main(ByVal args() As String)<br />
   ' Display arguments passed to the application<br />
   Dim s, path As String<br />
<br />
   For Each s In args<br />
      path = path & s<br />
   Next<br />
<br />
   Application.Run(New CMMain(path))<br />
End Sub


but I ended up with a wrong path for example: c:\ProgramFiles\MyApplicationFolder\Project\testfile.sav

ProgramFiles has to be Program Files (The space is gone)
MyApplicationFolder also spaces gone

How can I solve this? Probably an easy solution but I haven't found it jet.

Thanx in advance
GeneralRe: Sub main() Pin
Colin Angus Mackay11-Sep-04 23:55
Colin Angus Mackay11-Sep-04 23:55 
GeneralRe: Sub main() Pin
Guido Neele12-Sep-04 1:43
Guido Neele12-Sep-04 1:43 
Generalsourcecode for PDF to Word converter using visual basic 6 Pin
Member 129579210-Sep-04 23:46
Member 129579210-Sep-04 23:46 
GeneralRe: sourcecode for PDF to Word converter using visual basic 6 Pin
Mekong River11-Sep-04 11:56
Mekong River11-Sep-04 11:56 
GeneralRe: sourcecode for PDF to Word converter using visual basic 6 Pin
Dave Kreskowiak12-Sep-04 3:53
mveDave Kreskowiak12-Sep-04 3:53 
GeneralRe: sourcecode for PDF to Word converter using visual basic 6 Pin
Mekong River12-Sep-04 4:00
Mekong River12-Sep-04 4:00 
GeneralRe: sourcecode for PDF to Word converter using visual basic 6 Pin
Dave Kreskowiak12-Sep-04 16:27
mveDave Kreskowiak12-Sep-04 16:27 
GeneralProblem With Embedded Resources Inside A user Control Pin
Herbertmunch10-Sep-04 22:34
Herbertmunch10-Sep-04 22:34 
GeneralAdding Browser Control in VB.Net Pin
DanishNafay10-Sep-04 22:14
DanishNafay10-Sep-04 22:14 
GeneralRe: Adding Browser Control in VB.Net Pin
Hadi Fakhreddine12-Sep-04 1:46
Hadi Fakhreddine12-Sep-04 1:46 
GeneralRe: Adding Browser Control in VB.Net Pin
pbpb12-Sep-04 22:07
pbpb12-Sep-04 22:07 
GeneralPublic Declare. Pin
benjj10-Sep-04 17:39
benjj10-Sep-04 17:39 
GeneralRe: Public Declare. Pin
Dennis C. Dietrich11-Sep-04 7:17
Dennis C. Dietrich11-Sep-04 7:17 
GeneralRe: Public Declare. Pin
benjj11-Sep-04 18:19
benjj11-Sep-04 18:19 
GeneralEmail body format Pin
kokain10-Sep-04 16:42
kokain10-Sep-04 16:42 
GeneralRe: Email body format Pin
Dave Kreskowiak12-Sep-04 3:48
mveDave Kreskowiak12-Sep-04 3:48 
GeneralRe: Email body format Pin
Anonymous16-Oct-04 11:10
Anonymous16-Oct-04 11:10 

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.