?
Solved

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

Posted on 2006-03-28
12
Medium Priority
?
899 Views
Last Modified: 2010-08-05
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..
0
Comment
Question by:MonNerd
  • 5
  • 4
10 Comments
 
LVL 85
ID: 16316359
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
 
LVL 1

Author Comment

by:MonNerd
ID: 16316785
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
 
LVL 85
ID: 16316857
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:MonNerd
ID: 16316898
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
 
LVL 85
ID: 16317025
I'm assuming you were able to compile the app your old machine?
0
 
LVL 1

Author Comment

by:MonNerd
ID: 16317051
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
 
LVL 85
ID: 16317152
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
 
LVL 1

Author Comment

by:MonNerd
ID: 16323680
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
 
LVL 1

Author Comment

by:MonNerd
ID: 16372734
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
 

Accepted Solution

by:
GranMod earned 0 total points
ID: 16656313
PAQed with points refunded (500)

GranMod
Community Support Moderator
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month15 days, 22 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question