What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Visual Basic help

Visual Basic help
Author: Message:
DJeX
Veteran Member
*****

Avatar


Posts: 1138
Reputation: 11
– / Male / –
Joined: Jul 2003
O.P. Visual Basic help
Say if I have a text box with "C:\test.exe" in the text box. How would I remove just the " " with a click of a button?
[Image: top.gif]
12-10-2004 03:54 AM
Profile PM Web Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
32 / Male / Flag
Joined: Mar 2003
RE: Visual Basic help
code:
Text1.Text = Mid$(Text1.Text, 1, Len(Text1.Text) - 1)
Or:
code:
Text1.Text = Replace$(Text1.Text, """", "")
YouTube closed-captions ripper (also allows you to download videos!)
12-10-2004 05:56 AM
Profile E-Mail PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Visual Basic help
Reply the Equivalent Character code for the Quotation Mark is Chr(34) so you can use the following;
code:
Text1.text = Replace(Text1.Text, Chr(34), vbNullString)
12-10-2004 06:00 AM
Profile E-Mail PM Find Quote Report
DJeX
Veteran Member
*****

Avatar


Posts: 1138
Reputation: 11
– / Male / –
Joined: Jul 2003
O.P. RE: Visual Basic help
Thanks! i'll give it a try
[Image: top.gif]
12-10-2004 10:37 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On