hi,
The problem i encounter when i clicked again the procudure. pls take a look .doc attachement.
popskie
Printable View
hi,
The problem i encounter when i clicked again the procudure. pls take a look .doc attachement.
popskie
Can you please post the code for that function...I can't see it behind the msgbox.
And BTW, you can attach pictures to your post...;)
- ØØ -
for (counter = 0;counter<p.Length; counter++)
{
if (sender.Equals(p[counter]))
break;
}
filename.Text = flpath;
pb[counter].Image.Save(flpath);
pd1.Document= pd;
pd.PrintPage += new PrintPageEventHandler(pqr);
pd1.ShowDialog();
Where did the line with the error go? :confused:
for (counter = 0;counter<p.Length; counter++)
{
if (sender.Equals(p[counter]))
break;
}
filename.Text = flpath;
pb[counter].Image.Save(flpath);
pd1.Document= pd; // this error occurs when i execute twice this procedure.
pd.PrintPage += new PrintPageEventHandler(pqr);
pd1.ShowDialog();
I realize the document I use was not close. but how?