I have the following code in my project
VB Code:
  1. CDialog.Filter = "sales.dta|*.dta"
  2. CDialog.FilterIndex = 2
  3. CDialog.ShowOpen
The project runs in code with no problem but I can not compile it ... I get the following error:
Compile error:
Variable not defined
What am I missing ...?