Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 50 of 361
Search took 0.28 seconds.
Search: Posts Made By: FreakaZoid2
Forum: General 08-28-2019, 08:23 PM
Replies: 5
Views: 3,693
Posted By FreakaZoid2
Sorry...

Cranal rectal inversion.

so focus on one part didn't see the rest.
Forum: General 08-28-2019, 08:07 PM
Replies: 5
Views: 3,693
Posted By FreakaZoid2
the xml loads into

IE, Edge and firefox without any issues. just not sure why 10.2 doesn't like that line.
Forum: General 08-28-2019, 07:59 PM
Replies: 5
Views: 3,693
Posted By FreakaZoid2
full error message

Missing equals sign between attribute and attribute value.
Line: 79
CC_SMTPRecord UserID="DEFAULT"<CC_SMTPRECORD UserID="DEFAULT" p HTML]< [>
Forum: General 08-28-2019, 07:58 PM
Replies: 5
Views: 3,693
Posted By FreakaZoid2
not working text xml

<CC_SMTPRecords>
<CC_SMTPRecord UserID="DEFAULT" Application="AC" UseSMTP="false" Server="" UserName="" FromName="" TLS_Type="NONE" SSL_Version="None" />
Forum: General 08-28-2019, 07:57 PM
Replies: 5
Views: 3,693
Posted By FreakaZoid2
working text xml

<CC_SMTPRecords>
<CC_SMTPRecord UserID="DEFAULT" Application="AC" UseSMTP="true" Server="" UserName="" FromName="" TLS_Type="REQUIRE" SSL_Version="SSL23" />
Forum: General 08-28-2019, 07:53 PM
Replies: 5
Views: 3,693
Posted By FreakaZoid2
Delphi XML : TXMLDocument load error

any ideas as to why the Delphi 10.2 doesn't like this line from an xml file.

<CC_SMTPRecords>
<CC_SMTPRecord UserID="DEFAULT" Application="AC" UseSMTP="false" Server="" UserName=""...
Forum: General 08-23-2019, 09:37 PM
Replies: 3
Views: 3,808
Posted By FreakaZoid2
my stupidity

the xml parsing is plenty fast, its the select, (insert/update) that is taking so long. I will see about testing/implement clientdatasets.


Thanks everyone.
Forum: General 08-23-2019, 03:12 PM
Replies: 3
Views: 3,808
Posted By FreakaZoid2
<ClientInfo> ...

<ClientInfo>
<CityID>CCCCCCCCCCCCCCCCCC</CityID>
<CityName>NNNNNNNNNNNNNNN</CityName>
<UserName>uuuuuuuu</UserName>
<DateTime>2017-12-01 11:00:45</DateTime>
<OpSystem>WIN/NT</OpSystem>...
Forum: General 08-23-2019, 03:08 PM
Replies: 3
Views: 3,808
Posted By FreakaZoid2
String Parsing of XML document

I have about 200,000 plus XML documents to parse that contain client details. so data is not repeating nodes. same node structure from file to file. I have it working with the xmldocument...
Forum: General 08-16-2019, 03:57 PM
Replies: 0
Views: 4,181
Posted By FreakaZoid2
acucobol bitmap from delphi dll

Ok I have my dll that creates a bitmap but I am trying to figure out how to send it back to acucobol program.
I can modify the dll however it takes. This is the latest changes I have tried....
Forum: General 08-14-2019, 04:33 PM
Replies: 19
Views: 5,391
Posted By FreakaZoid2
Thanks for the help and guidance

I really do appreciate as it keeps me plugin along....
Here was the solution.
procedure TForm1.btn1Click(Sender: TObject);
var
wic : TWICImage;
_bs : TBytesStream;
begin
wic :=...
Forum: General 08-14-2019, 04:12 PM
Replies: 19
Views: 5,391
Posted By FreakaZoid2
More info

if I save the string to a file, then load that up into a twicimage it works. but it will not let me load the string into the wicimage.
I compared the string value to the file and they are nothing...
Forum: General 08-13-2019, 07:45 PM
Replies: 19
Views: 5,391
Posted By FreakaZoid2
this is the converted bytes

but I can't load it into an image not even a WICImage without getting an error. (different signature than the original one posted) Do I need to remove the beginning bytes or something. Not a graphics...
Forum: General 08-13-2019, 07:04 PM
Replies: 19
Views: 5,391
Posted By FreakaZoid2
interesting thing....

using...

var
astr: string;
bytes : TBytes;
begin
bytes := TNetEncoding.Base64.DecodeStringToBytes(mmo2.Lines.Text);
astr := TEncoding.ASCII.GetString(bytes);
Forum: General 08-08-2019, 02:38 PM
Replies: 19
Views: 5,391
Posted By FreakaZoid2
bitmap -> base64 -> string

bitmap -> base64 -> string
Forum: General 08-08-2019, 02:32 PM
Replies: 19
Views: 5,391
Posted By FreakaZoid2
in the background of all this, with 99%...

in the background of all this, with 99% certainty, the signature comes to us as Base64 (presumed to be a bitmap) then the .NET app (buffer dll for giving me access to .NET components from COBOL) they...
Forum: General 08-08-2019, 02:27 PM
Replies: 19
Views: 5,391
Posted By FreakaZoid2
Forum: General 08-07-2019, 06:54 PM
Replies: 19
Views: 5,391
Posted By FreakaZoid2
i have dug deeper and discovered that the

varbinabry always shows 0x47....
but the underlying string of data is actually different.
R0lGODlhSwFnAPcAAAAAAAAAMwAAZgAAmQ.....(base64)

lots of confusion on this issue.
basically we have 2...
Forum: General 08-07-2019, 03:18 PM
Replies: 19
Views: 5,391
Posted By FreakaZoid2
the 0x47.... data is stored in a database as...

the 0x47.... data is stored in a database as varbinary.
is that what is making the string behave like a blob and not a real string of data?
if so how would I go about turning that string back into...
Forum: General 08-07-2019, 02:46 PM
Replies: 19
Views: 5,391
Posted By FreakaZoid2
I have verified from Ingenico documentation that...

I have verified from Ingenico documentation that it is supposed to be a bitmap format.
Forum: General 08-07-2019, 02:39 PM
Replies: 19
Views: 5,391
Posted By FreakaZoid2
the more i look at this from my side (delphi)

I cannot see how that string is base64. not with the 0x47 part at the beginning. So after some thought last night I am thinking that I need to take the string and turn it into binary. I get limited...
Forum: General 08-07-2019, 02:35 PM
Replies: 19
Views: 5,391
Posted By FreakaZoid2
function BitmapFromBase64(const base64: string):...

function BitmapFromBase64(const base64: string): TBitmap;
var
Input: TStringStream;
Output: TBytesStream;
begin
Input := TStringStream.Create(base64, TEncoding.ASCII);
try
Output...
Forum: General 08-06-2019, 04:11 PM
Replies: 19
Views: 5,391
Posted By FreakaZoid2
Working with C# dev person

we have determined that the image( a signature) is converted to base64
then we take that and run the convert.base64string and store that string.
now I am trying to take the string and convert it...
Forum: General 08-06-2019, 04:00 PM
Replies: 19
Views: 5,391
Posted By FreakaZoid2
yeah i saw that in some forums

when I asked the C# dev what kind of image they were loading into they said it was a bitmap. maybe C# is doing the conversion or they are somewhere else in the background.
with that said I have...
Forum: General 08-05-2019, 07:56 PM
Replies: 19
Views: 5,391
Posted By FreakaZoid2
OK more info as i go thru this

Don't think the base64 is in play. the 0x47 at the start of the string represents the start of a graphic format.

so how would I go about loading the string into a bitmap.
I am assuming that I...
Forum: General 08-05-2019, 04:03 PM
Replies: 19
Views: 5,391
Posted By FreakaZoid2
I got someone from our C# dev to show me the code for retrieving the image

if (activity.HasSignature)<?xml:namespace prefix = "o" ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
{<o:p></o:p>
var imageStream = new...
Forum: General 08-02-2019, 10:16 PM
Replies: 19
Views: 5,391
Posted By FreakaZoid2
Convert C# base64 string back to an image.

I am trying to take a C# base64 string and convert it back to an image. But everything I try fails with invalid bitmap image. Does the C# have something different about its encoding or am I going...
Forum: General 05-28-2019, 03:58 PM
Replies: 1
Views: 8,638
Posted By FreakaZoid2
onclick button stay down or up

using speed buttons and wanting to be able to click the button and it stay down. if i click it again i want it to stay up. multiple speed buttons

i cant remember the logic for flipping the button...
Forum: General 05-14-2019, 10:01 PM
Replies: 0
Views: 9,136
Posted By FreakaZoid2
Thread not able to access a function method defined in program

i have my thread logic working and doing what i want it to do except when it tries to call this function(CopyFileIFileOperationForceDirectories) it does nothing. presumably failing. just not sure...
Forum: General 03-08-2019, 03:22 PM
Replies: 3
Views: 6,630
Posted By FreakaZoid2
thank you for that...

Basically you are saying that i can just use a TPrinter and manipulate it directly. I haven't done any program using TPrinter directly always used one of the report tools (freebies). But now is as...
Forum: General 03-07-2019, 03:50 PM
Replies: 3
Views: 6,630
Posted By FreakaZoid2
working on creating a custom program

Looking for guidance/ideas
i have a text file that has basic printer output defined in it.
page width = 5.5;
page length = 6.0;
LPI = 8;
CPI = 12;
Font = New Courier;

and actual things to...
Forum: General 08-21-2018, 01:53 PM
Replies: 4
Views: 4,559
Posted By FreakaZoid2
that is what i needed to know.

the is not a way to create inline and not have a memory leak.


Thanks
Forum: General 08-20-2018, 06:00 PM
Replies: 4
Views: 4,559
Posted By FreakaZoid2
Interesting...

but i was trying to figure out a way to keep the number of lines of code down instead of using more.
And thanks for the link. might come in handy for some other projects i am dealing with.
Forum: General 08-20-2018, 05:17 PM
Replies: 4
Views: 4,559
Posted By FreakaZoid2
how to free a resourcestream created inline

Currently i am using the following to create a ResourceStream and to free it up.
var
_strlist : tstringlist;
RS : TResourceStream;
begin
....

_tstrlist.Clear;
RS :=...
Forum: General 07-20-2018, 05:16 PM
Replies: 1
Views: 1,310
Posted By FreakaZoid2
String character change. (no replacestring)

i have a stringlist of lines of text.
i want to change the 43rd character in the string.
i have it working this way BUT wanted to know if there is a better function/option.
.....
astring :=...
Forum: General 05-29-2018, 03:54 PM
Replies: 2
Views: 1,648
Posted By FreakaZoid2
Well now I really feel dumb. thank you so much...

Well now I really feel dumb. thank you so much for that info.
Forum: General 05-21-2018, 03:18 PM
Replies: 2
Views: 1,648
Posted By FreakaZoid2
Registry 32/64bit correct way to access

If I want to update the 32bit registry on a 64bit system, what is the best way to accomplish.
Currently and in all previous registry related programs i have written has been to test for the wow6432...
Forum: General 05-16-2018, 02:40 AM
Replies: 1
Views: 1,507
Posted By FreakaZoid2
call dll function pansichar parameter

i have a function in a dll

function Send_Value(aValue : pAnsChar):Integer; stdcall;
var
myStr : string;
begin
...
myStr := 'Test';
System.AnsiStrings.strlcopy(aValue,...
Forum: General 05-04-2018, 03:45 PM
Replies: 1
Views: 1,580
Posted By FreakaZoid2
found it

view/Tool Windows/Templates
Forum: General 05-03-2018, 07:21 PM
Replies: 1
Views: 1,580
Posted By FreakaZoid2
keyboard configuration of try/finally/end

using delphi tokyo and everytime i type try it adds the finally end statements.
How do i change that to try/except/end statements or add a new one called trye for exceptions?
Forum: General 05-03-2018, 06:44 PM
Replies: 1
Views: 1,332
Posted By FreakaZoid2
dynamic loaded dll function parameter

how would i go about checking inside the dll if a parameter was passed to it or not or could i use the override option (dont know much about it)
i have a function in the dll
function myFunc(aVar1,...
Forum: General 04-26-2018, 06:53 PM
Replies: 5
Views: 2,443
Posted By FreakaZoid2
..and here is their VB code example but

it is not using http like i am trying to do...
i am leaning heavily toward the password security but have not figured out how it is supposed to work.
Class Test Shared Sub Main() Dim...
Forum: General 04-26-2018, 06:36 PM
Replies: 5
Views: 2,443
Posted By FreakaZoid2
.. this is my adding of custom headers for the security part

idHTTP.Request.CustomHeaders.AddValue('Authorization', 'Basic ' + TIdEncoderMIME.EncodeString(string(aUserID) + ':' + string(aPWD), IndyTextEncoding_ASCII()));
Forum: General 04-26-2018, 05:09 PM
Replies: 5
Views: 2,443
Posted By FreakaZoid2
when posting to the url

i seem to be stuck on the 415 invalid media error using indy http
Forum: General 04-26-2018, 05:01 PM
Replies: 5
Views: 2,443
Posted By FreakaZoid2
How does the security work without a login process

calling the oasis stuff to create some kind of token?
Forum: General 04-26-2018, 04:59 PM
Replies: 5
Views: 2,443
Posted By FreakaZoid2
NOTE: the code is strip way down

but i am trying to figure out how to call the webservice via indy http.
webservice is ZZ_agWeb what would the post command possible look like for that.
Forum: General 04-26-2018, 04:55 PM
Replies: 5
Views: 2,443
Posted By FreakaZoid2
Delphi 10.2 import WSDL

i got the import done for the wsdl but am having issue with trying to make it work.
i followed an example they sent me using SoapUI and entered all there settings and it works.
but i am not sure...
Forum: General 02-14-2018, 02:44 PM
Replies: 7
Views: 2,611
Posted By FreakaZoid2
Personally I would have been happy to just use...

Personally I would have been happy to just use GUIID since the field only has one real purpose, and that is to give the other real client program a value to assign to each xml element. it is a home...
Forum: General 02-14-2018, 02:31 PM
Replies: 7
Views: 2,611
Posted By FreakaZoid2
Unfortunately my boss pays me to do COBOL and not...

Unfortunately my boss pays me to do COBOL and not Delphi.
Forum: General 02-13-2018, 04:03 PM
Replies: 7
Views: 2,611
Posted By FreakaZoid2
yeah currently that is what i am doing.

this number id has to be unique but it didn't have to be sequential. the original xml files were created about 9 yrs ago and each time a new ITEM was needed the numeric id field was just manually...
Showing results 1 to 50 of 361

 
Forum Jump

All times are GMT. The time now is 09:42 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.