OK, ill take a look at it.
how do i set set max property, i get the length in this format:
05:30
i can make it 0530 but that's not valid for your contrl right?
even if its 2650 its no good.
so what do i do?
Printable View
OK, ill take a look at it.
how do i set set max property, i get the length in this format:
05:30
i can make it 0530 but that's not valid for your contrl right?
even if its 2650 its no good.
so what do i do?
5:30 = (5 * 60) + 30 = 330 (Max)
So if value is 250 do...
VB Code:
'Int(250/60) = Minutes '250 - Int(250/60) = Remaining Seconds '4:10 MsgBox Int(250/60) & ":" & (250 - Int(250/60))
I think i get it.
:confused: :confused: :confused:
Done. The manual slide is available and you don't need to send any parameters to the control. The formula given above was wrong for the seconds. A new project group with the slider control and a test form is attached with showing how to use the slider control. :)
BUT I still cannot figure out why the mouse down & mouse up problems occur.
[Edit]
Attachment deleted
[/Edit]
Error:(red = Error spot, msg=cant find project or library
Then says missing: xodiacslider.vbp & xodiacplaywindow.vbp)
AAAAAAHHHHHHHHH-HELP!!!!!!!!!!Code:'Our Xodiac program's setting file
'You can also use the registry
Open App.Path & "\Xodiac.ini" For Binary As #1
Dim XData() As String
Str = String (LOF(1), 0)
Get #1, , Str
Close #1
XData = Split(Str, vbCrLf)
For Cnt = 0 To UBound(XData)
If Left$(XData(Cnt), 7) = "Skin = " Then
Skin = App.Path & "\Skins\" & Right$(XData(Cnt), Len(XData(Cnt)) - 7)
Exit For
End If
Next Cnt
You are supposed to open XodiacWindowControl.vbg.
This line should not have given any error. It is perfectly right.VB Code:
Str = String (LOF(1), 0)
Anyway, my work was just to make the Slider Control, which I have done. The main executable is being made by The Red One.
When i open XodiacWindowControl.vbg it gives me an error, it cause u have vb6, and me vb5..... I dont have a converter, know where to get one?
So how was the slider.
And Red when do we get to see the whole program
UGH!!!!!!!!!!!!!
I FINALLY GOT IT TO LOAD THE PROJECT, EXCEPT FOR FLATBTN6.OCX, THEN YOU HAD TO GO AND USE SPLIT!!!
THE ONLY FUNCTION THAT VB6 HAS AND VB5 DOESNT!!!!!!!!
UGH!!!!!!!!!!!!!
(Plz use functions VB5 has, otherwise, I cant help out on this project)
It is very easy to write a Split function in bigger code.
Use mid function to go through each charector. If the charector is the on that you are looking for... append the data before it to an array. Then continue cycling.
I don't have VB6. Anyway I told you check out the Slider only. The main exe will be written by The Red One
Done. Now the slider control is perfect.
Yeah!!!!!!! It works :D lol... Yes it is perfect :p
well it is perfect, and i dont see any bugs.
but can the control resize itself according to the back image's size and still make the slide?
im currently working on the skin editor so i can make the base skin.
do you have a way to parse ini files:
[XodiacSkin]
Name=GUI
Top=50
Left=50
i need to get the values and put them in variables.
what other features do you think a media player should have?
Thanks. The control cannot resize by itself to fit the picture. But the picture stretches itself to fit the control. To parse an ini file, you can just look at my first project where I have done it.
Get all the data of the file in a string. Split it into an array with 'vbCrlf' (new line) as the delimiter. and run through each element and check for the data you want.
Well thanks for your help, i cant make anything like that OCX.
I guess that means you get a credit in the program's credits section (which no one ever takes a look at (except for me...)...).
Flame, can you provide me with code to load a skin's image (i can get a directory path and pass it to the function) and place it where specified (top, left). this project requires 2 image boxes for each button (unless you got a better solution) one to be clicked (visible but no picture) and 1 for down picture.
I can create a region and i only need a sample which i can expand to include all the buttons.
I can make it myself but I dont really have time and i'd rather spend my time writing the core stuff and the plugin & language pack support.
what do you guys think about the language pack idea?
drop a line.
cya.
Who cares about credit sections. Not many actually look in there.
As for the language pack suggestion. We can download or create fonts according to the desired language. Get the user option of the person using Xodiac. Accordingly set the font property of the for and controls. I think VB has an option to compile EXEs in different languages. If we are doing it in that way, we will have to distribute many EXEs.
Did you get the solution for getting information from .inf files.
Yeah Ill make the code to load the skins image...
So u want it like all the files come from a certain
directory or folder right?
And if u want I can attempt to make it easier with a
custom button control...(reg pic. then when u click it
changes and when you let up it changes back)
Itll take me awhile (long time) but it will be quicker
and easier on everyone in the
long run...
take a look at this
http://www.planet-source-code.com/vb...13598&lngWId=1
maybe it can helps you
Ok Flame, thanx. and Thanx Blue Attack as well.
Now for that language pack thing, i didnt mean to make lots of EXEs, i meant we should allow Xodiac to LOAD LANGUAGE PACK FILES. i call this feature the XLPT (Xodiac Language Pack Thingie) and to load them, we can use the same method we use to parse regular INIs.
Im also currently working on a playlist control.
Hi,
The project sounds interesting...
If needed i might be able to help u, but i formatted my HD today and i kinda lost the VB cd, so it will take me about 1 day to get VB running from backups again.
Atm i have a vacation of 2 weeks, so i have 2 weeks to help you.
I don't know if you have ever taken a look at the lang packs in Sonique (meh favorite mp3 player atm), but if you would take a look at the Dutch section you would see it is horrible...
The kinda forgat to include a resizing thingy.
Will there be a graphical view of the media file currently playing (i have not been able to check ur code yet) ?
If so, is there any change it will be compatible to the Sonique vis thingy's ?
Icheb
Well thanx for your help.
I am thinking of including Visualization Plugins, but it will NOT, in any way, be compatible with Sonique's vis stuff (cuz i have no idea how ta do it)
Well flame, what's goin' on with that skin thingie?:confused:
I am having trouble getting a pic to be in the button... It keeps giving me these damn errors...
What errors ?Quote:
It keeps giving me these damn errors...
Well good, cuz I dont want no Buttons, i want ImageBoxes!:cool:
... and just incase you want to make a picture box look like a button...
Set the border style to 'None'
Draw Light colored line on the top and left most side and
dark colored line on bottom and right most side.
You know thats kind of a huge DUH!
Can any1 get me some code to pitch the program's sound output?
Please note that Pitch is not supported by all sound cards. Not mine either (CMI-8330), which only support 8 bit sounds.
I however have a downloaded project for you which shows how to change the pitch rate and playback rate for Wave formats.
You can modify it for your needs.
UGH!!!! I THOUGHT.... NM....
Ill start on image boxes then!!!!!
Well Shahid, I have found another task for you.
Can you take on the Playlist control?
here are the minimal specs (you may enhance it if you want):
1. It must have 2 fields, 1 for filename display (provided by Xodiac)
and 1 for length (duration) (also provided by Xodiac).
2. It must mark the file currently played file (Once again, like Winamp's) and mark the record (line in the list) that has been clicked. MULTISELECT please.
3. add file(s) and remove the currently highlighted file(s). once again, MULTISELECT capability!.
4. remove all, select all, crop (you may leave this out, if you want) and sorting (also optional).
5. all colours customizable and ability to change back image (no resize, stretch.)
thats about it. i might confess and say that i tried to take this on and failed (well, only with the multiselect stuff).
I would really appreciate it if some1 can make this and where the hell is ysa?!?!?
I'll take responsibility for the play list control.
Thanx.
Im sorry to bother u again but do you guyz have any idea how 2 get the waveform data from the file currently played (for vis plugs)?
and another thing, I was thinking, why dont we make Xodiac COMPLETELY Output Plugin Based (that means no encoders\decoders built-in)? It will give the plugin the filename, and it can handle it on its own. It will give xodiac outstanding flexibility and will minimize the space required for Xodiac, since people can choose to install only converters, and use Xodiac as a converter program. Xodiac's going for EXTREME CUSTOMIZATION.
im setting up a website in Geocities.
Do you have a better place? I need a server that supports ASP scripts
Well Geocities is down. any other suggestions?
Well flame, if you dont say anything soon, im gonna take on your task, its not that hard (the playlist is).
www.brinkster.com maybe ?Quote:
Originally posted by The Red One
Well Geocities is down. any other suggestions?
They are there just for maintenance. They should be up before we finish our project.Quote:
Well Geocities is down. any other suggestions?
I have attached the play list program. But I haven't done any coding for getting tag info from the MP3 files. I assume you know how to do it. You can pass appropriate values in places where I have put something like this...
[REQUIRED VARIABLE]
Open Play List Group.vbg
ok geocities are back again.
Well brinkster sucks cuz they dont give you much web space, a crappy web control panel, and NO GLOBAL.ASA!!!!!!!!!!!!!
and abput that mp3 playlist, i will pass the length to the control, you take care of the other tasks. you give me the file name and i can read its tags, or whatever.