Help with Ping Function, .net framework 1.14322, VB 2005

G

Guest

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
 
R

Rory Becker

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
 
P

Patrice

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...
 
G

Guest

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
 
G

Guest

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
 
P

Patrice

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...).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top