Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
Tenho um projeto em usando o Visual Studio 2015 e esta ocorrendo o mesmo problema que acontecia com as outras versões ele perde as referências, ai temos que refazer todas as ligações isso e problema do Visual Studio ou do Visual Cobol?
Problem: The application runs fine in Net Express IDE or Net Express 32-bit Command Prompt, but it fails to run from the deployment machine and reports the following error: "The application was unable to start correctly (0xc000007b). Click OK to close the application." Resolution: The above error is usually a result of running a 32-bit COBOL program against a 64-bit COBOL runtime. A 32-bit COBOL application needs CBLRTSS.DLL (for single-thread) or CBLRTSM.DLL (for multi-thread) from C:\\Program Files (x86)\\Micro Focus\\Server 5.1\\Base\\Bin. If you do not have Server 5.1 installed, then make sure the runtime files, such as CBLRTSS.DLL and CBLRTSM.DLL are taken from either: C:\\Program Files (x86)\\Micro Focus\\Server 5.1\\Base\\Bin C:\\Program Files (x86)\\Micro Focus\\Net Express 5.1\\Base\\Bin Not from: C:\\Program Files (x86)\\Micro Focus\\Server 5.1\\Base\\Bin\\WIN64 C:\\Program Files (x86)\\Micro Focus\\Net Express 5.1\\Base\\Bin\\WIN64
I have an asp table. Need to export the data from the table to excel. Are there any sample programs for this? Thanks in advance.#ASP.Net#extend9.2.5VisualCOBOL
Al instalar acubench ver. 9.1.2 en Windows 10 aparecen todas las propiedades de los objetos como disabled. Como puedo hacer que se restablezca?#acubench9.1.2Windows10
Problem: Installing or upgrading Enterprise Developer [ED] or Visual COBOL [VC] on a clean machine and pressing the Cancel button towards the end (just before the completion of the installer), might leave traces of the product installed on the system. Solution: In order to install the product successfully in the event of cancellation, in ‘Programs and Features’ (Windows Control Panel) either - perform a Repair to complete installation of the product, or - to remove the product, select Uninstall.
Hi, Has anyone ever used the cxml-parse-next-record op code with c$xml ? I have tried this as per the manual example but the return-code I get back from cxml-parse-next-record is 1 not a handle. If anyone has any information on this I would appreciate.
Problem: The 9.2 documentation is not accessible from within AcuBench. Resolution: Beginning in version 9.2.0 the documentation is in the Eclipse InfoCenter format. There is a project to integrate the new documentation in AcuBench version 10. In the meantime, to workaround this you can add a shortcut on the AcuBench Tools menu: Make sure you have installed AcuBench and the Documentation. 1. Go to Programs, extend 9.2.1, and right click on 'extend9 Documentation Set' and select 'Properties'.Note on Windows 8 you may need to type 'extend9 Documentation Set' in search, then right click on it and select 'Open file location', then right click on the actual file and select 'Properties'. 2. Copy the entire string in 'Target'. 3. Start AcuBench 4. Click on 'Tools', 'Customize' 5. Go to the 'Tools' tab 6. Click the ' ' button and enter a name for the item to add to your Tools menu, let's call it: "Do
Oi, Este é um exemplo de como você pode usar o objeto DocumentViewer para visualizar e depois imprimir arquivos doc e docx. Abraços,Coral Hi This is a demo to show how you can work with DocumentViewer object to view and then print doc and docx files. Best regards,Coral#demo
Visual Cobol 2.3 for Visual Studio 2015To set environment variables at runtime we have to use Properties/Application/Environment/IDE settingsHow to use environment variable in IDE settings ?I've checked this sample COBPATH=D:\\ws_mycommon\\cbl;%COBPATH%;C:\\temp;$COBPATH;$(COBPATH);${COBPATH} in IDE settingBut at runtime I have : COBPATH=D:\\ws_mycommon\\cbl;%COBPATH%;C:\\temp;$COBPATH;$(COBPATH);${COBPATH} No variables expanded.My subroutine was found only because I have hard a coded path (d:\\ws_mycommon\\cbl)Another test At runtimeCOBPATH178=D:\\ws_mycommon\\cbl;D:\\ws_mycommon\\cbl; // set before to start VStudio 2015COBPATH=D:\\ws_mycommon\\cbl;%COBPATH%;C:\\temp;$COBPATH;$(COBPATH);${COBPATH}COBPATHXX=%COBPATH178%;%COBPATH% TIA.#COBOLENVIRONMENT
I am trying to execute an NSIS created .exe installer for an auto update. This exe will not execute making the auto-update process fail. The lines in the log are: 11:44:16 Executing "C:\\Users\\hugh\\Desktop\\NRFDist\\nrf_roe_client_setup.exe"11:44:16 Error executing "C:\\Users\\hugh\\Desktop\\NRFDist\\nrf_roe_client_setup.exe" However, this does not happen if I provide an MSI package. I can wrap the exe file in an MSI package, but this is a little clunky. According to the docs, it would seem that an exe file should be able to be used. How do I get the thin client to execute the exe file? Does TC_INSTALLER_ARGS may have something to do with this?
I would like someone to confirm the following as the "best" way to get from VC 2.3 on VS 2013 to VC 2.3 on VS 2015 on Windows 7 PC: 1. Remove VC 2.3 license. 2. Un-install VC 2.3 for VS 2013 Hotfix #1. 3. Un-install VC 2.3 for VS 2013. 4. Un-install VS 2013. 5. Install VS 2015. 6. Install VC 2.3 for VS 2015. 7. Install VC 2.3 for VS 2015 Hotfix #1. 8. Install VC 2.3 license.
Created On: 25 October 2012 Problem: In a runtime session, it is easy to obtain TMP / TEMP path by reading environment variables. Is it possible to read client machines paths from within a Thin Client session? Resolution: To obtain client machine paths, a Windows API can be used.This is a brief COBOL program that explains how to call this DLL. IDENTIFICATION DIVISION. PROGRAM-ID. getPATH. REMARKS. ENVIRONMENT DIVISION. SPECIAL-NAMES. DECIMAL-POINT IS COMMA. INPUT-OUTPUT SECTION. FILE-CONTROL. DATA DIVISION. FILE SECTION. WORKING-STORAGE SECTION. COPY "ACUCOBOL.DEF". 01 WS-PATH PIC X(200). LINKAGE SECTION. SCREEN SECTION. PROCEDURE DIVISION. MAIN-LOGIC. ACCEPT TERMINAL-ABILITIES FROM TERMINAL-INFO IF IS-REMOTE SET ENVIRONMENT "DLL_CONVENTION" TO "1" CALL "@[DISPLAY]:kernel32.dll@WINAPI" CALL "@[DISPLAY]:GetTempPathA" USING BY VALUE 200 BY REFERENCE WS-PATH SET ENVIRONMENT "DLL_CONVENTION" TO "0" ELSE ACCEPT WS-
CS 2.3 w/ Hotfix #1 installed on Windows Server 2008 R2. VC 2.3 for VS 2013 w/ Hotfix #1 installed on Windows 7 PC. We are trying to call a native COBOL DLL from an ASPX/C# program using: [DllImport("WYP46P", EntryPoint = "WYP46P", SetLastError = true, CharSet = CharSet.Ansi, CallingConvention = CallingConvention.Cdecl)] It worked on the PC from the VS IDE. But from the server we get: Unable to load DLL 'WYP46P': The specified module could not be found. (Exception from HRESULT: 0x8007007E) We've tried compiling the DLL as Console and 32-bit/64-bit/Any-PC, Dynamic Link with and without Binding, with and without System Programs. "Frand" started a forum post "C# calling NE cobol" on 30 Oct 2015 for this exact same error but in Net Express. That thread never was concluded/answered. In our case the web application is executing under a "service account" that has admin rights to the hosting server,
Problem: The following complex query compiles fine in Net Express: EXEC SQL DECLARE cursor0 CURSOR FOR SELECT col1, col2, CASE WHEN ... THEN (SELECT COUNT(*) FROM table1 WHERE ...) ELSE (SELECT COUNT(*) FROM table1 WHERE... AND EXISTS (SELECT * FROM table2 WITH (NOLOCK) WHERE ...)) END, CASE WHEN ... END FROM Table0 END-EXEC. When compiling the above in Visual COBOL 2.3 for Visual Studio, the following error occurs: COBES0100 : Incorrect SQL statement syntax near: WITH Resolution: The issue has already been addressed in Visual COBOL 2.3 Hotfix1 that is available at the Product Updates pa
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
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.