Click here to Skip to main content
15,896,730 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to code the next button Pin
garyu8718-Aug-12 2:38
garyu8718-Aug-12 2:38 
GeneralRe: How to code the next button Pin
Eddy Vluggen18-Aug-12 5:49
professionalEddy Vluggen18-Aug-12 5:49 
GeneralRe: How to code the next button Pin
garyu8718-Aug-12 20:01
garyu8718-Aug-12 20:01 
GeneralRe: How to code the next button Pin
Eddy Vluggen18-Aug-12 23:21
professionalEddy Vluggen18-Aug-12 23:21 
Questionvb interface wih HP impedance tester Pin
seow22716-Aug-12 21:55
seow22716-Aug-12 21:55 
AnswerRe: vb interface wih HP impedance tester Pin
Eddy Vluggen17-Aug-12 3:27
professionalEddy Vluggen17-Aug-12 3:27 
AnswerRe: vb interface wih HP impedance tester Pin
Dave Kreskowiak17-Aug-12 3:29
mveDave Kreskowiak17-Aug-12 3:29 
QuestionPrintPreviewControl causes exception Pin
kmoorevs16-Aug-12 3:06
kmoorevs16-Aug-12 3:06 
I have a PrintPreviewControl on a form that is opened modally (ShowDialog) from a Main form. (not MDI) The program seems to be trying to return back to the Main form prematurely and causing this error...
'The Undo operation encountered a context that is different from what was applied in the corresponding Set operation. The possible cause is that a context was Set on the thread and not reverted(undone).'
This only happens when I set the PrintPreviewControl.Document. This spawns the 'Generating Preview' window, then crashes the program in the Main form at the ShowDialog statement, which should be 'waiting' for the second form to close. Not sure if it matters, but this is on Win7.

*Update - After several hours of trying to debug this, I changed my default printer from a network printer to my PDF printer and the app works as expected. The network printer works flawlessly from all other programs, so why would I expect it to be the culprit?
"Go forth into the source" - Neal Morse


modified 16-Aug-12 10:37am.

AnswerRe: PrintPreviewControl causes exception Pin
Kenneth Haugland18-Aug-12 13:00
mvaKenneth Haugland18-Aug-12 13:00 
QuestionManually registering .tlb files Pin
Karthik Chintala16-Aug-12 1:21
Karthik Chintala16-Aug-12 1:21 
AnswerRe: Manually registering .tlb files Pin
Shameel16-Aug-12 1:56
professionalShameel16-Aug-12 1:56 
GeneralRe: Manually registering .tlb files Pin
Karthik Chintala16-Aug-12 2:00
Karthik Chintala16-Aug-12 2:00 
QuestionRe: Manually registering .tlb files Pin
Shameel16-Aug-12 2:01
professionalShameel16-Aug-12 2:01 
AnswerRe: Manually registering .tlb files Pin
Karthik Chintala16-Aug-12 2:08
Karthik Chintala16-Aug-12 2:08 
GeneralRe: Manually registering .tlb files Pin
Dave Kreskowiak16-Aug-12 2:35
mveDave Kreskowiak16-Aug-12 2:35 
GeneralRe: Manually registering .tlb files Pin
Karthik Chintala16-Aug-12 2:40
Karthik Chintala16-Aug-12 2:40 
GeneralRe: Manually registering .tlb files Pin
Eddy Vluggen16-Aug-12 2:48
professionalEddy Vluggen16-Aug-12 2:48 
GeneralRe: Manually registering .tlb files Pin
Karthik Chintala16-Aug-12 2:53
Karthik Chintala16-Aug-12 2:53 
GeneralRe: Manually registering .tlb files Pin
Eddy Vluggen16-Aug-12 13:51
professionalEddy Vluggen16-Aug-12 13:51 
GeneralRe: Manually registering .tlb files Pin
Karthik Chintala16-Aug-12 18:46
Karthik Chintala16-Aug-12 18:46 
GeneralRe: Manually registering .tlb files Pin
Eddy Vluggen16-Aug-12 22:27
professionalEddy Vluggen16-Aug-12 22:27 
Questionupdate app.config file Pin
VINCENT20545415-Aug-12 11:10
VINCENT20545415-Aug-12 11:10 
SuggestionRe: update app.config file Pin
Shameel16-Aug-12 1:58
professionalShameel16-Aug-12 1:58 
Questionupdate app.config file Pin
VINCENT20545415-Aug-12 10:40
VINCENT20545415-Aug-12 10:40 
AnswerRe: update app.config file Pin
Wes Aday15-Aug-12 10:49
professionalWes Aday15-Aug-12 10:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.