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

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.

dzSpy - Spy and Task Manager App - Open Source

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 09-06-2009, 01:00 PM
derez's Avatar
Basic4ppc Expert
 
Join Date: May 2007
Posts: 978
Awards Showcase
Beta Tester Competition Winner 
Total Awards: 2
Default

mjcoon,

As for your original question :

Quote:
Originally Posted by mjcoon View Post

"error CS1501: No overload for method 'NotifyIcon' takes '1' arguments"

The line in question merely has:

ni.New1("Form1") ' New Notifyicon
If you use version 03 of NotifyIcon then you should initialize the object without an argument:

ni.new1

and make sure you have an icon attached to your program.

Thats' all !
__________________
David Erez
Ramat Hasharon, Israel
Reply With Quote
  #12 (permalink)  
Old 09-06-2009, 09:55 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by agraham View Post
If you can't [compile for device] then I suspect you have removed ControlsExDeviceDummy from the desktop instead of ControlsExDesktop. The optimising compiler assumes that the structure of the desktop and device libraries are identical and uses the structure it derives from the desktop library when it compiles. This is why a "dummy" desktop library is required when functionality is required in a device library that is not present on the desktop. The dummy desktop library looks like the device library but the functionality missing on the desktop is implemented as do-nothing code.
Thanks for that explanation, I now understand why the same project cannot be recompiled for device as for desktop, and how to tweak it between the two.

Off-topic, I tried to use a TrackBar (partly because the code already uses one as a volume control) to follow the playing of a music file and allow the user to move the playing point. But I find that the _ValueChanged call-back is triggered each time the program adjusts the pointer to follow progress, generating a double alteration (very audibly). If I used a scroll-bar instead, would this be avoided? (In other words, _ValueChanged reacts only to user action.)

Cheers, Mike.
Reply With Quote
  #13 (permalink)  
Old 09-07-2009, 08:01 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 mjcoon View Post
If I used a scroll-bar instead, would this be avoided?
I don't think so but you could try something like this

Code:

' TBchanged is a Global variable 

   ...
   TB.Value = something
   TBchanged = 
True
   ...


Sub TB_ValueChanged
   
If Not(TBchanged) Then
      
' do whatever
   End If
   TBchanged = 
False
End Sub
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
  #14 (permalink)  
Old 09-07-2009, 01:41 PM
Basic4ppc Expert
 
Join Date: May 2008
Location: Berkshire, UK
Posts: 810
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Quote:
Originally Posted by agraham View Post
I don't think so but you could try something like this

Code:

   ...
 
Sub TB_ValueChanged
   
If Not(TBchanged) Then
      
' do whatever
   End If
   TBchanged = 
False
End Sub
Thanks, Andrew, I have implemented exactly that solution. Rather clunky, but it works!

Cheers, Mike.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tippy v.1.0 [open source] N1c0_ds Share Your Creations 5 04-24-2009 02:51 PM
Wine cellar manager klaus Share Your Creations 8 03-18-2009 03:35 PM
Task Switcher for WM5/6 agraham Questions (Windows Mobile) 10 01-15-2009 02:11 PM
Background Task RandomCoder Questions (Windows Mobile) 11 07-01-2008 12:06 PM
Pocket Burning Sand (Open Source) neilnapier Open Source Projects 344 12-24-2007 05:37 PM


All times are GMT. The time now is 12:18 PM.


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