Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DIM Statement EG Dim Test1% ,How to Alter

Status
Not open for further replies.

TURNERMICH

Technical User
Apr 5, 2000
64
AU
I am using some code i downloaded and have it all working fine under Windows98.
Most of the code is API Based, Window Handles etc.
Under Windows98 all handles are eg 1162 2345 etc

Under Windows2000 Server they are 131234 121555 etc

Existing Code eg
Dim Test1%
Will not work..

=========================================
If i alter it to Dim Test1 as Long
and take the % out everywhere in the procedure.

Under Windows2000Server it then works.
=========================================
There is a lot of code.

Is there any simple way of altering all the code to work under Win2000Server, without altering the % all through the code.


 
In Win98 Dim Test1%, Works.
If i leave as Dim Test1% it does not work in Win2000Server
If i alter to Long, For Win2000Server, all ok.!!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top