Wat doe ik mis?
Het document opent niet en staat op mijn c-schijf.
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
| public void help()
{
try
{
Runtime.getRuntime().exec("cmd /c start C:\\HelpEngels.doc");
}
catch (IOException ioe)
{
JOptionPane.showMessageDialog(null, "Er is geen help-document aanwezig");
}
} |
Het document opent niet en staat op mijn c-schijf.