Article ID: 194772
Article Last Modified on 10/16/2002
if(...) int localint = 0;
-or-
if(...) {
int localint = 0;
}
import com.ms.wfc.ui.*;
import com.ms.win32.*;
public class SFDialogTest
{
public static void main(String args[]) {
SaveFileDialog sfd = new SaveFileDialog();
if (sfd.showDialog() == DialogResult.OK) {
//int localint = 0;
}
String message = "SaveFileDialog should have been shown by now.";
message += "\r\n";
message += "If not, Uncomment the \"int localint = 0;\" line ";
message += "to make it work.";
User32.MessageBox(0,
message,
"Message Box",
MessageBox.OK);
}
}
Keywords: kbbug kbpending kbwfc KB194772