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 :(((((( 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
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"
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
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
> '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"
GOOD is work :)))))) Thank you very very much
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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,...
|
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...
|
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...
|
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...
|
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...
|
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....
|
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...
|
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,...
|
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...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
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...
|
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...
|
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...
|
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...
|
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...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
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....
|
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...
| |