code snippet editor

I get an unhandled exception error the minute I fire up the code snippet editor and cannot continue from that point on.  Is this a reported problem   I'm running on XP Professional with service pack 2 and using Visual Studio 2005 Professional.

Answer this question

code snippet editor

  • Nick Gravelyn

    If anyone has the source project, there are at least 3 of us who are interested in having it. Please let us know.

    thanks,

    Dwight


  • telepet9

    I had the same problem yesterday. I solved it by downloading the sourcecode

    Visual Basic Snippet Editor RTM RC (source cod...) release 11/04/05

    form the homepage

    http://www.gotdotnet.com/workspaces/workspace.aspx id=a927f4e7-8e7f-45ce-8b72-f3b9384a3eab

    On my host there is still a problem or a bug because the software does not find any existing snippets.

    But you can find them by browsing your disks.

    PS: Be sure to download the english version because there is an japanes one too on that page.

    That' s what I did first.


  • IamHuM

    uninstall and then reinstall to see if that fixes your problem...

  • Proxima

    Thanks for your reply. I finally got it figured out. My problem with the forms designer errors was described in a documentation file that came with the down with the download. I followed those instructions, rebuilt the program and it is running fine. I've created my first snippet and it runs fine. I do have the same toolbar that you have described at the top of the of the window so everything seems to be as it should be. There was an excellent tutorial by Dave Barr that beautifully describes creating a snippet in the editor. Would that all those writes of how to VB books would read his two tutorials. Here is the link for anyone who may want to use it: http://www.devcity.net/Articles/231/1/article.aspx

    Again, thanks for getting back to me so quickly.


  • mcmcom

    Sounds strange. On my dektop there are menus within the toolbar at the top.
    Save, Export, Synch Options,Help
    in the Treview pane at the left you can click the right mouse button and select add path.
    After browsing for an existing snippet path you can open the snippets and you will see a lot
    of possibilities to edit those. If you like to add a new snippet you have to click the right mouse button over an existing node (not the top one) and you will get a popup menu where the task 'new snippet' can be selected.

    I hope that will help you

  • Tom Cast

    still waiting.


  • Zadoras

    Thanks for the suggestion. I downloaded the source, built it and it runs fine. The only thing now is that there is no menu at the top showing file, edit. etc. as shown in some of the tutorials on it's usage.
  • meho

    What is the error



  • railguns

    I have uninstalled and reinstalled five times already and continue to get the same error. I have downloaded it several times as well to be sure it was not a download issue.
  • Ridge

    Hi,

    did you get any feedback on where to dl. the bits

    thx

    Daniel


  • Dennis Mulder - dennismulder.net

    Here are the some of the details when I click on the details button in the error window. I did notice when looking at this detail that some of the path shown is not on my D drive, namely everything from the "lorenzom" directory on down.

    System.NullReferenceException: Object reference not set to an instance of an object.

    at SnippetEditor.SnippetPathsManager.InitializeUserRegistry() in D:\Documents and Settings\lorenzom\Desktop\Snippet Editor 2005 RTM RC\Snippet Editor 2005\Helper classes\SnippetPathsManager.vb:line 174

    at SnippetEditor.SnippetPathsManager.GetRegLanguagePathKey(Language lang) in D:\Documents and Settings\lorenzom\Desktop\Snippet Editor 2005 RTM RC\Snippet Editor 2005\Helper classes\SnippetPathsManager.vb:line 144

    at SnippetEditor.SnippetPathsManager.get_SnippetsPath(Language lang) in D:\Documents and Settings\lorenzom\Desktop\Snippet Editor 2005 RTM RC\Snippet Editor 2005\Helper classes\SnippetPathsManager.vb:line 86

    at SnippetEditor.SnippetExplorer.FillLanguage(Language lang) in D:\Documents and Settings\lorenzom\Desktop\Snippet Editor 2005 RTM RC\Snippet Editor 2005\UI Controls\SnippetExplorer.vb:line 139

    at SnippetEditor.SnippetExplorer.FillTreeView() in D:\Documents and Settings\lorenzom\Desktop\Snippet Editor 2005 RTM RC\Snippet Editor 2005\UI Controls\SnippetExplorer.vb:line 127

    at SnippetEditor.SnippetExplorer.SnippetExplorer_Load(Object sender, EventArgs e) in D:\Documents and Settings\lorenzom\Desktop\Snippet Editor 2005 RTM RC\Snippet Editor 2005\UI Controls\SnippetExplorer.vb:line 113


  • zdrae

    The source code is no longer available on the gotdotnet. Does anyone still have the source code

    Thank you,

    Dwight Miller

    dmiller@wqln.org


  • irvendeep

    Second request for the source code - gotdotnet isn't up anymore.

    When the page for the snippet editor says "The Visual Basic Snippet Editor is shared source project" doesn't that imply that it is shared somewhere Or does the 'd' in 'shared source' imply past tense


  • johnny_no1_boy

    Here is the error I get when I fire up the editor and this error is displayed before any  of the editor window is displayed:

    Unhandled exception has occurred in a component in your application. If you click continue, the application will ignore this error and attempt to continue.

    Object reference not set to an instance of an object.


  • code snippet editor