Search results

  1. D

    Converting DotNet code to Progress - Byte Array

    If I pass the Get-Pointer-Value of the memptr to the System.IO.MemoryStream it returns the error: System.ArgumentException:Parmeter is not valid. And using RAW causes the code to not compile at all because System.IO.MemoryStream won't take it as a parameter.
  2. D

    Passing OCX control to DotNet

    I am building a DotNet DLL and am trying to pass an OCX control to it. On the DotNet side it compiles fine. In Progress, it doesn't recognize what I try to pass into my DotNet method call for that OCX control as a valid object of the OCX type so it won't compile. I only have access to the...
  3. D

    Converting DotNet code to Progress - Byte Array

    Hello, I am trying to convert some code that looks like this in .NET (VB): Dim mySize As Long Dim myArray() As Byte mySize = AxSigPlus1.BitMapBufferSize() ReDim myArray(mySize) myArray = AxSigPlus1.GetBitmapBufferBytes() Dim ms As New MemoryStream(myArray) into Progress. Here is the...
  4. D

    DotNet DataTypes

    I am using OpenEdge 10.2.B and need access to the DotNet Long datatype as well as the Byte array. Is there some documentation somewhere that shows me how to reference those inside Progress?
  5. D

    Exporting Hashed data to a file.

    Never mind. If I switch from EXPORT to PUT UNFORMATTED, my first example works.
  6. D

    Exporting Hashed data to a file.

    I am trying to output a result I get from the SHA1-DIGEST hash function of Progress to a file. But I need to convert it to a Hex format first. Here’s my code for doing that. ASSIGN hashedData = SHA1-DIGEST(fileData) hexValue = HEX-ENCODE(hashedData)...
  7. D

    SHA1-DIGEST function

    Yeah, I probably should have figured that out on my own. I would claim I read it too fast but... :) Thanks!
  8. D

    SHA1-DIGEST function

    The SHA1-Digest function has the following definition: Hashes the specified data using the United States Government Secure Hash Algorithm (SHA-1), and returns a 20-byte binary message digest value as a RAW value. Yet when I was looking up the definition of SHA-1 on Wiki I...
  9. D

    Setting Index value of an array object

    I'm not sure if this is a dumb question or not but say I have an object that I've built and I want to put it into an array like so: DEFINE VAR myObject AS SomeObject EXTENT 2. myObject[1] = NEW SomeObject(311). myObject[2] = NEW SomeObject(211). and the 311 and 211 are unique id's tied to...
  10. D

    SmartObject issues in 10.2.B

    Right, that's kind of the boat we're in now...is that we are doing an upgrade to 10.2.B but our existing code is running into this problem. So basically trying to see if anyone else has had a similiar problem and how they resolved it (if it's resolvable).
  11. D

    SmartObject issues in 10.2.B

    Hi, We have an app where one of the pages uses three smart objects. Once we switched to 10.2.B, we noticed that for this particular page, in certain resolutions, the scrollbars won't appear on the side of the page yet there is part of the page that extends down below the screen (i.e. we no...
  12. D

    Reading/Writing unusual characters from text file

    Got it working doing this: FILE-INFO:FILE-NAME = txtFile:SCREEN-VALUE. SET-SIZE(allFileData) = FILE-INFO:FILE-SIZE. INPUT FROM VALUE(txtFile:SCREEN-VALUE) BINARY NO-MAP NO-CONVERT. IMPORT allFileData. INPUT CLOSE. where allFileData is a memptr.
  13. D

    Reading/Writing unusual characters from text file

    I have a need to store data such as this in a text file: ¯-a}vˆ—íU±/ƒ*Á0’…ÜÈ When I was writing it to a text file I was using the EXPORT function and it was adding quotes around my value like so: "¯-a}vˆ—íU±/ƒ*Á0’…ÜÈ" so I switched to the PUT UNFORMATTED function to do it and the...
  14. D

    Encryption/Decryption

    Here is the exact specification for the test: Using Vendor-identified functions, the Tester encrypts the information using a symmetric algorithm. The Tester validates that the information is unreadable. We essentially need to verify that we can encrypt data that is leaving a client of ours...
  15. D

    Encryption/Decryption

    By the time this is in place we'll be using 10.2B. We are doing this for a certification process - in which the certification requires us to prove to the tester that the information is unreadable. From what I understand of SSL, it's unreadable while in transit but is readable when it reaches...
  16. D

    Encryption/Decryption

    Hello, I am trying to learn about how encryption/decryption works in Progress. I have a need to build an encryption process for clients who use our software for messages that would be sent from them to a third party vendor. It appears that Progress only uses symetric encryption and that the...
  17. D

    Odd Widget Error

    Hi, Can anyone tell me what this error means? It seems pretty non-descript: "Unable to realize MENU widget"
  18. D

    PDF viewers

    It'll depend on the user. The user has the ability to create the pdf and then we have a process that gets it into our system. I'm assuming they'll use Acrobat...?
  19. D

    PDF viewers

    I'm not sure I'm explaining it right so I'll try again. In the Microsoft Web Browser, I can open up a PDF just fine. It opens it up and has save buttons just as if you have opened it up in Adobe. I don't want to use those save buttons because I want to have total control over where the file...
  20. D

    PDF viewers

    The problem is that I can't grab the "instance" of the changed file and save it. I don't see a way to get that file. If I could do that, I'd be able to do what you're suggesting fairly simply I think.
Back
Top