Click here to Skip to main content
15,887,596 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Win7 Pin
Eddy Vluggen11-Sep-09 4:45
professionalEddy Vluggen11-Sep-09 4:45 
GeneralRe: Win7 Pin
cstrader23211-Sep-09 5:12
cstrader23211-Sep-09 5:12 
GeneralRe: Win7 Pin
cstrader23211-Sep-09 6:47
cstrader23211-Sep-09 6:47 
GeneralRe: Win7 [modified] Pin
DaveAuld11-Sep-09 9:50
professionalDaveAuld11-Sep-09 9:50 
GeneralRe: Win7 Pin
cstrader23211-Sep-09 15:47
cstrader23211-Sep-09 15:47 
GeneralRe: Win7 Pin
cstrader23215-Sep-09 1:49
cstrader23215-Sep-09 1:49 
Questionshorter File Path Pin
Bob Beaubien11-Sep-09 2:35
Bob Beaubien11-Sep-09 2:35 
AnswerRe: shorter File Path Pin
Johan Hakkesteegt11-Sep-09 2:46
Johan Hakkesteegt11-Sep-09 2:46 
Just for clarity, are you trying to open an existing document, or are you trying to create and open a new document?

If you need to open an existing document, which you have not created yourself earlier on in your application, and the user can save the document anywhere on his computer, the best way is to use an OpenFileDialog.

If you created the document yourself earlier on in your application, just store it to a shorter path to begin with. In that case you could just use xlWorkBook = xlApp.Workbooks.Open("log.xls")

My advice is free, and you may get what you paid for.

GeneralRe: shorter File Path Pin
Bob Beaubien11-Sep-09 3:00
Bob Beaubien11-Sep-09 3:00 
GeneralRe: shorter File Path Pin
Eddy Vluggen11-Sep-09 3:07
professionalEddy Vluggen11-Sep-09 3:07 
GeneralRe: shorter File Path Pin
Johan Hakkesteegt11-Sep-09 3:07
Johan Hakkesteegt11-Sep-09 3:07 
GeneralRe: shorter File Path Pin
Dave Kreskowiak11-Sep-09 4:10
mveDave Kreskowiak11-Sep-09 4:10 
GeneralRe: shorter File Path Pin
Johan Hakkesteegt13-Sep-09 22:38
Johan Hakkesteegt13-Sep-09 22:38 
GeneralRe: shorter File Path Pin
Luc Pattyn11-Sep-09 7:01
sitebuilderLuc Pattyn11-Sep-09 7:01 
QuestionExpression Pin
Anubhava Dimri10-Sep-09 23:18
Anubhava Dimri10-Sep-09 23:18 
AnswerRe: Expression Pin
Henry Minute11-Sep-09 0:08
Henry Minute11-Sep-09 0:08 
AnswerRe: Expression Pin
Christian Graus11-Sep-09 0:56
protectorChristian Graus11-Sep-09 0:56 
GeneralRe: Expression Pin
Anubhava Dimri11-Sep-09 1:17
Anubhava Dimri11-Sep-09 1:17 
GeneralRe: Expression Pin
Dave Kreskowiak11-Sep-09 4:03
mveDave Kreskowiak11-Sep-09 4:03 
GeneralRe: Expression Pin
Anubhava Dimri11-Sep-09 18:07
Anubhava Dimri11-Sep-09 18:07 
GeneralRe: Expression Pin
Dave Kreskowiak12-Sep-09 5:25
mveDave Kreskowiak12-Sep-09 5:25 
GeneralRe: Expression Pin
Anubhava Dimri13-Sep-09 18:07
Anubhava Dimri13-Sep-09 18:07 
GeneralRe: Expression Pin
Dave Kreskowiak14-Sep-09 2:05
mveDave Kreskowiak14-Sep-09 2:05 
GeneralRe: Expression Pin
Anubhava Dimri14-Sep-09 2:09
Anubhava Dimri14-Sep-09 2:09 
QuestionMigrating VB6 to the cloud Pin
Chevy Weiss10-Sep-09 10:53
Chevy Weiss10-Sep-09 10:53 

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.