Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


VB6 scroll bar or sth.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Wed Mar 12, 2008 6:16 am    Post subject: VB6 scroll bar or sth. Reply with quote

i got the variable of sound volume i dont want the user to type a value betwee 100 and 0
i want to make a bar that on one end sets value to 100 and on the other to 0
and sure every natural number between

_________________
Back to top
View user's profile Send private message
Blader
I post too much
Reputation: 2

Joined: 19 Jan 2007
Posts: 2049

PostPosted: Wed Mar 12, 2008 6:24 am    Post subject: Reply with quote

Bar.Value = Flash.GetVariable("sound")
_________________
Back to top
View user's profile Send private message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Wed Mar 12, 2008 6:33 am    Post subject: Reply with quote

but how does VB now that the value go from 0 to 100
_________________
Back to top
View user's profile Send private message
Estx
Expert Cheater
Reputation: 0

Joined: 04 Mar 2008
Posts: 172

PostPosted: Wed Mar 12, 2008 7:07 am    Post subject: Reply with quote

Something like:

Code:

Private Sub Form_Load()
Bar.Max = 100
Bar.Min = 0
End Sub

Private Sub Bar_Change()
Call Flash.SetVariable("sound", Bar.Value)
End Sub


Is that what you're after? (assuming you're using the V/HScroll object or similar)
Back to top
View user's profile Send private message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Wed Mar 12, 2008 7:14 am    Post subject: Reply with quote

nice but its sound so i would like the ctlscrollbar
_________________
Back to top
View user's profile Send private message
Estx
Expert Cheater
Reputation: 0

Joined: 04 Mar 2008
Posts: 172

PostPosted: Wed Mar 12, 2008 7:16 am    Post subject: Reply with quote

You could still use that, just make sure Max / Min are still there, if not.. send the CTL / OCX my way and I will see if there's anything I can suggest.
Back to top
View user's profile Send private message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Wed Mar 12, 2008 7:27 am    Post subject: Reply with quote

Estx wrote:
Something like:

Code:

Private Sub Form_Load()
Bar.Max = 100
Bar.Min = 0
End Sub

Private Sub Bar_Change()
Call Flash.SetVariable("sound", Bar.Value)
End Sub


Is that what you're after? (assuming you're using the V/HScroll object or similar)

i get a error on bar1.max = 100
ah dont matters i just change min and max from begining but
ctlscrollbar isnt scrollable
forget everything about got it working i just need the name of a good looking scroll bar

_________________
Back to top
View user's profile Send private message
Estx
Expert Cheater
Reputation: 0

Joined: 04 Mar 2008
Posts: 172

PostPosted: Wed Mar 12, 2008 8:19 am    Post subject: Reply with quote

You might want to check out:
http://pscode.com/vb/scripts/ShowCode.asp?txtCodeId=47495&lngWId=1
Back to top
View user's profile Send private message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Wed Mar 12, 2008 8:48 am    Post subject: Reply with quote

Estx wrote:
You might want to check out:
http://pscode.com/vb/scripts/ShowCode.asp?txtCodeId=47495&lngWId=1

i hop that was no virus
so is there anyone that knows the name of a nice looking scroll bar?

_________________
Back to top
View user's profile Send private message
Estx
Expert Cheater
Reputation: 0

Joined: 04 Mar 2008
Posts: 172

PostPosted: Wed Mar 12, 2008 8:56 am    Post subject: Reply with quote

Have you not heard of PSCode.com?? Planet-Source-Code.com lol.

Well, it's not a virus. Google the site if ya need to verify it first.

use
Code:
site:pscode.com
so it doesn't go directly to the site when you type the URL

Either way, the link I posted is where you can find a decent customized scroll bar, use it or not: up to you. =)
Back to top
View user's profile Send private message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Wed Mar 12, 2008 9:14 am    Post subject: Reply with quote

costum scroll bar? its just a windows XP scroll not very costum Rolling Eyes
_________________
Back to top
View user's profile Send private message
Estx
Expert Cheater
Reputation: 0

Joined: 04 Mar 2008
Posts: 172

PostPosted: Wed Mar 12, 2008 3:53 pm    Post subject: Reply with quote

o shit, wrong one lol

I was looking at a bunch of them when I posted that link, I was meant to give you this one.

http://pscode.com/vb/scripts/ShowCode.asp?txtCodeId=54155&lngWId=1
Back to top
View user's profile Send private message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Wed Mar 12, 2008 4:51 pm    Post subject: Reply with quote

thanks all look shitty anyway dont matters now
i made default scroll bar looks acceptable on win98

_________________
Back to top
View user's profile Send private message
Estx
Expert Cheater
Reputation: 0

Joined: 04 Mar 2008
Posts: 172

PostPosted: Wed Mar 12, 2008 7:56 pm    Post subject: Reply with quote

Ya could always use skins ActiveX's like SkinCrafter, or search for some on PSC.

But either way, glad to see you managed to get whatever you wanted done. (the last one I suggested, I suggested because you can make your own images for the up/down and scroll lol, I program all my own stuff, but I rarely use VB6 for anything at all these days, either C++ or C# .Net editions)
Back to top
View user's profile Send private message
92Garfield
I'm a spammer
Reputation: 57

Joined: 20 Dec 2007
Posts: 5871
Location: Banana Republic Germany

PostPosted: Thu Mar 13, 2008 3:57 pm    Post subject: Reply with quote

hehe i'm using default look all the time so everyone gots it look like his windows skin and i think everyone takes a skin he likes and it keeps my trainers tiny
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites