Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 9th, 2004, 06:29 AM
Registered User
 
Join Date: Mar 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't distribute my program

I'm aware of the issue that Visual Studio.net has regarding saving your projects on a network share, i.e. 'not fully trusted'.

I'm not sure if my problem is an extention of this, but I bit the bullet and saved the project on my hard disk and seemed to work fine I've finished and complied it and runs on my machine no probs. When I tried it on another machine it kept crashing for an unknown reason. What I have since discovered is that if I copy the exe file to the network then try and run it, get the same error as the other pc's get. It seems the complied code will only run from my machine alone. Is this an extention of the first problem I mentioned?

Or am I being stupid and missing something?

Cheers.
 
Old March 9th, 2004, 11:06 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Is the framework installed on the target machines?

Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee
 
Old March 10th, 2004, 11:56 AM
Registered User
 
Join Date: Mar 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, I made sure that all the machines had the .net framework.

However, this wouldn't be the issue anyway. I can't execute the program from a network drive, but I can if I copy the exact same file to the local drive then run it.

Cheers.
 
Old March 10th, 2004, 12:38 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Are there any supporting files that might be installed on your machine? For example, some controls that you didn't copy to the target bin directory? It very well could be a security problem also- since I don't know the rights situations on the machines.


Hal Levy
Web Developer, PDI Inc.

NOT a Wiley/Wrox Employee
 
Old March 10th, 2004, 02:07 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Shouldn't you mark the network folder or the application as Trusted using one of the .NET Config utilities?

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i distribute my programs to others ? jerryham VB.NET 7 September 29th, 2008 01:52 PM
I need to distribute work among translators saban C# 4 January 24th, 2006 05:01 AM
distribute work among translators saban Excel VBA 4 January 17th, 2006 11:13 AM
How To Distribute Files dugyala VB How-To 1 July 12th, 2005 02:54 AM
Distribute dao3.6 wwwdirzala VB Databases Basics 0 August 6th, 2004 05:16 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.