VBcodes box! (Copying the codes in VBcodes box is annoying!)
Hiiiiiiiiiiiiiiiiiiiiiiiii!
I know a really annoying thing, when i look around in forum and i see peaples that have post codes in VBcode box! (dunno how to do it)
Then when i check the code and gonna try the code on my application, then when i copy the code from VBcode box, and paste it to VB, then it wents to only 1 long line!
A friend of me said that he tried put in the text in VBcode box and put it to Microsoft Word and then copy the text in Microsoft Word and paste it to VB!
BUT I DID IT LIKe HE SAID! But when i do it, then i get the numbers, like
1. Dim blabla as double = text1.text
2. blabla = msgbox "blablablablabla",vbiconCricitcal, "BLABLABLAAAA"
yah, something like that and so on! then i need to delete the 1. and all the space! and sometimes the codes wents crazy, so its not so easy to delete that!
So what i need to do is to write the codes i see in VBforums on my own finger way, or i need to copy every line!
(takes time if i take codes from codebank)
So that i wonder if i can get this easlier!? if someone have/can make a program so it will take faster and easier!
Or if just VBforums can fix this!
Re: VBcodes box! (Copying the codes in VBcodes box is annoying!)
There are some solutions (including programs) in this thread.
Hopefully it will be corrected at some point.
1 Attachment(s)
Re: VBcodes box! (Copying the codes in VBcodes box is annoying!)
Here is the most simplest way to do it...
Open the word file and simply paste the code which you copied from vbforums and then click the button "Convert". You will have your code ;)
please open the file in read only mode with macros enabled.
Suggestions welcome
PS: TESTED WITH VBCODE AND VB.NET CODE
Re: VBcodes box! (Copying the codes in VBcodes box is annoying!)
As pointed here the simplest way is to quote post and then simply copy code you need. ;)
Re: VBcodes box! (Copying the codes in VBcodes box is annoying!)
Quote:
Originally Posted by RhinoBull
As pointed
here the simplest way is to
quote post and then simply copy code you need. ;)
And don't forget to cancel the "quote" once you are done copying it. Don't submit it. :)
Re: VBcodes box! (Copying the codes in VBcodes box is annoying!)
This has some advantages and disadvantages. It prevents those with an IQ of 5 from just copy and pasting solutions but it is a pain in the neck when you need to copy a couple of lines.
Anyhow - I just don't use it so I don't subject others to the annoyance. ;)
Re: VBcodes box! (Copying the codes in VBcodes box is annoying!)
Quote:
Originally Posted by RhinoBull
As pointed
here the simplest way is to
quote post and then simply copy code you need. ;)
Quote:
And don't forget to cancel the "quote" once you are done copying it. Don't submit it.
For this you need to login.... and I feel the above is a more lenghty process...
In case one wants to pick up a code without login in, then one can opt to use the word document that I posted...
Re: VBcodes box! (Copying the codes in VBcodes box is annoying!)
Personally I use ordinary [CODE] tags - if you want to highlight some keywords or say comments you can just select text and set color you wish.
It works for me.