Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hey Guys and Girls

 

In VB6 all you had to do to run a application over a network was to place the exe on one of the drives and then place all required dlls on the PCs that want to run it.

 

Tried doing the same in VB.net but with no joy. I keep getting weird errors.

 

Can anybody help?

 

Thanks in advance

Posted

What type of errors are you getting?

 

Does all the PC's that need to run this, have the Framework installed?

 

PS. I'm glad someone found it easy to work with the 'DLL hell' of vb6 :)

Howzit??
Posted

Hi Mate

 

VB6 was far from easy when it came to DLLS :P

 

The framework is installed but I have created a package to install it localy, basically to place the required Dlls on the users PC.

 

The error is saying

 

---------------------------------------------------------------------------

 

Application has generated an exception that could not be handled.

 

Process id=0xd9 (217), Thred id=0x101 (257)

 

---------------------------------------------------------------------------

 

When it ran off the network drive. It runs fine locally

Posted

To give you a suggestion:

 

Create an install that only installs a stub (small exe) on all your clients. The stub can then dynamicly load the depenancies from the network, using the Reflection namespace (You can look up details on the 'Assembly.LoadFrom' method.)

 

This way, you only need to update the network dll's if you need to update the client's with new versions.

 

Currently I use a webservice internally to update our client app's, and let me tell you.... it is much better than creating installs :)

 

Cheers

Howzit??

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...