RE: Checing for type in Visual COBOL
Hi Phil, you should be able to do:if view::FocusedColumn::FieldName = "CityCode" and view::ActiveFilter instance of type Devexpress.XtraEditors.LookupEditRobert.
View ArticleRE: problems with installing visual cobol
What version of Visual Studio 2013 do you have installed, e.g. Professional, Premium, shell?What version of Visual COBOL is this?Can you please tell me the name of the installer file that you are...
View ArticleRE: Excel Interop
It might be useful to see the equivalent C# as well. One thing that occurs to me is that subscripting using square brackets is zero-based in COBOL, just as in C#. Is it possible that you meant to...
View ArticleRE: problems with installing visual cobol
Please post your answers directly to this thread and do not message or e-mail me directly with your responses.Received this:the version of visual studio is visual studio ultimate 2013. and the visual...
View ArticleRE: File Share With Visual Cobol
Dear Chris,Solved. The problem was the Server Configuration File : /pf c:\pass.dat
View ArticleRE: Excel Interop
01 ExcelApp type Application. 01 ExcelWorkBook type Workbook. 01 ExcelWorkSheet type Worksheet.Sorry, it would have made sense to add them. Thanks
View ArticleRE: Excel Interop
Application ExcelApp = new Application(); Workbook ExcelWorkBook = ExcelApp.Workbooks.Add(1); Worksheet ExcelWorkSheet = (Worksheet)ExcelWorkBook.Sheets[1];...
View ArticleRE: Encrypt And Un-Encrypt a Print file - Update
What previous post? It would have been more useful to reply to that post, so we could see what it was.
View ArticleEncrypt And Un-Encrypt a Print file - Update
Hi All,Just checking if any one from MF has read my previous post concerning this matter?If so : is it possible / not possible?Would really appreciate an answer.ThanksNeil.
View ArticleEncrypt And Un-Encrypt a Print file
Hi,I have the following code that encrypts and then i can un-encrypt this file, which works file with text files i.e. readable characters.However if i try to do this with a stored printed data file...
View ArticleRE: Encrypt And Un-Encrypt a Print file
I'm not immediately seeing the problem. I'll have to take a closer look.Unless you're using a very old version of COBOL for .NET, you don't need quotes around type and method names. That would make...
View ArticleRE: Encrypt And Un-Encrypt a Print file
One problem that I noticed while rewriting this is that you don't validate the length of the key and IV, both of which must be ls-DES::BlockSize. I've fixed this (trivially) in my version.Using the key...
View ArticleRE: Encrypt And Un-Encrypt a Print file
Well, I have my version working, and it doesn't appear to have a problem with files of any sort.Here's the source. $set sourceformat(variable) $set ilusing(System) $set...
View ArticleRE: Excel Interop
We were able to reproduce the problem and a fix has been created.The problem is occurring because the SaveAs method uses optional parameters, as do a number of these Interop methods and if not actually...
View ArticleRE: Excel Interop
I copied and pasted your code and I got the same message. I then changed the filename parameter to be an absolute path and it worked. Apparently relative paths don't work with the saveas method....
View ArticleRE: A new Visual COBOL Webinar Series is starting soon
It was my understanding that links and or other material were going to be sent out via email. Maybe this was done and my team was missed. Please let me know. Thanks
View ArticleRE: Excel Interop
I also had a problem with relative path, but I actually found that when I did pass a relative path to SaveAs it was using the setting of the USERPROFILE environment variable as the path base. I didn't...
View ArticleRE: A new Visual COBOL Webinar Series is starting soon
Hi, please expect an email with links to the recording and other referenced materials very soon. Regards, Scot
View ArticleRE: A new Visual COBOL Webinar Series is starting soon
Scot is right, video recording coming soon! Watch your inbox.. I'll also post a link to the recording here when it has been finalised.
View Article