Many many thanks Jason!
I am able now to load a log file. Somehow when I use focus or filter in GROUPCHAT sender and receiver get a bit messed up. I can perfectly “view as chat” normal chats but with groupchat I got the following undhandled exception:
- 71 is not a valid message item
Parameter name: index
and in details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
- Exception Text **************
System.ArgumentOutOfRangeException: 71 is not a valid message item
Parameter name: index
at Listawood.Xmpp.LogViewer.Sender.get_Item(Int32 index)
at Listawood.Xmpp.LogViewer.ChatWindow.PopulateGroupChatWindow(Boolean useEmoticons)
at Listawood.Xmpp.LogViewer.ChatWindow.Setup(XmppLog log, XmppMsgType msgType, String room)
at Listawood.Xmpp.LogViewer.ChatWindow…ctor(XmppLog log, XmppMsgType msgType, String room)
at Listawood.Xmpp.LogViewer.MainForm.GroupChatWindow(XmppMsg msg)
at Listawood.Xmpp.LogViewer.MainForm.MenuItem3Click(Object sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Control.WmCommand(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
- Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
Log Viewer
Assembly Version: 1.0.2026.15186
Win32 Version: 1.0.2026.15186
CodeBase: file:///C:/Documents%20and%20Settings/nromero/My%20Documents/TUe/Development/ji ve_messenger_src/LogViewer-bin/Log%20Viewer.exe
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e0 89/system.windows.forms.dll
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/sys tem.drawing.dll
System.Xml
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system. xml.dll
Khendys.Controls.ExRichTextBox
Assembly Version: 1.0.1985.28025
Win32 Version: 1.0.1985.28025
CodeBase: file:///C:/Documents%20and%20Settings/nromero/My%20Documents/TUe/Development/ji ve_messenger_src/LogViewer-bin/Khendys.Controls.ExRichTextBox.DLL
- JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.
==========
The tool looks very promising!! thanks once more for all your effort Jason… I’'m trying to go through the code now to understand how it works so I can help with the errors