|
-
May 3rd, 2004, 10:43 PM
#1
Thread Starter
^:^...ANGEL...^:^
Colour Picker Application
Anybody wants to test this colour picker I made..?
Register the DLL with following command at command line. U need to change the path accordingly. If you have previously registered the DLL then please unregister it and then DELETE it. After that copy the new DLL and then register it.
To Register
REGSVR32 "C:\ColourPicker\ColourPicker.dll"
To UnRegister
REGSVR32 "C:\ColourPicker\ColourPicker.dll" /u
then run the exe and u will get a colour picker.
To move use mouse.
Small movement use arrow keys.
Medium movements use Home, End, PageUp, PageDown keys.
Right Click or Escape to exit
Left Click or Enter to pick the colour on the screen.
The DLL is the COM DLL so u can use it from VB or VC++, Delphi or .NET(I guess). You don't need exe for ur self. You can use ur choice of programming language and develop ur own application as a host to talk to DLL and display or use the result.
Let me know to post the Specs for talking to DLL..!
You can pick 10 colours at a time. After you pick all 10 colours the app will exit automatically and show you ur Picked colours. It will not repeat the selection (for example if you choose any colour twice then it will be considered as 1 colour but on the display it will only shown once)
You can keep selecting more colours as u please and keep adding them to previous selection.
I assume that many members here are good with figuring out how to use an app so it's usage it left on you to play with. You can choose to copy only HEX value or RGB value or both to clipboard.
-----------------------------------------
for those who have a technical problem registering and unregistering the DLL do the following.
Create a folder on the root of your C: Drive called "ColourPicker"
Put all files u unzipped in it and then double click on Install.bat
If you have to unintall then double click on Uninstall.bat
-----------------------------------------
Post any suggestions here..!
Do u think that I should use have different approach in GUI..? If yes then let me know what could be more easier.
Get it from here
Cheers.
Last edited by wrack; Jun 13th, 2005 at 08:41 PM.
-
May 4th, 2004, 12:24 AM
#2
Hyperactive Member
Wokawidget's Signature:
Warning: Do NOT download and run any compiled code that users post on VBF asking you to test. Always ask for the source code.
So with that in mind............
If my post has been helpful, then please rate it accordingly...
If it has solved your question(s), then don't forget to mark the thread as "[Resolved]"... thank you.
-
May 4th, 2004, 01:00 AM
#3
Thread Starter
^:^...ANGEL...^:^
I knew that this is going to happen but I guess it's anyone's personal choice.
I have scanned it with Norton, McAfee, CA and no problems. So purely ur choice.
Cheers.
-
May 4th, 2004, 01:11 AM
#4
Hyperactive Member
lol....Damn!!!!
My plan didn't work... I was hoping that you would give in and post up the source code so that I could have robbed it and claimed it as my own...
Oh well....better luck next time I guess....
I've tried it... quite good... quite damn good indeed...
I'll give it 4/5... (Partly because I can't do better)....
If my post has been helpful, then please rate it accordingly...
If it has solved your question(s), then don't forget to mark the thread as "[Resolved]"... thank you.
-
May 4th, 2004, 03:36 AM
#5
Thread Starter
^:^...ANGEL...^:^

Thanks
I was asking more of an improvement in user interface so it takes less space on the screen and more friendly.
Anyway my planning are to have it sitting in System Tray and execute the app from there.
Any suggestion.
Cheers.
-
May 4th, 2004, 06:21 AM
#6
Thread Starter
^:^...ANGEL...^:^
Can I take that it is perfect..!
-
May 4th, 2004, 07:23 AM
#7
Addicted Member
The app looks good. Feels ok not real happy with the rightclick and multi select functions. Of course I might just need some practice with it. Also you might want to label the output codes a little better.
Don't like having it off of my root C drive is there any place else where it could be?
Can you give me some info on using the Colourpicker DLL? and how it works. It seems to have only one subroutine.
-
May 4th, 2004, 03:36 PM
#8
Thread Starter
^:^...ANGEL...^:^
You don't have to have it in C Drive. It was for those who doesn't know how to register and un register the DLL.
U can leave it anywhere u like and use it.
I will post the specs for using DLL later when I come back from the office.
-
May 4th, 2004, 03:53 PM
#9
So Unbanned
-
May 4th, 2004, 05:56 PM
#10
Lottery is a tax on people who are bad at maths
If only mosquitoes sucked fat instead of blood...
To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)
-
May 4th, 2004, 06:11 PM
#11
Thread Starter
^:^...ANGEL...^:^
Bcos this code was developed for a company but is still my property and I can reproduce it only in COM DLL form. Legal contract mumbo jumbo.
-
May 5th, 2004, 12:43 AM
#12
Addicted Member
Originally posted by wrack
Bcos this code was developed for a company but is still my property and I can reproduce it only in COM DLL form. Legal contract mumbo jumbo.
Well that makes perfect sense
-
May 5th, 2004, 12:52 AM
#13
So Unbanned
Originally posted by wrack
Bcos this code was developed for a company but is still my property and I can reproduce it only in COM DLL form. Legal contract mumbo jumbo.
Oh... so if I made a VB/API replica of your code and posted it here... it might be bad?
-
May 5th, 2004, 03:32 AM
#14
Thread Starter
^:^...ANGEL...^:^
Not at all. I can't post it myself.
If u want to make ur own one. Go for it.
-
May 5th, 2004, 08:51 PM
#15
Thread Starter
^:^...ANGEL...^:^
Can I ask mods to put this one in utility bank or I need to make more changes before I do. If no then what kind of changes..?
OK I think I am going to settle on this version then.
I have changed DLL interface to support VB6 aswell. It didn't before. So whoever has the old version should unregister it and then delete it.
So now I have tested it with,
VB6
VB.NET
Delphi 6
Delphi 7
It only has 1 function which returns String as a result in XML format.
To use it declare a variable of type String in the programming language u r using and then
Variable = PickColour <---- Function name
It will look like this.
Code:
<ColourPicker>
<Colour>
<R>84</R>
<G>124</G>
<B>255</B>
<HEX>#547CFF</HEX>
</Colour>
<Colour>
<R>255</R>
<G>212</G>
<B>11</B>
<HEX>#FFD40B</HEX>
</Colour>
<Colour>
<R>158</R>
<G>242</G>
<B>11</B>
<HEX>#9EF20B</HEX>
</Colour>
<Colour>
<R>255</R>
<G>123</G>
<B>17</B>
<HEX>#FF7B11</HEX>
</Colour>
<Colour>
<R>47</R>
<G>61</G>
<B>220</B>
<HEX>#2F3DDC</HEX>
</Colour>
<Colour>
<R>170</R>
<G>138</G>
<B>5</B>
<HEX>#AA8A05</HEX>
</Colour>
</ColourPicker>
Use the xml result the way u want it.
New version is now available for download here
Hope this will be helpful to someone 
Cheers
Last edited by wrack; Jun 13th, 2005 at 08:43 PM.
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
|