milosev.com
  • Home
    • List all categories
    • Sitemap
  • Downloads
    • WebSphere
    • Hitachi902
    • Hospital
    • Kryptonite
    • OCR
    • APK
  • About me
    • Gallery
      • Italy2022
      • Côte d'Azur 2024
    • Curriculum vitae
      • Resume
      • Lebenslauf
    • Social networks
      • Facebook
      • Twitter
      • LinkedIn
      • Xing
      • GitHub
      • Google Maps
      • Sports tracker
    • Adventures planning
  1. You are here:  
  2. Home

Skype

Details
Written by: Stanko Milosev
Category: Delphi
Published: 16 January 2009
Last Updated: 30 November -0001
Hits: 6095

Ok, here is my little fun application, sendig messages chat and SMS from Delphi using skype.

First, you have to download skype.

Install it, start it, and create / login to your account.

I will not explain every lines of code, instead, you can download source code it from here, or exe file from here.

Most of the code, I copy/pasted from Dr Bob.

Usefull link, where you can find commads you can find it here.

Also, for begging you can download Skype API Tracer.

For example to send me a message over, in tracer enter:

CHAT CREATE stanko.milosev

As a response you should get something like:

> CHAT #stanko.milosev/$someone;f1d9961217eea925 STATUS DIALOG

Now, copy #stanko.milosev/$someone;f1d9961217eea925 where someone will be your contact name in skype, and now in tracer put something like:

OPEN CHAT #stanko.milosev/$someone;f1d9961217eea925

And next enter something like:

CHATMESSAGE #stanko.milosev/$someone;f1d9961217eea925 Hello Stanko!

And that is all folks!

How to check if Application is waiting for user modal answer

Details
Written by: Stanko Milosev
Category: Delphi
Published: 06 January 2009
Last Updated: 19 July 2011
Hits: 6761

if Screen.ActiveForm Application.MainForm then
// There is an opened Window which is not the MainForm

Taken from here.

Smile

Human readable XML

Details
Written by: Stanko Milosev
Category: Delphi
Published: 18 December 2008
Last Updated: 30 November -0001
Hits: 5177

To save XML in human readable format, using OmniXML you will need these lines of code:

xml := CreateXMLDoc;
xml.PreserveWhiteSpace := False;

...

xml.Save('c:file.xml',ofIndent);

ClientDataSet

Details
Written by: Stanko Milosev
Category: Delphi
Published: 24 November 2008
Last Updated: 30 November -0001
Hits: 7712

If you are using ClientDataSet, with flat file database (SaveToFile, LoadToFile), then also use:

procedure TDataModule1.ClientDataSet1AfterOpen(DataSet: TDataSet);
begin
ClientDataSet1.LogChanges:=False;
end;

Because otherwise ClientDataSet will remember all changes you did in database, it will slow down application, and xml file can be too big.

  1. Geting log from command line.
  2. Stack overflow
  3. Can't load package
  4. One more good link.

Subcategories

C#

Azure

ASP.NET

JavaScript

Software Development Philosophy

MS SQL

IBM WebSphere MQ

MySQL

Joomla

Delphi

PHP

Windows

Life

Lazarus

Downloads

Android

CSS

Chrome

HTML

Linux

Eclipse

Page 99 of 168

  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103