Yeah I understand how to get the data back from the database and putting it in a blob. And I looked at writex and that makes sense too, but my concern is that I need to create a file and then open it and then write to it. I was thinking about using GetFileSaveName to create a file and then use...
So it works without using the file length, but I'd like to have that just in case theres a weird EOF in the middle of one of the files for some odd reason.
Also, how would I run the binary of the file that I now have stored? Should I try running a command to the terminal or something or is...
So I have this going on right now,
GetFileOpenName("Choose a File", ls_path, ls_filename)
file_num = FileOpen(ls_filename)
file_length = FileLength64(ls_path)
FileReadEx(file_num, file_bin, file_length)
When I check file_length, it always returns as -1. Regardless of whether I just give it the...
Hey everyone, I just started using powerbuilder and could use some assistance. I want to attach a file from the computer to a datawindow. I'm using a TSQL backend, so I figured I would just create a varbinary column and store the data there. The problem I'm running into is how to get the binary...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.