﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » Newbie Question on Tutorial</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 05:51:28 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Newbie Question on Tutorial</title><link>http://forum.strataframe.net/FindPost11259.aspx</link><description>Yep, no problem.</description><pubDate>Fri, 31 Aug 2007 08:57:29 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>Newbie Question on Tutorial</title><link>http://forum.strataframe.net/FindPost11123.aspx</link><description>I've followed along the instructions for the tutorial.&amp;nbsp; When I go to run it, it just flickers slightly, then takes me back to the IDE.&amp;nbsp; No error messages.&amp;nbsp; I tried putting a breakpoint on the 1st line in Sub Main.&amp;nbsp; The breakpoint is never reached.&lt;/P&gt;&lt;P&gt;I've been having similar problems with some of the sample apps as well.&amp;nbsp; I'm using SQL Express&lt;/P&gt;&lt;P&gt;The BOM works fine and the database connection is correct.&amp;nbsp; I've also deleted the connection.dat file a couple of times thinking that may be the problem.</description><pubDate>Fri, 31 Aug 2007 08:57:29 GMT</pubDate><dc:creator>Keith Courneyea</dc:creator></item><item><title>RE: Newbie Question on Tutorial</title><link>http://forum.strataframe.net/FindPost11248.aspx</link><description>I'll give that a whirl...&amp;nbsp; Also will try it on my laptop where SF is also installed.&lt;/P&gt;&lt;P&gt;Thanks for helping out this newbie</description><pubDate>Thu, 30 Aug 2007 11:38:12 GMT</pubDate><dc:creator>Keith Courneyea</dc:creator></item><item><title>RE: Newbie Question on Tutorial</title><link>http://forum.strataframe.net/FindPost11238.aspx</link><description>Well, I'm not sure what to tell you.&amp;nbsp; What you might try doing is just abandoning the tutorial project that you're on and creating a new one from the temlpate.&amp;nbsp; When you have the new project created, you can right-click on the project node within the Solution Explorer and select Add Existing Item...&amp;nbsp; Then browse to the old tutorial project's location and select the Form1.vb and BusinessObject1.vb (and any other files that you added).&amp;nbsp; Oh, and don't worry about selecting the .designer.vb or the .resx files because they will be pulled in automatically.&lt;/P&gt;&lt;P&gt;Sometimes with development, you can't explain why something went haywire, and you just have to scrap it and start a new project and manually add all the files back.</description><pubDate>Thu, 30 Aug 2007 09:25:14 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Newbie Question on Tutorial</title><link>http://forum.strataframe.net/FindPost11224.aspx</link><description>Yep, the newly created project runs OK.&amp;nbsp; I did have to cancel the connection dialog.&lt;/P&gt;&lt;P&gt;below is from the Output &amp;#119;indow...&amp;nbsp; So how would I go about figuring out what's up with the tutorial?&amp;nbsp; I'm not sure where to begin since there isn't an exception thrown.&lt;/P&gt;&lt;P&gt;[codesnippet]&lt;FONT size=1&gt;&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'D:\Documents and Settings\cournek\Local Settings\Application Data\Temporary Projects\SFTest\bin\Debug\SFTest.vshost.exe', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\MicroFour StrataFrame Base\1.6.0.0__99fe9917f71608a7\MicroFour StrataFrame Base.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\MicroFour StrataFrame Business\1.6.0.0__99fe9917f71608a7\MicroFour StrataFrame Business.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\MicroFour StrataFrame UI\1.6.0.0__99fe9917f71608a7\MicroFour StrataFrame UI.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Deployment\2.0.0.0__b03f5f7f11d50a3a\System.Deployment.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualBasic\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;The thread 0x3c0 has exited with code 0 (0x0).&lt;/P&gt;&lt;P&gt;The thread 0xfc4 has exited with code 0 (0x0).&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'D:\Documents and Settings\cournek\Local Settings\Application Data\Temporary Projects\SFTest\bin\Debug\SFTest.exe', Symbols loaded.&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.SqlServer.Smo\9.0.242.0__89845dcd8080cc91\Microsoft.SqlServer.Smo.dll', No symbols loaded.&lt;/P&gt;&lt;P&gt;'SFTest.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Accessibility\2.0.0.0__b03f5f7f11d50a3a\Accessibility.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;The program '[2740] SFTest.vshost.exe: Managed' has exited with code 0 (0x0).&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;[/codesnippet]</description><pubDate>Wed, 29 Aug 2007 16:04:39 GMT</pubDate><dc:creator>Keith Courneyea</dc:creator></item><item><title>RE: Newbie Question on Tutorial</title><link>http://forum.strataframe.net/FindPost11218.aspx</link><description>OK, so it works in a regular .NET program, but the SF template doesn't work on your computer?&amp;nbsp; If you just create a new SF project and immediately run it without changing anything does it run?&amp;nbsp; (you can cancel the connection string wizard if it pops up...)</description><pubDate>Wed, 29 Aug 2007 10:52:34 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Newbie Question on Tutorial</title><link>http://forum.strataframe.net/FindPost11205.aspx</link><description>Thanks, that worked</description><pubDate>Wed, 29 Aug 2007 09:44:00 GMT</pubDate><dc:creator>Keith Courneyea</dc:creator></item><item><title>RE: Newbie Question on Tutorial</title><link>http://forum.strataframe.net/FindPost11201.aspx</link><description>Ah, try chaning the Form1.Show() to this:&amp;nbsp; &lt;/P&gt;&lt;P&gt;System.Windows.Forms.Application.Run(New Form1())&lt;/P&gt;&lt;P&gt;That will cause it to break until the form is closed.&amp;nbsp; If you don't do that, then the app will just fall through and shutdown.</description><pubDate>Wed, 29 Aug 2007 09:31:30 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Newbie Question on Tutorial</title><link>http://forum.strataframe.net/FindPost11176.aspx</link><description>Well I did create just a standard Windows app.&amp;nbsp; I created the Public Shared Sub Main() and set the projects properties up to use Sub Main.&lt;/P&gt;&lt;P&gt;[codesnippet]&lt;FONT color=#0000ff size=2&gt;&lt;/P&gt;&lt;P&gt;Public&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Class&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; AppClass&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Shared&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Sub&lt;/FONT&gt;&lt;FONT size=2&gt; Main()&lt;/P&gt;&lt;P&gt;MessageBox.Show(&lt;/FONT&gt;&lt;FONT color=#800000 size=2&gt;"Sub main message"&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;&lt;P&gt;Form1.Show()&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Sub&lt;/P&gt;&lt;P&gt;End&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Class&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;[/codesnippet]&lt;/P&gt;&lt;P&gt;When I run this from the IDE all I get is a flicker, then get sent back to the IDE.&amp;nbsp; I located the exe file and ran that.&amp;nbsp; Oddly enough, the message box shows, then the flicker, then nothing.&amp;nbsp; Below is my VS version info.&amp;nbsp; Probably something's messed up with VS&lt;/P&gt;&lt;P&gt;Microsoft Visual Studio 2005&lt;BR&gt;Version 8.0.50727.42&amp;nbsp; (RTM.050727-4200)&lt;BR&gt;Microsoft .NET Framework&lt;BR&gt;Version 2.0.50727&lt;/P&gt;&lt;P&gt;Installed Edition: Professional</description><pubDate>Tue, 28 Aug 2007 12:00:44 GMT</pubDate><dc:creator>Keith Courneyea</dc:creator></item><item><title>RE: Newbie Question on Tutorial</title><link>http://forum.strataframe.net/FindPost11170.aspx</link><description>Well, Keith, I'm not sure what to tell you.&amp;nbsp; It doesn't look like an exception is being thrown.&amp;nbsp; If you create a new application (just a plain jane Windows Application) and you set the properties to use the Sub Main() (you'll have to manually create a Public Shared Sub Main() somewhere because the template won't create one) and see if it can hit a breakpoint in that.</description><pubDate>Tue, 28 Aug 2007 10:29:19 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Newbie Question on Tutorial</title><link>http://forum.strataframe.net/FindPost11161.aspx</link><description>I checked the project properties.&amp;nbsp; All is set to what you described.&amp;nbsp; Below is from the Output &amp;#119;indow.&amp;nbsp; The Immediate Window stayed blank...&lt;/P&gt;&lt;FONT size=1&gt;&lt;P&gt;'Tutorial_WINVB.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'Tutorial_WINVB.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'Tutorial_WINVB.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'Tutorial_WINVB.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'Tutorial_WINVB.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'Tutorial_WINVB.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'Tutorial_WINVB.vshost.exe' (Managed): Loaded 'D:\Documents and Settings\cournek\My Documents\Visual Studio 2005\Projects\Tutorial_WINVB\Tutorial_WINVB\bin\Debug\Tutorial_WINVB.vshost.exe', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'Tutorial_WINVB.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\MicroFour StrataFrame Base\1.6.0.0__99fe9917f71608a7\MicroFour StrataFrame Base.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'Tutorial_WINVB.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\MicroFour StrataFrame Business\1.6.0.0__99fe9917f71608a7\MicroFour StrataFrame Business.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'Tutorial_WINVB.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\MicroFour StrataFrame UI\1.6.0.0__99fe9917f71608a7\MicroFour StrataFrame UI.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'Tutorial_WINVB.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'Tutorial_WINVB.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Deployment\2.0.0.0__b03f5f7f11d50a3a\System.Deployment.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'Tutorial_WINVB.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;'Tutorial_WINVB.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualBasic\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.&lt;/P&gt;&lt;P&gt;The thread 0xe9c has exited with code 0 (0x0).&lt;/P&gt;&lt;P&gt;The thread 0x5b0 has exited with code 0 (0x0).&lt;/P&gt;&lt;P&gt;'Tutorial_WINVB.vshost.exe' (Managed): Loaded 'D:\Documents and Settings\cournek\My Documents\Visual Studio 2005\Projects\Tutorial_WINVB\Tutorial_WINVB\bin\Debug\Tutorial_WINVB.exe', Symbols loaded.&lt;/P&gt;&lt;P&gt;The program '[1236] Tutorial_WINVB.vshost.exe: Managed' has exited with code -1073741819 (0xc0000005).&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Tue, 28 Aug 2007 10:04:48 GMT</pubDate><dc:creator>Keith Courneyea</dc:creator></item><item><title>RE: Newbie Question on Tutorial</title><link>http://forum.strataframe.net/FindPost11159.aspx</link><description>If you're not reaching the break point at the top of Sub Main(), then you might check the properties of the project.&amp;nbsp; On the Application tab, you should have the Enable Application Framework unchecked, and the Startup Object should say Sub Main.&amp;nbsp; If those are correct, then check the Immediate window and the Output window; one of them might list an error that might give you a clue.</description><pubDate>Tue, 28 Aug 2007 09:53:38 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>