PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Access violation Attempt to Read/Write Protected Memory Vista

Reply

Access violation Attempt to Read/Write Protected Memory Vista

 
Thread Tools Rate Thread
Old 17-12-2007, 04:11 PM   #1
Bob Harrison
Guest
 
Posts: n/a
Default Access violation Attempt to Read/Write Protected Memory Vista


vb .net application that is trying to access the default printer to get
printer settings. In Vista I get an invalid operation exception. I thought at
first because there was no local printer defined only shared printers so I
created a dummy local default printer but get the same error. The code works
for Windows XP.

In stack trace the last code entered was

system.drawing.safenativemethods.documentproperties

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off