473,405 Members | 2,310 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,405 software developers and data experts.

Help with Deployment needed!! System.IO.FileIOException"

OK, so I got my vb.net application to a state where my user can do
some testing. It's been running on my machine without problems.

When I copied all the files from the bin directory to the users
machine and tried to run, it came up with the subject error message.
I searched online and found Article 834610 in MSDN which identified
the problem as a known bug. I applied the workaround but still coming
up with the error.

The code that gives the error (at least one of them) is

Dim dlg As New FileDialog
dlg.Text = "Select Input File Directory"
dlg.ShowDialog() <----------Error here ---------------

Can anyone help out?

Thanks,

Hexman
Nov 30 '05 #1
2 1020
Hi,

I would not use the file dialog. Use one the other classes that
inherit from it like the OpenFileDialog or SaveFileDialog instead. If you
are selecting a directory use the FolderBrowserDialog.

http://msdn.microsoft.com/library/de...classtopic.asp

Ken
---------------------
"Hexman" <He****@binary.com> wrote in message
news:fu********************************@4ax.com...
OK, so I got my vb.net application to a state where my user can do
some testing. It's been running on my machine without problems.

When I copied all the files from the bin directory to the users
machine and tried to run, it came up with the subject error message.
I searched online and found Article 834610 in MSDN which identified
the problem as a known bug. I applied the workaround but still coming
up with the error.

The code that gives the error (at least one of them) is

Dim dlg As New FileDialog
dlg.Text = "Select Input File Directory"
dlg.ShowDialog() <----------Error here ---------------

Can anyone help out?

Thanks,

Hexman

Dec 1 '05 #2
On Thu, 1 Dec 2005 06:21:26 -0500, "Ken Tucker [MVP]"
<vb***@bellsouth.net> wrote:
Hi,

I would not use the file dialog. Use one the other classes that
inherit from it like the OpenFileDialog or SaveFileDialog instead. If you
are selecting a directory use the FolderBrowserDialog.

http://msdn.microsoft.com/library/de...classtopic.asp

Ken
---------------------
"Hexman" <He****@binary.com> wrote in message
news:fu********************************@4ax.com.. .
OK, so I got my vb.net application to a state where my user can do
some testing. It's been running on my machine without problems.

When I copied all the files from the bin directory to the users
machine and tried to run, it came up with the subject error message.
I searched online and found Article 834610 in MSDN which identified
the problem as a known bug. I applied the workaround but still coming
up with the error.

The code that gives the error (at least one of them) is

Dim dlg As New FileDialog
dlg.Text = "Select Input File Directory"
dlg.ShowDialog() <----------Error here ---------------

Can anyone help out?

Thanks,

Hexman

Will do it. Thank you,
Dec 1 '05 #3

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

Similar topics

0
by: msnews.microsoft.com | last post by:
I am using Visual .NET studio to create a deployment project. When you run the setup.exe again, there will be two options for the user: uninstall or repair. I wonder how to disbale the repair...
1
by: Stone Chen | last post by:
Hi everyone, I'm looking for a php/mySQL based system that would allow, within a business, someone to assign and re-assign job/tasks to another, with issue logs and contact management. I checked...
6
by: Ken Varn | last post by:
I am trying to remote debug a C# application but the debugger is reporting the following exception: An unhandled exception of type 'System.IO.FileLoadException' occurred in Unknown Module....
5
by: el prinCipante | last post by:
I'm getting tired of the following error message. Compiler Error message : Error: Need explicit cast to convert from: float to: float * I am trying to use a routine from the Numerical Recipes...
7
by: MuZZy | last post by:
Hi, We are developing a CRM (Customer Relations Management) module for our app and my boss wants to provide integration with PBX (phone systems used by lots of companies) so that if a user gets...
3
by: Willing 2 Learn | last post by:
Hey, I'm trying to teach myself C++ and I came across 3 problems. I understand the concept of FSA but getting the C++ code to do it as become an issue. Only thing is im clueless as to how to do...
0
by: c3q8 | last post by:
I have a batch system where the user enter suppliers invoices to a batch table (SupVchBat) then selectively update certain invoice to outstanding invoice table (SupVch) and updated suppliers...
2
by: =?Utf-8?B?YmJkb2J1ZGR5?= | last post by:
Hi, I am trying to deploy a c# application that contains a crystal report viewer to another machine. However when I build the applicaiton it says that Property "keycode" is non-nullable ...
1
by: janakivenk | last post by:
Hello, I am running Oracle 10g R2 in our office. I created the following procedure. It is suppose to access an xml file ( family.xml). The procedure is compiled and when I try to run it, i get the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.