Click here to Skip to main content
15,888,324 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Extracting colors Pin
Pasan14825-Sep-10 23:00
Pasan14825-Sep-10 23:00 
GeneralRe: Extracting colors Pin
Richard MacCutchan26-Sep-10 1:14
mveRichard MacCutchan26-Sep-10 1:14 
GeneralRe: Extracting colors Pin
Luc Pattyn26-Sep-10 1:53
sitebuilderLuc Pattyn26-Sep-10 1:53 
JokeRepost Pin
dan!sh 26-Sep-10 2:54
professional dan!sh 26-Sep-10 2:54 
AnswerRe: No more Pin
Luc Pattyn26-Sep-10 3:03
sitebuilderLuc Pattyn26-Sep-10 3:03 
GeneralRe: Extracting colors Pin
Pasan14826-Sep-10 6:53
Pasan14826-Sep-10 6:53 
AnswerRe: Extracting colors Pin
Luc Pattyn26-Sep-10 3:01
sitebuilderLuc Pattyn26-Sep-10 3:01 
QuestionSystem.AccessViolationException Closing Windows Form Contianing An ActiveX Control Pin
Stinebaugh23-Sep-10 14:11
Stinebaugh23-Sep-10 14:11 
I'm kinda stumped on this one. I've been reading for a few hours now and still can't seem to figure out what the problem is. I'm working on a remote desktop tool that consists of a parent mdi form and child forms that contain an AxMSTSCLib control. Everything works great on my machine (Win 7), but when I attempt to run this on a Windows 2003 or XP box, the app crashes when it tries to close the form. At first I thought it was due to me trying to dispose the control, but even removing the dispose step makes no difference. I've included the error message along with some info from the immediate window and a dump analysisy showing the function call causing the access violation. I'm not sure what I have to do to keep this from throwing the error and crashing the app.

An unhandled exception of type 'System.AccessViolationException' occurred in System.Windows.Forms.dll

Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.



Step into: Stepping over non-user code 'System.Windows.Forms.Form.Close'
First-chance exception at 0x59366b49 in RDPConnectionManager.exe: 0xC0000005: Access violation reading location 0x00000000.



mstscax!CMsTscAx::OnCoreApiDisconnected+87
mstscax!CTSWin32CoreApiNotifySink::OnCoreApiDisconnectedUiThreadWorker+19
mstscax!CTSWin32CoreApiNotifySink::OnCoreApiDisconnectedUiThreadWorkerAsyncCallback::Invoke+16
mstscax!CTSMsg::Invoke+44
mstscax!CTSThread::RunQueueEvent+73
mstscax!CTSThread::RunAllQueueEvents+57
mstscax!CTSThread::OnNotifyThreadEventQueue+7
mstscax!CTSThread::OnNotifyThreadMessage+24
mstscax!PAL_System_Win32_ThreadWndProc+1b
user32!InternalCallWinProc+28
user32!UserCallWinProcCheckWow+150
user32!DispatchMessageWorker+306
user32!DispatchMessageW+f



Let me know if you need any additional information on this problem and I appreciate any input on this.
AnswerRe: System.AccessViolationException Closing Windows Form Contianing An ActiveX Control Pin
Stinebaugh28-Sep-10 9:15
Stinebaugh28-Sep-10 9:15 
GeneralRe: System.AccessViolationException Closing Windows Form Contianing An ActiveX Control Pin
Stinebaugh9-Nov-10 1:36
Stinebaugh9-Nov-10 1:36 
QuestionIs it possible to remove default selection in DataGridView? Pin
Andraw Tang23-Sep-10 11:36
Andraw Tang23-Sep-10 11:36 
AnswerRe: Is it possible to remove default selection in DataGridView? Pin
Luc Pattyn23-Sep-10 12:00
sitebuilderLuc Pattyn23-Sep-10 12:00 
GeneralRe: Is it possible to remove default selection in DataGridView? Pin
Andraw Tang23-Sep-10 12:20
Andraw Tang23-Sep-10 12:20 
QuestionVB6 MKGrid Pin
KhadijaYaseen23-Sep-10 10:36
KhadijaYaseen23-Sep-10 10:36 
AnswerRe: VB6 MKGrid Pin
Dave Kreskowiak27-Sep-10 3:55
mveDave Kreskowiak27-Sep-10 3:55 
Questionhow to read xml in VB6 Pin
jainiraj23-Sep-10 4:01
jainiraj23-Sep-10 4:01 
QuestionSpecific version property when adding references Pin
Jon_Boy22-Sep-10 6:09
Jon_Boy22-Sep-10 6:09 
AnswerRe: Specific version property when adding references Pin
Eddy Vluggen22-Sep-10 9:14
professionalEddy Vluggen22-Sep-10 9:14 
GeneralRe: Specific version property when adding references Pin
Jon_Boy23-Sep-10 2:05
Jon_Boy23-Sep-10 2:05 
QuestionDetecting disconnection from database Pin
chrispowell1234522-Sep-10 0:56
chrispowell1234522-Sep-10 0:56 
AnswerRe: Detecting disconnection from database Pin
Simon_Whale22-Sep-10 1:09
Simon_Whale22-Sep-10 1:09 
GeneralRe: Detecting disconnection from database Pin
chrispowell1234522-Sep-10 1:44
chrispowell1234522-Sep-10 1:44 
GeneralRe: Detecting disconnection from database Pin
Dave Kreskowiak22-Sep-10 2:04
mveDave Kreskowiak22-Sep-10 2:04 
AnswerRe: Detecting disconnection from database Pin
David Mujica22-Sep-10 3:26
David Mujica22-Sep-10 3:26 
GeneralRe: Detecting disconnection from database Pin
chrispowell1234522-Sep-10 3:55
chrispowell1234522-Sep-10 3:55 

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.