473,669 Members | 2,424 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

My applications can't find the files on the path written by me!

kiseitai2
93 New Member
Hi everyone. I'm having a litle trouble lately with my applications. The main problem right now is that my applications can find the files on the path given by me, however, after publishing and installing in other computers it can't display the file on the path (example: the source file are in c:\bugfixes.txt , after install on another computer the object that is suppose to display or make use of this file says "page cannot be displayed" or a window appears saying "Unhandled error" (something of that nature). I've also found something strange. If I install the program on the same computer as the source files, the application tells me the size of the program (same as the directory containing the source files) in the add and remove list, however, if installed on the other computers it neither doesn't tell the size nor there appear to be a directory on C:\ where the source files are on my computer and where I would like the application to be installed.

To get to the point, I need to know if I can make the application to install to the location I want, and if not, I need to know where the application installs to in the other computers so I can move the source files to that location, start debugging from there, and change all paths (quite a bit) to that location.

My language is Visual Basic 2005 Express Edition.
My operating system is Windows XP Professional

I hope you understand what my question is.
Jul 27 '07 #1
4 2084
pureenhanoi
175 New Member
Hi everyone. I'm having a litle trouble lately with my applications. The main problem right now is that my applications can find the files on the path given by me, however, after publishing and installing in other computers it can't display the file on the path (example: the source file are in c:\bugfixes.txt , after install on another computer the object that is suppose to display or make use of this file says "page cannot be displayed" or a window appears saying "Unhandled error" (something of that nature). I've also found something strange. If I install the program on the same computer as the source files, the application tells me the size of the program (same as the directory containing the source files) in the add and remove list, however, if installed on the other computers it neither doesn't tell the size nor there appear to be a directory on C:\ where the source files are on my computer and where I would like the application to be installed.

To get to the point, I need to know if I can make the application to install to the location I want, and if not, I need to know where the application installs to in the other computers so I can move the source files to that location, start debugging from there, and change all paths (quite a bit) to that location.

My language is Visual Basic 2005 Express Edition.
My operating system is Windows XP Professional

I hope you understand what my question is.
End users install the application to any-where they want. Althrougth, nearly all computers runing Microsoft Windows have C: driver, but some computer have not. To make sure the path always exist, try using relative-path. The application always known where it be installed. The varriable App.Path always return the location where the Exe file was place. Move all your extend-files to the folder: App.Path (or sub-folder of App.Path). It always work well
Jul 28 '07 #2
kinnu
30 New Member
The working of the application depends on the OS that you are installing and the Setup installer you are using. As the application works fine on your computer its clear that other computers does not have the minimum/required/supported files which is required to run your application. Even they have to be installed on the other computer while you are installing your software. Check for the objects and components that you have used in your computer and make sure that they are available in other computer too.

Even APP.PATH may also not work if you do not install the required files on the other computer with your application EXE.
Jul 28 '07 #3
Martin2007
21 New Member
The working of the application depends on the OS that you are installing and the Setup installer you are using. As the application works fine on your computer its clear that other computers does not have the minimum/required/supported files which is required to run your application. Even they have to be installed on the other computer while you are installing your software. Check for the objects and components that you have used in your computer and make sure that they are available in other computer too.

Even APP.PATH may also not work if you do not install the required files on the other computer with your application EXE.
If you use the publish option in VB express 2005 you can package the file exe with all it's dependencies, so i do not think that this is the issue, if the setup installed properly (didnt throw an error saying that dependencies could not be found) then the pc you have installed on will have the pre-requisits...

Maybe it is something to do with windows hiding file extensions (i've had that problem before) i.e. you save as text.txt but XP saves it as text.txt.txt etc...
Jul 31 '07 #4
kiseitai2
93 New Member
Thanks guys, but I solved the problem by forcing the first form on my project to download the required files from my website (at least for this project makes sense since it's a web browser I was developing beyond a book's scope, so the user must have internet access).

However, there's another issue really hard to solve by me right now. It is the "403: Forbidden" messages I'm receiving when my project tries to download the updates I made. What's strange is, before the error started to happen, my project did download the updates without trouble (all updates were in .zip format). So, to try to solve this error I changed the compression from .zip to a self-extracted format (.exe). Still, the problem continues and I don't have enough background as to understand how this problem behaves. What I mean is I can't diagnose the situation and think of a way to avoid the error. And yet, the project can stilldownload simple text files.

My language is Visual Basic 2005 Express Edition
I'm running Windows XP SP2
Jul 31 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

6
1772
by: Peter Hansen | last post by:
Greetings. Im trying to write a program that can be run from the command line. If I want to search for example after a file with the ending .pdf, I should be able to write in the command line: python name of my program / the libary to search and what kind of file it is example a .pdf file So if my program name was test.py and the library name was library1 and the test type i wanted to find was, a .pdf file I should write python...
7
2330
by: Lowell Kirsh | last post by:
I have a script which I use to find all duplicates of files within a given directory and all its subdirectories. It seems like it's longer than it needs to be but I can't figure out how to shorten it. Perhaps there are some python features or libraries I'm not taking advantage of. The way it works is that it puts references to all the files in a dictionary with file size being the key. The dictionary can hold multiple values per key....
385
17141
by: Xah Lee | last post by:
Jargons of Info Tech industry (A Love of Jargons) Xah Lee, 2002 Feb People in the computing field like to spur the use of spurious jargons. The less educated they are, the more they like extraneous jargons, such as in the Unix & Perl community. Unlike mathematicians, where in mathematics there are no fewer jargons but each and every one are
1
4499
by: Alex | last post by:
Hello, in my company, we have a diagnostic tool for hardware. Depending on the hardware projcet, a different project configuration is needed. The configuration file is written in XML and contains information for the visualization and storage of the retrieved data. From mid july till now, i have made 4 different configuration sets and everything was fine. Today, i got the order to make a new configuration set. When the xml file was...
1
1722
by: Mike Hutton | last post by:
I need some help. I am trying to set up our development environment so as to make life easy for my fellow developers (none of whom have used ASP.NET or VS.NET before). We are developing our intranet which will comprise basic content with a number of small data-driven ASP.NET applications. I need to keep things simple, so I need to avoid stuff which needs too much in-depth knowledge to work.
0
1628
by: Nabani Silva | last post by:
Hi, hope someone could help I need to share session state (and contents) through differente web applications. I'm trying to get it done by using StateServer session state, below I paste code for web.config. Both applications are on the same server (I don't want to include all applications into one common virtual directory or application)
43
3401
by: Rob R. Ainscough | last post by:
I realize I'm learning web development and there is a STEEP learning curve, but so far I've had to learn: HTML XML JavaScript ASP.NET using VB.NET ..NET Framework ADO.NET SSL
9
1502
by: eliben | last post by:
Hello, I'm getting into Python now after years of Perl, and as part of my research I must understand how to do some common tasks I need. I have a bunch of Windows PCs at work to which I want to distribute an application I've developed on my PC. All these PCs have Python 2.5 installed. If my application contains only code I've developed, I simply zip its
8
1297
by: Max | last post by:
Is it possible for an ASP.net server (like IIS 6) to run web application without having available the code behind forms in clear ascii? Can I provide a compiled product to the customer, not an exe file of course, but some dll compiled by my server ? I'm asking that because 1. sometimes I am not happy to provide my source code 2.customer is afraid of their internal security... Thanks Max
0
8894
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...
0
8803
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8587
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
8658
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7407
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6210
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5682
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
4206
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
4384
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.