Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Is there no one out there that can convert VB code into Net Express Cobol? See my previous request.
We have been using a 3rd-party product to called Outlook Security Manager to bypass Outlook's security warning messages when generating emails. Since upgrading to their latest version, we've been getting "Error creating ActiveX control" messages. I've posted to their forums, too, but I think their Cobol knowledge is limited so I thought I'd try here as well. The object is defined as: 01 OSM-SCREEN. 03 HOutlookSM OutlookSecurityManager LINE 1 COL 1 LINES 1 SIZE 1 VISIBLE 0. and then instantiated by: D
Hi! We use a .NET component to perform certain tasks, and we call this component from our COBOL program. When installing on a customers place, we experienced that it worked on two machines, and two generated an error. The error was "Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))" This happened during the CREATE verb. The component is installed on the users %TMP% area, by a automatic install routine. The install routine also installs a xml-file containing the filepath to the component, and this xml-file is refered in the CREATE verb as "FILE-PATH" option. Installation of both files (component and xml-file) is verified as correct, and the path in the xml-file is also correct. The path in the CREATE verb is also verified as correct. What is the reason, and more importantly, what is the solution? AcuCobol compiler version: 9.1.0 AcuCobol runtime version: 9.1.0 .NET Frame version installed: 4.0 (the same on all four machines, al
Is it possible to show a message box from a class that has no form? Two separate projects, one has a form but calls the class without a form to read, write data etc. If there is an error, can I show the message box from the called class or do I need to pass the error back to the calling class and display it there? The routing I use in the calling pgm does not compile in the called class. Thanks.#VisualCOBOL#VisualStudio
Does anyone have any experience with using USB security dongles with Acu under Windows? We're looking at WIBU and Sentinel HASP at present - would appreciate hearing anyone's experiences.
When I create a NEW project in Visual COBOL I'm allowed to selected a LOCATION where I want the new project to go. Even though we have several 'network drives' designated as G:, H:, S: W: etc these 'drives' do not appear in the Project location box when choosing 'My Computer' as the first place to go. It only shows my 'local' C: & D: drives off the 'My Computer' box. How do I see the network drives that are available as when I look at what I have available through Windows Explorer and click on the 'My Computer' box there I see ALL availble drives including those that are on our network?
We have a point of sale application that uses an activeX for SSL communication which works fine in a normal install. However, we have some stores who use thin client for a remote point of sale set up. They have to install and register the activex on the client and it works but is MUCH slower. Also they will periodically get what appears to be a file error but instead of "File error xx on somefile" the first line says "The operation completed successfully." and the rest of the error message is as you would expect "COBOL error at 000304 in SOMEPROG" and the called from chain after that. What I would really like to do is find a way to force the activex to run on the server and not the client. Is there a way to force an activex to run on the server and not the client? Thanks, Steve.#ThinClientActiveX
A great number of our programs we're currently converting from our old DIALOG system contain simple calls to a dialog panel in order to show progress of the application by way of employees processed, name of employee being processed etc etc. The programs that contain these 'snippit calls' to dialog are large and are doing the bulk of the processing. To this end we want to keep these as 'legacy programs' and make calls to them from the .net screen programs wherever possible. As such these 'legacy' programs are compiled into the solutions as class library programs but with all the code being 'old' as in using perform statements as opposed to invoke etc. Is there a way of including call outs to a message box from within these 'legacy programs' using data passed to them in order to continue to show the data as it is processed as, at the moment, when I attempt to put code such as "invoke type System.Windows.Form.MessageBox(xxxx" within t
I have a VisCobol solution (SOL1) containing a main program (MP1) ( form) and another 'sub' program ( form) (SP1) which is contained within the SOL1 structure. MP1 opens various files etc and has the majority of the working-storage contained therein. On a 'call out' to SP1 I want SP1 to be able to 'see' file data and working storage variables already populated by MP1. Is there a way of doing this or must I continually pass linkage around between MP1 and SP1? SP1 would be a form which contains a list box showing employee data but the file is already open as part of MP1 code.
Same identical data file shows two different record lengths when accessed in Net Ex 3.1 vs. Visual COBOL. See attached screen captures. Have tried cleaning solution/project, reboot etc. Currently seeing warning messages about Comp-5 redefinition. I have another project in the solution with Comp-5 redef in the FD and I don't have an issue there. Any idea why this would occur? Select statement is as follows: SELECT CASE-DBF ASSIGN TO DYNAMIC LOCCASEDBF ORGANIZATION IS INDEXED ACCESS IS DYNAMIC LOCK MODE IS AUTOMATIC WITH LOCK ON RECORDS RECORD KEY IS AIRRS-CDB-KEY FILE STATUS IS FILE-STATUS. Begin Net X Images Begin Visual COBOL Images #VisualStudio#netexpress#Comp-5#VisualCOBOL#Redefinition
Has anyone figured out the process to sort a listview (3 column) in Visual COBOL?#VisualCOBOL#ListView#VisualStudio
These links does not exist now. (community.microfocus.com/.../132_Running_JVM_COBOL_within_Apache_Tomcat)(community.microfocus.com/.../135_Tutorial_COBOL_JSP_Book_Application) Where may I get this information back TIA.#tomcatcobjvm
I have the following very simple statement (where the handle is correct) MODIFY hExcelWks Range("I:I")::NumberFormat("0.00") This is totally standard in many of my apps, and works in all of them, but I have received a .xls file from a user, where this simply has no effect. I have run through debug, and everything is happening as it should, except the MODIFY has no effect at all, the format of the column remains unchanged. The cells are not protected, as the change can be made manually in Excel, any ideas on what might have been done when this file was created? there seems to be some form of protection but I cant figure out what. The user has no idea, as it is created automatically by a payroll package, not the users themselves
I was wondering if anyone has had much luck using the WPRTUNITS-INCHES-ABS draw units. I am currently working on a project that requires some printing on a pre-printed form. I was originally using the WPRTUNITS-CELLS draw units, however, after printing on multiple printers I notices that my text was moving up or down on the page depending on the printer. After reading documentation, the INCHES-ABS feature looked to be more consistent. When I started trying to use the INCHES-ABS I noticed that I was not able to print within about half inch of the left margin. When I tried this I get the error that I am not within the printable area. I am trying to figure out if I am doing something incorrect or if this is just how it works. When I use the CELLS option I am able to get within a 1/4 inch of the edge of the paper. I have also tried the other "CELLS-ABS" and "CENTIMETERS-ABS" and have had the same result where once I g
[Migrated content. Thread originally posted on 19 April 2011]Hi,I'm converting old programs and developing new programs in acubench. I have the problem if the user has 2 monitors and drag the main menu to the second monitor and from there open another window, that window opens up on the primary window. Is it possible to have the new window to open up on the secondary monitor? With the 'old' programs which are converted to acucobol (not in acubench) it's no problem.
I have the following Method in a .def file used by an activex control: * Open_document METHOD, 1610809472, @Open_document, "BSTR*" @strURL, TYPE 16392, "boolean*" @openEntireDoc, TYPE 16395 OPTIONAL 2 The 2 parameters are optional. It works fine when I provide the first like this: MODIFY HTML-handle @Open_document ("C:\\BOOK\\EZdata\\DataPackage.html"). The problem comes with the second parameter. It fails if I use a 1 or a
[Migrated content. Thread originally posted on 14 May 2012]I would like to know if anyone knows how to add a new tab to a active internet explorer. The current logic that we have in the system that does a system call to open a web page will open a new internet explorer each time. I would like to just add a tab to the current internet explorer instead.Thanks for any help.
Here is the transcript of the Q & A session from the recent Visual COBOL webinar: Deployment and licensing systems. Q: Can you apply hot fixes to merge module (like merge module)? A: When Micro Focus provides a hotfix we’ll include an updated merge module that you can embed in your own MSI. Q: Can we see a deployment using Eclipse? A: If deploying to Windows, then you can create an MSI but I don’t know if Eclipse has an extension to support MSI projects in the way Visual Studio does. We’ll look out for one and let you know but most of the MSI technologies provide command line tools that work can work outside of the IDE.If you’re deploying to Unix, it’s just a case of creating a script for your installer and the Micro Focus installer, here’s an example: #!/bin/sh current=`pwd`./setup_visualcobol_devhub_2.1_redhat_x86_64 –silent –IacceptEULA –installlocation=”/home/apps/mf/vc_cobol_21”mkdir –p /home/app/ivs/myapp2.0 cd /home/app/ivs/myap
I have an app which processes bank statements, which arrive every 5 minutes or so into a specified folder. Thus I need to check every 5 minutes whether new statements have arrived.I can think of a few ways of doing this, maybe using C$Sleep running as a thread and one or two others, but since this is the first time I am doing this, I dont want to waste time experimenting if someone out there has already come up with the best solution, I am sure some of the forum members have done this before, so would welcome you advice on the best method.
We have Lawson on Unix box that uses Server Express 5.1 for compiles. We need to upgrade from wrap pack 3 to wrap pack 5 and I'm curious as to if this install is on top of the current install or if it requires a new install of the entire Server Express. In the past I upgraded from 5.0 to 5.1 and that was a complete new install, but I have never done a wrap pack before. Any additional install instructions is appreciated as the readme doesn't give me much other than telling me to create a new directory and running the install and following it from there. It doesn't say anything about if I already have Server Express installed. Also with the 5 to 5.1 we had to reenter the license keys - am I going to need to do that as well?
Hello All, I would like to run a program from windows command line and pass some arguments to it. What and where I should code inside a COBOL program in order to work with command line? I'm working with Microfocus Net Express 5.0 Thank you,
What's the difference between DEBUG and RELEASE configurations for managed code? Well, just like native code builds, under the RELEASE configuration, we don't add the ANIM directive. This means, no .idy or .pdb is produced but also, the compiler will perform optimizations specifically around use of numeric items defined at the 01 level. You may or may not see much of a difference in code size. If you want to use code dump debugging for release builds, you'll need to add the ANIM directive to your RELEASE configuration or select Compile for Debugging in the COBOL property page.#.net#HowTo-BestPractice#JVM#VisualCOBOL#optimize
Is there a way to force the grid control to be in data entry mode. What I'm trying to do is have the user enter data in one cell then go to next cell and enter data then the next etc. so basically being able to do data entry directly in the grid. Thanks Alan
I'm new to the forum, so I hope I'm posting this properly. All has been working for years, went on vacation, came back and now this. Looks like my server license file is okay on linux server side. Can stop, start, view etc. no errors. However, the PC side gets the service not running messages. Have shutdown both sides, still no good. Any suggestions?
We are upgrading from 9.0.1 to 9.1.1. The automatic update process was going very well, and then, for some reason, the transfer rates hit the floor. At the moment this is on our LAN and the transfer rate is probably at 56k speeds at best. Regular file transfers seem to be going at pretty normal speeds. Acurcl is running on AIX 5.3L, and I tested the transfer speeds on a couple of computers with both Windows XP and 7 and at different points on the network with each getting the same results. Any ideas?
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.