Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips > Additional Libraries
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Additional Libraries Users contributed libraries.
This sub-forum is only available to licensed users.

ColorDialog for device

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 05-28-2009, 09:08 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

That code you posted works fine on both my desktop and device. In what way does it "not work", do you get an error message or what?
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
  #12 (permalink)  
Old 05-28-2009, 09:30 AM
Knows the basics
 
Join Date: Apr 2007
Location: Slovakia, Martin
Posts: 51
Send a message via ICQ to PatrikL Send a message via Skype™ to PatrikL
Default

Error message:

An error occured on sub colordialog_translate.

Line number: 46

Obj1.FromLibrary("Main.ColorDialog","dialog",B4POb ject(2))
Error description: (this part is in my language, I try translate into english)
Reference to object not set to instance of object.

I use B4PPC 6.05.
__________________
Sirus Samsung Omnia i8000 WM6.5
Basic4PPC 6.90
Reply With Quote
  #13 (permalink)  
Old 05-28-2009, 09:36 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

@Everyone - Please don't just say "it doesn't work" . Please always tell us in what way it doesn't work with as much other information as you can.


Quote:
Originally Posted by PatrikL View Post
I use B4PPC 6.05.
This is the reason. That version of Basic4ppc does not support modules. Try -

Obj1.FromLibrary("ColorDialog", "dialog", B4PObject(2))
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
  #14 (permalink)  
Old 05-29-2009, 09:52 AM
Knows the basics
 
Join Date: Apr 2007
Location: Slovakia, Martin
Posts: 51
Send a message via ICQ to PatrikL Send a message via Skype™ to PatrikL
Default

Quote:
Originally Posted by agraham View Post
Try -

Obj1.FromLibrary("ColorDialog", "dialog", B4PObject(2))
No, still not working. Now B4PP say, that he want module name...

Error description:
ObjectName must start with the module name.
...

Maybe its time to upgrade Basic4PPC... Or, please change dll file agraham...
__________________
Sirus Samsung Omnia i8000 WM6.5
Basic4PPC 6.90
Reply With Quote
  #15 (permalink)  
Old 05-29-2009, 10:26 AM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 6,072
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by PatrikL View Post
Now B4PP say, that he want module name
It's the Door library that wants the module name. I have looked inside the project you posted and you seem to have the latest version of the Door library (version 1.1) that wants module names but you are using an earlier version of Basic4ppc that doesn't know about modules. Try using version 0.9 of the Door library here http://www.basic4ppc.com/forum/offic...l-library.html
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
  #16 (permalink)  
Old 06-01-2009, 07:37 AM
Knows the basics
 
Join Date: Apr 2007
Location: Slovakia, Martin
Posts: 51
Send a message via ICQ to PatrikL Send a message via Skype™ to PatrikL
Default

agraham my code guru, thanx, 0.9 door library works fine.
__________________
Sirus Samsung Omnia i8000 WM6.5
Basic4PPC 6.90
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On


All times are GMT. The time now is 10:43 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0