PC Review


Reply
Thread Tools Rate Thread

VB .NET running on network share

 
 
DanielNC
Guest
Posts: n/a
 
      16th Mar 2005
Hello everyone,

I am having some problems with my application running wirelessly from a
network drive, and am wondering if anyone has any suggestions.

My situation is thus:

1) I am using a windows mobile 2003 device to run my application.
2) The application is a SmartDevice vb.net app, and lives on a shared
drive.
3) My device connects to the network wirelessly.
2) My application will be running in a company on multiple devices
simultaenously. It will also be updated regularly. Because of this, I
do not want to application (the exe) to live on the device, as
everytime I do an update I would have to go and manually copy the new
file into the device.

I have tried to get my application to run at startup on the device by
copying a shortcut into the startup folder for the PPC. However, this
fails and says file not found.

I have tried using Resco, Net Use etc to map network drives. If I enter
their program, or file explorer first, as I enter the program, there is
a long pause as it reconnects my shared drivers. However, my problems
would be all solved if the PPC automatically connected to the network
drive on startup, as a PC would.

Does anyone know any tricks, programs, etc to force this behaviour.
Alternatively, if I could deploy my application to all devices when an
update is made, without me having to go and manually copy it, this
would solve it too.

Many thanks for all help

 
Reply With Quote
 
 
 
 
xTenn
Guest
Posts: n/a
 
      16th Mar 2005

"DanielNC" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Does anyone know any tricks, programs, etc to force this behaviour.
> Alternatively, if I could deploy my application to all devices when an
> update is made, without me having to go and manually copy it, this
> would solve it too.
>


Have a program that is executed on startup on the PPC that basically looks
for the file to execute in a looped fashion. Once the connection is
established the executable can then be found, and have the startup program
start the network executable after a brief delay to validate the connection
has settled. The main thing to note is that you will have to handle the
file not found error accordingly.

One more thing you could do is to have this startup program copy over the
executable and execute it locally. This would allow the PPCs to run the
program when they are away from the network, but only after the startup
executable times fails after x number of attempts. The next time the device
is in range of the network it would automatically update, then execute.

That is, if there is a practical need for the program to run away from the
network.

Good Luck


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running vb.net app (1.1) from a network share. Shawn Microsoft VB .NET 5 13th Aug 2008 05:15 PM
Running Applications from a network share in XP Wayne Windows XP General 6 13th Aug 2004 03:33 PM
Running a VB.Net exe from a network share James Lang Microsoft VB .NET 0 3rd Mar 2004 11:06 PM
Running .NET assembly from a network share MF Microsoft Dot NET 2 14th Jan 2004 04:56 PM
Re: Running ASP.NET application from network share Mike S Microsoft ASP .NET 1 4th Aug 2003 11:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:17 PM.