Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / July 2006

Tip: Looking for answers? Try searching our database.

Feedback ID 115267

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AndrewEames - 17 Jul 2006 16:43 GMT
I filed a bug report and got the very unhelpful response that I should ask
here in the newsgroups for a workaround so here I am. If someone from
Microsoft could explain the cause of the bug I filed and offer a workaround,
I would be most grateful
 Thanks
   Andrew Eames

http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=
115267

David Browne - 17 Jul 2006 17:36 GMT
>I filed a bug report and got the very unhelpful response that I should ask
> here in the newsgroups for a workaround so here I am. If someone from
[quoted text clipped - 5 lines]
>
> http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=
115267

For a workaround, you would need to describe what you are trying to
acomplish.

David
AndrewEames - 17 Jul 2006 18:29 GMT
There is a code sample in the bug report - (its actually a stripped down
version of code for a splash screen but that's irrelevant - I'd like to know
why it crashes)
 Andrew

> >I filed a bug report and got the very unhelpful response that I should ask
> > here in the newsgroups for a workaround so here I am. If someone from
[quoted text clipped - 10 lines]
>
> David
David Browne - 17 Jul 2006 19:02 GMT
So you don't want a workaround?  You just want to know why it crashes on
Windows 2000?

To find out why it crashes would require reproducing and debugging it on
Windwos 2000.

David

> There is a code sample in the bug report - (its actually a stripped down
> version of code for a splash screen but that's irrelevant - I'd like to
[quoted text clipped - 17 lines]
>>
>> David
AndrewEames - 17 Jul 2006 19:53 GMT
Well yes... I posted a reproducible code sample and it crashes in the CLR -
hence my request for some help from someone in MS - they seem to have
acknowledged it is a bug without actually describing what the bug is
 Andrew

> So you don't want a workaround?  You just want to know why it crashes on
> Windows 2000?
[quoted text clipped - 25 lines]
> >>
> >> David
David Browne - 17 Jul 2006 20:33 GMT
Ok, in that case, product feedback is the wrong mechanism.  That's more for
improving future products.

These groups might help, but it's hit or miss.  For instance I don't have a
Windows 2000 instance with .NET 2.0 running anywhere, so I can't help.

For analyzing and resolving issues in shipping software, Microsoft support
is the way to go: http://support.microsoft.com/.

David

> Well yes... I posted a reproducible code sample and it crashes in the
> CLR -
[quoted text clipped - 34 lines]
>> >>
>> >> David
AndrewEames - 17 Jul 2006 21:20 GMT
product feedback *is* the correct place to report a bug  - if you went to the
link I posted, you will see I got the rather unhelpful response below - hence
my request for help from someone from Microsoft - if you do not have inside
information about this problem you probably won't be able to help me (as
indeed you haven't)
 Andrew

"...next release of the .NET Framework (codenamed “Orcas”) requires a high
degree of backwards compatibility. As such we are not able to address this
issue with a fix in the .NET Framework in the Orcas timeframe. Many customers
have found it useful to discuss issues like this in the forums
(http://forums.microsoft.com/msdn/default.aspx?siteid=1) where Microsoft and
other members of the community can suggest work arounds. "

> Ok, in that case, product feedback is the wrong mechanism.  That's more for
> improving future products.
[quoted text clipped - 45 lines]
> >> >>
> >> >> David
David Browne - 17 Jul 2006 22:49 GMT
I did read your post, and if you were interested in a workaround, it might
be something like

       /// <summary
       /// The main entry point for the application.
       /// </summary
       [STAThread]
       static void Main()
       {
           Application.EnableVisualStyles();
           Application.SetCompatibleTextRenderingDefault(false);

           Form1 splash = new Form1();
           ProgressBar progress = new ProgressBar();
           progress.Maximum = 3;
           progress.Dock = DockStyle.Bottom;
           splash.Controls.Add(progress);

           Thread t = new Thread(new ThreadStart(delegate {
Application.Run(splash); }));
           t.SetApartmentState(ApartmentState.STA);
           t.Start();

           Form1 main = new Form1();

           main.Load += delegate
           {
               Thread.Sleep(200);//simulate a long load time
               splash.Invoke(new ThreadStart(delegate {
progress.Increment(1); }));
               Thread.Sleep(200);//simulate a long load time
               splash.Invoke(new ThreadStart(delegate {
progress.Increment(1); }));
               Thread.Sleep(200);//simulate a long load time
               splash.Invoke(new ThreadStart(delegate {
progress.Increment(1); }));
               Thread.Sleep(200);//simulate a long load time
            };

           main.Shown += delegate
           {
               splash.Invoke( new ThreadStart(delegate {
splash.Close(); }) );
           };

           Application.Run(main);

       }

David
> product feedback *is* the correct place to report a bug  - if you went to
> the
[quoted text clipped - 70 lines]
>> >> >>
>> >> >> David

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.