Color Picker Dialog

The VBA forum deals with IntelliCAD 2000 VBA (Visual Basic for Applications) issues.

Moderator: CMS Inc

Post Reply
bymulker
Newbie
Posts: 3
Joined: Sat Nov 10, 2012 2:35 am

Color Picker Dialog

Post by bymulker » Mon Nov 12, 2012 7:22 am

Hi all,

In my old VBA code i used 'acedSetColorDialog' for color picker dialog but in intellicad this doesnt seem to work. Does someone know a workaround?

Thanks in advance.
Accuright
Valued Contributor
Posts: 47
Joined: Thu Jul 26, 2012 2:19 pm

Post by Accuright » Mon Nov 12, 2012 12:57 pm

Which version/edition of AutoCAD are you using? I'm looking in the object explorer for AutoCAD 2004 and no such member is listed.
bymulker
Newbie
Posts: 3
Joined: Sat Nov 10, 2012 2:35 am

Post by bymulker » Tue Nov 13, 2012 12:44 am

This was an API Call as listed below. I dont have MS Common controls.ocx anyway and dont want to get and register because the PC is administrated by a central IT team of my company.

Thanks.

Code: Select all

Public Declare Function acedSetColorDialog Lib "acad.exe" (color As Long, _
                ByVal bAllowMetaColor As Boolean, ByVal nCurLayerColor As Long) As Boolean
bymulker
Newbie
Posts: 3
Joined: Sat Nov 10, 2012 2:35 am

Post by bymulker » Tue Nov 13, 2012 1:50 am

Ok nevermind the problem is SOLVED :

http://vbnet.mvps.org/index.html?code/ ... color.htm
Post Reply