# How can I get the directory of running program in vb6.0? (ex: in C language is argv[0])

Posted by Chen-Chun Huang on October 27, 1998 at 15:29:17:

请教各位VB先进:
我原是 C 语言使用者,最近开始学习 VB,请问如何获知执行档本身所在目录?
C 语言中可由 main(int argc, char**argv) 的 argv[0]引数获得执行档本身所在的目录.

谢谢!

Chen-Chun Huang
cc_huang@ms1.url.com.tw

Follow Ups:

- Re: How can I get the directory of running program in vb6.0? (ex: in C language is argv[0]) wei 03:59:14 10/29/98 (0)