Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Who can help me? I want to send automatically without Intervention of the operator an Email from my program with NETEXPRESS 5.1. I prepare the mail with invoke MessageObj "SetTo" using PARA-MAIL . invoke MessageObj "SetSubject" using ASUNTO-MAIL . invoke messageObj "setHTMLBody" using MENSAJE-O. with no problems. invoke messageobj "send". works perfectly, but only if my OUTLOOK is running previously. If it is not running I get an OleException. How can I test if OUTLOOK is running and, if not ,make run any version of OUTLOOK from my program? I tried 002841 STRING 'START OUTLOOK' or 002841 STRING 'OUTLOOK' 002844 x"
Problem: The Windows 8 PC has a Y: drive mapped to a shared folder on the server. When calling C$CHDIR with a blank parameter it returns the current directory. If the current directory is Y:\\DATA it returns the UNC name instead, \\\\SERVER\\SHARE\\DATA. On Windows 7 and earlier it returns Y:\\DATA. Resolution: It turns out that the application is launched from a shortcut using "Run as administrator". Under the hood the C$CHDIR library routine calls Microsoft's Win32 API function GetCurrentDirectory(). Unfortunately, Microsoft changed how this function works on Windows 8 (and newer), so that when "Run as Administrator" it returns the UNC path, and not the drive letter path. As such Micro Focus Development has marked this issue as a permanent restriction. On Windows 8, and newer, calling C$CHDIR will return the UNC path when using "Run as administrator".
I am unable to print direct to usb printer under windows 7 using MF VS 2015. I spent considerable time researching how to do this. I am very familiar with Liant's RM Cobol printing facilities. I tried setting the COBCONFIG.cfg via Gael's steps but the properties for the project under the application tab does not have a Environment button... I have tried Chris's suggestions also... I keep getting the error LPT1 not found in VS 2015 during project execution... Any definitive help would be appreciated as I am not familiar with MF VS 2015 or any other visual development environment. I have spent most of my life writing in pure legacy environments. I thank all for their help ! The code is simple select lne assign to printer organization is line sequential. fd lne label records are omitted. 01 lnerec pic x(132). open output lne. move "test" to lnerec. write lnerec. close lne.
I using Outlook to send pdf's to customers and it is working fine with Windows7 and 32 bit. On Windows10 and 64bit i got error's starting: Modify NAMESPACE-HANDLE LOGON(). The handle has a value. Are there changes to make? An AxdefGen64 has created a new def.
Hello, I have some licensing questions regarding Net Express 5.1 if anyone with knowledge on this product can help me: 1. In case you have a CPU based license how do you determine the required number of CPU licenses if Net Express 5.1 is deployed on a virtual server (e.g. VMware) ? 2. Do you count the number of virtual CPU's, physical CPU's, physical cores? 3. What if the virtual server is part of a VMware cluster?
How can I remove Visual Cobol from my Visual Studio? Thanks
I hope I'm in the right place. First let me say that i've inherited this system from a former IT member 3x removed now. I have no ideal how this is setup, so please forgive me for sounding stupid. We moved into a new office last week and are on a new network. I've updated the IP of the Acucobal server, but when clicking on the client I get "Connection failed General socket error". I'm guessing that the client software is pointed to the server, which has now been moved. Would anyone know if this is something I need to go back to the developer to fix or is there something on the server side I need to change? Sorry for being so vague, if you need more detail, let me know what you need and I'll dig it up. thanks, Jeff#communicationsocketerrorThinClientAcuConnect#ACU
We've just been informed that we will no longer be allowed to run our application from the console. Currently our application consists of a number of task-specific native console programs (.exe) that use SCREEN SECTIONs and ACCEPTs and DISPLAYs to gather task-specific input from the operator and then call distinct series' of individual native Dynamic Link Libraries (.dll), passing the gathered input data through LINKAGE SECTIONs. Our idea is to replace the console programs with .aspx's, and port the native .dll programs to managed code in a new solution. That way the .aspx's can gather the input data via web pages and then drive the call lists of .dlls. We are assuming that the .dll programs will be COBOL>Managed>Class Library projects? But when we tried to create a managed code version of one of the native .dll programs the compiler completely choked with errors and warnings. A big part of the problems seem to stem from a right m
Visual COBOL RM/Panels Conversion Source Files for UnixQDemo_unix.zip
Oi, Este é um exemplo de como você pode usar criar um Combo Box dinâmico com imagens!Abraços, Coral Hi This is a demo to show how you can work with dynamic Combo Box with Images!Best regards, Coral#demo
Oi, Este é um exemplo de como você pode usar imagens no menu.Abraços, Coral Hi This is a demo to show how you can use images in Menu.Best regards, Coral#demo
Is it possible to prevent AcuBench from auto generating the default declarative code for the file "open" modes? We use AcuBench to design the vast majority of our programs, and in any where we add a data set the below code is auto generated. This is even with every one of our data sets set to "do not generate any IO Paragraphs" in the DLT setup. The end result is any actual error that occurs when the file is being opened is skipped and when an error is thrown its related to the process downstream that is failing due to the file never being opened. For example a 49,02(91,02) file not open on rewrite,delete, later in processing. I'm able to delete the declaratives manually from the CBL however anytime the source is regenerated they come back. DECLARATIVES. INPUT-ERROR SECTION. USE AFTER STANDARD ERROR PROCEDURE ON INPUT. 0100-DECL. EXIT. I-O-ERROR SECTION. USE AFTER STANDARD ERROR PROCEDURE ON I-O. 0200-DECL. EXIT. OUTPUT-ERROR SECTION. USE AFTER STANDARD ERROR PROCEDU
Hi! One of my customer is using Fileshare under Windows 7 and Windows 2012 Server and have big Problems with the fileshare System.. Under Windows XP and Windows 2003 there where no Speed Problems... The Compiler Directives that he is using was:FILESHARE CALLFH "EXTFH" In the cobopt.cfg is standing:set environment_mapper=TRUE Have anyone a hint for me to bring up the Speed for the programs? Here an select Cobol sample: SELECT TITEL ASSIGN external TITELX ACCESS DYNAMIC &n
Micro Focus has always tried to provide a full, in-depth development environment for COBOL developers. In previous releases of Micro Focus NetExpress it was possible to send files to the printer and have them print in duplex mode. The technique used was to call a Micro Focus supplied process using the following format and passing it a series of parameters similar to the following Unfortunately this process applies to a non-managed environment. More and more clients are moving to a managed environment under .NET. How then does one translate the above Micro Focus specific implementation of duplex printing to managed-COBOL? The following article shows how to use the properties available in the Print Document class to enable duplex printing in .NET and adapt the Microsoft approach to handling printers. Print Document Class Before we dig into the specifics of implementing duplex printing we need to review the Print Document class. According to Microsoft the Print Document class “Defines a
We ran the following vutil command and got an error code of 94. What is error 94? We check the documentation but 94 was not listed. vutil command options were: "vutil32 -unload -t ", followed by the input and output file names.
F.A.O Chris Glazier, Hi Chris, I'd like to access web services direct from Visual COBOL e.g. FTP to do automatic software updates, send emails, scrape web pages etc. Can you point me to any help for this. My immediate interest is to be able to do automatic software updates for our users by accessing update files from our server. Thanks, Linden
I'm needing to treat a checkbox in datagridview but I can not, can someone help me with this. Thanks!
Is it possible to change the CODE_PREFIX programmatically so that objects can be called in a different directory or is this strictly a configuration variable that is loaded when the run time starts.
Como se pueden utilizar las teclas de funcion en un grid cuando se genera el evento MSG-BEGIN-ENTRY ?#ACU#GRIDlosingfocusinAcuCobolver8.1.3
I have a user with 64-bit Windows Ultimate SP1, Dell OptiPlex 9110, that cannot run a program using C$SYSTEM. As soon as the CALL C$SYSTEM command is executed it fails. Other users not having this problem, but I am remote, its not clear if the other users have Windows Ultimate. I don't experience the behavior on my Dell T1700 WIndows Professional o/s. Has anyone else seen this? Is there another method to execute a user inputted acucobol program name that works? Thanks out there! Hope I can help you guys one day. Sample of the code: 01 RUN-COMMAND. 02 FILLER PIC X(44) VALUE "wrun32.exe -c \\bi\\data\\cblconfi ". 02 RUN-PROGRAM PIC X(30). *************the program to run is an Acucobol&n
Oi, Este é um exemplo de como você pode trabalhar com checkbox em um datagridview.Abraços, Coral Hi This is a demo to show how you can work with checkbox inside a datagridview..Best regards, Coral#demo
Using the method SortCompare for sorting date column DataGridView
I am using Visual COBOL v2.3 on Red Hat Enterprise Linux 64 bit. I am trying to execute a script which contains the setting of various environment variables required during build. I have tried to use the build configuration Events by both sourcing the script or simply executing the script. In both cases the environment variables are not set at build time. Setting environment variable one at a time within the project will not work because the script is built dynamically. How can this be accomplished?#CobolEclipse#eclipsevisualcobolvariablesviewencoding
Hi there, I successfully completed the tutorial on REST Service Interfaces (http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.vs2013/GUID-58BF06B8-029A-46A0-8AA2-3E9A0A52B162.html?cp=5_4_0_5_0_2_2) And everything works find with the generated client. But now I want to use another client but I cannot find any information about the url and how to post parameters. (The service handler has the path temppath/ProgramRest/1.0#CheckAppt) -> I want to use a rest client integrated into the browser. Is there any information about the generated rest urls (and parameters/load)? Thanks for your help!
How do you specify the module you want to debug into in a Multi-Output project with many console type modules?
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.