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.

PasswordTextBox

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-09-2007, 06:11 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default PasswordTextBox

Here's my 2nd dll

A PasswordTextBox....

This Textbox enables the coder to hide the input string using a character like "X" or "*", so that no-one can peek at the string...
and in this case I also implemented a simple encryption of the string passed back to the main basic4ppc code...Of course there's also an un-crypted string that can be passed....
This was only tested in the desktop...
This is also a work in progress, and probably will evolve to a Password Panel Input...

Please place your doubts, wishes or any kind of comments....
Attached Files
File Type: zip Password.zip (2.4 KB, 245 views)
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!

Last edited by Cableguy : 08-09-2007 at 06:13 PM.
Reply With Quote
  #2 (permalink)  
Old 08-09-2007, 08:34 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 1,057
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

Hi Cableguy,

I'll get an error adding your password.dll library on the dektop saying:

An error occured. The format of th file "password.dll" is invalid.
(translated from the german message )

By the way, any help file available? A small textfile will do.


specci48
Reply With Quote
  #3 (permalink)  
Old 08-10-2007, 06:55 AM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Sorry,

yesterday's Post was set kind in an hurry...

Here is the dll, a sample app and a txt...enjoy

PS:
the password property is not supported by the compactframework but is suported by the "normal" framework,wich you should have installed in order to this dll to work...
Attached Files
File Type: zip Password.zip (3.2 KB, 83 views)
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!

Last edited by Cableguy : 08-10-2007 at 07:07 AM.
Reply With Quote
  #4 (permalink)  
Old 08-10-2007, 07:08 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

If it isn't supported by .Net CF then it will only run on the desktop.
Reply With Quote
  #5 (permalink)  
Old 08-10-2007, 02:01 PM
specci48's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Germany
Posts: 1,057
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

If I extract your .zip file and open the sample I still get the error saying that the .dll has an ivnalid format...
Reply With Quote
  #6 (permalink)  
Old 08-10-2007, 05:05 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Specci48, do you have the dotnet framework ( not the compactframework ) installed in your PC...?

This dll, at least for now, is only supported in the desktop....

Has anyone else had similar problems with this dll?
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!

Last edited by Cableguy : 08-10-2007 at 06:10 PM.
Reply With Quote
  #7 (permalink)  
Old 08-10-2007, 06:12 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

I just don't understand Why this dll doesnt work on the ppc....

The msdn states the passwordchar to be supported by bot cf 1.0 and 2.0 but I cant even load it to the program....

http://msdn2.microsoft.com/en-us/lib...swordchar.aspx
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!
Reply With Quote
  #8 (permalink)  
Old 08-10-2007, 07:33 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,689
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

The FormLib library now supports SetPasswordTextbox which does this.
It can be downloaded here: www.basic4ppc.com/Downloads.html
Reply With Quote
  #9 (permalink)  
Old 08-11-2007, 07:53 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 Cableguy View Post
I just don't understand Why this dll doesnt work on the ppc....
Looking at the references for the DLL with Reflector I think the reason may be that you have compiled it as a full .NET Framework 2.0 library and not as a retargetable device library.
Reply With Quote
  #10 (permalink)  
Old 08-11-2007, 09:48 AM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 2,344
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Agraham You were Right!!!!

I didnt realize it, becausse my first dll was built on top of dzt example project, wich was, of course, already set to work with the compact framework....

Thanks...

Working now, but some features dont work the same way in ppc as in desktop

text alignment is set to center: works on desktop but not on ppc
passworchar shows what ever char is set on desktop, but in ppc is always "*"

Any clues???
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!

Last edited by Cableguy : 08-11-2007 at 10:38 AM.
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 07:25 AM.


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