Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 50 of 58
Search took 0.01 seconds.
Search: Posts Made By: mmx64
Forum: General 03-15-2014, 07:29 PM
Replies: 7
Views: 1,173
Posted By mmx64
Thumbs up Yes solved, thanks!!!

Yes solved, thanks!!!
Forum: General 03-15-2014, 02:41 PM
Replies: 7
Views: 1,173
Posted By mmx64
Here it is, please take a look

Here it is, please take a look
Forum: General 03-15-2014, 01:28 PM
Replies: 7
Views: 1,173
Posted By mmx64
Hi, yes thanks for reply, i had try that to, but...

Hi, yes thanks for reply, i had try that to, but still isnt the same as php

the reusult


KEY: cd6f6eea9a2a59f21bc0b8e91608c9aa
KEY_LEN: (32)
IV: cd6f6eea9a2a59f2(16)
DATA: cd6f6eea9a2a59f2...
Forum: General 03-15-2014, 10:33 AM
Replies: 7
Views: 1,173
Posted By mmx64
Delphi to PHP TDCP_rijndael encription

Hello, i got this problem encrypting a string, in delphi with DCP and PHP with mCrypt not returning same result.


$DATA = "cd6f6eea9a2a59f2";
$KEY = "cd6f6eea9a2a59f21bc0b8e91608c9aa";
$IV =...
Forum: General 01-27-2014, 07:25 AM
Replies: 1
Views: 353
Posted By mmx64
CRC comparison

Hello,

I have a 1 stream of 256 numbers from 0 to 65535.

Is there some algorithm that i run on this stream to store a value or more values, so later on to be able to compare with another...
Forum: General 01-02-2014, 02:25 PM
Replies: 7
Views: 1,115
Posted By mmx64
I still have trouble synchronizing the thread...

I still have trouble synchronizing the thread with the application, waitFor hangs application, how can it be done?

I need the to run multiple threads but each one only after the previsious has...
Forum: General 12-29-2013, 03:02 PM
Replies: 7
Views: 1,115
Posted By mmx64
Point noted, thanks. I just got another issue...

Point noted, thanks.
I just got another issue here, if i free my idhttp i lose my session(i need the session to be opened for the application lifetime), how can i fix this problem??
Forum: General 12-28-2013, 09:58 AM
Replies: 7
Views: 1,115
Posted By mmx64
Thanks for reply, well for 1 was just a typo. ...

Thanks for reply, well for
1 was just a typo.

The thing that i created a class to hold on a string, is that, i need the thread to finish its work, if i set thread.waitFor, just hangs application...
Forum: General 12-28-2013, 07:12 AM
Replies: 7
Views: 1,115
Posted By mmx64
Multi threading - good approach?

I'm trying to create a HTTP.POST query on a separate thread, is this example a good approach?


class = tMySTR = class //defining a class that hold a string
S:string;
Constructor...
Forum: General 12-10-2013, 05:46 AM
Replies: 1
Views: 1,171
Posted By mmx64
Reply from kolbasz...

Reply from kolbasz (http://www.delphipages.com/forum/member.php?u=1051752)


procedure ShowAppEmbedded(WindowHandle: THandle; Container: TWinControl);
var
WindowStyle : Integer;
...
Forum: General 12-08-2013, 04:47 PM
Replies: 1
Views: 1,171
Posted By mmx64
Dynamically created forms parent

Hello,

I have 2 forms, tform1, and tform2.
Tform1 has a tbutton-> button1 and a tpanel->panel1, and tform 2 has a tedit->edit1

TForm1.Button1Click(Sender: TObject);
var f:tform2;
begin
f...
Forum: General 08-29-2013, 12:21 PM
Replies: 2
Views: 3,784
Posted By mmx64
Thank you Norrit, that really helped me ...

Thank you Norrit, that really helped me


var
control: TWinControl;
begin

control := FindVCLWindow(MousePos);
if not Assigned(control) then Exit;
Forum: General 08-27-2013, 12:47 PM
Replies: 2
Views: 3,784
Posted By mmx64
Mouse wheelscroll the scrollbar

Hallo, i have a form with an image and a scrollbar on it.
How do i activate the scroll bar by mouse wheel scrolling up or down without having to click on scroll first?


procedure...
Forum: General 08-24-2013, 07:43 AM
Replies: 10
Views: 3,313
Posted By mmx64
Thanks, i used it before, but its not as fun as i...

Thanks, i used it before, but its not as fun as i write my own, if someone has an ideea in how they do it, i would try develop it
Forum: General 08-23-2013, 05:35 PM
Replies: 10
Views: 3,313
Posted By mmx64
OKi, well i have to make a hex editor like the on...

OKi, well i have to make a hex editor like the on in the picture, where i can change selection background, font color ...

What is the method to do that, with memo, trichedit doesn't matter, jyst...
Forum: General 08-23-2013, 05:23 PM
Replies: 10
Views: 3,313
Posted By mmx64
Thanks for reply, i know how to draw, thats not...

Thanks for reply, i know how to draw, thats not the problem, i was aiming to get the method in how the programmer did in the picture i attached,

About tmemo or trichedit, you have any example to...
Forum: General 08-23-2013, 02:39 PM
Replies: 10
Views: 3,313
Posted By mmx64
OK thanks, but how do they do that then? Any...

OK thanks, but how do they do that then? Any ideea?
Forum: General 08-23-2013, 07:42 AM
Replies: 10
Views: 3,313
Posted By mmx64
Canvas drawing

I im trying to make a hex editor, how do i draw modifiable data on canvas?

Like the picture in attach?

I had format data , write to canvas with textout(), but i dont know how to select it, and...
Forum: General 08-03-2013, 08:04 AM
Replies: 5
Views: 2,111
Posted By mmx64
HI, thanks for reply. After a lot of reading, i...

HI, thanks for reply.
After a lot of reading, i found that serializing might be my best option here.

So i take my object and serialize it with JSON.

Found the problem, had to register...
Forum: General 07-30-2013, 01:57 PM
Replies: 6
Views: 2,553
Posted By mmx64
Well you can loop the array and check values of...

Well you can loop the array and check values of a, then if its the search term you check value for b, else you continue the loop.

for i:= low(arr) to high(arr) do
if arr[i].a = searchA then if...
Forum: General 07-30-2013, 12:14 PM
Replies: 5
Views: 2,111
Posted By mmx64
Thanks for reply, i have been reading about this,...

Thanks for reply, i have been reading about this, but as i know WriteComponent saves only published properties. Problem is i have arrays, i have lists of objects, and cannot declare them as published...
Forum: General 07-29-2013, 07:16 AM
Replies: 5
Views: 2,111
Posted By mmx64
Save restore data

Hallo, i have a created a Class(TObject) with a lot of data inside, arrays, tlist witch contains other objects, what is the best method to store data into a singe file and be able to restore it?
Forum: General 07-20-2013, 03:50 PM
Replies: 1
Views: 2,271
Posted By mmx64
Bytes to word

hallo, i have a binary file, and i need to read it into an array of word.

currently i do it this way:


blockread(file,array_of_bytes);

ii:=0

for i:= low(array of bytes) to...
Forum: General 03-31-2013, 08:19 PM
Replies: 0
Views: 2,297
Posted By mmx64
idHTTP error after file upload

Hallo, i have the following code:



//BROWSE CODE
var
jSON:tStringList;
begin

jSon := tsTringList.Create;
Forum: VCL 02-16-2012, 06:42 PM
Replies: 4
Views: 1,682
Posted By mmx64
Hi, thanks that helps a lot. I have created...

Hi, thanks that helps a lot.

I have created a component, where i draw my background, my grid lines..... Everything is ok.(i have a bitmap, where i draw my things and on paint event i draw it to...
Forum: VCL 02-04-2012, 07:51 PM
Replies: 4
Views: 1,682
Posted By mmx64
Thanks for reply, well technically what i want to...

Thanks for reply, well technically what i want to do is not a chart, its more like a file editor, but more advanced.
Let me be more explicit about what i want here:
i have an array of word.
I...
Forum: VCL 02-04-2012, 01:20 PM
Replies: 4
Views: 1,682
Posted By mmx64
GUI programming

Hallo,
I have started a more complex program, and i would like some guidance.

I have a array of word, and i need to display its contents in a chart.

I had been dooing some testing and here is...
Forum: General 01-23-2012, 03:32 PM
Replies: 1
Views: 840
Posted By mmx64
hi, use streams...

hi, use streams :http://delphi.about.com/od/vclusing/l/aa110803a.htm
Forum: General 01-22-2012, 06:14 AM
Replies: 3
Views: 832
Posted By mmx64
yes, thanks it did the trick!!!

yes, thanks it did the trick!!!
Forum: General 01-19-2012, 05:56 PM
Replies: 3
Views: 832
Posted By mmx64
Tlist insert objects

Hallo, i got a problem with a Tlist.
I have a Tlist with 200 objects.
Im assigning a loop

for i := 0 to tlist.count do

if tObject(Tlist[i]).xx = true then
for ii:= 0 to 10 do...
Forum: General 01-04-2012, 06:39 PM
Replies: 4
Views: 1,710
Posted By mmx64
Thanks,A little modifications to suit my...

Thanks,A little modifications to suit my application and did the trick.
Thank you!!
Forum: General 01-03-2012, 05:19 PM
Replies: 4
Views: 1,710
Posted By mmx64
Yes i seen that, but i prefer not to remove the...

Yes i seen that, but i prefer not to remove the checkbox.
Any ideea how?
Somehow on the onDraw event??
Forum: General 01-03-2012, 03:43 PM
Replies: 4
Views: 1,710
Posted By mmx64
Checklistbox show or hide checkbox

Hallo,
Is there a possibility to show or hide checkboxes in a checklistbox.
I need that item 1 to have a checkbox, but items 2,3 to be without checkbox, and so on...
Thanks!!
Forum: General 12-11-2011, 07:45 AM
Replies: 2
Views: 1,079
Posted By mmx64
Thanks, its not exactly what i need, but i got it...

Thanks, its not exactly what i need, but i got it figured out.
So solution is like this:
im getting the max number from the stringlist, and calculating the selected number percentage +1(to resolve...
Forum: General 12-11-2011, 07:40 AM
Replies: 3
Views: 860
Posted By mmx64
ok, thanks it works, but now i cant move the form...

ok, thanks it works, but now i cant move the form , or to operate minimize/close controls. Any idea how to do that?
Thanks!
Forum: General 12-07-2011, 03:49 PM
Replies: 3
Views: 860
Posted By mmx64
form's titlebar onclick

Hallo,
i have a few forms on a panel, and i want to retrieve the selected form.tag.
How can i do that.
Thanks!
Forum: General 12-06-2011, 01:24 PM
Replies: 2
Views: 1,079
Posted By mmx64
Stringgrid cell color from cell data

Hallo,
I have a stringgrid, and i load integer data in its cells.
The values are different: sometimes from 0 to 100, or 0 to 2000 and so on. There is no pattern.

i need somehow to change cell...
Forum: General 12-06-2011, 07:37 AM
Replies: 3
Views: 1,026
Posted By mmx64
Thanks for help, while populating the array...

Thanks for help, while populating the array inside the loop i extracted the min and max value. Thanks!!!
Forum: General 12-05-2011, 10:15 AM
Replies: 3
Views: 1,026
Posted By mmx64
Min Max of a array

Hi, i got into a problem here.


type mData = array of word;


type tMap = class
private
m_DATA:mData;
constructor Create();
Forum: VCL 10-30-2011, 08:16 AM
Replies: 1
Views: 1,100
Posted By mmx64
Create forms on Tpanel

Hallo,
i got a issue here with run time form creation on a tpanel.


Procedure CreateDisplay(name:string);
var
myForm:tform;
begin
myForm:=Tform.create(nil);
myForm.parent:=myTpanel;
Forum: General 10-15-2011, 11:09 AM
Replies: 1
Views: 648
Posted By mmx64
Fast Search/read/write bynary file in 16 bit mode

Hallo,
I just started a new project, and i need some starting ideeas.
Ii have a binary file with size between 512k to 2mb. I have to search that file for different "signature bytes" (EC38), and i...
Forum: General 04-12-2011, 09:29 AM
Replies: 1
Views: 1,240
Posted By mmx64
TIdMultipartFormDataStream - 403 forbidded

Hallo, a few days ago my webhost updated/changed something and i cannot upload files, via IDHTTP.POST

procedure uploadFile(filename:string);
var
stream: TIdMultipartFormDataStream;
begin...
Forum: General 09-29-2010, 06:29 PM
Replies: 0
Views: 740
Posted By mmx64
Stringgrid optimisation

Hi, im trying to write a hex editor, and i need help with some optimisation on a stringgrid controls??

here is what i did so far

I read the file into an array of byte(blockread...)

I have...
Forum: General 08-12-2010, 08:50 AM
Replies: 6
Views: 2,670
Posted By mmx64
i worked with ftdi drivers, they create a RS232...

i worked with ftdi drivers, they create a RS232 port, but the only diference between ftdi's chip port and a buildin seria port is the baudrate, ftdi do not support low baudrate, fe. for...
Forum: General 08-11-2010, 11:38 AM
Replies: 7
Views: 804
Posted By mmx64
hi, i use indi to get the output of a webpage,...

hi, i use indi to get the output of a webpage, where url is generated by me in php.

var x:string;
x:=idHTTP.get('url');
Forum: General 07-19-2010, 05:25 AM
Replies: 3
Views: 741
Posted By mmx64
I dont exactly understand what you need, but you...

I dont exactly understand what you need, but you can try storing all variables into a array of string, then generate a random number and read the value from the array from that random location.

...
Forum: General 07-10-2010, 05:47 AM
Replies: 2
Views: 840
Posted By mmx64
Did you try by changing program compatibility to...

Did you try by changing program compatibility to Win Xp??
Forum: General 07-07-2010, 07:01 AM
Replies: 18
Views: 5,074
Posted By mmx64
Yes, thanks, all is clear for now. Im using a...

Yes, thanks, all is clear for now. Im using a tframe array, becose later i might work with non active page. Also i moved the the file loading and saveing procedures to the tframe. Now i have another...
Forum: General 07-06-2010, 06:00 PM
Replies: 18
Views: 5,074
Posted By mmx64
ok, i see but how do i refer to the mainBuffer...

ok, i see but how do i refer to the mainBuffer and SaveBuffer arrays??? Thoes is what i need to work with now.
Forum: General 07-05-2010, 06:26 PM
Replies: 18
Views: 5,074
Posted By mmx64
OK, guys i tryed and i tryed but i didn't...

OK, guys i tryed and i tryed but i didn't succeeded . Here is what i came up with..

The form containing the PageControl and all other controls.


unit tools;

interface

uses
Showing results 1 to 50 of 58

 
Forum Jump

All times are GMT. The time now is 03:20 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.