Quantcast
Channel: Net Express / Server Express - Forum - Recent Threads
Viewing all 375 articles
Browse latest View live

print *.jpg

$
0
0

Up to the Moment I receive QR codes  as¨*.bmp file. I have no Problem to print them with PC_PRINTER_LOAD_BMP  and PC_PRINTER_WRITE_BMP.  I was informed, that I will receive in future the QR code as  *.JPG  file.   Is there a possibility to print them from a NETEXPRESS program.

Or does somebody know how I can include them in my invoices.

Thanks for any help.

Rolf


RE: using .NET SDK in NetExpress 5.1

$
0
0

If you still dont’t have the solution to the QR problem, perhaps this is the solution:

In Internet you will find the program QRENCODE     (it is a free program   from Kentaro Fukuchi).

After downloading it  insert in your NETEXPRESS  program the following:

      77  run-id       pic 9(8)  comp-5.

      01  CmdLine  pic x(256).

          STRING  'qrcode -o 'MY-QRCODE.BMP -s  5 " TEXT TO BE CODED”  X”00”

           DELIMITED BY SIZE INTO cmdline.

002846     move 1 to CmdShow,

          call "CBL_EXEC_RUN_UNIT" using  CmdLine

                        by value     130            *>length of cmdline

                        by reference  run-id

                        by value     id-stat   *> stack-size

                                     x"01"  *> flags

                        returning    CmdStatus.

You will receive a file  “MY-QRCODE.BMP”   which you can print where you need it.

The TEXT TO BE CODED is all you want to code: "GiroSolution AG DE23690516200012345600"     etc.

QRCODE allows a series of Parameters, you will find with the program.  -s 5   is the size 5

Rolf@cedrosa.mx

server express version

$
0
0

Hi, We are a bit lost,

 We need help !

We have developed  a cobol solution on redhat LINUX , it runs on Linuxredhat  V6 with server express 5.1 ! We need to upgrade to Linuxredhat 7 , I read the products matrix which has no cobol for redhat 7 !

which COBOL do we need to use ? Whare are the impacts ?

regards

RE: print *.jpg

$
0
0

I see in another discussion you posted a suggestion about using QRENCODE. Does that resolve this issue for you?

RE: print *.jpg

$
0
0

In a certain way it is a different possibility. Instead of printing a .JPG in this case I can build a new immage file not in JPG Format, but in BMP and then print it with PC_PRINTER_WRITE_BMP

RE: NetExpress 3.1

$
0
0

Hello,

Net Express 3.1 is not certified on Windows 7. You'll need to find a Windows XP machine to install it on.

Regards,

NetExpress 3.1

$
0
0

I have a new Windows 7 professional laptop, and need to install NetExpress 3.1.  I have the original CD, but it does not install.  Is there any downloads available to make this work.  I have to have 3.1 for current client support.

Thanks

Invitation to explore our brand new COBOL Analyzer product

$
0
0

Hello everyone,

I would like to invite you to join the COBOL Analyzer forum where you'll find information on this new exciting offering from Micro Focus.

Designed for Micro Focus COBOL applications, COBOL Analyzer enables developers, analysts and management to achieve a deeper understanding of their application portfolios providing both business and technical insight.

In the forum, you'll find links to product videos,  getting started tutorials and code samples.

You are also most welcome to visit our product page to explore the different resources, download your free evaluation copy and understand how COBOL Analyzer can help you deliver higher quality COBOL applications, faster!

Thanks,
Guy Sofer
Product Manager


RE: print *.jpg

$
0
0

This is a native (not .NET) program, correct?

The Windows GDI+ subsystem can read a JPEG file and return a bitmap, using the Bitmap.FromFile API. I'm not sure offhand what the best way to invoke that from COBOL might be. If I were doing this, I'd write a small C++ wrapper that exposed an extern-C entry point.

There's also the Windows Imaging Component:

msdn.microsoft.com/.../ee719654(v=vs.85).aspx

I've only glanced at the docs, but it looks like you instantiate it as a COM+ object and then invoke methods against that. If memory serves, in NetExpress you can map COM+ services using the IMTK, so that might be an easier route.

RE: Net Express 3.1 to 5.0

$
0
0

Hello,

Upgrading from Net Express 3.1 to 5.0 is seamless. I would recommend to upgrade to Net Express 5.1 instead as 5.0 is only certified up to Windows XP and Vista.

Regards,

RE: Net Express 3.1 to 5.0

Net Express 3.1 to 5.0

$
0
0

I have a current project in NetExpress 3.1 which has dialog systems screen.  Is there any pitfalls to upgrading to 5.0?

Thanks

RE: Net Express corrupted

$
0
0

Hello,

Are you using a virtual machine? Some virtual machines for some reason don't act exactly like physical machines, which causes the Net Express's license manager not to recognize the machine's fingerprint from time to time. The only solution is to make sure the virtual machine acts exactly like a physical machine.

If you're not using a virtual machine, I suggest reinstalling Net Express. Before starting the uninstallation, I suggest making sure the license shows "Full license" and revoking the license.

Regards,

Net Express corrupted

$
0
0

Hello,
I RETAIN my Net Express 5.1 “wrappack 12” from my Pc, and when I reinstall it with “wrappack 6” I found the license is corrupted,
I checked the License Management System Configuration status =the license is not setup correctly.
I just exit from it and back to it again I found the License Management System Configuration status = Full license and Net Express working fine, but after some days the same situation happened again and I solve it with the same solution I mentioned.
Please any solution to correct this issue.

RE: Net Express corrupted

$
0
0

Hello,

I'm not using a virtual machine,

as I mentioned in my previous post when I get the license is corrupted, I just open the License Management System Configuration and close it then the  license shows "Full license" and I can use Net Express full functionality. meanwhile  I can't revoke the license.

is there any solution rather the REVOKE to solve this problem.

Regards.


RE: Net Express corrupted

$
0
0

You might try repairing the product from "Programs and Features" (or "Add or Remove Programs" if using older Windows versions). If that doesn't work, then the only solution I can think of is what I suggested previously.

SQL FETCH ABSOLUTE

$
0
0

Hello, this is my first ever post, so here goes:

We are trying to implement a FETCH ABSOLUTE in a MF Cobol program.  Here is what I found:

When I try to code the fetch statement, I can use the following arguments: NEXT, PRIOR, FIRST, and LAST.  However, when I use ABSOLUTE or RELATIVE, it fails compile.  I included the SCROLL option when declaring the cursor.  I read that If the SCROLL is specified in an ISO style DECLARE CURSOR, all FETCH options are supported.  However, I still fail compile using the ABSOLUTE FETCH option.

Here is the cursor declaration:

EXEC SQL
   DECLARE CSRF00 scroll cursor FOR SELECT *
           FROM :WS-NAME-NO-EXTENSION A
END-EXEC

And here is the FETCH ABSOLUTE. 

EXEC SQL
   FETCH ABSOLUTE 2 FROM CSRF00 INTO :dclf00
END-EXEC

So, is my syntax wrong or is ABSOLUTE really not supported.

Thanks in Advance,

Bart

RE: SQL FETCH ABSOLUTE

$
0
0

Hi Bart,

The statement that you read about using the scroll option in the cursor declare applies to statements written in SQL Server Transact-SQL language and does not apply to syntax supported in OpenESQL which is the Micro Focus SQL preprocessor.

The list of available options in MF COBOL can be found in the Net Express COBOL docs under OpenESQL statements -> FETCH. The list does not include ABSOLUTE or RELATIVE.

If you wish to use options that are not listed there you still might be able to do so by creating your statements using dynamic SQL instead of directly in embedded SQL or place your Transact SQL code within a stored procedure in SQL Server and call it to execute the statements.

RE: Netexpress 5.1: Updating existing Dialog System Screenset

$
0
0

It really doesn't sound like you opened up the correct .gs file for editing. Do you have multiple versions of this screenset within your path or do you have a version with an .rs extension that perhaps is being used at run-time?

I would suggest opening up an incident with Customer Care so that we can take a closer look at what steps you are taking.

Thanks.

Netexpress 5.1: Updating existing Dialog System Screenset

$
0
0

Hi,

I am trying to update one of our dialog system screenset. Basically i want to add a new groupbox (with some radio buttons & entry fields) in between the existing other groupbox components in the screen ( the screen has a vertical scroll bar also). When I opened the *.GS file for editing, i could only find an empty/blank screen and all the exisiting controls were not visible.

I just added my new groupbox with radio buttons & entry filed in it (screenshot below); updated the *CPB file, generated datablock  ; and rebuild the *.CBL file. Now when I am testing, i can see the old existing items & components in my screen, but new updates are not there.

I am trying to understand 2 things here-

1.why the existing controls/ items is not visible when the GS file was opened for editing?

2.How to add new groupbox component( with radio buttons & entry field) in between existing controls?

I had gone through the documentation, but could not find a solution. Any help on this would be great as I am completely new to this.

Thank you

Viewing all 375 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>