Site Wide Message: (current site time 9/5/2010 8:30:15 PM EDT)
  • We want your input! One of our sponsors wants to know your opinion about development related issues. Click here to tell us what you think.
  • Are you an emerging/young developer (aged 18-30)? If so, would you like the chance to affect future developer tools and products?
    If so, then click here to give your feedback.
 

Code Inserter

Print
Email
winzip icon
Submitted on: 10/29/2002 2:51:49 PM
By: Darryl Hasieber  
Level: Beginner
User Rating: By 4 Users
Compatibility:VB 6.0

Users have accessed this code  3432 times.
 
author picture
(About the author)
 
     This VB IDE AddIn will add a Menu Item to the Code Editor window's PopUp Menu. The menu item created has sub menus which when selected will automatically place code into the current procedure. The code is contained in a text file for easy maintenance. This is probably the simplest VB AddIn you could possibly wish for so if you want an introduction to AddIns... This is It! Again I have used my style of small procedures for nice neat and easy to understand and comments to help explai certain items. The code is commented and areas that you will need to customize for your own purpose identified. I hope that this is as useful to others as it is to me. Please leave comments I really appreciate the feedback and vote if you feel the urge, but please leave a comment.
 
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 Winzip to 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 3 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.).
This submission should be removed because:
 
Your Vote!

What do you think of this code(in the Beginner 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
10/29/2002 4:05:45 PMRob Loach

The DLL was deleted. Your going to have to rename the DLL to *.DL or something.
(If this comment was disrespectful, please report it.)

 
10/29/2002 6:03:34 PMDarryl Hasieber

The dll is in the zip file but if you are having problems compiling (I presume you are getting the 'cannot set version compatability' error) on the COMPONENT tab of the PROJECT PROPERTIES dialog change the version compatability to something other than Binary or use regsrv32 to register the dll. That should solve the problem
(If this comment was disrespectful, please report it.)

 
10/29/2002 6:51:09 PMRob Loach

PSC automatically deletes all DLL files from the zips. The DLL isn't in there :(. heh.... Also, it's password protected :P . This looks like a great thing to have and I would really like to incorporate it into my VB.
(If this comment was disrespectful, please report it.)

 
10/30/2002 4:30:43 AM

This does look like a useful tool. Please resend with renamed DLL.
(If this comment was disrespectful, please report it.)

 
10/30/2002 8:26:36 AMTom Pydeski

This is excellent code!
I see a lot of uses for it in my addins.
the dll does not have to be submitted since it can be compiled from the code.

(If this comment was disrespectful, please report it.)

 
10/30/2002 5:39:54 PMDarryl Hasieber

I have resubmitted the Zip with the core pieces of the project only (no dll). I have also chnaged compatability to None (this is probably the correct type for this dll since you may add and remove menu items from time to time). I have also submitted code that has not been in Source Safe so there should be no password or locking or anything of that nature.
Sorry for any inconvenience.
Thanks for the feedback everyone I really appreciate it. I have been using PSC for 2 years now & I have learnt so much I thought it was passed due that I gave something back.
(If this comment was disrespectful, please report it.)

 
11/1/2002 1:35:38 PMDarryl Hasieber

Version 1.1 is out. This will remain here for a while for those who like to see how this evolved. This version may also be easier for the very inexperienced to grasp before moving on to the next version.
(If this comment was disrespectful, please report it.)

 
1/24/2003 2:38:39 AMRussell Sanders

Hello, This is very good code. what i would like to know is can you insert code from someware else other than inside vb as in your addin. What im asking is can you use just an outside Program and send text to the vb IDE without that program being an addin. If this is posable could you do an example for me nothing special just that one simple function. Would you let me know eather way
(If this comment was disrespectful, please report it.)

 
8/12/2004 10:36:22 AMSuresh Batta

Thank you man. Exactly what I need to make my life easier.
(If this comment was disrespectful, please report it.)

 
Add Your Feedback!

Note:Not only will your feedback be posted, but an email will be sent to the code's author from the email account you registered on the site, so you can correspond directly.

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.
 
To post feedback, first please login.