the file is located were the application is located. In this case it is located were my VB project file is located.
I am working from as server so it is located on the server.
In order to get the exact pathway I get the filelocation by calling
filelocation = App.Path & "File"
This then looks like:
filelocation = "//SERVERNAME\Research\VB-programme\hran\eval\master\test.cnf"
When I call
Open filelocation for Input as #1
it then comes up with the error message:
[Run Time Error 53 File not found]
I then tried to assign filelocation with the path it is showing in the EXPLORER task bar. Because the Server drive is mapped it comes up with the following:
Whe I then assign:
all works fine and the programme finds the file.
How can I find the file by using the App.Path comand???? Because I need to use this command !
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.
There is also a companion Debug Toolbar that looks like the followin…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…