-
Jan 4th, 2015, 09:45 AM
#1
Thread Starter
New Member
vb6 question
Hello everybody,i need of little help i need to know
how can i create winrar sfx archive with vb6
-
Jan 4th, 2015, 11:42 AM
#2
Re: vb6 question
Welcome to the forums 
While waiting on a response, suggest searching the forum for those keywords: winrar sfx
Additionally, when you have a few moments to spare, click on the "Hitchhikers Guide" in my signature below. Worth the read for all newcomers.
-
Jan 4th, 2015, 02:09 PM
#3
Thread Starter
New Member
Re: vb6 question
 Originally Posted by LaVolpe
Welcome to the forums
While waiting on a response, suggest searching the forum for those keywords: winrar sfx
Additionally, when you have a few moments to spare, click on the "Hitchhikers Guide" in my signature below. Worth the read for all newcomers.
thanks for answer i have this code but this is on autoit i need to vb6
$Filepartfullname = StringTrimLeft($search, StringInStr($search, "\", 2, -1))
$batcall = BinaryToString(_batdecode())
$batcall = StringReplace($batcall,"compile.bat",$shortnamebatchc)
$batcall = StringReplace($batcall,"exename",$ramdomexe&".exe")
$batcall = StringReplace($batcall,"part1",$Filepartfullname)
FileWrite($short&$ramdomcomp,$batcall)
$writewinrar = _Base64String(True,@TempDir)
$writeconfdef = _Base64Stringwmz(True,@TempDir)
$configfile = BinaryToString(_Base64Stringconfig())
$configfile = StringReplace($configfile," pathtowrite","%temp%")
$configfile = StringReplace($configfile,"puts.vbs",$randomname)
DirCreate(@TempDir&"\bumpconf")
$configpath = @TempDir&"\bumpconf\sfx.conf"
FileWrite($configpath,$configfile)
Local $winrarlocation = @TempDir&"\"
Local $sWinRAR = FileGetShortName($winrarlocation)
Local $iconata = FileGetShortName($ReadIcon)
Local $names = $exename
Local $configpathshort = FileGetShortName($configpath)
Local $dirrr = $short&"*"
Local $vars = FileGetShortName($FHANDLEexe)
FileDelete($vars)
$trimdirto = FileGetShortName(GetDir($FHANDLEexe))
FileChangeDir ($trimdirto)
WinSetState("[CLASS:WinRarWindow]", "", @SW_HIDE)
RunWait($sWinRAR & 'win a -sfx -r -iicon'&$iconata&' -z'&$configpathshort&' '&$names&' -ep1 '&$dirrr&' '&$vars&"\*"&'',"",@SW_HIDE)
WinSetState("[CLASS:WinRarWindow]", "", @SW_HIDE)
GUICtrlSetData($Progress1, 100)
-
Jan 4th, 2015, 03:07 PM
#4
Re: vb6 question
Not familiar with auto-it, except for a few basic scripts i did with it years ago, but from reading it,
it seems like you're using winrar as a dependency, so why not use its command-line parameters ?
allow me to refer you to these two links which i believe will help you.
http://stackoverflow.com/questions/5...m-a-batch-file
and
http://comptb.cects.com/using-the-wi...ls-in-windows/
p.s
is the command you'll be looking for.
-
Jan 4th, 2015, 05:13 PM
#5
Thread Starter
New Member
-
Jan 4th, 2015, 07:02 PM
#6
If you don't know where you're going, any road will take you there...
My VB6 love-children: Vee-Hive and Vee-Launcher
-
Jan 5th, 2015, 01:28 PM
#7
Re: vb6 question
 Originally Posted by ColinE66
Happy codding!
OR....maybe she is a resident of Codding, PA? ?????
-
Jan 5th, 2015, 01:36 PM
#8
Re: vb6 question
 Originally Posted by SamOscarBrown
OR....maybe she is a resident of Codding, PA? ?????
Nah. She's definitely a codder...
If you don't know where you're going, any road will take you there...
My VB6 love-children: Vee-Hive and Vee-Launcher
-
Jan 5th, 2015, 01:46 PM
#9
-
Feb 7th, 2025, 08:38 AM
#10
Fanatic Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|