|
|
|
start date: Sat, 18 Aug 2007 11:32:01 -0700,
posted on: microsoft.public.dotnet.framework
back
| Thread Index |
|
1
Dave Marden
|
|
2
Rory Becker am
|
|
3
Dave Marden
|
|
4
Patrice http://www.chez.com/scribe/
|
|
5
Dave Marden
|
|
6
Dave Marden
|
|
7
Patrice http://www.chez.com/scribe/
|
|
8
nano
|
|
9
nano
|
Help with Ping Function, .net framework 1.14322, VB 2005
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
Date:Sat, 18 Aug 2007 11:32:01 -0700
Author:
|
Re: Help with Ping Function, .net framework 1.14322, VB 2005
> 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
Date:Sat, 18 Aug 2007 18:48:02 +0000 (UTC)
Author:
|
Re: Help with Ping Function, .net framework 1.14322, VB 2005
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
>
>
>
Date:Sat, 18 Aug 2007 14:30:01 -0700
Author:
|
Re: Help with Ping Function, .net framework 1.14322, VB 2005
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" 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
>
Date:Mon, 20 Aug 2007 13:38:27 +0200
Author:
|
Re: Help with Ping Function, .net framework 1.14322, VB 2005
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" 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
> >
>
>
>
Date:Mon, 20 Aug 2007 06:46:07 -0700
Author:
|
Re: Help with Ping Function, .net framework 1.14322, VB 2005
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" 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
> >
>
>
>
Date:Mon, 20 Aug 2007 06:58:04 -0700
Author:
|
Re: Help with Ping Function, .net framework 1.14322, VB 2005
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" 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" 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
>> >
>>
>>
>>
Date:Mon, 20 Aug 2007 16:36:59 +0200
Author:
|
Re: Help with Ping Function, .net framework 1.14322, VB 2005
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" 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" 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
>>> >
>>>
>>>
>>>
>
>
Date:Mon, 20 Aug 2007 23:10:02 +0300
Author:
|
Re: Help with Ping Function, .net framework 1.14322, VB 2005
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" 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" 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
>>> >
>>>
>>>
>>>
>
>
Date:Mon, 20 Aug 2007 23:12:49 +0300
Author:
|
|
|