I can hardly wait 'till it's "finished" (programs are never 100% finished ).
Re: Idea: Visual NXC
Posted: 10 Jun 2011, 08:37
by timpattinson
Nice new version...
2 things:
I get unhandled exceptions closing tabs in the nxc output
The "graph" thing in the enum editor is a bit cut off
Video quality is really crappy -- i deserve it for using windows movie maker
Exception text:
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 Visual_NXC.Forms.nxcOutput.tabBar1_SelectedTabChanged(TabItem obj)
at Visual_NXC.tabBar.set_selectedItem(TabItem value)
at Visual_NXC.tabBar.CloseCurrentTab()
at Visual_NXC.tabBar.tabBar_Click(Object sender, EventArgs e)
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)
************** 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.
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.
Re: Idea: Visual NXC
Posted: 10 Jun 2011, 10:22
by timpattinson
May sound stupid but... you code won't compile.
How do i make it find the stuff you put in the DLL Libs.zip (apart form unzipping it of course )
Re: Idea: Visual NXC
Posted: 10 Jun 2011, 21:17
by sidneys1
timpattinson wrote:I get unhandled exceptions closing tabs in the nxc output
Thanks for finding that.. Fixed.
timpattinson wrote:The "graph" thing in the enum editor is a bit cut off
..because you are using XP. I really really hate XP. I'll look into it though, see what I can do.
timpattinson wrote:May sound stupid but... you code won't compile.
How do i make it find the stuff you put in the DLL Libs.zip (apart form unzipping it of course )
Ok, a quick crash-course on changing linked libraries work. First off, (assuming you're using Visual Studio) go to the solution explorer, expand "Visual_NXC", expand "References", and right-click and "Remove" the following entries: GlassLib, SpiderApplicationsToolkit, STP.RGI, and SyntaxHighlightingTextBox. (Nothing else!!)
Then, right-click "References":
Click the "Browse" tab, find the files you extracted from DLL Libraries.zip, and select them (this pic is incorrect, bin/debug/ doesn't exist, but you get the idea):
Then hit ok. Things should compile fine now.
Have a nice day,
~Sidneys1
Re: Idea: Visual NXC
Posted: 10 Jun 2011, 21:49
by sidneys1
Thought I'd make a quick post on my progress... Our internet went out today, and I had nothing to do, so I did some major redesigning and work on Visual NXC. 0.1.0.6 is gonna be cool
The new 'blocks' render faster, and are made in a four-step process:
Have a nice day,
~Sidneys1
Re: Idea: Visual NXC
Posted: 11 Jun 2011, 23:17
by timpattinson
Yes i did finally get vs2010 from Dreamspark.
I'm using it for a school project so the school IT guys installed it for me.
It worked.
Re: Idea: Visual NXC
Posted: 12 Jun 2011, 00:32
by timpattinson
Is it possible to mirror the Mercurial repository to the SVN repository so I don't have to install Hg to get the most up-to-date code
Re: Idea: Visual NXC
Posted: 12 Jun 2011, 02:10
by muntoo
timpattinson wrote:Is it possible to mirror the Mercurial repository to the SVN repository so I don't have to install Hg to get the most up-to-date code
*gasp!* Why would you want to do such a thing!? (Not install TortoiseHg or Mercurial.)
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\pattinsont>cd Desktop/visualnxc
C:\Documents and Settings\pattinsont\Desktop\visualnxc>svn co http://bitbucket.org/Sidneys1/visual-nxc/trunk
svn: Repository moved permanently to 'https://bitbucket.org/Sidneys1/visual-nxc/trunk'; please relocate
C:\Documents and Settings\pattinsont\Desktop\visualnxc>svn co https://bitbucket.org/Sidneys1/visual-nxc/trunk
svn: '/repos12/r-276129/!svn/vcc/default' path not found
C:\Documents and Settings\pattinsont\Desktop\visualnxc>
Re: Idea: Visual NXC
Posted: 12 Jun 2011, 20:25
by sidneys1
Sorry, can't really help you there, Tim. PMing Muntoo seems your best bet, but I don't know much about Mercurial/SVN.
-------------------
Anyhow, here's a small update.. I got drag-dropping mocked up nicely, and even got it to 'nest' nicely!