26

(19 replies, posted in General)

sibprogsistem wrote:

SMS
createoleobject('WinHttp.WinHttpRequest.5.1');

Thanks you for your effort. It didn't work for me because I'm using a different SMS gateway either than the ones in the example

27

(2 replies, posted in General)

sibprogsistem wrote:

..

Спасибо. Я дам ему попробовать

28

(2 replies, posted in General)

Hi Dmitry, Sibprogsistem, Derek and all MVD users.

Can one write a default text in Memo with variables where variables will be content from the database?

Variables from the database are found in { }.

Any other method will be highly appreciated

Thanks in advance

29

(19 replies, posted in General)

derek wrote:

There's no need to use a script - just doubleclick on the edit field that contains your url.
In the example, doubleclick a row in the tablegrid to select a store, then doubleclick the web address.
Derek.

Thanks very much Derek but

procedure Search_send_OnClick (Sender: TObject; var Cancel: boolean);

var
http: variant;
url,userpassword,username,sms,result :string;
begin

    username := ' ';
    userpassword := ' ';
    sms := Search.Memo1.text;
    http:=createoleobject('WinHttp.WinHttpRequest.5.1');
  openurl('http://api.google.com/sendsms.php?user='+username+'&password='+userpassword+'&message='+sms+'&type=0&sender=PENSEC&destination=233242785546');
   
end;

. This code works but opens a browser. I don't want it to open a browser but to run link backgound and display the result in a messagebox.

30

(19 replies, posted in General)

Hi MVD.

if I use

openurl()

, it opens a browser.

I want to click a link without opening a browser


Is there a way I can do this?

31

(19 replies, posted in General)

sibprogsistem wrote:

SOLVED

Thanks Sibprogsistem

Perfect. You are the real guy. It works like magic. Wow you saved me.

32

(19 replies, posted in General)

Wow splendid, it works just fine. Dmitry, you are such a genius.

My second question is, can i get a script or sql query such that when department is selected from the first combobox, it returns only workers in that department for selection and edition in the second combobox.

Thanks so much for immense support

33

(19 replies, posted in General)

Hi Dmitry, Derek and all MVD users

I need help in sorting workers in a department

When department is selected in department combobox, the full name combobox should only return names of only workers in that department from workers in the company.

Is there a way to conduct that search

Thank you in advance