Click here to Skip to main content
12,254,430 members (61,134 online)

Visual Basic

 
GeneralRe: WndProc does not work in Windows CE 5.0 Pin
dusty_dex11-Apr-13 4:09
memberdusty_dex11-Apr-13 4:09 
GeneralRe: WndProc does not work in Windows CE 5.0 Pin
Member 989133411-Apr-13 4:15
memberMember 989133411-Apr-13 4:15 
GeneralRe: WndProc does not work in Windows CE 5.0 Pin
dusty_dex11-Apr-13 4:55
memberdusty_dex11-Apr-13 4:55 
QuestionSaveFileDialog.ShowDialog() return value Pin
econy9-Apr-13 9:06
memberecony9-Apr-13 9:06 
I use the statements like the following:
If SaveFileDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
               If SaveFileDialog1.FileName = "" Then
                   MsgBox("Plase input file name ")

Then if I don't input file name in the dialog,just press the save button, it seems the dialog can't return, i.e, close it.

Is the DialogResult.OK requires user must input filename?
AnswerRe: SaveFileDialog.ShowDialog() return value Pin
Eddy Vluggen9-Apr-13 9:36
mvpEddy Vluggen9-Apr-13 9:36 
GeneralRe: SaveFileDialog.ShowDialog() return value Pin
econy9-Apr-13 9:39
memberecony9-Apr-13 9:39 
GeneralRe: SaveFileDialog.ShowDialog() return value Pin
Eddy Vluggen9-Apr-13 9:59
mvpEddy Vluggen9-Apr-13 9:59 
GeneralRe: SaveFileDialog.ShowDialog() return value Pin
Johnny J.17-Apr-13 1:40
memberJohnny J.17-Apr-13 1:40 
GeneralRe: SaveFileDialog.ShowDialog() return value Pin
Eddy Vluggen17-Apr-13 1:53
mvpEddy Vluggen17-Apr-13 1:53 
GeneralRe: SaveFileDialog.ShowDialog() return value Pin
Johnny J.17-Apr-13 1:54
memberJohnny J.17-Apr-13 1:54 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160426.1 | Last Updated 5 May 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid