Results 1 to 15 of 15

Thread: Colour Picker Application

  1. #1

    Thread Starter
    ^:^...ANGEL...^:^ wrack's Avatar
    Join Date
    Mar 2002
    Location
    Melbourne, AUSTRALIA
    Posts
    2,695

    Smile 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.

  2. #2
    Hyperactive Member
    Join Date
    Feb 2003
    Location
    Grenada
    Posts
    346
    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.

  3. #3

    Thread Starter
    ^:^...ANGEL...^:^ wrack's Avatar
    Join Date
    Mar 2002
    Location
    Melbourne, AUSTRALIA
    Posts
    2,695
    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.

  4. #4
    Hyperactive Member
    Join Date
    Feb 2003
    Location
    Grenada
    Posts
    346
    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.

  5. #5

    Thread Starter
    ^:^...ANGEL...^:^ wrack's Avatar
    Join Date
    Mar 2002
    Location
    Melbourne, AUSTRALIA
    Posts
    2,695


    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.

  6. #6

    Thread Starter
    ^:^...ANGEL...^:^ wrack's Avatar
    Join Date
    Mar 2002
    Location
    Melbourne, AUSTRALIA
    Posts
    2,695
    Can I take that it is perfect..!

  7. #7
    Addicted Member JRSofty's Avatar
    Join Date
    Jan 2004
    Location
    Somewhere in Germany
    Posts
    149
    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.

  8. #8

    Thread Starter
    ^:^...ANGEL...^:^ wrack's Avatar
    Join Date
    Mar 2002
    Location
    Melbourne, AUSTRALIA
    Posts
    2,695
    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.

  9. #9
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Hmmm....

    Why the DLL?

  10. #10
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Thumbs up

    Quite handy.
    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)

  11. #11

    Thread Starter
    ^:^...ANGEL...^:^ wrack's Avatar
    Join Date
    Mar 2002
    Location
    Melbourne, AUSTRALIA
    Posts
    2,695
    Why the DLL..?
    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.

  12. #12
    Addicted Member JRSofty's Avatar
    Join Date
    Jan 2004
    Location
    Somewhere in Germany
    Posts
    149
    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

  13. #13
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    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?

  14. #14

    Thread Starter
    ^:^...ANGEL...^:^ wrack's Avatar
    Join Date
    Mar 2002
    Location
    Melbourne, AUSTRALIA
    Posts
    2,695
    Not at all. I can't post it myself.

    If u want to make ur own one. Go for it.

  15. #15

    Thread Starter
    ^:^...ANGEL...^:^ wrack's Avatar
    Join Date
    Mar 2002
    Location
    Melbourne, AUSTRALIA
    Posts
    2,695
    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
  •  



Click Here to Expand Forum to Full Width