473,800 Members | 2,413 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

cant get vb.net exec to run okay on w98

I created an vb.net exec on an xp machine. I've tried to
run it on a w98 machine. The program executes and
everthing is okay until i click on a command button. I
then get "systemIO file not found exception. File or
assembly name microsoft visualbasic compatibility or one
of its dependencies not found" What file(s) is the W98
looking for. I did download and install the net 1.1 on
the w98 machine but the error still pops up. ????????
Nov 20 '05 #1
3 1067
This error is occuring becasue you must have used System.IO namespace in
your application code, this will work fine with the Windows NT based OS,
becasue they are having File Services which are running and which are
accessible through System.IO namespace, whereas Windows 9x not having any
services running, so you won't be able to use System.IO namespace.

Dhaval Faria
Founder, Programmer
Hirdhav (http://www.hirdhav.com)
Microsoft India Community Star

"desperate" <an*******@disc ussions.microso ft.com> wrote in message
news:12******** *************** ******@phx.gbl. ..
I created an vb.net exec on an xp machine. I've tried to
run it on a w98 machine. The program executes and
everthing is okay until i click on a command button. I
then get "systemIO file not found exception. File or
assembly name microsoft visualbasic compatibility or one
of its dependencies not found" What file(s) is the W98
looking for. I did download and install the net 1.1 on
the w98 machine but the error still pops up. ????????

Nov 20 '05 #2
"Dhaval Faria" <dh*****@hirdha v.com> schrieb
This error is occuring becasue you must have used System.IO namespace
in your application code, this will work fine with the Windows NT
based OS, becasue they are having File Services which are running and
which are accessible through System.IO namespace, whereas Windows 9x
not having any services running, so you won't be able to use
System.IO namespace.


Um.... I don't think this is true. System.IO encapsulates basic file i/o
functions that are definitely also available on previous OSes.

Apart from this, the availabilty is not determined by the namespace, but it
can be retrieved from the documentation of the specific class. For example,
the "Platforms" paragraph at the bottom of the File class is:

"Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows
2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003
family, .NET Compact Framework"

--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3
hmm, thanks for lettming know, was not knowing about that stuff.. and sorry
for the wrong answer.

--
Dhaval Faria
Founder, Programmer
Hirdhav (http://www.hirdhav.com)
Microsoft India Community Star

"Armin Zingler" <az*******@free net.de> wrote in message
news:Ot******** ******@tk2msftn gp13.phx.gbl...
"Dhaval Faria" <dh*****@hirdha v.com> schrieb
This error is occuring becasue you must have used System.IO namespace
in your application code, this will work fine with the Windows NT
based OS, becasue they are having File Services which are running and
which are accessible through System.IO namespace, whereas Windows 9x
not having any services running, so you won't be able to use
System.IO namespace.
Um.... I don't think this is true. System.IO encapsulates basic file i/o
functions that are definitely also available on previous OSes.

Apart from this, the availabilty is not determined by the namespace, but

it can be retrieved from the documentation of the specific class. For example, the "Platforms" paragraph at the bottom of the File class is:

"Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework"

--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #4

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

Similar topics

6
8388
by: Hal Vaughan | last post by:
I have a script used to find and run Java on a Windows system.  It worked fine on original tests (on a Windows XP system).  It's now running on a Windows 2000 (sp3) system, and it won't work -- the problem is this line: set oCommand = WshShl.Exec(sCommand) (it's about halfway down)  Is there a problem with the Exec method in some versions of VBS?  Is the problem Windows version I'm on, or is it something more obvious that I'm just not...
1
5081
by: Hal Vaughan | last post by:
I've been using Runtime.exec() like this: Runtime rt = Runtime.getRuntime(); try {Process p = rt.exec("MyCommand.bat");} catch (Exception e) {do stuff} When I start my Java classes, I start them with a batch file that changes to my apps home directory. I've tried exec() with a full pathname (which seems to have problems on Windows if it has spaces in it, but I'm not sure if that's really the problem), with just the simple short batch...
4
2603
by: Irmen de Jong | last post by:
Hello, I don't understand why the following doesn't work. What I want to do is dynamically import some generated Python code and I'm doing this using compile and exec'ing it in the dict of a new empty module object. That works okay, but as soon as the generated code tries do perform certain imports, it fails! Certain other imports succeed. Consider this example code:
0
1616
by: p cooper | last post by:
sorry about typing! Executing make test ..                                                                                                      PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"  "test_harness(0, 'blib/lib', 'blib/ar ch')" t/*.t t/amsterdam...........ok
4
2071
by: R. Z. | last post by:
I 've have a stored procedure that compares fields across databases. In order to do so it requires 2 values it acquires from 2 tables. The search is based on the ID of the data owner and a subject: proc_evaluate_results @StudentId = '222222', Course = 'PSY101' In order to obtain those values I run a cursor accross my records and SELECT THEM INTO 2 @variables, which then replace 222222 and PSY101 with dynamic values eg.
1
1287
by: | last post by:
I created a visual basic.net exec on an xp machine and tried to run it on a 98 machine. The program works perfectly on the xp machine.The program starts okay but when I click in a command button I get an exception error. "system io file not found exception. File or assembly name microsoft visualbasic compatibility or one of its dependencies not found." What file(s) does the 98 machine need in order for this program to run ????
8
3325
by: R. Bernstein | last post by:
In doing the extension to the python debugger which I have here: http://sourceforge.net/project/showfiles.php?group_id=61395&package_id=175827 I came across one little thing that it would be nice to get done better. I notice on stack traces and tracebacks, an exec or execfile command appears as a stack entry -- probably as it should since it creates a new environment. However the frame information for exec or execfile looks like this:...
1
2561
by: wavespirit75 | last post by:
Hi, I wrote a program which will use ffmpeg to convert media files. Media files can be converted with this string array being passed in to Runtime.getRunTime().exec: String cmd = {ffmpeg path, "-i", input file, output file}; However with the above method I couldn't set any options like "-s 176x144" for the output file's resolution, meaning if I use the following string array: String cmd ={ffmpeg path, "-i", input, "-s 176x144", output};...
31
2471
by: eliben | last post by:
Hello, In a Python program I'm writing I need to dynamically generate functions and store them in a dict. eval() can't work for me because a function definition is a statement and not an expression, so I'm using exec. At the moment I came up with the following to make it work: def build_func(args): code """def foo(...)..."""
0
9691
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9551
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10505
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10253
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6813
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.