|
-
Oct 13th, 2001, 03:19 AM
#1
Thread Starter
Conquistador
Javascript and Visual Basic Color Coding
Does anyone have any php code to color code vb and javascript?
like this site?
-
Oct 13th, 2001, 11:26 PM
#2
like what #ffffff or the RGB colors?
this site uses teh #ffffff hex code. what else where you looking for?
-
Oct 13th, 2001, 11:29 PM
#3
Thread Starter
Conquistador
No,
like i pass a string to a php function,
say:
ColorCodeVB ("Private Sub Form_Load()
Dim myForm As Integer
End Sub");
and then it will be parsed to show:
VB Code:
Private Sub Form_Load()
Dim myForm As Integer
End Sub
in that coloring?
get my drift?
-
Oct 13th, 2001, 11:31 PM
#4
ohh you want the color for the code when it is printed on the screen.
not positive but I think it is phpcolor():
I was just thinking of this today. I thought I had the code but will have to look for it.
dang now I have to think
-
Oct 14th, 2001, 12:02 AM
#5
it might be
show_source(filename)
-
Oct 14th, 2001, 12:08 AM
#6
or if you want somethign different go here
http://www.zend.com/codex.php?CID=334
-
Oct 14th, 2001, 12:20 AM
#7
Thread Starter
Conquistador
I knew about the highlight_string methog, but that is for PHP code, I am asking if anyone has a script to color code Visual Basic code
-
Oct 14th, 2001, 01:17 AM
#8
one of those scripts in the url I gave you should work. it wouldn't matter what it is. like the [ php ] code here. it works on any scripts because it uses the hightlight_string().
-
Oct 14th, 2001, 01:56 AM
#9
Thread Starter
Conquistador
Do you have any specific code to offer me or not?
-
Oct 14th, 2001, 09:10 AM
#10
well if you would have taken the time to look at the link I gave you it has 4 different programs that do what you want. but I think this one does it better.
http://www.zend.com/codex.php?id=609&single=1
and if you go to the bottom you can click on the link to see a sample. does about 10 different languages
-
Oct 15th, 2001, 01:54 AM
#11
Thread Starter
Conquistador
Far out mate!
I HAVE BEEN TO THAT SITE!
DOES ANYONE HAVE ANY CODE, SPECIFIC TO VISUAL BASIC, THAT WILL DO WHAT I AM ASKING?
THAT LINK DOES NOT HAVE SPECIFIC CODE!!!!
I will delete this thread sooon...
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
|