Solved

Status Bar Compile ERROR Variable Not defined

Posted on 2004-08-19
3
288 Views
Last Modified: 2012-06-21
It works, running in VB but it gets an error when i try to compile, any clue?
0
Comment
Question by:andyakira
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 52

Accepted Solution

by:
Ryan Chong earned 500 total points
ID: 11849479
Make sure ALL your variables in your application are declared... then before you compile it, try press Ctrl + F5 for a full compile run. If your application is started, means it's ok to compile to exe.

regards
0
 
LVL 23

Expert Comment

by:Ioannis Paraskevopoulos
ID: 11850019
Try writing Option Explicit
in the declaration area.This will tell you what variables you have not defined before you run the application
0
 
LVL 15

Expert Comment

by:unknown_routine
ID: 11851766
supply your code.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question