Miha suggested using a log file...
This also bombed.
But got me thinking along another line...
After using JIT debug and a whole lot of frustration,
it turned out to be something unrelated to the line of code
initially indicated (surprise, surprise!)
The release version was working OK until this rollout...
I had made some code changes to the way the app
started (changes to splash screens etc).
This line of code unintentionally was left in Sub Main()
--->> dim f as new frmMain
.....after some initialiazation code....
this line of code starts the UI
--->> Application.Run (New frmMain)
This was handled OK in the IDE (debug or Release)
AND in the debug build....
But not in the Release Build....
After removing 'dim f as frmMain' all was OK...
Once again thanks MM...
"KeithO" wrote:
Thanks MM
Good thought... Will try
"Miha Markic [MVP C#]" wrote:
Hi,
You should implement some sort of logging (perhaps to a file) to see where
the problem is.
--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com
"KeithO" <Ke****@discuss ions.microsoft. com> wrote in message
news:C4******** *************** ***********@mic rosoft.com... Problem:
App works OK in debug both in VS.Net and build version.
Also OK as release version in VS.net
Not working as release version build.
Gets to this line of code: (private func called from sub Main())
da.Fill(crms_ds _ParcelList, "rfaPRef")
then stops (does not hang) just stops...
Also one of the messages boxes in the try..catch...fi nally statement
I have included to trap prob in release version
Flashes up but to quick to see which one....
Any thoughts....