Quick Search for:  in language:    
ZER0,GUI,Lets,edit,look,much,more,with,script
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 3,011,557. lines
 Jobs: 115. postings

 How to support the site

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for Visual Basic.
Files Comperator (the right way)
By Jarry Claessen on 6/30


Simple UDP example
By Mick Walton on 6/30


CAPS Trigger
By Trevor Burley on 6/30


Auto clip picture
By Kenneth. Jakobsen on 6/30


Click here to see a screenshot of this code!Game of life clone (cool math)
By Johannes B on 6/30

(Screen Shot)

String to CHR()
By Nikhil Raj on 6/30


Encryption Decryption Demo
By Nikhil Raj on 6/30


Click here to see a screenshot of this code!Serial Registration
By Christian (eXonite Team) on 6/30

(Screen Shot)

AniViewer
By Jerrame Hertz on 6/30


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

CgEye (Make CGI Scripts Easier THAN EVER!!!!!)

Print
Email
 
winzip icon
Submitted on: 9/11/2000 10:07:48 PM
By: Eric Malamisura  
Level: Advanced
User Rating: By 21 Users
Compatibility:VB 5.0, VB 6.0

Users have accessed this code 9485 times.
 

(About the author)
 
     Lets you edit, look at, and much more with cgi scripts. Numbers the lines on the right, highlights the code and even as you type, uses ZER0 OCX's and much much more. Also shows you how to do a lot of stuff involving a text editor or script editor. Saves all your settings and uses intuitive non-ocx interfaces throughout. As well as using common dialog's with api, unlimited undo , complex string manipulation, and much more. (Updated October 16: Fixed a GUI bug and redid the color module yet again...Still some bugs in it that are really annoying..Also fixed a bug with the undo/redo staying enabled when you closed a mdiform..Thanks to drevil for pointing that out to me.)

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3)Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 6 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
9/11/2000 11:41:15 PM:[]D[][]V[][]D
Hey man, I am gunna learn cgi/perl 
someday soon and this will probably 
help. But since I dont use it now, I 
have just tested the proggy the best I 
can and I think you deserve an 
excellent so......... I am giving you 
one. Hope you win. Need more people to 
submit more useful tools such as this. 
KEEP UP THE GREAT CODING 
MAN........
----------
[]D[][]V[][]D
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/11/2000 11:47:01 PM:Eric Malamisura
Thanks..I do realize the color code 
module is very poorly implemented but I 
hacked it a bit to much and now it 
messes up a bit because I gave up on 
getting it to work right cause it was 
pointless cause I found out it would 
take nearly 1 minute to color a cgi 
script on open thats 300 kb..Sorta sad 
vb is that slow...But anyways if you 
want the color stuf gone just do a find 
text and take out the two lines that 
look like this:     Colorize 
ActiveForm.txtMain, &H8000&, &H800000, 
&H80&, True
the true might be 
false..These lines should only be in 
mdiMain =] and frmMain
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/12/2000 12:47:41 AM:Drakken
 You know i havent really seen anything 
like this before, and this is great. i 
give ya a 5. and i was wondering if 
maybe i could use this in my prog. wwll 
thanx
Drakken
(Drakken@zipmail.com)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/12/2000 4:24:57 AM:$mTp
Very usefull code, you deserve an 
excellent rating! It's cool to know 
that there a still a few innovative 
people around. Keep up the great coding!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/12/2000 8:34:38 AM:Chris Ruesink
Yea this is a great program, let me 
know if you make a ver 2.00 ok thanks 
alot!  
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/12/2000 10:01:19 AM:Fredrik Qvarfort
"Sorta sad vb is that slow."
Are you 
sure this is _only_ because VB is slow? 
How about putting some of the blame on 
the programmer? The sad thing with VB 
is that it's so easy to make slow code. 
But it's also possible to do good 
(fast) code! I looked over your 
colourize-code and I see that you can 
do *a lot* of optimizations. So do not 
blame VB just because your code is slow.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/12/2000 11:42:54 AM:Vasilis Sagonas
go! go! go!
excellent from me :->
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/12/2000 11:59:02 AM:Eric Malamisura
Ummm I did put blame on me on the 
colourizing code.  I sad "I do realize 
the color code module is very poorly 
implemented".
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/12/2000 5:59:45 PM:Mr Tofu
nice code, and maybe I'm picky, but... 
there's no such thing as an unlimited 
undo. It does end EVENTUALLY, either 
you reach the limit for the type, or 
your cpu runs out of memory (most 
likely the latter). Still, very nice 
code. got an excellent. the color 
module is a but buggy, but I think we 
all know that. ;)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/12/2000 7:43:30 PM:Fredrik Qvarfort
"or your cpu runs out of memory"
But 
we usually use RAM too besides the CPU 
cache. Sorry I just had to comment. 
;)
If you really think the RAM is a 
limiting factor you can save older 
undos on disk and just store the latest 
100 undos or so in memory. This is 
fairly easy and you can work until the 
undos reach 2Gb.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/21/2000 7:04:55 PM:KillerSpaz
I think it is interesting that you did 
this, but do you realize that there are 
already mass-used programs that do this 
already? UltraEdit 32, and i heard 
CoolEdit does the same thing.. From the 
SS it seems like a utilization of your 
resources (and maybe too much in some 
cases, according to the other 
repsonses)!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/22/2000 10:19:45 AM:Digital Vampire
i gave this a 4 out of 5 rating simply 
because it's great to see actual 
usefull stuff being submitted as 
opposed to useless waiste of space 
graphical things that serve no point :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/25/2000 1:30:31 AM:PaC
not to bust anybody's 
bubble.
http://www.solutionsoft.com/p
erl.htm
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/27/2000 8:52:01 PM:Eric Malamisura
PaC there is a great advantage over my 
client even though I have been to busy 
lately to even touch programming at 
all.  ALL of my programs are free AND 
open source.  Two HUGE advantages over 
any other program with same 
functionality.  If you dont recall Open 
Source is letting linux catch up with 
big bad microsoft's poorly coded os.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/2/2000 11:51:07 PM:PaC
Oh Eric I wasn't trying to shoot you 
down man. I think you did a wonderful 
job. It was more ment to Dakken's 
comment. Plus I thought maybe someone 
would like to check it out. They did a 
nice job on the Perl Builder 
IMO.
anyways keep up the good work
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/4/2000 9:11:35 PM:Eric Malamisura
I wasnt trying to take defense PaC I 
was just trying to say free software 
usually has an advantage.  They did an 
excellent job with there Perl Builder 
way beyond the depths I was going to go 
with mine.  Now it seems I dont have 
much time on my hands with college and 
work and all so I don believe I can 
further any of my programs at all.  
Maybe a update or two here and there..I 
will upload the newer version of this 
program that I made that uses a byte 
array for the color coding that Fredrik 
gave to me...It speeds it up about 60% 
faster...
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/5/2000 10:48:54 AM:Tristan
been waiting for something like this 
for ages! i can't believe it was 
finally made and released on an open 
source page for free
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/5/2000 5:33:08 PM:strommy
sorry, complete novice trying to get 
into VB. When running this script, I 
get Class RichTextLib.RichTextBox of 
txtmain not loaded. why?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/8/2000 11:47:46 AM:Parag Mehta
Great! I was looking for similar kind 
of kind. Now I can develop JAVA Editor 
for WIN32 using JDK1.2 Reflection . I 
will publish source as soon as I 
finish. Thanks again!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/10/2000 1:22:36 AM:iBme
good job man, good luck in college by 
the way
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/10/2000 9:19:24 PM:Eric Malamisura
Thanks all for the comments..Thanks iBme
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/16/2000 7:47:25 PM:icanfindanybug!!!
i love it!  but...
if you close all 
the MDI windows and click a toolbar 
button (such as undo) you get an 
error... you should disable the toolbar 
buttons (except for new/open) when 
there are no open document.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
12/5/2000 6:11:14 AM:dsf
d
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/22/2001 10:21:28 AM:Jean-Philippe Leconte
Your program is great, but I must agree 
with Qvarfort... A lot of thing could 
be optimized.  
never put a function 
in a loop
i.e.
for i = 0 to 
len(string) is way slower than
temp = 
len(string)
for i = 0 to temp
use 
API when you can, they are fast 
:)
always use long instead of 
integers  because windows in 32bit, it 
works faster with longs (32 bits) but I 
guess you knew that
do not use 
variants when you can use strings (I've 
seen this in your code)
instead of 
using lcase 6 times in a row on the 
same string, make a temp 
string...
and finally... VB file 
functions are faster than APIs... I 
guess it's because of string 
conversions before calling apis... 
or you could use a c++ DLL... but 
that would not prove that VB can be 
fast... so... :)
last reason for 
being told vb is slow, programmer that 
use VB are usually young and have 
learned less "maths and logic" than 
older programmers, thus, making their 
code slow.
Have fun... I hope I 
helped
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/22/2001 7:06:07 PM:The VeNd
I think the code rocks! 
You Da' Man!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.