Project file...contains invalid key 'Retained' 
Author Message
 Project file...contains invalid key 'Retained'

I've downloaded two projects from the web in recent days and when attempting
to open them, I get the error message "The project file [project file name]
contains invalid key 'Retained'- Continue loading project?" If I select
'Yes', the project continues to load. Attempting to run the run the project
generates another error: "Compile error. Invalid outside procedure."

I'm using VB 5.0 Professional, with service patch 3. Any suggestions?

--
Keith Whitfield

Website: www.geotec.net/kwhitfield
"Semper Fi"



Mon, 10 Feb 2003 03:00:00 GMT  
 Project file...contains invalid key 'Retained'


Quote:
> I've downloaded two projects from the web in recent days and when
attempting
> to open them, I get the error message "The project file [project file
name]
> contains invalid key 'Retained'- Continue loading project?" If I select
> 'Yes', the project continues to load. Attempting to run the run the
project
> generates another error: "Compile error. Invalid outside procedure."

> I'm using VB 5.0 Professional, with service patch 3. Any suggestions?

You are opening a VB6 project with VB5...  you can ignore the "invalid key -
retained" error.  After opening the project go to each clas module and
delete the few lines of stuff at the very top that it is complaining about.
Save the project to update with those changes.

If the project uses VB6-specific syntax (Replace, Split, returning array
from a function, etc) then you will need to recode those with VB5
alternatives but most of it should be OK.



Mon, 10 Feb 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Project file...contains invalid key 'Retained'

2. 'Retained' is an Invalid Key!!!!!????

3. Help! - 'Retained' is an invalid key

4. 'Retained' is an invalid key???

5. Retained is an invalid key messsage

6. VB5 Prof Edt and W2KProf : Retained is an invalid key

7. Runtime error '321' Invalid file format

8. WMF files give me 'Invalid picture'

9. Retaining Report Parameters after running 'SetDataSource'

10. Help I can't get Character Fields From DBASE file that contain Null bytes

11. Socket creation, 'invalid param' error

12. error '800a0bb9' - Invalid Argument

 

 
Powered by phpBB® Forum Software