Solved

CGI VB5.0 directory problem

Posted on 1997-10-23
1
230 Views
Last Modified: 2013-12-25
I am using VB5.0 to program a CGI script, and it needs to know the dir from where it was executed no matter what directory it is executed from. For example if a HTML file say in c:\inetpub\wwwroot used a form to execute the CGI script in c:\inetpub\exe for form data collecting, when i use Curdir in my script i get c:\inetpub\wwwroot as curdir when i needed c:\inetpub\exe, what do i do to get the CGI scripts dir no matter where the CGI script is placed!!

Thomas
0
Comment
Question by:thomasschmidt
1 Comment
 
LVL 6

Accepted Solution

by:
alamo earned 50 total points
ID: 1831003
This less of a CGI question than a VB question... use App.Path to find out what directory your .exe is in.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever wondered how to display how many visitors you have online. In this tutorial I will show you an easy but effective way to display the number of online visitors in WhizBase. In this article I assume you have read my previous articles and know …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question