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
[quoted text, click to view] "AndrewEames" <AndrewEames@discussions.microsoft.com> wrote in message
news:763B771F-B0BF-41BA-9248-D575686E852F@microsoft.com...
> 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. "
>
> "David Browne" wrote:
>
>> 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
>>
>>
>> "AndrewEames" <AndrewEames@discussions.microsoft.com> wrote in message
>> news:8176792B-D4CC-4D24-B893-4F80E2098BE7@microsoft.com...
>> > 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
>> >
>> > "David Browne" wrote:
>> >
>> >> 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
>> >>
>> >> "AndrewEames" <AndrewEames@discussions.microsoft.com> wrote in message
>> >> news:AB8FD220-057B-457F-A970-12D1EE6FDF67@microsoft.com...
>> >> > 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
>> >> >
>> >> > "David Browne" wrote:
>> >> >
>> >> >>
>> >> >> "AndrewEames" <AndrewEames@discussions.microsoft.com> wrote in
>> >> >> message
>> >> >> news:2150CF58-A0C8-4E1B-AAA0-7E4047245556@microsoft.com...
>> >> >> >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 >> >> >>
>> >> >> For a workaround, you would need to describe what you are trying to
>> >> >> acomplish.
>> >> >>
>> >> >> David
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>