Page 1 of 3 123 LastLast
Results 1 to 10 of 30
  1. #1

    Default cannot be input a letters or a number(vb6)


    mga istoryaniks unsaon pagbutang ug code kanang dili sya masagulan ug letters ang ID number ba.puro lang numbers.

    den code sad para dili masagulang ug numbers ang, sample ang Name.puro lang letters den mo pop-up nga numbers cannot be inserted and vice versa!

    i need ure knowledge!

  2. #2
    i.ask si kuya google. what you need is regular expressions o_O

  3. #3
    what language?

  4. #4
    ScrapeBox Development softtouch's Avatar
    Join Date
    Jan 2004
    Gender
    Male
    Posts
    3,699
    Blog Entries
    1
    Quote Originally Posted by nwf View Post
    what language?
    VB6 I guess...

  5. #5
    Quote Originally Posted by softtouch View Post
    VB6 I guess...

    yap
    vb6

    naakay idea

  6. #6
    naa may isnumeric na function yata ang vb6.

  7. #7
    Quote Originally Posted by Artoy View Post
    naa may isnumeric na function yata ang vb6.
    unsa ang code ana artoy?

  8. #8
    ScrapeBox Development softtouch's Avatar
    Join Date
    Jan 2004
    Gender
    Male
    Posts
    3,699
    Blog Entries
    1
    Does vb has an event when a key is pressed, like other languages have?
    If it has, then every control will have also an onkeypress (or something like that) event, in which you could filter the input.

  9. #9
    dugay na ko la ka VB but sa ako na remember kay murag ani

    if isnumeric(idNo) then

    else
    msgbox "error"
    end if

    i hope sakto...but mas nice lang jd ang regular expressions then ibutang nimo sa keypress na event sa textobx.

  10. #10
    Quote Originally Posted by Artoy View Post
    dugay na ko la ka VB but sa ako na remember kay murag ani

    if isnumeric(idNo) then

    else
    msgbox "error"
    end if

    i hope sakto...but mas nice lang jd ang regular expressions then ibutang nimo sa keypress na event sa textobx.
    try daw nako
    hehehe

  11.    Advertisement

Page 1 of 3 123 LastLast

Similar Threads

 
  1. would you be a linkin park or a dream theater??
    By fingolfin in forum Music & Radio
    Replies: 57
    Last Post: 05-25-2011, 05:42 PM
  2. Replies: 1
    Last Post: 03-02-2006, 12:58 PM
  3. publisher cannot be verified!
    By xinnuj in forum Software & Games (Old)
    Replies: 7
    Last Post: 01-03-2006, 11:38 AM
  4. MOVED: publisher cannot be verified!
    By vern in forum Networking & Internet
    Replies: 0
    Last Post: 12-30-2005, 08:12 AM
  5. Which should be settled first? Impeachment or Cha-cha
    By FK in forum Politics & Current Events
    Replies: 33
    Last Post: 08-10-2005, 07:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top