|
-
Apr 19th, 2005, 08:22 PM
#1
Thread Starter
Frenzied Member
[Highlight=VB] tags
Can't the header of the [Highlight=VB] tag be changed to [CODE].
This forum have grown far beyond VB only, and it look kinda silly if one put some C# code, for example, in a block that are Marked "VB Code"
-
Apr 19th, 2005, 08:52 PM
#2
Re: [Highlight=VB] tags
Are you using IE or Firefox? There is a tool for each that lets you right click on text and format it in many different ways. I'm sure somebody else wil will give you a link, but I think MartinLiss has one in his sig for IE.
That's how we do THIS!!!!!!!!!!!!!!!!!!
-
Apr 19th, 2005, 08:53 PM
#3
Re: [Highlight=VB] tags
The vbcode tags are a special hack added in by some of the developers at JupitorMedia.
Since they had such a hard time with the upgrade and the vbcode tags I doubt it that they will risk making any
more modifications to it , but it doesnt hurt to ask.
Code:
-----------------------------------------
Private Sub Form_Load()
'Blah, blah, blah...
End Sub
-----------------------------------------
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 
-
Apr 19th, 2005, 08:55 PM
#4
Thread Starter
Frenzied Member
Re: [Highlight=VB] tags
hmmm....I think I did not make myself clear enough
I mean this look a bit funny
[
VB Code:
/* in here I got c# code... * not vb code as the tag suggest */
-
Apr 19th, 2005, 08:57 PM
#5
Thread Starter
Frenzied Member
Re: [Highlight=VB] tags
Oh, thanx Rob, you answered while I was replying myself
Nevermind...of course this is not a problem...just thought about it
-
Apr 19th, 2005, 08:57 PM
#6
Re: [Highlight=VB] tags
 Originally Posted by dglienna
Are you using IE or Firefox? There is a tool for each that lets you right click on text and format it in many different ways. I'm sure somebody else wil will give you a link, but I think MartinLiss has one in his sig for IE.
That's how we do THIS!!!!!!!!!!!!!!!!!!
dglienna, did you read the post completely? Hes not asking how to color the code but rather the "Visual Basic Code:" description before the actual code.
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 
-
Apr 19th, 2005, 08:59 PM
#7
Re: [Highlight=VB] tags
 Originally Posted by StrangerInBeijing
Oh, thanx Rob, you answered while I was replying myself
Nevermind...of course this is not a problem...just thought about it

We shall see what Martin thinks about it since it is a valid point. He usually is quite good at replying to
posts in the Feedbak Forum in a timely mannor.
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 
-
Apr 19th, 2005, 09:03 PM
#8
Thread Starter
Frenzied Member
Re: [Highlight=VB] tags
Hey Rob,
Just thought I would ask while we are here, as I always wondered...
PPL like you, Martin, Rob, NoteMe, Mendhak (cute couple the latter), etc, etc seems to be on this forums 24/7. You guys do this for a living? Got other work, but time for this? Lots of Money, and no Life? (no offence hey)..... Just curious...You seems to be everywhere, all the time...are you even one person??
Cheers
-
Apr 19th, 2005, 09:11 PM
#9
Re: [Highlight=VB] tags
 Originally Posted by StrangerInBeijing
Hey Rob,
Just thought I would ask while we are here, as I always wondered...
PPL like you, Martin, Rob, NoteMe, Mendhak (cute couple the latter), etc, etc seems to be on this forums 24/7. You guys do this for a living? Got other work, but time for this? Lots of Money, and no Life? (no offence hey)..... Just curious...You seems to be everywhere, all the time...are you even one person??
Cheers
No we are all separate people.
Most of us have a job or go to school but I leave the site up all day so when I need to search or post a thread I dont have to wait.
I believe Martin may be retired. I am back on the site at home off and on as I have allot of work to do remodeling my house.
So I guess not too much of a life, but I did get out last Sunday to go to a Ford Mustang car show (got sun taned while walking around). 
Hopefully it wont take too much of a change to make it Code: and not VB Code:.
But then the issue of the actual code tag text. [Code][/Code] would conflict with the current code tag so
it may have to remain the same [VBCode][/VBCode] tags just with a different header.
Last edited by RobDog888; Apr 19th, 2005 at 09:16 PM.
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 
-
Apr 19th, 2005, 09:15 PM
#10
Thread Starter
Frenzied Member
Re: [Highlight=VB] tags
lol..thanx 4 sharing
hope to know enough by winter to live off the site as well. No way i'm going anywhere during the winter here...they got this....what's it called again.....snow??? Huh uh.....I'm from Africa, and aint putting a foot in that stuff.
anycase, i will shurrup now...see what Granpa Martin (Kidding pop) got to say.
Cheers
-
Apr 19th, 2005, 10:19 PM
#11
Re: [Highlight=VB] tags
I was referring to the options in the add-on's
Here is the one for C++ code. There is also PHP and VB
It adds the color codes automatically
Code:
/* in here I got c# code... * not vb code as the tag suggest */
-
Apr 19th, 2005, 10:31 PM
#12
Addicted Member
Re: [Highlight=VB] tags
What about the CODE tags?
Code:
/* in here I got c# code... * not vb code as the tag suggest */
Coloring the Language Syntax is not that important
-
Apr 19th, 2005, 10:55 PM
#13
Re: [Highlight=VB] tags
 Originally Posted by StrangerInBeijing
Hey Rob,
Just thought I would ask while we are here, as I always wondered...
PPL like you, Martin, Rob, NoteMe, Mendhak (cute couple the latter), etc, etc seems to be on this forums 24/7. You guys do this for a living? Got other work, but time for this? Lots of Money, and no Life? (no offence hey)..... Just curious...You seems to be everywhere, all the time...are you even one person??
Cheers
I'm retired
-
Apr 19th, 2005, 11:07 PM
#14
Re: [Highlight=VB] tags
 Originally Posted by dglienna
I was referring to the options in the add-on's
Here is the one for C++ code. There is also PHP and VB
It adds the color codes automatically
Code:
/* in here I got c# code... * not vb code as the tag suggest */
Well then why didnt you show an example of that instead of rainbow coloring?
I dont see any syntax coloring for your C# example code you posted? Only grey comments.
How about a decent example?
Martin, how about changing the vb code tag header description?
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 
-
Apr 19th, 2005, 11:50 PM
#15
Thread Starter
Frenzied Member
Re: [Highlight=VB] tags
Cool....that's what I wanna do when I retire....write code somewhere on a game farm back home!
Don't know exaclty what you guys meant witht that tags, but will see as soon I can stop this c# running out my ears (been throug 8 chapters in 24 hours!!!!)
-
Apr 20th, 2005, 12:09 AM
#16
Re: [Highlight=VB] tags
Found some C++ code. Let's see if it works, even...
Code:
type va_arg(
va_list arg_ptr,
type
);
void va_end(
va_list arg_ptr
);
void va_start(
va_list arg_ptr
); (UNIX version
)
void va_start(
va_list arg_ptr,
prev_param
); (ANSI version
)
I found the link that I was looking for:
Here is the code formatting tool that some of us have:
http://www.vbforums.com/showthread.php?t=225306
-
Apr 20th, 2005, 12:17 AM
#17
Thread Starter
Frenzied Member
Re: [Highlight=VB] tags
uuuuh...seems mine does not preserve the indenting??
Code:
staticvoid Main(string[] args)
{
try
{
Entrance();
}
catch (Exception caught)
{
Console.WriteLine(caught.Message);
}
}
Last edited by StrangerInBeijing; Apr 20th, 2005 at 12:20 AM.
-
Apr 20th, 2005, 11:14 PM
#18
Re: [Highlight=VB] tags
I'm not totally sure I follow what is being asked.....
There are currently three different coding tags on this site. VBCode colors for VB syntax. PHP colors for PHP code, and Code is a generic tag for everything else.
If you are doing C++, C# or some other language, then the best solution is to use a third party coloring tool that marks your code with the vBulletin color tags. You then post this into the Code tag. References have been made in this thread to some tools. There are also several very good ones on CodeGuru that let you simply copy something to and from the clipboard and the color tags are added. We'll see if we can find links to some of these to post here.
Brad!
-
Apr 20th, 2005, 11:17 PM
#19
Re: [Highlight=VB] tags
Yves, one of the moderators, posted his code for coloring code. He even wrote an article about it. You can find it here:
Coloring Your Code in vBulletin Posts
As mentioned, this is just one of many tools available.
Brad!
-
Apr 21st, 2005, 02:14 AM
#20
Re: [Highlight=VB] tags
 Originally Posted by StrangerInBeijing
uuuuh...seems mine does not preserve the indenting??
Code:
staticvoid Main(string[] args)
{
try
{
Entrance();
}
catch (Exception caught)
{
Console.WriteLine(caught.Message);
}
}
I posted a link in #17
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
|