Jump to content
c0smyn

Illusion v3.0

Recommended Posts

***ATENTIE***

Cei care nu au windowsu instalat in C:\ unele optiuni nu vor functiona

Dc ? :))))

Daca lucrezi in visual basic poti folosi codul asta ca sa detectezi unde este windows-ul

Il bagi intr-un modul



Private Declare Function GetWindowsDirectory Lib "kernel32" Alias "GetWindowsDirectoryA" (ByVal lpBuffer As String, ByVal nSize As Long) As Long

Public Function WindowsDirPath()
Dim WindirS As String * 255

Dim TEMP
Dim Result
TEMP = GetWindowsDirectory(WindirS, 255)
Result = Left(WindirS, TEMP)
WindowsDirPath = Result
End Function

:P :P

Edited by freshmeat
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...