Page 1 of 2 12 LastLast
Results 1 to 12 of 16

Thread: Yar Koi to Help kry

  1. #1
    simpleproka's Avatar
    simpleproka is offline Senior Member+
    Last Online
    25th March 2012 @ 11:45 AM
    Join Date
    02 Dec 2008
    Location
    Basirpur Okara
    Posts
    790
    Threads
    86
    Credits
    0
    Thanked
    137

    Default Yar Koi to Help kry

    me ne ye thred phely "Ask an Expert" Section me post kiya lakin wahan kisi ne bhi jawab nahi diya ab yahan post kr raha hon
    Attached Images Attached Images   

  2. #2
    heroofdikhan's Avatar
    heroofdikhan is offline Senior Member
    Last Online
    2nd July 2018 @ 11:48 AM
    Join Date
    31 May 2007
    Location
    ~:::Ghar me:::~
    Age
    33
    Posts
    1,081
    Threads
    160
    Credits
    1,052
    Thanked
    89

    Default

    asan hai bhai ic tareeqey se kar lein
    dim a as integer 'a ko aap fix b kar saktey hai
    a=7
    txttotal.text = txtnumber.text*7
    :::[FONT="Fixedsys"]Forget injuries but never forget kindness[/FONT]:::

    [CENTER] [SIGPIC][/SIGPIC][/CENTER]

  3. #3
    SufyanGujar is offline Senior Member+
    Last Online
    29th December 2010 @ 10:59 PM
    Join Date
    10 Oct 2009
    Location
    England, UK
    Age
    34
    Posts
    157
    Threads
    10
    Credits
    0
    Thanked
    7

    Default

    Quote heroofdikhan said: View Post
    asan hai bhai ic tareeqey se kar lein
    dim a as integer 'a ko aap fix b kar saktey hai
    a=7
    txttotal.text = txtnumber.text*7
    first of all whats the point of variable
    if you are not gona use it?
    Secondly, it isnt a good way to multiply
    text of the text box to a number, incase
    user enters a character that isnt a number
    your program will break; (run time error),
    Thirdly you may have noticed that he
    isnt using any button, means he asked
    for a way to automatically get answers,
    (you didnt provided dat,)


    bhai aap yeh code try karien;

    Code:
     Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
            Label1.Text = Val(TextBox1.Text) * 7
        End Sub
    From the code above as you mght have noticed,
    dat aap ko yeh code textbox1 ke TextChange event mein
    likhna pare ga,

    -Saif

  4. #4
    simpleproka's Avatar
    simpleproka is offline Senior Member+
    Last Online
    25th March 2012 @ 11:45 AM
    Join Date
    02 Dec 2008
    Location
    Basirpur Okara
    Posts
    790
    Threads
    86
    Credits
    0
    Thanked
    137

    Thumbs down

    Quote SufyanGujar said: View Post
    first of all whats the point of variable
    if you are not gona use it?
    Secondly, it isnt a good way to multiply
    text of the text box to a number, incase
    user enters a character that isnt a number
    your program will break; (run time error),
    Thirdly you may have noticed that he
    isnt using any button, means he asked
    for a way to automatically get answers,
    (you didnt provided dat,)


    bhai aap yeh code try karien;

    Code:
     Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
            Label1.Text = Val(TextBox1.Text) * 7
        End Sub
    From the code above as you mght have noticed,
    dat aap ko yeh code textbox1 ke TextChange event mein
    likhna pare ga,

    -Saif
    Yar me code text1 me likh raha hon lakin error aa raha hai ap aisa kren ye
    neche is link sy file ownload kr k khud hi code likh den
    Attached Files Attached Files

  5. #5
    SufyanGujar is offline Senior Member+
    Last Online
    29th December 2010 @ 10:59 PM
    Join Date
    10 Oct 2009
    Location
    England, UK
    Age
    34
    Posts
    157
    Threads
    10
    Credits
    0
    Thanked
    7

    Default

    Quote simpleproka said: View Post
    Yar me code text1 me likh raha hon lakin error aa raha hai ap aisa kren ye
    neche is link sy file ownload kr k khud hi code likh den
    bhai mein aap ki madad zaroor karta,
    lekin i dont use vb6, i use v 08 and
    wo aap ke liye kaam nahi kare gi,

    either get vb08 or ask some1 who
    have got vb6m, my apologize,,s

    -Saif

  6. #6
    SufyanGujar is offline Senior Member+
    Last Online
    29th December 2010 @ 10:59 PM
    Join Date
    10 Oct 2009
    Location
    England, UK
    Age
    34
    Posts
    157
    Threads
    10
    Credits
    0
    Thanked
    7

    Default

    You realy need to learn some VB Basics,
    anyway, i downloaded and upgraded your
    project to VB 2008 and found out dat
    you have different names of textboxes,

    Try this code it will work:
    Code:
    Text2.Text = Val(Text1.Text) * 7
    double click on first textbox and enter this code,

    -Saif

  7. #7
    heroofdikhan's Avatar
    heroofdikhan is offline Senior Member
    Last Online
    2nd July 2018 @ 11:48 AM
    Join Date
    31 May 2007
    Location
    ~:::Ghar me:::~
    Age
    33
    Posts
    1,081
    Threads
    160
    Credits
    1,052
    Thanked
    89

    Default

    aap ko program bana k deta hon

  8. #8
    heroofdikhan's Avatar
    heroofdikhan is offline Senior Member
    Last Online
    2nd July 2018 @ 11:48 AM
    Join Date
    31 May 2007
    Location
    ~:::Ghar me:::~
    Age
    33
    Posts
    1,081
    Threads
    160
    Credits
    1,052
    Thanked
    89

    Thumbs up Re

    Ye rha aap ka bana banaya program,,,,.....//// ab khush? sirf changing kar lo
    Attached Files Attached Files

  9. #9
    Ganxtr's Avatar
    Ganxtr is offline Advance Member
    Last Online
    5th July 2019 @ 09:15 AM
    Join Date
    15 Nov 2009
    Location
    CRIME CITY
    Posts
    1,740
    Threads
    18
    Credits
    83
    Thanked
    100

    Default

    It is also useful for me!

  10. #10
    Iftekharuddin is offline Advance Member
    Last Online
    12th April 2020 @ 10:01 PM
    Join Date
    22 Feb 2010
    Posts
    601
    Threads
    10
    Credits
    66
    Thanked
    63

    Default

    koshish jari rakhein

  11. #11
    ayub khosa's Avatar
    ayub khosa is offline Advance Member
    Last Online
    25th March 2021 @ 03:09 AM
    Join Date
    01 Apr 2010
    Location
    D G KHAN
    Gender
    Male
    Posts
    602
    Threads
    33
    Credits
    75
    Thanked
    29

    Default

    it is also‏ ‏‎ usfl for me thanks

  12. #12
    alims is offline Junior Member
    Last Online
    16th October 2012 @ 11:38 PM
    Join Date
    25 Jul 2009
    Posts
    20
    Threads
    3
    Credits
    0
    Thanked
    0

    Default reply

    dear use onlostfocus(), onedit(), onchange() event. en mein se koi aik use kar loo.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •