-
Jan 15th, 2003, 01:34 PM
#1
-
Jan 15th, 2003, 02:06 PM
#2
Wow..marty.. Didnt know that app was still around! cool.
I actually still have my VBforums browser (if you remember it from a ways back) .. Im up to v3.2 ..it has:
-dropdown Code window with color preview (shows code like VB does)
-ability to save/load code snippets
-with the click of a button..it sends the code to the post window
-a List of whos on the forums
-a PM tool to send anyone in that list a pm
-Locate tool to find out where that person is..
-auto updated List of forums (in a dropdown button..so you can quickly jump from here to there)
more ive been working on...
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jan 15th, 2003, 03:48 PM
#3
I didn't close this thread because I wanted to allow people to comment on the tool (and thank me if they wanted to ), so let's try to keep it to that and not clutter it up with Chit Chat. Thanks.
-
Jan 15th, 2003, 03:59 PM
#4
Let me guess, it proly only works in IE.... am I right?
Also, will this work in other forums, or only in VBF?
-
Jan 15th, 2003, 04:06 PM
#5
Originally posted by techgnome
Let me guess, it proly only works in IE.... am I right?
Also, will this work in other forums, or only in VBF?
I tested it over at VisualBasicForum.com and it worked over there too...but they don't have all the same code tags, so you have to be aware of it...
PS:Kleinma, I have read thru all my first Chit Chat forum post and I think I found the one that made you think of me as "iffy"..
http://vbforums.com/showthread.php?s...ghlight=noteme
-
Jan 15th, 2003, 04:07 PM
#6
Originally posted by MartinLiss
I'm sorry but I don't know the answer to either one of those questions. Why don't you let us know.
Since it worked over at visualbasicforum.com it probably works on a lot of forums, and if we had the source code we could probably fix the code tags...but if this was specialy made for this forum...I can see if you want let that happend...
-
Jan 15th, 2003, 04:08 PM
#7
IE only, and yes it will work on any other vbulletin forum. In fact it works for any html text area
Last edited by Cander; Jan 15th, 2003 at 04:21 PM.
-
Jan 15th, 2003, 04:18 PM
#8
Originally posted by NoteMe
Since it worked over at visualbasicforum.com it probably works on a lot of forums, and if we had the source code we could probably fix the code tags...but if this was specialy made for this forum...I can see if you want let that happend...
You do have the source code. It is only vbscript in some html files. Look in your c:\winnt\vb-world directory
and to see how they were added to the right click menu..look at the registry
Hkey_users\Software\Microsoft\Internet Explorer\MenuExt
[Edited by MartinLiss]Note: If you use the new installation exe posted on 5/9/2006, the c:\winnt\vb-world directory path may have changed.
Last edited by MartinLiss; May 9th, 2006 at 03:07 PM.
-
Jan 15th, 2003, 04:27 PM
#9
Not me...this is the code for bold...
Code:
<!--
+---------------------------------------------------------------------------+
VB-WORLD Forums - Tagging Scripts 1.0
Programmed By G.Kumaraguru {Active}
gurukumara@yahoo.com
+---------------------------------------------------------------------------+
-->
<SCRIPT LANGUAGE = "VBScript">
Dim oWindow,oDocument,oSelect,oSelectRange
Set oWindow = window.external.menuArguments
Set oSource = oWindow.event.srcElement
Set oDocument = oWindow.document
Set oSelect = oDocument.selection
Set oSelectRange = oSelect.createRange()
If oSource.tagName = "TEXTAREA" Then
oSelectRange.text = "" & oSelectRange.text & ""
End If
</SCRIPT>
-
Jan 15th, 2003, 04:36 PM
#10
I just changed the code.htm file to produce vbcode tags! That was the tool's one failing as far as I was concerned.
-
Jan 15th, 2003, 04:39 PM
#11
Originally posted by MartinLiss
I just changed the code.htm file to produce vbcode tags! That was the tool's one failing as far as I was concerned.
I can't get the strip tags to work...(I don't know what it is acctually)...
-
Jan 15th, 2003, 04:42 PM
#12
Originally posted by Cander
You do have the source code. It is only vbscript in some html files. Look in your c:\winnt\vb-world directory
and to see how they were added to the right click menu..look at the registry
Hkey_users\Software\Microsoft\Internet Explorer\MenuExt
In my previous post I said I had modified the code.htm file to produce vbcode tags. How would I go about changing the menu to reflect that? BTW I looked in the registry and my path to the info for the app is
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt
-
Jan 15th, 2003, 04:47 PM
#13
Originally posted by MartinLiss
In my previous post I said I had modified the code.htm file to produce vbcode tags. How would I go about changing the menu to reflect that?
Same way as fixing any MS error -- stop the app, & restart it...
-
Jan 15th, 2003, 04:50 PM
#14
ok..Add a new key called vbcode under MenuExt
set the Default value to the location of your vbcode.htm file
add a binary key called contexts and make it 04
voila.
-
Jan 15th, 2003, 04:51 PM
#15
Originally posted by techgnome
Same way as fixing any MS error -- stop the app, & restart it...
Just to make sure we are both talking about the same thing, when I use the tool and select the Code menu item it produces vbcode tags. What I'm asking is how I change the text of the menu iten to say VBCode?
-
Jan 15th, 2003, 04:54 PM
#16
Change the key name under MenuExt from Code to VBcode
-
Jan 16th, 2003, 09:44 PM
#17
Frenzied Member
VB Code:
If you want vbcode at the top of the right-click menu Then
rename the code registry key to ' vbcode'
End If
-
Jan 18th, 2003, 05:17 PM
#18
Fanatic Member
What a neat tool! And not to mention I learned something new about creating menus for IE. I've got a couple questions if anyone knows the answers.
1. I'm assuming Context in the registry key is referring to where that menu item should appear? If so, does anybody else know what contexts can be used to create new menus?
2. Earlier there was mention of VBForum Browser... Does anybody know where I can get that? I'd like to see it.
Again,thisisagreattool.Thankstoyouforpostingit!
www.RealisticGraphics.net
Running VS.Net Enterprise & VB 6
Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML
MSN Messenger: kmsheff
-
Jan 20th, 2003, 05:49 PM
#19
Frenzied Member
how did you do this? I asked earlier but i didnt get a answer. Can we see some source please how do you get it to load the bold.htm to the box? i know its vb script but how ?
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Jan 20th, 2003, 05:55 PM
#20
The bold.htm contents is shown below If you have installed the program you should find the same file in the installation folder of your system drive.
<!--
+---------------------------------------------------------------------------+
VB-WORLD Forums - Tagging Scripts 1.0
Programmed By G.Kumaraguru {Active}
gurukumara@yahoo.com
+---------------------------------------------------------------------------+
-->
<SCRIPT LANGUAGE = "VBScript">
Dim oWindow,oDocument,oSelect,oSelectRange
Set oWindow = window.external.menuArguments
Set oSource = oWindow.event.srcElement
Set oDocument = oWindow.document
Set oSelect = oDocument.selection
Set oSelectRange = oSelect.createRange()
If oSource.tagName = "TEXTAREA" Then
oSelectRange.text = "" & oSelectRange.text & ""
End If
</SCRIPT>
The oSelectRange.text line actually looks like this in the file
oSelectRange.text = "[b]" & oSelectRange.text & "[/b]"
Last edited by MartinLiss; May 9th, 2006 at 03:10 PM.
-
Jan 20th, 2003, 06:23 PM
#21
Frenzied Member
yes i know . but how did you get it to load into the IE? and how did yuo make that menu ? i was able to easily change the CODE to VBCODE
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Jan 20th, 2003, 06:47 PM
#22
Fanatic Member
Take a look at the following Registry key and it should answer most of your questions:
HKEY_CURRENT_USER\Software\Microsoft\InternetExplorer\MenuExt
PS-ISOVERYMUCHLOVETHISTOOL!!!
www.RealisticGraphics.net
Running VS.Net Enterprise & VB 6
Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML
MSN Messenger: kmsheff
-
Jan 20th, 2003, 06:50 PM
#23
OK, first I didn't make the program(s) or the menu. I only know that if you look in the registry in
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt
you will find references to all the items in the menu (plus others). If you look at the one for italic for example you will see that it has a key that contains the path and a key for contexts with a value of 04. You can add your VBCode htm to the menu by creating a new pair of keys that reference your code. It will show up after you restart IE if the context value is 04.
-
Jan 21st, 2003, 12:57 PM
#24
For those interested, here is a listing of the other possible binary value's for contexts to determine when the right click menu appears
Default 0x1 <-In all right click menu's in IE.
Images 0x2 <- When right clicking on images only
Controls 0x4 <- On html controls only.
Tables 0x8 <- On tables only
Text selection 0x10 <- Right clicking highlighted text
Anchor 0x20 <- On anchor tags
and yes you can add multiple binary values together to get the menu to show up in mutiple places...So to show the menu on html controls and imaghes, the binary value you would 0x6 or 06
Last edited by Cander; Jan 21st, 2003 at 01:02 PM.
-
Jan 22nd, 2003, 05:42 AM
#25
Addicted Member
could someone make an install file for the one with the vbcode tag inside it because i have no idea what to do with those files in the post above my last one
The internet is a great tool. Many people like me suffer in the real world when there are so many people with the "O he is so good looking he has no troubles, why help him out with anything" attitude.
-
Jan 22nd, 2003, 10:51 AM
#26
Originally posted by stewie
could someone make an install file for the one with the vbcode tag inside it because i have no idea what to do with those files in the post above my last one
- Copy the files in the post to C:\Windows\vb-world
- Go to your Start menu, enter regedit, and click OK
- Find HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt
- Optionally click on the Quote entry and you will see what the entry for VBCode should look like
- Create an entry for VBCode by right-clicking on MenuExt and then selecting New|Key
- Name that entry VBCode
- Right-click on the (Default) value, select Modify and and type in C:\Windows\vb-world\VBCode.htm
- Right-click on the new VBCode entry and select New|Binary Value
- Name that entry contexts
- Right-click on the contexts entry, select Modify and type in 04
- Exit the Registry editor
- Close and restart VBF
you will find references to all the items in the menu (plus others). If you look at the one for italic for example you will see that it has a key that contains the path and a key for contexts with a value of 04. You can add your VBCode htm to the menu by creating a new pair of keys that reference your code. It will show up after you restart IE if the context value is 04.
Note: As of 05/09/2006 these instructions are no longer necessary.
Last edited by MartinLiss; May 9th, 2006 at 03:15 PM.
-
Jan 22nd, 2003, 02:40 PM
#27
Need-a-life Member
-
Jan 28th, 2003, 08:35 PM
#28
For those of you who care about spelling, I've cobbled together the attached client-side spell checker which can be added to the utility. It assumes that you have Word on your PC. It has code in it that should handle all versions of Word, but I've only tested it with Word 97. If you need to modify it for other Word versions please let me know what changes you made. There is also a small, optional, piece of the code that may only work on IE, but it can be easily removed.
Note: Zip file removed since as of 05/09/2006 it is no longer needed.
Last edited by MartinLiss; May 9th, 2006 at 03:18 PM.
-
Jan 28th, 2003, 09:14 PM
#29
Fanatic Member
This seems to work really well Marty. Congrats!One thing I don't like though is that it doesn't set focus back to the browser, I'm trying to think of a way to do that. BTW - I don't know about XP but in Office 2000 you don't need to set the application to be visible. I changed it in mine and it runs a little faster since it doesn't have to draw the window.
www.RealisticGraphics.net
Running VS.Net Enterprise & VB 6
Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML
MSN Messenger: kmsheff
-
Jan 28th, 2003, 09:22 PM
#30
You're right. It doesn't need this part at all
VB Code:
with objWord
.WindowState = 2
.Visible = True
end with
-
Jan 28th, 2003, 09:33 PM
#31
Fanatic Member
Yeah, but I still can't figure out how to have IE gain focus again...
www.RealisticGraphics.net
Running VS.Net Enterprise & VB 6
Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML
MSN Messenger: kmsheff
-
Jan 28th, 2003, 10:28 PM
#32
I updated SpellCheck.zip above to correct a small problem which occurred if all the text in the post was not selected for spell checking.
BTW, it now seems to return focus to the forum!?
-
Jan 28th, 2003, 10:28 PM
#33
Fanatic Member
Using objWindow.focus will cause the calling window to flash like it is receiving focus but it won't actually switch to the window. Anybody got any insight into this issue?
www.RealisticGraphics.net
Running VS.Net Enterprise & VB 6
Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML
MSN Messenger: kmsheff
-
Jan 28th, 2003, 10:31 PM
#34
Fanatic Member
Not for me it doesn't. Are you running IE 5.5?
www.RealisticGraphics.net
Running VS.Net Enterprise & VB 6
Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML
MSN Messenger: kmsheff
-
Jan 28th, 2003, 11:03 PM
#35
Originally posted by RealisticGraphics
Not for me it doesn't. Are you running IE 5.5?
Yes
-
Feb 13th, 2003, 06:24 PM
#36
Here is another little htm file you can add. The tool set already has a (bulleted) list option and this file give you the ability to add a numbered list.
Note: Zip file removed since as of 05/09/2006 it is no longer needed.
Last edited by MartinLiss; May 9th, 2006 at 03:19 PM.
-
Feb 13th, 2003, 06:48 PM
#37
Fanatic Member
NiceMarty!
Just to let everyone know... Do not mistype the name of the contexts value. It will crash your windows session if you try to open IE (at least it will on Win98). I forgot the s and it was down hill from there!
www.RealisticGraphics.net
Running VS.Net Enterprise & VB 6
Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML
MSN Messenger: kmsheff
-
Feb 13th, 2003, 07:00 PM
#38
Thanks.
Cander (or anyone), the option list is now pretty long and I'm wondering if it is possible to set up the registry so that it has some structure? In other words something like
VB Code:
Italic
Line
List
---- Bullets
---- Numbers
Quote
Rainbow
rather than
VB Code:
Italic
Line
List Bullets
List Numbers
Quote
Rainbow
-
Feb 18th, 2003, 11:35 AM
#39
Has anyone been able to use this tool with Opera?
-
Mar 3rd, 2003, 10:20 AM
#40
Here is a little "Tab" function you can use when manually typing in code. What it does is to insert 4 spaces every time it is invoked. I know it's not a true Tab and it requires two clicks of the mouse rather than one keystroke, and yes you still need to use vbcode or code tags, but it's better than nothing.
Note: Zip file removed since as of 05/09/2006 it is no longer needed.
Last edited by MartinLiss; May 9th, 2006 at 03:20 PM.
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
|