I need to know how to map a network drive using Visual Basic 2005, when the
users pc doesn't have .Net Framework 2.0. My workplace only gives us user
profiles so I can't install framework 2.0. They do allow us to run vbscript
and .exe fles. however some app's can't be installed such as framework 2.0.
Please let me know what other avenues I have.

I created this program in Visual Basic 2005, and I now notice that I have
this problem, do I have to start again in Visual Basic 2003, or can I set
vb2005 to create a program based on the .net 1.14322 framework?

Dave Marden

Re: Help with Ping Function, .net framework 1.14322, VB 2005 by Rory

Rory
Sat Aug 18 13:48:02 CDT 2007

> I need to know how to map a network drive using Visual Basic 2005,
> when the users pc doesn't have .Net Framework 2.0. My workplace only
> gives us user profiles so I can't install framework 2.0. They do
> allow us to run vbscript and .exe fles. however some app's can't be
> installed such as framework 2.0. Please let me know what other
> avenues I have.
>
> I created this program in Visual Basic 2005, and I now notice that I
> have this problem, do I have to start again in Visual Basic 2003, or
> can I set vb2005 to create a program based on the .net 1.14322
> framework?

Sorry Dave but VB2005 programs require .Net 2.0 there's no simple way around
it.

I have heard tell of compilers that will compile you code down to native
code, but then you'd need to do that to the Framework or at least bits of it.

Your best option is to use vb2003 to target the 1.1 framework.

VB2005 has no simple or official way to target 1.1

--
Rory



Re: Help with Ping Function, .net framework 1.14322, VB 2005 by DaveMarden

DaveMarden
Sat Aug 18 16:30:01 CDT 2007

Alright Thank You, wish I would have anticipated this before starting.

Dave


"Rory Becker" wrote:

> > I need to know how to map a network drive using Visual Basic 2005,
> > when the users pc doesn't have .Net Framework 2.0. My workplace only
> > gives us user profiles so I can't install framework 2.0. They do
> > allow us to run vbscript and .exe fles. however some app's can't be
> > installed such as framework 2.0. Please let me know what other
> > avenues I have.
> >
> > I created this program in Visual Basic 2005, and I now notice that I
> > have this problem, do I have to start again in Visual Basic 2003, or
> > can I set vb2005 to create a program based on the .net 1.14322
> > framework?
>
> Sorry Dave but VB2005 programs require .Net 2.0 there's no simple way around
> it.
>
> I have heard tell of compilers that will compile you code down to native
> code, but then you'd need to do that to the Framework or at least bits of it.
>
> Your best option is to use vb2003 to target the 1.1 framework.
>
> VB2005 has no simple or official way to target 1.1
>
> --
> Rory
>
>
>

Re: Help with Ping Function, .net framework 1.14322, VB 2005 by DaveMarden

DaveMarden
Mon Aug 20 08:46:07 CDT 2007

I was thinking about perhaps doing just that, however it is E.D.S. and I
think my employer probably dictates to them what they can and cannot put on
the client machines.

Thanks,
Dave Marden

"Patrice" wrote:

> Well you could talk with your admin guys to ask tham what is the
> configuration they are deploying in your company and perhaps even ask them
> if they could include .NET 2.0...
>
> Armed with this knowledge you can then start your development effort...
>
>
> --
> Patrice
>
> "Dave Marden" <DaveMarden@discussions.microsoft.com> a écrit dans le message
> de news: 9D62724D-41ED-43A5-95BD-3255F9BD1269@microsoft.com...
> >I need to know how to map a network drive using Visual Basic 2005, when the
> > users pc doesn't have .Net Framework 2.0. My workplace only gives us user
> > profiles so I can't install framework 2.0. They do allow us to run
> > vbscript
> > and .exe fles. however some app's can't be installed such as framework
> > 2.0.
> > Please let me know what other avenues I have.
> >
> > I created this program in Visual Basic 2005, and I now notice that I have
> > this problem, do I have to start again in Visual Basic 2003, or can I set
> > vb2005 to create a program based on the .net 1.14322 framework?
> >
> > Dave Marden
> >
>
>
>

Re: Help with Ping Function, .net framework 1.14322, VB 2005 by DaveMarden

DaveMarden
Mon Aug 20 08:58:04 CDT 2007

Is there a good method of converting this program over to .net 1.1.4322 ?
Also does anyone have a function that will ping a machine and the return a
string once the ping has completed, as it is I have to use the Ping.Completed
action which makes makes my code kind of messy, I really wish I could just
put in something like:

If RequestPing(strIPAddress) = "Success" Then
'Do Work
End If

I think that you would need to have a pause in the function and have it wait
for the Ping.Completed action to complete, which I have tried unsuccessfully.
I searched on the internet but haven't found anything. I am pinging several
pc's and I don't want to have to use the Ping.Complete action to utlimately
trigger the next Ping.

Due to my work not having .net 2.0 I would need this function to work in
.net 2002 as I don't have .net 2003.

Thanks In Advance,
Dave Marden

"Patrice" wrote:

> Well you could talk with your admin guys to ask tham what is the
> configuration they are deploying in your company and perhaps even ask them
> if they could include .NET 2.0...
>
> Armed with this knowledge you can then start your development effort...
>
>
> --
> Patrice
>
> "Dave Marden" <DaveMarden@discussions.microsoft.com> a écrit dans le message
> de news: 9D62724D-41ED-43A5-95BD-3255F9BD1269@microsoft.com...
> >I need to know how to map a network drive using Visual Basic 2005, when the
> > users pc doesn't have .Net Framework 2.0. My workplace only gives us user
> > profiles so I can't install framework 2.0. They do allow us to run
> > vbscript
> > and .exe fles. however some app's can't be installed such as framework
> > 2.0.
> > Please let me know what other avenues I have.
> >
> > I created this program in Visual Basic 2005, and I now notice that I have
> > this problem, do I have to start again in Visual Basic 2003, or can I set
> > vb2005 to create a program based on the .net 1.14322 framework?
> >
> > Dave Marden
> >
>
>
>

Re: Help with Ping Function, .net framework 1.14322, VB 2005 by Patrice

Patrice
Mon Aug 20 09:36:59 CDT 2007

Then convert now in 1.1. If I remember the ping class is not available in
1.1. You'll have to use either the command line ping utility or the
corresponding interop call to do that.

You may want also to explain what you are trying to do (for example tomorrow
your admin guy could decide that a particular server shouldn't anymore
respond to ping requests...).

---
Patrice

"Dave Marden" <DaveMarden@discussions.microsoft.com> a écrit dans le message
de news: 5DCC8A26-70BB-4C11-8C82-5312B523AC84@microsoft.com...
> Is there a good method of converting this program over to .net 1.1.4322 ?
> Also does anyone have a function that will ping a machine and the return a
> string once the ping has completed, as it is I have to use the
> Ping.Completed
> action which makes makes my code kind of messy, I really wish I could just
> put in something like:
>
> If RequestPing(strIPAddress) = "Success" Then
> 'Do Work
> End If
>
> I think that you would need to have a pause in the function and have it
> wait
> for the Ping.Completed action to complete, which I have tried
> unsuccessfully.
> I searched on the internet but haven't found anything. I am pinging
> several
> pc's and I don't want to have to use the Ping.Complete action to
> utlimately
> trigger the next Ping.
>
> Due to my work not having .net 2.0 I would need this function to work in
> .net 2002 as I don't have .net 2003.
>
> Thanks In Advance,
> Dave Marden
>
> "Patrice" wrote:
>
>> Well you could talk with your admin guys to ask tham what is the
>> configuration they are deploying in your company and perhaps even ask
>> them
>> if they could include .NET 2.0...
>>
>> Armed with this knowledge you can then start your development effort...
>>
>>
>> --
>> Patrice
>>
>> "Dave Marden" <DaveMarden@discussions.microsoft.com> a écrit dans le
>> message
>> de news: 9D62724D-41ED-43A5-95BD-3255F9BD1269@microsoft.com...
>> >I need to know how to map a network drive using Visual Basic 2005, when
>> >the
>> > users pc doesn't have .Net Framework 2.0. My workplace only gives us
>> > user
>> > profiles so I can't install framework 2.0. They do allow us to run
>> > vbscript
>> > and .exe fles. however some app's can't be installed such as framework
>> > 2.0.
>> > Please let me know what other avenues I have.
>> >
>> > I created this program in Visual Basic 2005, and I now notice that I
>> > have
>> > this problem, do I have to start again in Visual Basic 2003, or can I
>> > set
>> > vb2005 to create a program based on the .net 1.14322 framework?
>> >
>> > Dave Marden
>> >
>>
>>
>>



Re: Help with Ping Function, .net framework 1.14322, VB 2005 by nano>

nano>
Mon Aug 20 15:10:02 CDT 2007

Hi Dave
You can use ICMP api or raw socket for VsNet 2003 ping function
http://www.pinvoke.net/default.aspx/icmp/IcmpSendEcho.html

nano





"Patrice" <http://www.chez.com/scribe/> wrote in message
news:u5EmTez4HHA.5360@TK2MSFTNGP03.phx.gbl...
> Then convert now in 1.1. If I remember the ping class is not available in
> 1.1. You'll have to use either the command line ping utility or the
> corresponding interop call to do that.
>
> You may want also to explain what you are trying to do (for example
> tomorrow your admin guy could decide that a particular server shouldn't
> anymore respond to ping requests...).
>
> ---
> Patrice
>
> "Dave Marden" <DaveMarden@discussions.microsoft.com> a écrit dans le
> message de news: 5DCC8A26-70BB-4C11-8C82-5312B523AC84@microsoft.com...
>> Is there a good method of converting this program over to .net 1.1.4322 ?
>> Also does anyone have a function that will ping a machine and the return
>> a
>> string once the ping has completed, as it is I have to use the
>> Ping.Completed
>> action which makes makes my code kind of messy, I really wish I could
>> just
>> put in something like:
>>
>> If RequestPing(strIPAddress) = "Success" Then
>> 'Do Work
>> End If
>>
>> I think that you would need to have a pause in the function and have it
>> wait
>> for the Ping.Completed action to complete, which I have tried
>> unsuccessfully.
>> I searched on the internet but haven't found anything. I am pinging
>> several
>> pc's and I don't want to have to use the Ping.Complete action to
>> utlimately
>> trigger the next Ping.
>>
>> Due to my work not having .net 2.0 I would need this function to work in
>> .net 2002 as I don't have .net 2003.
>>
>> Thanks In Advance,
>> Dave Marden
>>
>> "Patrice" wrote:
>>
>>> Well you could talk with your admin guys to ask tham what is the
>>> configuration they are deploying in your company and perhaps even ask
>>> them
>>> if they could include .NET 2.0...
>>>
>>> Armed with this knowledge you can then start your development effort...
>>>
>>>
>>> --
>>> Patrice
>>>
>>> "Dave Marden" <DaveMarden@discussions.microsoft.com> a écrit dans le
>>> message
>>> de news: 9D62724D-41ED-43A5-95BD-3255F9BD1269@microsoft.com...
>>> >I need to know how to map a network drive using Visual Basic 2005, when
>>> >the
>>> > users pc doesn't have .Net Framework 2.0. My workplace only gives us
>>> > user
>>> > profiles so I can't install framework 2.0. They do allow us to run
>>> > vbscript
>>> > and .exe fles. however some app's can't be installed such as framework
>>> > 2.0.
>>> > Please let me know what other avenues I have.
>>> >
>>> > I created this program in Visual Basic 2005, and I now notice that I
>>> > have
>>> > this problem, do I have to start again in Visual Basic 2003, or can I
>>> > set
>>> > vb2005 to create a program based on the .net 1.14322 framework?
>>> >
>>> > Dave Marden
>>> >
>>>
>>>
>>>
>
>



Re: Help with Ping Function, .net framework 1.14322, VB 2005 by nano>

nano>
Mon Aug 20 15:12:49 CDT 2007

Hi Dave
You can use ICMP api or raw socket for VsNet 2003 ping function
http://www.pinvoke.net/default.aspx/icmp/IcmpSendEcho.html

nano





"Patrice" <http://www.chez.com/scribe/> wrote in message
news:u5EmTez4HHA.5360@TK2MSFTNGP03.phx.gbl...
> Then convert now in 1.1. If I remember the ping class is not available in
> 1.1. You'll have to use either the command line ping utility or the
> corresponding interop call to do that.
>
> You may want also to explain what you are trying to do (for example
> tomorrow your admin guy could decide that a particular server shouldn't
> anymore respond to ping requests...).
>
> ---
> Patrice
>
> "Dave Marden" <DaveMarden@discussions.microsoft.com> a écrit dans le
> message de news: 5DCC8A26-70BB-4C11-8C82-5312B523AC84@microsoft.com...
>> Is there a good method of converting this program over to .net 1.1.4322 ?
>> Also does anyone have a function that will ping a machine and the return
>> a
>> string once the ping has completed, as it is I have to use the
>> Ping.Completed
>> action which makes makes my code kind of messy, I really wish I could
>> just
>> put in something like:
>>
>> If RequestPing(strIPAddress) = "Success" Then
>> 'Do Work
>> End If
>>
>> I think that you would need to have a pause in the function and have it
>> wait
>> for the Ping.Completed action to complete, which I have tried
>> unsuccessfully.
>> I searched on the internet but haven't found anything. I am pinging
>> several
>> pc's and I don't want to have to use the Ping.Complete action to
>> utlimately
>> trigger the next Ping.
>>
>> Due to my work not having .net 2.0 I would need this function to work in
>> .net 2002 as I don't have .net 2003.
>>
>> Thanks In Advance,
>> Dave Marden
>>
>> "Patrice" wrote:
>>
>>> Well you could talk with your admin guys to ask tham what is the
>>> configuration they are deploying in your company and perhaps even ask
>>> them
>>> if they could include .NET 2.0...
>>>
>>> Armed with this knowledge you can then start your development effort...
>>>
>>>
>>> --
>>> Patrice
>>>
>>> "Dave Marden" <DaveMarden@discussions.microsoft.com> a écrit dans le
>>> message
>>> de news: 9D62724D-41ED-43A5-95BD-3255F9BD1269@microsoft.com...
>>> >I need to know how to map a network drive using Visual Basic 2005, when
>>> >the
>>> > users pc doesn't have .Net Framework 2.0. My workplace only gives us
>>> > user
>>> > profiles so I can't install framework 2.0. They do allow us to run
>>> > vbscript
>>> > and .exe fles. however some app's can't be installed such as framework
>>> > 2.0.
>>> > Please let me know what other avenues I have.
>>> >
>>> > I created this program in Visual Basic 2005, and I now notice that I
>>> > have
>>> > this problem, do I have to start again in Visual Basic 2003, or can I
>>> > set
>>> > vb2005 to create a program based on the .net 1.14322 framework?
>>> >
>>> > Dave Marden
>>> >
>>>
>>>
>>>
>
>