Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
1
Task/Program-name/Visual-Basic/program-name-1.vb
Normal file
1
Task/Program-name/Visual-Basic/program-name-1.vb
Normal file
|
|
@ -0,0 +1 @@
|
|||
appname = App.EXEName 'appname = "MyVBapp"
|
||||
9
Task/Program-name/Visual-Basic/program-name-2.vb
Normal file
9
Task/Program-name/Visual-Basic/program-name-2.vb
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
Declare Function GetModuleFileName Lib "kernel32" Alias "GetModuleFileNameA" (ByVal hModule As Long, ByVal lpFileName As String, ByVal nSize As Long) As Long
|
||||
Dim fullpath As String * 260, appname As String, namelen As Long
|
||||
namelen = GetModuleFileName (0, fullpath, 260)
|
||||
fullpath = Left$(fullpath, namelen)
|
||||
If InStr(fullpath, "\") Then
|
||||
appname = Mid$(fullpath, InStrRev(fullpath, "\") + 1)
|
||||
Else
|
||||
appname = fullpath
|
||||
End If
|
||||
Loading…
Add table
Add a link
Reference in a new issue