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
analytic
NA
32
0
printDialog 86 bit machine
Jul 29 2009 3:13 PM
Thanks for the update about 64 bit machine. The program I am trying to do is simple just open a dialog box, nothing else at the moment, with code as follows using System; using System.Drawing; using System.Drawing.Printing; using System.Windows.Forms; namespace TestPrinterClass { class TestPrinter { private static PrintDialog pdialog; private static PrintDocument pd; static void Main() { bool OK; OK = testPrintDialogue(); } static bool testPrintDialogue() { pd = new PrintDocument(); pdialog = new PrintDialog(); DialogResult r; bool ok = true; pdialog.UseEXDialog = true; pdialog.Document = pd; r = pdialog.ShowDialog(); if (r == DialogResult.OK) ok = true; else ok = false; pdialog.Dispose(); return ok; } } } I have an Intel 68 bit machine with VS 2008 and the above code does not work. However, on my other 32 bit machine with VS 2008 it works perfectly. What can I do??
Reply
Answers (
0
)
lotto application in vb.net 2005
using Microsoft Excel 2007 ..update and Append the values to Excel shhet