@SITDS
I somewhat understand the dev process in application like Stab in the Dark Editor. I really liked your editor on my first try. Unfortunately since then, I have been unable to use it.
It seems that every time I am forced to update,, a new problem creeps in. I'll try to be patient and report the bugs as they come,, I just hope this gets sorted out.
As for the latest bug.
(FYI this program compiles and executes fine under the default dbpro editor). the source is broken down into numerous text files that are used to read in configurations. But I'll try to my best to show you the new issues).
1. On compile I get an Error msgbox:
Object reference not set to an instance of an object.
Details
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at k.l(String A_0)
at h.a(IntPtr A_0, UInt32 A_1, IntPtr A_2, IntPtr A_3)
at System.Windows.Forms.UnsafeNativeMethods.PeekMessage(MSG& msg, HandleRef hwnd, Int32 msgMin, Int32 msgMax, Int32 remove)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.DoEvents()
at ba.ag(Object A_0, EventArgs A_1)
at ba.af(Object A_0, EventArgs A_1)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5448 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Stab in the Dark Editor
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Users/ejom/Downloads/SITDE_v20_Beta/SITDE_v20_Beta/Stab%20in%20the%20Dark%20Editor.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
SITDS.Controls.Docking
Assembly Version: 3.0.0.0
Win32 Version: 3.0.0.0
CodeBase: file:///C:/Users/ejom/Downloads/SITDE_v20_Beta/SITDE_v20_Beta/SITDS.Controls.Docking.DLL
----------------------------------------
ScintillaNet
Assembly Version: 2.2.4018.41636
Win32 Version: 2.2.0.0
CodeBase: file:///C:/Users/ejom/Downloads/SITDE_v20_Beta/SITDE_v20_Beta/ScintillaNet.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
zorn1qwo
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Now I can choose to continue and ignore the error.
2. I get the following Error
Can not convert string (Implicity Declared) to verbtype :
Line 113
line 113 is:
if cmd1$ = Verb(indexx).verb_string
cmd1$, verbtype, Verb(indexx).verb_string are declared as follows:
global cmd1$
type VerbType
verb_string as string
verb_token as string
endtype
dim Verb(num_of_verbs + 1) as VerbType
So there is not a conversion. They are both strings. In dbpro you can declare a string in 2 ways.
FIRST WAY
Now the variable needs to have "$" added to it throughout the program
SECOND WAY
global mystring2 as string
Now the variable is a string but doesn't require the "$" added to the variable name.
There should not be an issue of doing the following:
if mystring$ = mystring2
rem do something
endif
As I said, my code compiles and runs without issue in the dafault editor. What is SITD Editor doing that it is having an issue with this?
I even tried to declare them both the same way, and I get an error can not convert string to verbtype. Also the editor locks up and I can no longer type.
=====================
What's with the expiration? I understand that you want to keep people on the same version so that any errors reported are current. But, It prevents me from being able to use even the last version that at least worked for me!!!. It's a bit irritating.
Your signature has been erased by a mod please reduce it to 600 x 120.