Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 130
  • Last Modified:

Unable to open a form

When using frmCodifiedMessage.Show to open the form frmCodifiedMessage, Visual Basic gives the following compile error: "Method or data member not found"

Any suggestions?
0
LaMoS
Asked:
LaMoS
  • 6
  • 3
1 Solution
 
JRCSystemsCommented:
If you are SURE that the form is valid (i.e. It IS a form and has a .show method), then the next thing to check for is invalid object references.

Go into Project/References and see what is missing.

Having an invalid reference in a project will not only make the IDE run slower, but when compiling, will throw out totally absurd error messages that have nothing to do with the line of code that it claims is in error.
0
 
spauljosephCommented:
Is that form is designed? Or a runtime form? Please provide more details.
0
 
LaMoSAuthor Commented:
It is a standard form (Standard EXE), it is a copy of an existing form, but with a few changes
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LaMoSAuthor Commented:
@JRCSystems,

the form is valid, i would have no idea what would be wrong with it, but it doesn't have a .show method, only a .ShowMeWhatThisIs :S

About the references, i'm using the winhttp services, and the ms xml parsers (dom & sax)
The form uses a listview, but that one is without a reference, it's just a component tab?
0
 
LaMoSAuthor Commented:
@JRCSystems,

the form is valid, i would have no idea what would be wrong with it, but it doesn't have a .show method, only a .ShowMeWhatThisIs :S

About the references, i'm using the winhttp services, and the ms xml parsers (dom & sax)
The form uses a listview, but that one is without a reference, it's just a component tab?
0
 
JRCSystemsCommented:
well, unless it is private/proprietary source code, ZIP the FRM/FRX files and send them to john@jrcsystems.com

I will look for anything odd.
0
 
LaMoSAuthor Commented:
thx jrcsystems, i've send the code
0
 
JRCSystemsCommented:
I think I've found the problem.

On the form "frmCodifiedMsg" or the "frmBinaryMessage"

Your lsvMessages and lsvHidden controls were turned into picture boxes.

On the form where the controls went bad, I deleted them.
On the good form, I copied and pasted the controls.

Now, everything compiles on my computer.
No weird error messages.

0
 
LaMoSAuthor Commented:
thx jrcsystems, i've send the code
0
 
LaMoSAuthor Commented:
thx a million, i'd like to give more points, but i don't have them ;)
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 6
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now