MSRDP.OCX and Office 2007
Hi Everyone,
I have a small application using the msrdp.ocx control, everything works great until I test the application on a machine with Office 2007 installed, it just simply crashes, cold hard crash. Looking at the error log file is like looking at mumbo jumbo.
The application runs fine, the crash occurs when I'm trying to unload the form with the msrdp.ocx control. If I run it in design-time, it will also crash however if I place a breakpoint anywhere, it will not crash. Something is going on with respect to timing and I have no clue what it could be; I have error handling everywhere but it doesn't catch it.
Anyone else experience a problem with the two components working together
Any help is appreciated.
Thanks
Nuno

MSRDP.OCX and Office 2007
Mike9000
use the application "unhandled Exception" event to catch what is going on....
Private
Sub MyApplication_UnhandledException(ByVal sender As Object, ByVal e As Microsoft.VisualBasic.ApplicationServices.UnhandledExceptionEventArgs) Handles Me.UnhandledException Dim ErrorLog As String = Application.Info.DirectoryPath & "\ErrorLog.text" Dim sw As System.IO.StreamWriter = My.Computer.FileSystem.OpenTextFileWriter(ErrorLog, True) sw.WriteLine(Now.ToString) sw.WriteLine(e.Exception.Source) sw.WriteLine(e.Exception.Message) sw.WriteLine(e.Exception.StackTrace) sw.Close() sw.Dispose() End SubThis wont catch anything in debug mode...but when running the compiled application the error log will be written and the program should still crash..
HTH
happymozart
Hi,
are you using this on Vista
I have few questions, can you tell me what vista version you are using and what MSRDP.OCX version, is it 5.2.3790.1830
Please let me know, my email address is mansooralia@hotmail.com