Problems with Modules

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • praclarush
    New Member
    • Oct 2007
    • 27

    Problems with Modules

    I have an application in VB6 that was working, but VB crashed on me and I lost a lot of code. Now when I add a new module to the project and add a method to it, I go back to my main form to try and call that method but it the module nor the method show up in the intellisense and when I type the whole thing out and run it it give me a "method or data member not found with module". I'm confused this wasn't doing this before. does anyone have any idea why or how this could be happening. Its more then a little annoying,

    Thanks Nathan
  • vdraceil
    New Member
    • Jul 2007
    • 236

    #2
    Try repairing or reinstalling vb..
    (hope you have made no spelling mistakes or something like that when calling your function)

    Comment

    • praclarush
      New Member
      • Oct 2007
      • 27

      #3
      Originally posted by vdraceil
      Try repairing or reinstalling vb..
      (hope you have made no spelling mistakes or something like that when calling your function)
      Crap well I was hoping to get away with out that but it looks like thats what will hapen, and no spelling was the first thing I checked, thanks for the replay

      Comment

      • shrimant
        New Member
        • Sep 2007
        • 48

        #4
        Originally posted by praclarush
        Crap well I was hoping to get away with out that but it looks like thats what will hapen, and no spelling was the first thing I checked, thanks for the replay
        I beleive the project file ".VBP" , has been corrupted, why don't you try creating a new project and try adding your exixting modules to the new project , before the re-installation.


        when you open the ".VBP" file in a notepad, there would be a line something like below:

        Module=EmailTem plateContractMf r; EmailTemplateCo ntractMfr.bas

        Check to see if that line or it's neighbouring lines looks OK incase you want to give it a try on the existing project file

        Comment

        • praclarush
          New Member
          • Oct 2007
          • 27

          #5
          I'll look but I don't think that’s the problem, One of the first things I did was make a new project and redo the program since it was a small one. That didn't work how ever after I did a repair and everything works now, but thanks for the help.

          Nathan

          Comment

          • EYE4U
            Banned
            New Member
            • Oct 2008
            • 76

            #6
            Have you checked your method that you are setting the method to Public not to Private?

            Regards
            ARUZ

            Comment

            Working...