Advertisement
ASP_Volume3 Miscellaneous #53389

Using the Environ function

This is something that hopefully will help someone who is looking for a fast way of getting some system environment settings.

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
In the debug window type the following:
For x = 1 to 80: ? Environ(x): next x
What is returned can also be used in your code. The Environ function is inlcuded in the vb runtime.
e.g. 
strWinDirectory = Environ("windir")
No need to vote, just hope this helps someone.
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine