|
-
Sep 30th, 2008, 03:29 PM
#1
VB Code line numbers
Not sure if anyone else aksed, but what's with the line numbers in VB Code: tags?
It makes copy/pasting code to VB hard, as you have to delete evry other line with the number. Is this done deliberatelly?
Or is it maybe browser related? I use FireFox.
-
Sep 30th, 2008, 03:40 PM
#2
Re: VB Code line numbers
Where have you been in the last few months ?
Do a search on this topic in the Forum Feedback, and you will find a few threads about it.
-
Sep 30th, 2008, 10:47 PM
#3
Re: VB Code line numbers
Past few months? Try at least a year lol.
Martin wrote a utility (in utility bank) that will strip out the line numbers. Check it out. Link also in his signature.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Sep 30th, 2008, 11:48 PM
#4
Re: VB Code line numbers
Or just "Quote" the message for replying, and copy the code (without line numbers) from the reply box.
-
Oct 1st, 2008, 02:30 AM
#5
Re: VB Code line numbers
Martins utility is nothing more then your susal copy/paste operation. Cant get much simplier then that.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 1st, 2008, 05:08 AM
#6
Re: VB Code line numbers
 Originally Posted by RobDog888
Martins utility is nothing more then your susal copy/paste operation. Cant get much simplier then that.
You guys could just fix it; that would be the simplest option. 
Actually, don't its quite a good feature really as it discourages people from copying and pasting. I doubt that those too lazy to write their own code will be able to copy with downloading an extra utility. Its far easier to get the code off someone in another forum.
-
Oct 1st, 2008, 08:38 AM
#7
Re: VB Code line numbers
 Originally Posted by RobDog888
Martins utility is nothing more then your susal copy/paste operation. Cant get much simplier then that.
It doesn't work with "highlights" as someone would expect - best way for me is to quote the post first and then do the "copy/paste".
-
Oct 2nd, 2008, 08:54 AM
#8
Re: VB Code line numbers
 Originally Posted by visualAd
You guys could just fix it; that would be the simplest option. 
It is a third party add-in for the forum. Hopefully some day they will fix it and we can just use the corrected version....
Brad!
-
Oct 2nd, 2008, 10:11 AM
#9
Re: VB Code line numbers
Of just use the [code] tags instead as they copy/paste fine but no line numbers or colouring. I use them as its shorter to type the tags and it easier for others to copy/paste from.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 3rd, 2008, 05:04 AM
#10
Re: VB Code line numbers
you can also try this evil way (check my signature)
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Oct 6th, 2008, 09:45 AM
#11
Frenzied Member
Re: VB Code line numbers
Ok, glad it wasn't just me that was having a problem with this too.
I was just copying/pasting into Word myself, but seems silly to do just to copy/paste code.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|