compiling a visual basic project that uses FarPoint Spread 3.0 on new computer.

Here goes... Not able to compile.Getting errors on the spread control members. Installed spread 3.0.. what do I have to do to make it work..
LVL 1
MonNerdAsked:
Who is Participating?
 
GranModCommented:
PAQed with points refunded (500)

GranMod
Community Support Moderator
0
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Did you duplicate your original development environment?

Can you acutally open the project on your new machine? If so, can you verify that all your references are correct in the project?
0
 
MonNerdAuthor Commented:
The references are to a common .dll file, Visual basic procedures and so on. In the components section I have referred to Farpoints spread 3.0 control which I copied from Program files to C:\WINNT\system32\spr32x30.ocx..I also changed the path in the VB.ini file to point to this.  Thanks
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
You'll need to install the Farpoint Spreadsheet on the new machine ... the installer will correctly install the various items needed, and will register all controls correctly. You'd also need to do this for any other components you use, at least any that aren't native to VB.
0
 
MonNerdAuthor Commented:
I did install the software... After that I opened the project and pointed to the ocx file already registered.  Now I have a ptrctrl of type copymemory called spdworkspace..When the member of this spdworkspace is being accessed, that's when it brings up this error saying " Compiler error.Member not defined"..Thanks
0
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
I'm assuming you were able to compile the app your old machine?
0
 
MonNerdAuthor Commented:
Yes..I have been able to...The readme file says that if I copy over all these ocx files and dll files to another directory then I must change the path in vb.ini file and so I did..I dunno know what to do next..Thanks
0
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Well, yes, but you'd also have to unregister/re-register the .oxc and .dll files so that VB can find them. When the installer installs the Farpoint stuff, it automatically registers these files for you ... I think you'd probably be better off re-installing FarPoint and putting the files where you need them to be. If you want, however, you can unregister by doing this:

regsvr32 "path to the file" /u

then re-register the file in it's new location:

regsvr32 "path to file"

However, I can't quite figure out why you would move registered .dll and .ocx files on your development machine ... typically they are installed in the <root>Program Files section under their own directory on the dev machine.

0
 
MonNerdAuthor Commented:
I've done everything possible to make it work. Now after  referencing the ocx, I go back in to the components window and try to uncheck the ocx, its supposed to give me a message saying " the control is in use..". But it does not. Why could that be..
0
 
MonNerdAuthor Commented:
I figured it out... The reason is when you install a custom control application which is already being referenced in a ccustomized application, one has to rebuild the forms containing the custom control...

Moderator, pls. close the question.. No points granted...Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.