ThyElite Forums  
Go Back   ThyElite Forums > Downloads > Endorsed & Supported programs
Reload this Page YAWCC v1.6
Reply
 
Thread Tools Display Modes
(#21)
Old
liljonx522x is Offline
Member
liljonx522x is on a distinguished road
 
Posts: 29
Join Date: Aug 2006
Default 08-05-2006, 05:05 PM

i cant download WPE pro for some reason
Reply With Quote
(#22)
Old
Melonman is Offline
Senior Member
Melonman is on a distinguished road
 
Posts: 114
Join Date: Jun 2006
Location: So-Cal
Send a message via AIM to Melonman
Default 08-06-2006, 12:57 AM

make sure your virus protection is off.


Thanks,
Meloman
Reply With Quote
(#23)
Old
hotshot1 is Offline
Veteran Member
hotshot1 is on a distinguished road
 
Posts: 81
Join Date: Jul 2006
Default 08-06-2006, 07:09 AM

that is a sweet client thanks man peace i have ben looking for this for a weeks the sumo is the best

Last edited by hotshot1 : 08-06-2006 at 07:25 AM.
Reply With Quote
(#24)
Old
Sifter is Offline
Master of the Post
Sifter is on a distinguished road
 
Posts: 309
Join Date: Jul 2006
Location: Stockton, California
Send a message via AIM to Sifter Send a message via MSN to Sifter Send a message via Yahoo to Sifter
Default 08-07-2006, 02:18 AM

Yeah... about those earlier posts, if you can, will you tell me how to do the status for just one of the prizes?
Also, how do you use the INI files and whatnot on the flooder? I just need to know for saving Text1... default name.
Reply With Quote
(#25)
Old
DefectiveProduct is Offline
The Best
DefectiveProduct is on a distinguished road
 
Posts: 771
Join Date: Jul 2006
Location: O_o
Default 08-07-2006, 12:24 PM

To save Text1



Quote:
Private Sub WriteConfig
On Error GoTo error
Open "" & App.Path & "\CONFIGNAME.ini" For Output As #1
Print #1, "T=" & Text1.Text & ""
Close #1
Exit Sub

error:
MsgBox "An error occured while writing the config.", vbCritical, "ERROR"
End Sub
To read the config and get the content from it.


Quote:
Private Sub ReadConfig()
On Error GoTo error
If Dir("" & App.Path & "\CONFIGNAME.ini") = "" Then
Exit Sub
End If

LineNum = 0
Open "" & App.Path & "\CONFIGNAME.ini" For Input As #1
Do Until EOF(1)
LineNum = LineNum + 1
Line Input #1, ConfigLine

If ConfigLine Like "T=*" Then
Text1.Text = Right(ConfigLine, Len(ConfigLine) - 2)

Else
End If
Loop

Close #1
Exit Sub

error:
MsgBox "An error occured while reading the config.", vbCritical, "Error"
End Sub
To add a new line of text in your ini file, just insert this small code in the line that prints what you want the file to say.

Quote:
" & vbCrLf & "
So let's say you had three textboxes named Text1, Text2 and Text3.

Quote:
Print #1, "1=" & Text1.Text & vbCrLf & "2=" & Text2.Text & vbCrLf & "3=" & Text3.Text & vbCrLf & ""

To add the reading of another line in the config, add another one of these codes to your ReadConfig function.

Quote:
If ConfigLine Like "(whatever)=*" Then
(whatever).Text = Right(ConfigLine, Len(ConfigLine) - 2)
To write the config, just insert this code in a command button or some other function.

Quote:
WriteConfig
and to read it,

Quote:
ReadConfig
It's kind of complicated but if you just read everything over and look at what is written you can get the hang of it. I'm far too lazy to explain everything piece by piece, so you'll have to just try and figure it out. :|






Reply With Quote
(#26)
Old
Vis is Offline
The Owner
Vis is on a distinguished road
 
Posts: 802
Join Date: Jun 2006
Location: Too dark to see
Send a message via ICQ to Vis Send a message via AIM to Vis Send a message via MSN to Vis Send a message via Yahoo to Vis
Default 08-07-2006, 12:29 PM

lolpwnt

someone move this shit to endorsed


Reply With Quote
(#27)
Old
DefectiveProduct is Offline
The Best
DefectiveProduct is on a distinguished road
 
Posts: 771
Join Date: Jul 2006
Location: O_o
Default 08-07-2006, 12:33 PM

Moved. :-*






Reply With Quote
(#28)
Old
Sifter is Offline
Master of the Post
Sifter is on a distinguished road
 
Posts: 309
Join Date: Jul 2006
Location: Stockton, California
Send a message via AIM to Sifter Send a message via MSN to Sifter Send a message via Yahoo to Sifter
Default 08-12-2006, 11:27 AM

How do i make it so that on the Form_load event it will do the read config action? Because its not working for me...
Reply With Quote
(#29)
Old
DefectiveProduct is Offline
The Best
DefectiveProduct is on a distinguished road
 
Posts: 771
Join Date: Jul 2006
Location: O_o
Default 08-12-2006, 01:35 PM

Private Sub Form_Load()
ReadConfig
End Sub



Just use the name of the sub in an another event to trigger that sub.






Reply With Quote
(#30)
Old
Sifter is Offline
Master of the Post
Sifter is on a distinguished road
 
Posts: 309
Join Date: Jul 2006
Location: Stockton, California
Send a message via AIM to Sifter Send a message via MSN to Sifter Send a message via Yahoo to Sifter
Default 08-12-2006, 03:34 PM

But i had that, it doesnt work...
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
YAWCC Help liljonx522x Help! 1 08-05-2006 10:38 PM
YAWCC v1.5 DefectiveProduct Programs 19 07-27-2006 01:43 PM



Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.