• 0

[VB6] Inserting text into a TextBox


Question

11 answers to this question

Recommended Posts

  • 0
  TotalKaosTM said:
I think you guys read to fast...

If you haden't noticed, I wrote INSERT TEXT not CHANGE TEXT.

Geesh... you guys never help!

What the heck do you mean insert text not change it? How can you insert and not change? Winston's code is what you want if you want the original text in there too.

  • 0

excuse me?...

well sorry you're too good for us, and i have posted the code that would insert wateva text into a textbox, if you're saying that a texbox itself already contains text and you want to add more text into it, you do the following

textbox.text = textbox.text & " whatever text"

where the whatever text is the new text u wanna add into the textbox, and the textbox.text &, concactenates the pre-existing text in the textbox with the additional new text you would like to INSERT

  • 0
  TotalKaosTM said:
I think you guys read to fast...

If you haden't noticed, I wrote INSERT TEXT not CHANGE TEXT.

Geesh... you guys never help!

Get off your high horse ya ***, if you read the replies correctly, Winston answered your question.

And what do you mean never help??? You've only asked one question here on neowin, a question that could have been answered using Google

  • 0

if you want a button that inserts text to the current cursor position, you do

Private Sub Buttton1_Click
           TextBox.SelText = "Text Here"
End Sub

Seltext is a variable which contains the current selected text or cursor positiion in the text file. You can also change it, as shown.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • It has the same switch to allow whitelisting or not as the regular AdBlock extension.
    • These 20 crypto phishing applications are scamming Play Store users by Hamid Ganji Google Play Store is the main venue for Android users to download applications. While Google has strict rules and policies for verifying apps, some malicious apps somehow slip through anyway. Meanwhile, when it comes to crypto wallet apps, both Google app auditors and Play Store users need to be even more cautious. Cyble Research and Intelligence Labs has identified at least 20 crypto phishing applications on the Google Play Store that impersonate legitimate and popular crypto wallet apps and try to steal users' crypto credentials. By impersonation, these malicious apps trick users into downloading them and then start to capture the user's actual login data. "What makes this campaign particularly dangerous is the use of seemingly legitimate applications, hosted under previously benign or compromised developer accounts, combined with a large-scale phishing infrastructure linked to over 50 domains. This extends the campaign's reach and lowers the likelihood of immediate detection by traditional defenses." Cyble writes. Some of these malicious apps have the same name but come with a different package name. After removing duplicate names, here's the list of 9 newly discovered crypto phishing applications on the Play Store: Pancake Swap Suite Wallet Hyperliquid Raydium BullX Crypto OpenOcean Exchange Meteora Exchange SushiSwap Harvest Finance Blog According to Cyble, these apps prompt users to enter their 12-word mnemonic phrase to access the fake crypto wallet. Also, scammers use accounts that were previously used to distribute legitimate apps to minimize the risk of getting caught by Google. These accounts are more likely to be compromised and then taken over by scammers. If you've downloaded any of these fake crypto wallet apps from the Play Store, make sure to delete them as soon as possible. In 2024, revenue from crypto scams was estimated to be around $9.9 billion. This billion-dollar crypto scam business is expected to grow massively in 2025 thanks to AI.
    • Again...just because Microsoft never managed to be as successful as Google in that business that doesn't mean they are not exactly what Google is. An online advertising company. Edge's built in ad block in case you don't know whitelists their own advertising platform. According to Microsoft... Google ads and tracking bad, Microsoft ads and tracking good:)
  • Recent Achievements

    • Reacting Well
      viraltui earned a badge
      Reacting Well
    • Week One Done
      LunaFerret earned a badge
      Week One Done
    • Week One Done
      Ricky Chan earned a badge
      Week One Done
    • Week One Done
      maimutza earned a badge
      Week One Done
    • Week One Done
      abortretryfail earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      482
    2. 2
      +FloatingFatMan
      264
    3. 3
      snowy owl
      239
    4. 4
      ATLien_0
      228
    5. 5
      Edouard
      179
  • Tell a friend

    Love Neowin? Tell a friend!