Hello all !
I'm developing a personal side project, and basically I need to get various bits of a remote file. I use the "Range" field in the HTTP request to accomplish this, and it's all working perfectly.
But, as I need various bits, initiating a connection, sending headers, getting...
Hey guys,
like the title says, I can't save an incomming connection's data into a file, or at least not the correct data: I managed to TFileStream it but the data was all garbled, and seeing the file in an hex editor showed the contents of the saved data are very different from the actual one...
I have defined a custom class:
type
TWhtv = class
one: string;
two: string;
end;
and the following code
function abc: TWhtv;
var
u: TWhtv;
begin
u.one := 'first';
u.two := 'second';
result := u;
end;
procedure TForm1.Button1Click(Sender: TObject);
var
o: TWhtv...
I'm trying to build an ActiveXObject that mimics the behavior of a VCL component I have (non-visual, both VCL and ActiveX). What do I have to do to accomplish this ? I created a sucessfull example of an ActiveX that displays a message box when a custom method is called, but how do I make it...
Hello,
I've been trying to solve this problem for some time now, but with no luck ... I own a ASUS M6N and it has a set of special buttons/keys that perform specific functions around the laptop. I'd like to know how I can "hook" this special button keypresses so I can perform custom procedures...
Hello,
I have the following code:
<!--TestBegin12--> sjgidshgifdjhsdh <!--TestEnd12-->
<!--TestBegin22--> ssrvytybsgfhgfjh <!--TestEnd22-->
<!--TestBegin47--> fdhsfdjdfyhhsjfj <!--TestEnd47-->
<!--TestBegin2467--> asfsvffdjhsdh <!--TestEnd2467-->
and I need to match them with a preg_replace...
Hi,
First of all I'm a complete novice in bluetooth/symbian interaction.
I own a Nokia phone with bluetooth, and a bluetooth usb adapter. I can connect the phone to the pc without any problem, and do every task I'm supposed to be able to. My question is, is there any way I can "talk" to my...
Can anyone tell me how to create an toolbar that would dock into the windows taskbar, like the new Windows Media Player does?
Like this:
Thank you in advance!
jamesp0tter,
mr.jamespotter@gmail.com
p.s.: sorry for my (sometimes) bad english :p
i've got unit1:
uses Unit1;
type
TForm1 = class(TForm)
...
var
Form1: TForm1;
F: TF;
....
procedure bla bla;
begin
F.Function(1);
end;
and in unit2 i have:
type
TF = class
public
function 1;
function 2;
function 3;
function 4;
...
Hello,
I need to know how to convert a TEXT string into a Hex string of the chars in the text string.
Something like:
text := 'hello';
hex := '68656C6C6F';
Is there any pre-defined function, like StrToWhatever ? I searched nearly everywhere and only found functions to convert already...
i have:
N TShape objects named 'shape1'...'shape2'...'shapeN'
a string list with strings '1'...'2'...'N'
where N is an unknown number
can i access the TShape object named
*figure* 'shape' + Str[N] */figure* ?
example:
TShape -> 'shape7'
String -> 7
what_i_want := 'shape' + 7;
---...
anyone knows how to get incomming/outgoing traffic count (separate) on the fly ?
tks
jamesp0tter,
jamespotter@netcabo.pt
p.s.: sorry for my (sometimes) bad english :p
well, i'm stuck in a code for hours and just can't figure out what's wrong.. i have this:
<?
if ((!$_SESSION['membro']) || ( $_SESSION['membro'] == '0' )) { unset($MEMBRO); } else { $MEMBRO = $_SESSION['membro']; }
// now, i'm sure $MEMBRO is set because other scripts use this var and they...
imagine i have this variables:
$blablaONE
$blablaTWO
etc
and i have $num that can be "ONE", "TWO", etc.
how do i refer to the "resulting" variable, for instance if $num is "TWO" how do i get $blablaTWO's value ?
ps: $blablaONE , etc have diferent...
i found sometime ago the way to use
blabla.php?var
instead of blabla.php?somevar=var
but i've lost it :X
can someone please remind me ? ;)
tks !
jamesp0tter,
jamespotter@netcabo.pt
p.s.: sorry for my (sometimes) bad english :p
well, i'm kind of starting in delphi... (1 month +/-)
i have some code that allows me to search a memo for some string, select it if found and copy it to other memo.
like:
[memo1.lines]
this is line one ehe
this is line two ehe
[/]
so, the only thing that changes is the 'one' / 'two'..
now...
i use a flash menu in my new website, generated by a external .txt file like "linktext|linkurl|window\n" and so on for each item.
but when i tryed to make sessions work, the session appears registered in the first page, but after i link to another through a flash menu item, it doesn't...
well, i'm trying to use the following code:
$netpbm = "/usr/local/netpbm/bin/"; // netPBM bin path
$to = "/tmp/"; // path where pics are and pics go
system ($netpbm."jpegtopnm $to"."pic.jpg > $to"."temp.pnm",$r);
echo $r."<br><br>"...
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.