Code Generator Addin for VB6-VBForums
Results 1 to 14 of 14

Thread: Code Generator Addin for VB6

Hybrid View

  1. #1

    Thread Starter
    Super Moderator Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    11,928

    Code Generator Addin for VB6

    Code Generator is an Addin for VB6 that lets you manage your commonly used code efficiently. It's a One-Stop Place where you have access to commonly used codes to make your life much more simpler while coding.

    Features

    ~ Add Commonly used codes
    ~ Modify Added Codes.
    ~ Delete codes which are not required any more.
    ~ Generate codes to paste it into text editors or as a matter of fact code windows like V6 Code Editor.
    ~ Supports VB6 style of coding i.e code automatically gets formatted as it does in VB6 Code Editor
    ~ Simple and Intuitive interface.
    ~ Help File Included

    System Requirements

    ~ Windows 95/98/ME/NT4/2000/XP/2003.
    ~ Pentium 200MHz or above with at least 32MB RAM (64MB for ME/2000/XP/2003).

    Note: Since I cannot upload the complied Exe, please do the following for the above addin to run.

    1) Create a folder "C:\Code Generator" and extract the contents of the zip file in that folder.
    2) In VB6 Click on the menu "Project => References" and click on the browse button. Select the file "Code Generator Ver 1.0.dll" from the above folder.
    3) Click on the Menu "Add-Ins => Add-In Manager" and select "Code Generator Ver 1.0". Click on all the 3 checkboxes at the bottom right of the window under "Load Behaviour". Now you are ready to use the Add-In.
    4) If at any point of the time you get stuck, refere to the help file which can be accessed through the Add-in.
    5) I am in the process of commenting the project. Once that is done, will upload the project in the next 2 or 3 days.

    If you like/dislike this Add-in, please feel free to leave your comments here. I'll see how can I improve on that
    Attached Files Attached Files
    Last edited by Siddharth Rout; Feb 16th, 2010 at 02:55 AM.
    The poster formerly known as koolsid
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved

    Microsoft MVP: 2011 - Till Date IMP Links : Acceptable Use Policy, FAQ

    MyGear:
    Sony VGN-FZ27G with a triple boot between (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008) and (Win7+Office 2010+VS2010) || Sony VPCCB-45FN with a Win7+Office 2010+VS2010. VM: (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008), (Win8+Office 2010+VS2012) || Mac Book Pro (10.6.8) with Office 2011

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    37,230

    Re: Code Generator Addin for VB6

    Thread moved from "CodeBank - VB6" forum to "UtilityBank - IDE Add-Ins" forum

  3. #3
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,198

    Re: Code Generator Addin for VB6

    Cool! Microsoft could have included one with VB 6.0 when it was released unfortunately one was not included. Have you tested he generator in Vista yet?
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    Please consider giving me some rep points if I help you a lot.
    Links to my code examples can now be found on my website: My websites
    Please rate my post if you find it helpful!
    Technology is a dangerous thing in the hands of an idiot! I am that idiot.

  4. #4

    Thread Starter
    Super Moderator Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    11,928

    Re: Code Generator Addin for VB6

    Glad you like it...I have been continuously using it and I no longer search for codes.

    My laptop and pc both dual boot with xp and vista. Xp has vb6 and vista has vb.net and I am sure that this will not run in vb.net. So if you have vb6 in Vista, you could check that for me...
    The poster formerly known as koolsid
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved

    Microsoft MVP: 2011 - Till Date IMP Links : Acceptable Use Policy, FAQ

    MyGear:
    Sony VGN-FZ27G with a triple boot between (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008) and (Win7+Office 2010+VS2010) || Sony VPCCB-45FN with a Win7+Office 2010+VS2010. VM: (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008), (Win8+Office 2010+VS2012) || Mac Book Pro (10.6.8) with Office 2011

  5. #5
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,198

    Re: Code Generator Addin for VB6

    Yeah, I have VB 6.0 on Vista! I will post the result when I can.

    Edit:

    I have just tested the GG Add-in in Vista but after adding the .dll file as a reference the program didn't appear in the Add-in Manager.

    Vista appears to work differently to the other windows versions for some reason:

    Why can't I get Help from this program?

    The Help for this program was created in Windows Help format, which depends on a feature that is not included in Windows Vista. However, you can download a program that will allow you view Help created in the Windows Help format from the Microsoft website.
    That is from when I tried to open the help file using Vista! I didn't get a message when trying to add the add-in to VB6.0.
    Last edited by Nightwalker83; Feb 16th, 2009 at 04:25 AM.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    Please consider giving me some rep points if I help you a lot.
    Links to my code examples can now be found on my website: My websites
    Please rate my post if you find it helpful!
    Technology is a dangerous thing in the hands of an idiot! I am that idiot.

  6. #6

    Thread Starter
    Super Moderator Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    11,928

    Re: Code Generator Addin for VB6

    Conclusion: It doesn't work in Vista So the system requirements that I mentioned above stays as it is...
    The poster formerly known as koolsid
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved

    Microsoft MVP: 2011 - Till Date IMP Links : Acceptable Use Policy, FAQ

    MyGear:
    Sony VGN-FZ27G with a triple boot between (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008) and (Win7+Office 2010+VS2010) || Sony VPCCB-45FN with a Win7+Office 2010+VS2010. VM: (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008), (Win8+Office 2010+VS2012) || Mac Book Pro (10.6.8) with Office 2011

  7. #7
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,198

    Re: Code Generator Addin for VB6

    Maybe you will figure out a way to bypass that problem later on.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    Please consider giving me some rep points if I help you a lot.
    Links to my code examples can now be found on my website: My websites
    Please rate my post if you find it helpful!
    Technology is a dangerous thing in the hands of an idiot! I am that idiot.

  8. #8

    Thread Starter
    Super Moderator Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    11,928

    Re: Code Generator Addin for VB6

    Yeah I am planning to...
    The poster formerly known as koolsid
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved

    Microsoft MVP: 2011 - Till Date IMP Links : Acceptable Use Policy, FAQ

    MyGear:
    Sony VGN-FZ27G with a triple boot between (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008) and (Win7+Office 2010+VS2010) || Sony VPCCB-45FN with a Win7+Office 2010+VS2010. VM: (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008), (Win8+Office 2010+VS2012) || Mac Book Pro (10.6.8) with Office 2011

  9. #9
    Frenzied Member TheBigB's Avatar
    Join Date
    Mar 2006
    Location
    *Stack Trace*
    Posts
    1,511

    Re: Code Generator Addin for VB6

    Try 'Run' ([win-key] + R) and in the textbox: 'regsvr32 /i [path to dll]'.
    This is the normal way of registering DLL's...
    Delete it. They just clutter threads anyway.

  10. #10
    Frenzied Member
    Join Date
    Jan 2009
    Location
    Watch Window(Shift+f9)
    Posts
    1,817

    Question Re: Code Generator Addin for VB6

    Koolsid When i modify code .i simple want the commented line.like Suppose Cursor is at Form_resize().it simple say it is commented by Sayyed Firoz at Aug12,2009 2.28.when i press f9 key.Kindly let me know any idea.How should
    i do it .With the help of CodeGenerator.
    Private Sub Form_Resize()
    If Me.WindowState = vbNormal Then
    Me.Width = frmWIDTH
    Me.Height = frmHEIGHT
    End If
    End Sub

  11. #11
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,573

    Re: Code Generator Addin for VB6

    Nice work sid....

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India

    Skills: PHP, MySQL, jQuery, VB.Net, VB6, Photoshop...

  12. #12
    Member
    Join Date
    Aug 2006
    Posts
    53

    Re: Code Generator Addin for VB6

    This is very helpful.........

  13. #13

    Thread Starter
    Super Moderator Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    11,928

    Re: Code Generator Addin for VB6

    Akki: Thanks
    afdoal: Glad it helped
    The poster formerly known as koolsid
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved

    Microsoft MVP: 2011 - Till Date IMP Links : Acceptable Use Policy, FAQ

    MyGear:
    Sony VGN-FZ27G with a triple boot between (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008) and (Win7+Office 2010+VS2010) || Sony VPCCB-45FN with a Win7+Office 2010+VS2010. VM: (XP+Office 2003+VB6), (VISTA+Office 2007+VS2008), (Win8+Office 2010+VS2012) || Mac Book Pro (10.6.8) with Office 2011

  14. #14
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    32,875

    Re: Code Generator Addin for VB6

    Sid, the implementation of your Add-In is a little unusual. Normally what is done is to register the dll via regsvr32. After that is done an entry for the add-in will appear in the Add-Ins|Add-in Manager list and then, normally, the add-in creates a toolbar item. Note that if you want to do it the regsvr way you need to create folder and dll names that don't contain spaces.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.