Link to home
Start Free TrialLog in
Avatar of FMabey
FMabeyFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Variables giving errors

Hi all,

I have a program that have been using variables such as int16, Char, Windows, Environment, DateTime...

This program has worked for over 8 years as is, however, it now gives me the following errors:

Name 'Environment' is not declared
Type 'int16' is not defined
Type 'DateTime' is not defined
Type 'Exception' is not defined
Name 'Char' is not declared

Code snippets (one liners) of how these are used are:

PUB_user = Environment.UserName
Dim DT_date As DateTime = Now()
For i As Int16 = 1) then
If [Char].IsNumber(e.KeyChar)
Catch ex As Exception

My references haven't changed. I've attached a screenshot of my references.

Thanks in advance
References.docx
Avatar of Deepak Lakkad
Deepak Lakkad
Flag of India image

Hi,

This issue is due to missing reference.


What is the first reference?

- Deepak Lakkad
Avatar of FMabey

ASKER

Hi,

Thanks for your response. The missing DLL I know about. It's a Crystal dll that is no longer required.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of FMabey
FMabey
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of FMabey

ASKER

Resolution found