Browse all forums dedicated to the Rocket® COBOL product family.
Recently active
hello, I need help on creating RAR or .ZIP file I have some sample code , but this code does not let me add more than one file , I wonder how to add more than one file thank you example code *biblioteca de ZIP $set ilusing "System.IO" $set ilusing "System.IO.Compression" class-id fazZip.Form1 is partial inherits type System.Windows.Forms.Form. working-storage section. 01 FInfo type FileInfo. 01 InStream type FileStream. 01 OutStream type FileStream. 01 ZipIt type GZipStream. method-id NEW. procedure division. invoke self::InitializeComponent *C:\\teste.html FInfo::FullName invoke new type FileInfo("c:\\testebruno.txt") giving FInfo invoke FInfo::OpenRead() giving InStream invoke type File::Create(FInfo::FullName & ".gz") giving OutStream invoke new type GZipStream(OutStream, type CompressionMode::Compress) giving ZipIt invoke InStream::CopyTo(ZipIt) invoke ZipIt::Close() invoke InStream::Close() invoke OutStream::Close() goback. e
Does anyone know why when sending emails CC and BCC does not work? I am using VBSCRIPT with CDO. Thanks, David
Hello ! First of all, you have to know that I'm a Belgium student, so I speak french, and I hope my english will be good enough to make me understood.So, thanks to my college, I got a licence of visual cobol for Eclipse available until the next year. I've installed it on my computer at home, and thanks god, no problem with it.Then, I've installed visual cobol for eclipse on my laptop too (this is a MacBook, so I use Parallels Desktop in order to run Windows), and the installation was ok, but I can't use visual cobol. Why ? When I create a new project, with a new cobol program, I immediately have an error and so I can't launch my program. Even if this is a new, empty program, when I try to run, I've this message : "The COBOL Program launched could not be located". And a red cross in the line "end program Program1", with the message "COBCH1504S I-O error : 9/181 \\\\Mac\\Home\\Desktop\\Workspace\\Cobbol\\test\\New_Configuration.
I build my Visual Cobol application in Release mode and when i'm running it from command line the execution stops on a cbl_debugbreak call asking me if i want to start the debugger. Is it possible to disable that call when i'm running a release build?
Problem: The installation of HotFix 7 or higher fails with the following error message: Fix setup issue(s) and retry. For more information see the log file. 0x81f40001 - Micro Focus COBOL Server 2013 has been detected but needs to be upgraded to the R2 version. R2 can be downloaded from the SupportLine site. Please contact Micro Focus Customer Care if you have any queries. Resolution: COBOL Server R2 allows applications created with Visual COBOL for Visual Studio 2010/2012/2013 to also be deployed on Windows XP and Windows Server 2003. The R2 installers replace the original installers of COBOL Server and include any fixes delivered with HotFixes 1 to 6 of the COBOL Server 2.2 Update 2 release. This R2 installer is available for download from the Product Updates page at the MF SupportLine site. Once the R2 is installed, then you will be able to install HotFix 7 or higher. Note: Windows XP and Windows Server 2003 support is enabled in conjunction with HotFix 6 or greater for Visual
Problem: How to uninstall MF COBOL Server silently from the command line? Resolution: You may use the same setup file that was used to install MF COBOL Server to uninstall the same product from an elevated command prompt:start /wait <setup-file-exe> /quiet /uninstall where <setup-file-exe> would be for example: cs2010_22.exe for COBOL Server 2010 version 2.2 cs2012_221.exe for COBOL Server 2012 version 2.2 Update 1 cs2013_222.exe for COBOL Server 2013 version 2.2 Update 2 Please take note that the uninstallation process of COBOL Server does not uninstall MF License Manager automatically. In order to uninstall License Manager, you will need to know its product GUID. This is a long string that is enclosed within braces, e.g. {C4920323-C34A-4462-9C3E-BA0325BBD9BA} The product GUID is different from a version of COBOL Server to another, and you may find it from the Windows Registry: Open Windows Registry (regedit.exe) Go to HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windo
Hello, Is there any guide on how to begin migrate my Project which I made with extend 9.2.5 (acucobol-gt) into Visual COBOL? I just need a startup guide with how to migrate source code, screens, event paragraph, variables etc.#extend9.2.5VisualCOBOL
We have a bit of a problem with 2 different dll's using a common dll at different versions, and neither work properly with each other's common X.dll. they need to have access to their own version of the common X.dll... Here's the scenario: first.dll and X.dll (version 1) are in the folder C:\\first\\ second.dll and X.dll (version 2) are in the folder C:\\second\\ wrun32.exe Program.acu calls first.dll which calls X.dll (version 1) later calls second.dll which calls X.dll (version 2) and blows up with an error because X.dll is already loaded into memory by first.dll so it appears to be trying to call the methods in the wrong X.dll. If we don't have access to modify either one of these dll's is there anything we can do to force both first.dll and second.dll to load and use their own proper X.dll? Thanks
Hello, How can I make a splash screen? I am starting no with Visual COBOL and not much knowledge of Visual Studio. Any code example would be appreciated. #splashscreen
I have code like this for FirstChanceException: 01 currDomain type System.AppDomain. SET currDomain TO type AppDomain::CurrentDomain. ATTACH METHOD FirstChanceHander TO currDomain::FirstChanceException(). method-id FirstChanceHander static attribute System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptions. local-storage section. procedure division using by value sender as object e as type FirstChanceExceptionEventArgs. GOBACK. end method. Does anyone know how to write to a log from this handler? I tried updating my own ASCII log file but that causes an exception because this method is static. I'm tryi
Good morning, I'm needing to load a dll and I find nothing in Cobol for this, but I found the instructions in VB <DllImport("c:SATSAT.dll", CallingConvention := CallingConvention.Cdecl)> _Public Function AtivarSAT(numeroSessao As Integer, subComando As Integer, codigoDeAtivacao As String, CNPJ As String, cUF As Integer) As IntPtrEnd Function How to do this in Cobol? And the dll is in 32bit and my OS is 64. I need to change something in my project. thank you.
I am working through "Tutorial: Developing .NET Managed COBOL", trying to learn Visual COBOL. I developed Form1, then Menu1 and made it my startup program - all fine and working. Then to extend the exercise I added a button to Menu1 to call Form1 using the cobol command call "Form1". but it fails with error "173 Called program file not found in drive/directory [Form1]" What can I be doing wrong? Please help! Surely the syntax is correct, and both forms can be seen in Solution Explorer.
Is it possible to use the "Create Collection" to fill with DataGrid? How do it?
I am trying to download Visual Cobol 2012 from MicroFocus cobol site. The download seems to complete but there is a final message that it failed and the system busy. Do I just try at another time? Am I missing something from the download process? thanks, David #issue#VisualCOBOL#download
We are JUST starting the process of migrating from Net Express 5.1 to VCVS 2.2.2 for 2013. Our native application originated as batch programs on Unisys 2200. It consists of 62 unique Net Express projects, each one representing an original batch job. Each project produces a single .exe that serves as the job controller (more or less replacing the batch job deck) that calls one or more individual batch programs built one-for-one as .dlls (a total of 145 unique .dlls). Some batch programs (.dlls) are in more than one project. We are assuming, based on the product documentation we've read, that our goal should be one solution (the batch application) with each of the .exes and .dlls as its own separate project? We are also assuming that since our developer workstations and target servers are all 64-bit this should be the target platform? Our problem, after trying various combinations of Net Express Import Wizard, Project From Existi
Hey. I am struggeling with what I suspect to be a XFD-definition problem. The "sql" data format of text columns is somehow wrong. It cannot display Norwegian characters, which is a problem for me. The format is now varchar(30) which is a non-Unicode format. I am not sure if changing to e.g. nvarchar wil help me, but its the first thing I can think of. Have any of you got any ideas of how to extract text-fields with international(Norwegian) characters?#Extend9#extend#fd#XFD#AcuXDBC#linkedserver#encoding
Hi All, Is any one interesting in sharing what 3rd Party .NET apps they have used in Visual Cobol i.e. PDF Printers, Document Viewers etc? We could share App Name a bit of Cobol code showing how we integrated it. If you are interested then pls reply to this post. Thanks Neil.
Is there a way in dialog to make a screen object (radial button, check box etc.) appear and disappear, depending on the value of a variable?
Problem Is there a limit to how many source files can be stored in a Visual COBOL for Eclipse project? Resolution: There is no limit apart from that the Eclipse IDE shipped with Visual COBOL for Eclipse is a 32bit process and has a 2GB process limit. For a baseline comparison, the Visual COBOL product's source code consists of over 6500 source files in about 40 projects and the Eclipse IDE can handle this without problem. It’s a matter of how things are organised rather than an absolute number.
Problem Error 2738 shown during installation of Visual COBOL. Full text shown in the Visual COBOL Installer is : The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2738. Resolution: This is a Windows installer error, caused due to the Windows VBscript component not being enabled on the machine correctly. The Visual COBOL Product installer requires VBScript to be enabled.To resolve, ensure that the vbscript.dll is registered into the Windows Global Assembly Cache (GAC) of the Windows Operating system, using command regsvr32. This Microsoft dll file is usually located in path %windir%\\system32\\). See also the Microsoft MSDN webpage: http://msdn.microsoft.com/en-us/library/aa372835(v=vs.85).aspx This explains that error code 2738 means: Could not access VBScript run time for custom action [2]. This usually means the vbscript.sll is not present or installed correct
Hello, I have a problem I need to fill a ComboBox in various programs, I was thinking about making a routine which would read the file and fills the ComboBox of the program that called this routine is to do this, thank you
Hi, can anyone help me? I have MicroFocus Visual Cobol 2.2 (Eclipse) installed. The software now closing alone!! It does not show any message. We have a license server for manage it. Anyone seen this problem ? Thank's!#VisualCOBOL#CobolEclipse#MicroFocusVisualCobol#COBOL
Problem: Do you have an example of how to convert a PIC X to a HEX value? Resolution: See the attached source code example. Attachments: hexcnvt.cbl Old KB# 4680
I am currently using the RmNet library and calling the "HttpPost" routine to invoke a web service from a RM/COBOL application running on the AIX operating system. We would like to modify this to go over a more secure protocol SSL. I am not sure where to begin. Can I just change the request URL from http:// to https:// or are there more steps involved? It would be nice if it were that simple, but I doubt it! Has anyone done this? Any guidance would be greatly appreciated. #SSL#RMCOBOL#RMNet#BIS
When using Micro Focus 2.2 to compile a .NET 2013 application's INTERFACE that references a COBOL copybook which contains an 88 level, the error "COBCH1747: Only properties and events allowed in interface data division" surfaces. The copybooks are old, legacy system copybooks so we can't easily remove all 88 levels. To temporarily bypass this compile error, changed interface to no longer reference copybook but instead use an 01 level with a PIC clause but this is not the desired solution. NOTE: This was not an issue when same application compiled with .NET 2010 under previous version of Micro Focus.#2.2VS2013COBCH174788
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.