Home All Groups Group Topic Archive Search About

Question about thread safety...

Author
22 Sep 2005 2:40 PM
Dennis
I have a question about thread safety in a VB application written using Visual
Studio.Net 2003.

Here is the situation...

I am running a process thread in a modal dialog. I have written it so the user
cannot exit the dialog until the thread completes (unless they click a button
to explicitly interrupt and destroy the thread).

My question...

How concerned should I be about accessing the dialog's member variables from
within the process thread? These are variables that cannot themselves be
changed anywhere on the dialog window.

Thanks,

Dennis

Author
22 Sep 2005 2:59 PM
Jan Hyde
Dennis's wild thoughts were released on Thu, 22 Sep 2005
10:40:18 -0400 bearing the following fruit:

>I have a question about thread safety in a VB application written using Visual
>Studio.Net 2003.

You really need to try a dotnet group, this is for classic
VB.

J

Show quoteHide quote
>Here is the situation...
>
>I am running a process thread in a modal dialog. I have written it so the user
>cannot exit the dialog until the thread completes (unless they click a button
>to explicitly interrupt and destroy the thread).
>
>My question...
>
>How concerned should I be about accessing the dialog's member variables from
>within the process thread? These are variables that cannot themselves be
>changed anywhere on the dialog window.
>
>Thanks,
>
>Dennis


Jan Hyde (VB MVP)

--
When you use glue, it paste to be careful. (Pun of the Day)

[Abolish the TV Licence - http://www.tvlicensing.biz/]
Author
22 Sep 2005 3:15 PM
Dennis
On Thu, 22 Sep 2005 15:59:48 +0100, Jan Hyde
<StellaDrin***@REMOVE.ME.uboot.com> wrote:

>>I have a question about thread safety in a VB application written using Visual
>>Studio.Net 2003.
>
>You really need to try a dotnet group, this is for classic
>VB.

Sorry, I guess I don't understand the difference (since this is a VB
application - emphasis on application).

Can you give me the full newsgroup name where I should post? I did a search
for newsgroups containing "dot" on my ISP and did not find any microsoft
newsgroups. Maybe my ISP is missing these groups.

Thanks,

Dennis
Author
22 Sep 2005 3:30 PM
Bob Butler
<Dennis> wrote in message
news:hbi5j19rpvvcdv8lcnte6ds7b9ffg2vvnq@4ax.com
> On Thu, 22 Sep 2005 15:59:48 +0100, Jan Hyde
> <StellaDrin***@REMOVE.ME.uboot.com> wrote:
>
>>> I have a question about thread safety in a VB application written
>>> using Visual Studio.Net 2003.
>>
>> You really need to try a dotnet group, this is for classic
>> VB.
>
> Sorry, I guess I don't understand the difference (since this is a VB
> application - emphasis on application).

Yes but MS took the name 'VB' and applied it to a new language that has
little in common with what was called 'VB' before.  They created new
'dotnet.vb' newsgroups for the new language while the existing newsgroups
were left to continue providing peer support for vb 'classic'.  Blame MS for
creating a world of confusion by not giving their new language a new name.

> Can you give me the full newsgroup name where I should post? I did a
> search for newsgroups containing "dot" on my ISP and did not find any
> microsoft newsgroups. Maybe my ISP is missing these groups.

try the new server msnews.microsoft.com


--
<response type="generic" language="VB.Net">
This newsgroup is for users of Visual Basic version 6.0
and earlier and not the misleadingly named VB.Net
or VB 200x.  Solutions, and often even the questions,
for one platform will be meaningless in the other.
When VB.Net was released Microsoft created new newsgroups
devoted to the new platform so that neither group of
developers need wade through the clutter of unrelated
topics.  Look for newsgroups with the words "dotnet" or
"vsnet" in their name.  For the msnews.microsoft.com news
server try these:

microsoft.public.dotnet.general
microsoft.public.dotnet.languages.vb

</response>
Author
22 Sep 2005 3:37 PM
Bob Butler
"Bob Butler" <tiredofit@nospam.com> wrote in message
news:%23alcOq4vFHA.3236@TK2MSFTNGP14.phx.gbl
> new 'dotnet.vb' newsgroups for the new language while the existing

make that 'dotnet.*.vb' <g>

--
Reply to the group so all can participate
VB.Net: "Fool me once..."
Author
22 Sep 2005 3:39 PM
Dennis
On Thu, 22 Sep 2005 08:30:23 -0700, "Bob Butler" <tiredofit@nospam.com> wrote:

>try the new server msnews.microsoft.com

I will check with my ISP and see if they can get these. If not I will try
msnews.

Thanks,

Dennis
Author
22 Sep 2005 3:50 PM
Jan Hyde
Dennis's wild thoughts were released on Thu, 22 Sep 2005
11:39:29 -0400 bearing the following fruit:

>On Thu, 22 Sep 2005 08:30:23 -0700, "Bob Butler" <tiredofit@nospam.com> wrote:
>
>>try the new server msnews.microsoft.com
>
>I will check with my ISP and see if they can get these. If not I will try
>msnews.

When did you last refresh your newsgroup list? You may have
them already, if not the msnews servers works just fine.




Jan Hyde (VB MVP)

--
Sex is like math.  Add the bed, Subtract the clothes, Divide the legs, and Multiply! (Rodney Lee)

[Abolish the TV Licence - http://www.tvlicensing.biz/]
Author
22 Sep 2005 4:24 PM
Dennis
On Thu, 22 Sep 2005 16:50:41 +0100, Jan Hyde
<StellaDrin***@REMOVE.ME.uboot.com> wrote:

>When did you last refresh your newsgroup list?

I refresh weekly. I am waiting for a reply from my ISP to see if they can pick
up these additional microsoft newsgroups. If that fails I will try msnews.

Thanks,
Author
22 Sep 2005 4:32 PM
Ken Halter
<Dennis> wrote in message news:9im5j1p92e15kd27grn8upihs4sg7ijejh@4ax.com...
>
> I refresh weekly. I am waiting for a reply from my ISP to see if they can
> pick
> up these additional microsoft newsgroups. If that fails I will try msnews.
>
> Thanks,

If all else fails, there's always the web based group browser....

Welcome to MSDN Discussion Groups
http://msdn.microsoft.com/newsgroups/default.aspx

--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
Author
22 Sep 2005 4:52 PM
Bob Butler
<Dennis> wrote in message
news:9im5j1p92e15kd27grn8upihs4sg7ijejh@4ax.com
> On Thu, 22 Sep 2005 16:50:41 +0100, Jan Hyde
> <StellaDrin***@REMOVE.ME.uboot.com> wrote:
>
>> When did you last refresh your newsgroup list?
>
> I refresh weekly. I am waiting for a reply from my ISP to see if they
> can pick up these additional microsoft newsgroups. If that fails I
> will try msnews.

I'd try msnews first and the ISP only as a last resort.  If you can connect
directly to the msnews servers why wait for whatever propagation delays are
introduced by going through the ISP?

The only time I've used ISP-based servers is when the ISP blocked direct
connection attempts and they certainly weren't my ISP for long.

--
Reply to the group so all can participate
VB.Net: "Fool me once..."
Author
22 Sep 2005 5:36 PM
Someone
If you are using Outlook Express, then go to Tools|Accounts|News|Add, and
then add the server. Or just click on the following

news://msnews.microsoft.com


Show quoteHide quote
<Dennis> wrote in message news:7uj5j1l7cod3st1tg6f32qi381p3vc03mp@4ax.com...
> On Thu, 22 Sep 2005 08:30:23 -0700, "Bob Butler" <tiredofit@nospam.com>
> wrote:
>
>>try the new server msnews.microsoft.com
>
> I will check with my ISP and see if they can get these. If not I will try
> msnews.
>
> Thanks,
>
> Dennis