Jump to content

Recommended Posts

Posted

Yo,

I would like to ask you how can I "Say" in Virtual Basic's language that:

 

If CheckBox1 is not checked Then

MessageBox.Show ("You have to check the box before pressing generate!")

 

How can I say this ?  :poker face:

 

I only want the checkbox1.. if it isn't checked then it should show the message.

 

Thanks for reading^^

Any help, appreciated!

 

EDIT: If you could help me with something else.. also..

 

If Textbox1.Text isn't filled Then

MessageBox.Show ("You have to fill the required info in the boxes before pressing generate!")

End if

Posted

Since i'm not related with those languge i google a bit and here is what i found.

 

Events are responses to actions performed on controls. For example, in the "Hello world" program sample on this page, when you click on the command button on our form the event that is triggered is the output of the message "Hello world" to the screen. Code must be written to create an event. You can do this in Visual Basic's code window. Yours will look similar to this ( except of course, the body of the sub-procedure where the actions are specified) :

 

code.gif

Posted

Since i'm not related with those languge i google a bit and here is what i found.

 

Events are responses to actions performed on controls. For example, in the "Hello world" program sample on this page, when you click on the command button on our form the event that is triggered is the output of the message "Hello world" to the screen. Code must be written to create an event. You can do this in Visual Basic's code window. Yours will look similar to this ( except of course, the body of the sub-procedure where the actions are specified) :

 

code.gif

 

okay, thanks.. appreciated :/

It's not relative to what I asked but oh well..

BUMP

 

Posted

okay, thanks.. appreciated :/

It's not relative to what I asked but oh well..

BUMP

 

I always give my best to do w/e ...

But truth is that i don't know this languge :)

Posted

If someone could post what I said above but in java/php language..  it might be useful, ty.

 

Well actualy after page load php can't do almost do anything (but invisible actions)... so its javascipt...

Posted

Well actualy after page load php can't do almost do anything (but invisible actions)... so its javascipt...

 

okay, JS then. No problem

Posted

okay, JS then. No problem

	    <script type="text/javascript">
    // <![CDATA[
    function testing(val,x){
      maxlen = x;
      if(val.length > maxlen) {
        alert('Limit of characters is '  maxlen);
        document.chars.tests.value = val.substring(0,maxlen);
      }
    }
    
    function Minimum(obj,min){
     if (obj.value.length<min) alert('The code must be 16 letters!');
    }
    // ]]>
    </script>

 

If the input letters are lower then 16: error box appears with text alert.

  • 3 weeks later...
Posted

The first one:

 

   If CheckBox1.Checked = False Then
            MessageBox.Show("You have to check the box before pressing generate!")
        End If

 

And the second one:

 

If TextBox1.Text.Length < 1 Then
           MessageBox.Show("You have to fill the required info in the boxes before pressing generate!")
        End If

Posted

The first one:

 

   If CheckBox1.Checked = False Then
            MessageBox.Show("You have to check the box before pressing generate!")
        End If

 

And the second one:

 

If TextBox1.Text.Length < 1 Then
           MessageBox.Show("You have to fill the required info in the boxes before pressing generate!")
        End If

 

Hey,

Thanks for the help but it was already solved by me :P

Kept trying for 1 hour till i found them xD

 

A moderator can lock it :)

Posted

Hey,

Thanks for the help but it was already solved by me :P

Kept trying for 1 hour till i found them xD

 

A moderator can lock it :)

 

ok

Guest
This topic is now closed to further replies.


  • Posts

    • WTB GRACIA FINAL INTERFACE
    • Dear partners! At the moment we are in great need of the following positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password) — Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts — Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com) — Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA. — WhatsApp OLD Accounts — Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options. Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Dear partners! At the moment we are in great need of the following positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password) — Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts — Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com) — Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA. — WhatsApp OLD Accounts — Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options. Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • 冬天是享受优惠、省钱的好时机。 首次下单时使用促销码 SOCNET 即可获得 15% 折扣 ,适用于全场商品! 前往商店(网站) 前往商店(Telegram 机器人)
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock