Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Highlighted
opasman Absent Member.
Absent Member.
671 views

VCVS2017, Visual Cobol A Developer's Guide

Jump to solution

 I have been going through the book and doing all of the examples. Everything went fine until I got to Ch10.  I had a problem where I could not double click to generate the button click code, so I thought maybe my files got corrupted and downloaded Ch10 again. However, when I did, I was not able to locate  the AgencyControl.dll file(this is the file that builds the fields for the New Lease form). Is it possible to get another copy of Ch10 with the required dll in it?

Tags (1)
0 Likes
1 Solution

Accepted Solutions
Paul Kelly Absent Member.
Absent Member.

RE: VCVS2017, Visual Cobol A Developer's Guide

Jump to solution

Hi

The AgencyControls.dll is built by the AgencyControls project, which is included in the Lettings-UI-Worked and Lettings-UI-Complete versions of the example. If you either rebuild that individual project, or Rebuild Solution, you should get another copy. We don't include any binary files in the downloaded examples. I hope that helps you get started again. 

3 Replies
Paul Kelly Absent Member.
Absent Member.

RE: VCVS2017, Visual Cobol A Developer's Guide

Jump to solution

Hi

The AgencyControls.dll is built by the AgencyControls project, which is included in the Lettings-UI-Worked and Lettings-UI-Complete versions of the example. If you either rebuild that individual project, or Rebuild Solution, you should get another copy. We don't include any binary files in the downloaded examples. I hope that helps you get started again. 

opasman Absent Member.
Absent Member.

RE: VCVS2017, Visual Cobol A Developer's Guide

Jump to solution
Paul ,

Thanks for the quick response. Your instructions worked just fine and I was able to continue Ch10. However, when I try to build the project to run it I get two errors: Error COBCH0857 System error - failure during ILASM phase WindowsLeases C:\VCVS2017\VCADG\ch10\Lettings-UI-Worked\WindowsLeases\TenantView.Designer.cbl 149
AND
Error None Failed to open managed resource file 'WindowsLeases.New Lease.resources' COBOL
0 Likes
Paul Kelly Absent Member.
Absent Member.

RE: VCVS2017, Visual Cobol A Developer's Guide

Jump to solution
It sounds like something has gone wrong somewhere. Does the Lettings-UI-Complete example build and run OK? If so, it might be worth using something like Winmerge or Meld (http://meldmerge.org/) to compare the source and project files between the the WindowsLeases folders in the Complete and Worked versions of the solution. Let me know what you find.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.