[advanced search]
Results from the most recent live auction are here.
17 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming > CODE
User Name
Password

Old 12-31-2005, 04:59 PM   · #1
DomainSage
Let me out !
 
DomainSage's Avatar
 
Name: Richard Souter
Location: Venus ( everyone goes to Mars :)
Trader Rating: (24)
Join Date: Oct 2003
Posts: 825
NP$: 335.99 (Donate)
DomainSage is a glorious beacon of lightDomainSage is a glorious beacon of lightDomainSage is a glorious beacon of lightDomainSage is a glorious beacon of lightDomainSage is a glorious beacon of light
C# ... Bugging me :)

Hi folks,

I know this is a terribly simple thing to do ( and have done it before, but can't remember ) ....

Basically it is a Windows app in c#

Just trying to get a user input in Int form ... It is really that easy !

Been trying with Int.Parse and Int32.Parse but just can not get it to work.

Just have an input on the form where they enter a number and want to extract the number .... And can not for the life of me figure it out, mind you have had a few JD's

All the best.

Richard


Please register or log-in into NamePros to hide ads
__________________
As we slide down the banister of life, may the splinters never point the wrong way.
~~~~~~~~~~~~~~~~~~~
DomainSage is offline   Reply With Quote
Old 12-31-2005, 11:23 PM   · #2
iNod
Eating Pie
 
iNod's Avatar
 
Name: Steve
Location: Canada
Trader Rating: (66)
Join Date: Nov 2004
Posts: 2,284
NP$: 91.30 (Donate)
iNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud of
Special Olympics AIDS/HIV Cystic Fibrosis Save The Children Baby Health Cystic Fibrosis
Can you post the code :P There may be a error in the form itself.. Int should work :S

iNod
__________________
RegisterDub.com - 200th Customer Milestone
ZuneParts.net - International Zune Parts and Accessories
FeaturedFont.com - One Top Free Font a Day!

Last edited by iNod : 12-31-2005 at 11:59 PM.
iNod is offline   Reply With Quote
Old 01-01-2006, 06:38 AM   · #3
DomainSage
Let me out !
 
DomainSage's Avatar
 
Name: Richard Souter
Location: Venus ( everyone goes to Mars :)
Trader Rating: (24)
Join Date: Oct 2003
Posts: 825
NP$: 335.99 (Donate)
DomainSage is a glorious beacon of lightDomainSage is a glorious beacon of lightDomainSage is a glorious beacon of lightDomainSage is a glorious beacon of lightDomainSage is a glorious beacon of light
Hi iNod,

Thanks for the reply, here is the part causing the problem :

string tempString = maxCharacters.ToString();
int mostCharacters = int.Parse(tempString);

maxCharacters is a text box that users enter a number and mostCharacters is the variable I want to store the integer in.

Any ideas ?

All the best.

Richard

Think I've cracked it
__________________
As we slide down the banister of life, may the splinters never point the wrong way.
~~~~~~~~~~~~~~~~~~~
DomainSage is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fireFox bugging me!!!! redhippo The Break Room 6 04-25-2005 09:50 AM

Site Sponsors
Traffic Down Under EscrowDNS http://www.mobisitetrader.com/
Advertise your business at NamePros
All times are GMT -7. The time now is 03:47 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0