Click here to Skip to main content
15,914,111 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Using Java Classes in VB appl. Pin
John Kuhn3-Feb-04 12:53
John Kuhn3-Feb-04 12:53 
GeneralRe: Using Java Classes in VB appl. Pin
Dave Kreskowiak4-Feb-04 5:23
mveDave Kreskowiak4-Feb-04 5:23 
GeneralRe: About JavaReg. Pin
Sairam Samavedam4-Feb-04 8:35
Sairam Samavedam4-Feb-04 8:35 
GeneralRe: About JavaReg. Pin
Dave Kreskowiak4-Feb-04 8:41
mveDave Kreskowiak4-Feb-04 8:41 
GeneralRe: About JavaReg. Pin
Sairam Samavedam4-Feb-04 8:45
Sairam Samavedam4-Feb-04 8:45 
GeneralRe: About JavaReg. Pin
Dave Kreskowiak6-Feb-04 3:26
mveDave Kreskowiak6-Feb-04 3:26 
GeneralSetting the Default file name in the SaveFileAs Dialog from VB.Net Pin
nvmoss3-Feb-04 7:47
nvmoss3-Feb-04 7:47 
GeneralSetting Default filename in Excel fileSaveAs Dialog Pin
nvmoss3-Feb-04 2:33
nvmoss3-Feb-04 2:33 
I am writing a VB.NET application that dumps data to Excel. After the dump, I want to prompt the user to save the file by showing the SaveFileAs Dialog Box. I am having trouble setting the default file name in the Dialog Box with the statement:

Result = EXL.Dialogs(Excel.XlBuiltInDialog.xlDialogSaveAs).Show Argl:= fName

VB.NEt indicates a syntax error (End of statement expected)

The equivalent statement works in Excel, what am I doing wrong?

Thanks!

Nelson
GeneralRe: Setting Default filename in Excel fileSaveAs Dialog Pin
John Kuhn3-Feb-04 12:28
John Kuhn3-Feb-04 12:28 
GeneralMore VB and Excel (Groan!) Pin
RichardGrimmer3-Feb-04 2:13
RichardGrimmer3-Feb-04 2:13 
GeneralRe: More VB and Excel (Groan!) Pin
John Kuhn4-Feb-04 8:29
John Kuhn4-Feb-04 8:29 
GeneralRe: More VB and Excel (Groan!) Pin
RichardGrimmer4-Feb-04 22:03
RichardGrimmer4-Feb-04 22:03 
GeneralRe: More VB and Excel (Groan!) Pin
Steve S9-Feb-04 7:18
Steve S9-Feb-04 7:18 
GeneralSetting value of Combo...People with more white brain cells suggested to view this,,,, Pin
Het21093-Feb-04 1:19
Het21093-Feb-04 1:19 
GeneralRe: Setting value of Combo...People with more white brain cells suggested to view this,,,, Pin
RichardGrimmer4-Feb-04 22:05
RichardGrimmer4-Feb-04 22:05 
GeneralRe: Setting value of Combo...People with more white brain cells suggested to view this,,,, Pin
Het21095-Feb-04 1:36
Het21095-Feb-04 1:36 
GeneralRe: Setting value of Combo...People with more white brain cells suggested to view this,,,, Pin
RichardGrimmer5-Feb-04 1:41
RichardGrimmer5-Feb-04 1:41 
GeneralCollection Objects Pin
Roozbeh693-Feb-04 0:16
professionalRoozbeh693-Feb-04 0:16 
GeneralRe: Collection Objects Pin
John Kuhn3-Feb-04 13:17
John Kuhn3-Feb-04 13:17 
GeneralAccess shared folder Pin
radhika812-Feb-04 19:33
radhika812-Feb-04 19:33 
GeneralRe: Access shared folder Pin
John Kuhn3-Feb-04 12:17
John Kuhn3-Feb-04 12:17 
GeneralRe: Access shared folder Pin
Anonymous5-Feb-04 18:43
Anonymous5-Feb-04 18:43 
GeneralRe: Access shared folder Pin
John Kuhn5-Feb-04 18:57
John Kuhn5-Feb-04 18:57 
GeneralDirectDraw in VB.NET Pin
PC3700DDR2-Feb-04 16:04
PC3700DDR2-Feb-04 16:04 
GeneralI NEED HELP..NEED A GURU Pin
Anonymous2-Feb-04 15:15
Anonymous2-Feb-04 15:15 

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.