Evilripper Blog

A programmer's work is never done

  • Home
  • Downloads
  • News
  • Wallpapers
  • About Me

21

May

Is delphi dead?

Posted by evilripper  Published in delphi, development

la morte di delphi
image created from:
http://sjconnor.wordpress.com/2007/01/31/the-right-profile/
http://www.buyromancostumes.com/spartan-helmet.html

For many developers Delphi is still alive, I think it’s dead to version 7.0
Currently there are still many programmers specialized in Object Pascal
and every day they produce thousands of lines of code to keep legacy applications (including me:-D).

Delphi was the best RAD to create executables for win32 without dll libraries
and it was perfect to develop management software. In my area there are big companies that sell and maintain huge software created in the late ’90s.

The choice of instrument to develop an application is of paramount importance, of course, first you need to know some things about it: OS, database, etc …


continue reading "Is delphi dead?"

no comment

14

Nov

Stranezze di Delphi

Posted by evilripper  Published in delphi, development

A volte mi chiedo perche’ non programmavo piu’ in delphi…

Appena ho ripreso ad usarlo mi sono ricordato perche’!!!Le nuove versioni son talmente buggate che ad usarle fanno venire la pelle d’oca!! La versione migliore di delphi e’ stata la 7.0 , tutto il resto e’ stato fatto in maniera approssimativa riadattando codice stravecchio.

Fatevi questa immagine! :-D

no comment

13

Nov

Ole Office Automation Word Replace di una stringa [Delphi]

Posted by evilripper  Published in delphi, development

Visto che gli oggetti ole per poter manipolare materiale microsoft (che schifo) non sono molto intuitivi posto qui il codice una funzione che effettua un replace di una stringa in un documento word… per fare sta cavolata sara’ che non trovavo nulla con google, ma ci ho perso del tempo :-(

  1.  
  2. procedure TForm1.Button3Click(Sender: TObject);
  3.  
  4. var
  5.  
  6.   WordApp: Variant;
  7.  
  8. begin
  9.  
  10.   WordApp:=CreateOLEObject(‘Word.Application’);
  11.  
  12.   WordApp.Documents.Open(‘c:test.doc’);
  13.  
  14.   WordApp.Selection.Find.ClearFormatting;
  15.  
  16.   WordApp.Selection.Find.Text := ‘croce’;
  17.  
  18.   WordApp.Selection.Find.Replacement.Text := ‘testa’;
  19.  
  20.   WordApp.Selection.Find.Forward := True;
  21.  
  22.   WordApp.Selection.Find.MatchAllWordForms := False;
  23.  
  24.   WordApp.Selection.Find.MatchCase := False;
  25.  
  26.   WordApp.Selection.Find.MatchWildcards := False;
  27.  
  28.   WordApp.Selection.Find.MatchSoundsLike := False;
  29.  
  30.   WordApp.Selection.Find.MatchWholeWord := False;
  31.  
  32.   WordApp.Selection.Find.MatchFuzzy := False;
  33.  
  34.   WordApp.Selection.Find.Wrap := wdFindContinue;
  35.  
  36.   WordApp.Selection.Find.Format := False;
  37.  
  38.   WordApp.Selection.Find.Execute(Replace := wdReplaceAll);
  39.  
  40.   //WordApp.Selection.Find.Execute(wdReplaceAll);
  41.  
  42.   WordApp.Visible:=True;
  43.  
  44.   //WordApp.Documents.Save(’c:nuovo.doc’);
  45.  
  46.   WordApp.ActiveDocument.SaveAs(‘c:nuovo.doc’);
  47.  
  48. end;

L’ambiente di sviluppo non mi e’ stato d’aiuto in quanto il ctrl+spazio non elenca ne metodi ne funzioni!!!!
Questa funzione apre un file esistente in c:\ che si chiama test.doc e sostituisce la stringa ‘croce’ con ‘testa’ tutte le volte che la incontra in tutto il documento.Poi lo visualizza e lo salva in un file che crea lui che si chiama nuovo.doc sempre in c:

Fonti:

http://www.delphi3000.com/articles/article_3728.asp?SK=

4 comments

Multilanguages

  • English
  • Italiano
Confronta i prezzi per Portatili!  Recensioni per Palmari
Le migliori recensioni: iPad PC Portatili Stampanti
Ricerca Prodotti:

Comparazione prezzi su Ciao
Ciao Box Generator

Affiliates & Sponsor

Add to Technorati Favorites

Paperblog

Il Bloggatore
Aggregatore di blog

Smilla Magazine


BlogItalia.it - La directory italiana dei blog

Tophost Hosting

8,890 spam comments
blocked by
Akismet

Locations of visitors to this page

My Flikr

Rock TotemRock TotemFiorenzuola di focaraSiroloSirolothe real oil priceEarly daysImprisonedTranquilitydawn

Social Connection







Blogroll

  • 2008computer
  • AumentaTrafficoWeb
  • Rocco Blog
  • jumping head shot
  • Libertà di scatto
  • Il blog di Paolo Ratto
  • il blog del picchio!
  • Skass Computer
  • The Developers
  • gyf.it
  • lu01 rock band
  • www.lugido.com
  • Michele Focchi
  • Michele Papaleo
  • Lo scannatoio
  • xoen->blog();

Categories

  • database (1)
  • development (17)
    • CSharp (4)
    • delphi (3)
    • javascript (1)
    • php (5)
    • vb.net (1)
  • facebook (1)
  • fotografia (1)
  • hacking (5)
  • hardware (19)
    • mobile (2)
  • internet (60)
    • cms (1)
    • google (12)
    • seo (1)
    • wordpress (4)
  • linux (6)
    • gentoo (4)
  • microsoft (5)
  • Senza categoria (5)
  • software (15)
  • videogames (7)
    • unreal tournament 3 (1)
  • winXp (2)

Archives

  • August 2010 (2)
  • July 2010 (2)
  • June 2010 (3)
  • May 2010 (14)
  • April 2010 (9)
  • March 2010 (6)
  • February 2010 (6)
  • January 2010 (6)
  • December 2009 (4)
  • November 2009 (1)
  • October 2009 (5)
  • September 2009 (3)
  • July 2009 (2)
  • May 2009 (1)
  • April 2009 (1)
  • March 2009 (2)
  • February 2009 (1)
  • January 2009 (2)
  • December 2008 (3)
  • November 2008 (4)
  • September 2008 (3)
  • June 2008 (3)
  • May 2008 (1)
  • April 2008 (1)
  • March 2008 (1)
  • February 2008 (4)
  • January 2008 (4)
  • December 2007 (2)
  • November 2007 (4)
  • October 2007 (7)
  • September 2007 (5)
  • August 2007 (2)
  • July 2007 (1)
  • June 2007 (2)

Recent Entries

  • How to Buy your First Digital Reflex
  • Skass computer a blog on information technology
  • Smallest PCs of the world
  • Spreaker Radio Web 2.0 On Air [Interview]
  • World Cup fifa 2010 live results on firefox
  • WinSxS The DLL Hell
  • Internet ip Addresses will run out in 18 months
  • Promotion hosting at 5.99 euros on tophost.it
  • NoFollow free Comments
  • The most visited places in the world

Recent Comments

  • Random Selection of Posts

    • How to install module PHP6 Apache Win32
    • Vote the official Mozilla 2010 t-shirt
    • Installare VMware Tools Gentoo
    • X-Debug Eclipse Php
    • FileZilla Password Recovery
    • Catturare Enter Componente <Asp:Login>
    • What is Stumble?
    • How to add Facebook Like This button on blog
    • How-To SingleClick – Remote Assistance UltraVnc SC
    • Spreaker a new radio 2.0
© 2008 Evilripper Blog is proudly powered by WordPress
Theme designed by Roam2Rome