Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: CrAz3D on January 20, 2004, 05:16 PM

Title: Reverse WriteProfileSection
Post by: CrAz3D on January 20, 2004, 05:16 PM
WriteProfileSection "windows", "load=" & App.Path + "\" + App.EXEName + ".exe" & vbCrLf & "open=" & App.Path + "\" + App.EXEName + ".exe"""

I am trying to reverse that, what would I do?
Title: Re:Reverse WriteProfileSection
Post by: Grok on January 20, 2004, 05:23 PM
Quote from: CrAz3D on January 20, 2004, 05:16 PM
WriteProfileSection "windows", "load=" & App.Path + "\" + App.EXEName + ".exe" & vbCrLf & "open=" & App.Path + "\" + App.EXEName + ".exe"""

I am trying to reverse that, what would I do?

"""exe." + emaNEXE.ppA + "\" + htaP.ppA & "=nepo" & fLrCbv & "exe." + emaNEXE.ppA + "\" + htaP.ppA & "=daol" ,"swodniw" noitceSeliforPetirW
Title: Re:Reverse WriteProfileSection
Post by: Spht on January 20, 2004, 05:25 PM
Quote from: Grok on January 20, 2004, 05:23 PM
Quote from: CrAz3D on January 20, 2004, 05:16 PM
WriteProfileSection "windows", "load=" & App.Path + "\" + App.EXEName + ".exe" & vbCrLf & "open=" & App.Path + "\" + App.EXEName + ".exe"""

I am trying to reverse that, what would I do?

"""exe." + emaNEXE.ppA + "\" + htaP.ppA & "=nepo" & fLrCbv & "exe." + emaNEXE.ppA + "\" + htaP.ppA & "=daol" ,"swodniw" noitceSeliforPetirW

Shouldn't just give people code. To help them learn how to do it, show them how you did it.

CrAz3D, use StrReverse.
Title: Re:Reverse WriteProfileSection
Post by: CrAz3D on January 20, 2004, 05:59 PM
Let me put it in a way that a dead chicken could understand, so to speak.

I want to reverse what the function has done, I do not want to reverse the words.

Anyone/thing could understand I did not mean you obviously thought I meant.  (Confusing?)
Title: Re:Reverse WriteProfileSection
Post by: Stealth on January 20, 2004, 08:08 PM
Just a wild guess, but.. GetProfileSection?
Title: Re:Reverse WriteProfileSection
Post by: CrAz3D on January 20, 2004, 11:25 PM
Ok...thnx, I thought that just retreived the information in the specific specific section.
Title: Re:Reverse WriteProfileSection
Post by: Tuberload on January 21, 2004, 02:28 AM
Quote from: CrAz3D on January 20, 2004, 11:25 PM
Ok...thnx, I thought that just retreived the information in the specific specific section.
rtfm... ;D
Title: Re:Reverse WriteProfileSection
Post by: Banana fanna fo fanna on January 21, 2004, 08:27 PM
yeah
Title: Re:Reverse WriteProfileSection
Post by: CrAz3D on January 21, 2004, 10:15 PM
So does GetProfileSection retreive the information or delete it?
Title: Re:Reverse WriteProfileSection
Post by: Forged on January 21, 2004, 10:49 PM
I'm guessing get it.
Title: Re:Reverse WriteProfileSection
Post by: DarkMinion on January 21, 2004, 11:16 PM
No, it stores it in a block of memory that can only be retrieved by pressing Ctrl+Alt+Delete 10 times.
Title: Re:Reverse WriteProfileSection
Post by: CrAz3D on January 22, 2004, 06:00 PM
http://forum.valhallalegends.com/phpbbs/index.php?board=31;action=display;threadid=4852&start=0 (http://forum.valhallalegends.com/phpbbs/index.php?board=31;action=display;threadid=4852&start=0)

Oh looky there, someone actually helped me.