473,320 Members | 2,107 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

*.EXE File on network

In VB6, I copy *.exe file in a folder on the network and all user can run
this (if they have all *.ocx files). I would like to make the same thing in
VB.NET, but I can't. It gives me error wen I run the program. I build my
application with release option and I copy the *.exe file from
....\obj\Release folder. I don't want to use a setup program to run this
program. Can you help me please :((((((
Nov 20 '05 #1
7 3670
"FaciCAD" <ca*@norclair.com> schrieb
In VB6, I copy *.exe file in a folder on the network and all user can
run this (if they have all *.ocx files). I would like to make the
same thing in VB.NET, but I can't. It gives me error wen I run the
program. I build my application with release option and I copy the
*.exe file from ...\obj\Release folder. I don't want to use a setup
program to run this program. Can you help me please :((((((


The .NET Framework must be installed on the client machines.

--
Armin

Nov 20 '05 #2
Yes it is, and VB.NET is on my PC. Want i run in debug mode with run in
VB.NET, the program run perfect, but if i build *.exe file, copy on server
and try to run from server i can't. The just-in-time start with comment "An
exception 'System.IO.FileNotFoundExeption' has occurred in Options.exe"
Nov 20 '05 #3
Hello,

"FaciCAD" <ca*@norclair.com> schrieb:
In VB6, I copy *.exe file in a folder on the network and all user can run
this (if they have all *.ocx files). I would like to make the same thing in VB.NET, but I can't. It gives me error wen I run the program. I build my
application with release option and I copy the *.exe file from
...\obj\Release folder. I don't want to use a setup program to run this
program.


Do you get a SecurityException?

http://www.google.de/groups?selm=eq8...TNGP11.phx.gbl

HTH,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 20 '05 #4
Hello,

"FaciCAD" <ca*@norclair.com> schrieb:
This is the windows


That's a SecturityException, not a FileNotFoundException. Have a look at my
reply to your original posting.

HTH,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 20 '05 #5
> 'System.IO.FileNotFoundExeption'

This means .NET can find the file you are asking for, if you click
Start->Run and paste the path in, does it open as you would expect?


"FaciCAD" <ca*@norclair.com> wrote in message
news:e$**************@tk2msftngp13.phx.gbl...
Yes it is, and VB.NET is on my PC. Want i run in debug mode with run in
VB.NET, the program run perfect, but if i build *.exe file, copy on server
and try to run from server i can't. The just-in-time start with comment "An exception 'System.IO.FileNotFoundExeption' has occurred in Options.exe"


Nov 20 '05 #6
GOOD is work :)))))) Thank you very very much
Nov 20 '05 #7
Hello,

"FaciCAD" <ca*@norclair.com> schrieb:
"An exception 'System.IO.FileNotFoundExeption' has occurred in
Options.exe"


Do you still get this exception?

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet
Nov 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Lars | last post by:
Hi! I´m trying to send a file over a network with tcp/ip so that the client can download it and save it. I going to send the size of the file in a textmessage but I have not implemented that...
8
by: Lam | last post by:
HI anyone knows how can I open a mapped network file in C#? I try string file = @"T:\file.txt"; it shows me the error: "Could not find a part of the path" but if I copy the file to my C dirve,...
7
by: zxkuqyb | last post by:
I've written a simple ASP .NET web application that reads a text file and displays it in the web browser. Works fine when reading a local path; but fails with "can not find a part of the path", or...
8
by: Sarah | last post by:
I need to access some data on a server. I can access it directly using UNC (i.e. \\ComputerName\ShareName\Path\FileName) or using a mapped network drive resource (S:\Path\FileName). Here is my...
2
by: .Net Believer | last post by:
I using the routine below to copy file to a network drive for a regular backup process. Before calling this routine I using another function to check the presence of the LAN connection and the...
4
by: Dixie | last post by:
I want to send a file to each persons home network space. I believe that when a person logs onto a network, some sort of variable is set that identifies the user. Is there any code that would...
4
by: abhanjee | last post by:
Hello, I am a newbie and am developing an application for work. I have figured out how to upload a file attachment to the SQL database and download the same file using C# and Visual Studio....
17
by: shineofleo | last post by:
Here is the situation: I wrote a VB programm, which stores all the information in a single Access database file using jet engine. It worked well, however one of my customs reported that there was...
3
by: Barry Flynn | last post by:
Hi I am working with a VB 2005 program which has been converted from VB6. It writes data out to a flat file, with code like the following line WriteLine(riFileNo, "Hist", lsAssetID,...
2
by: hotflash | last post by:
Hi Master CroCrew, I found a good PURE ASP that will allow you to upload 10MB file to the server and the file contents such as Network, Author, Title, etc... will insert to MS Access at the same...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.