TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Andrzej
NA
6
0
printing
Mar 24 2009 7:06 AM
#pragma region DRUKOWANIE
private: System::Void toolStripButton11_Click(System::Object^ sender, System::EventArgs^ e) {
System::Drawing::Printing::PrintDocument^ document = gcnew System::Drawing::Printing::PrintDocument();
String^ Name = (current + "\\" + textBox1->Text)->ToString();
if(Name != nullptr){
document->DocumentName = Name;
}
printPreviewDialog1->Document = document;
printPreviewDialog1->Width = 300;
printPreviewDialog1->Height = 400;
printPreviewDialog1->Show();
}
#pragma endregion
Thic piece of code shows an
empty
dialog.
Why?!
Input file is in RTF format and his name is written without extension (*.rtf), but it, I think, doesn't matter. The path is correct.
Please help me :)
Reply
Answers (
0
)
How can I disable Default ToolTip
How to get file path name hBitmap using C++?