Delphi Open Remotedekstop In Form

Delphi Open Remotedekstop In Form Rating: 4,4/5 1975 votes
  • LangTools it's a complex tool for Delphiapplication localization. It contains VCL components, editors and wizards built-in Delphi and external language file editor.

    • LangTools_f.exe
    • CodresTeam
    • Freeware (Free)
    • 4.01 Mb
    • Windows
  • Balmsoft Polyglot contains components for localization your Delphiapplication. It contains IDE extension for generation files with localizable items and componentsfor applying files with localization. You can translate any localizable property and. ...

    • Balmsoft Polyglot
    • Balmsoft
    • Freeware (Free)
    • Win95, Win98, WinME, WinXP, WinNT 4.x, Windows2000
  • This is a port of EPANET to the Lazarus platform. EPANET if a Windows Delphiapplication, so it won't run natively on other operating system. Once the port if finished it will be able to run on every platform that Lazarus. ...

    • TMWPrintObject.zip
    • epanet2lazarus
    • Freeware (Free)
    • 98 Kb
    • Windows; Linux
  • The OpenCTF component test framework helps to build automatic tests for all (visual and non-visual) VCL components in a Delphi application. It is based on the DUnit framework..

    • OpenCTF-1.4.3-source.zip
    • openctf
    • Freeware (Free)
    • 418 Kb
    • Windows
  • I made two Delphiapplication that allow you to send fax directly over HylaFax or I made two Delphi application that allow you to send fax directly over HylaFax or Ms-Fax.

    • fax.zip
    • sendfaxdirectly
    • Freeware (Free)
    • 76 Kb
    • Windows
  • Utf8Vcl allows your Delphiapplication to become a unicode applications with no changes to your vcl code and third party Utf8Vcl allows your Delphi application to become a unicode applications with no changes to your vcl code and third party components..

    • utf8vcl-example-070319.zip
    • sourceforge
    • Freeware (Free)
    • 16 Kb
    • Windows
  • LinLocalize is a small, easy to use application specially designed to help you with the easy localization of your Delphi-applications. Linlocalize extracts all embedded Delphi-resources (resource strings and forms) of a Windows-PE-file (Portable. ...

    • LinLocalize_1.4.zip
    • LinLocalize Team
    • Freeware (Free)
    • WindowsAll
  • Express Invoice Free for Mac can help you manage and track your billing. Create invoices, quotes and orders quickly. Easily add multiple users and enable online remote access.

    • eifreemaci.zip
    • NCH Software
    • Freeware (Free)
    • 2.02 Mb
    • Mac OS X, Mac Other
  • Delphi Unicode MySQL ADO Tutorial for Beginners. This tutorial shows you how to make a Delphi application which manages a unicode database.Steps:- Create a new database from code - Create tables with unicode fields from code - Fill table with unicode data from code - Query the database and display the results in a TDBGrid and TMemo.

    • Unicode MySQL ADO Tutorialfor Beginners 1.0.zip
    • 3delite
    • Freeware (Free)
    • 552 Kb
    • WinXP, Win2003, Win2000, Win Vista, Window2008, Windows 7, Windows XP X64,Windows Vista, Windows 7 x64, Windows 8
  • Solves application compatibility on Remote Desktop Session Hosts / Terminal Servers The Microsoft Application Virtualization (App-V) for RDS will help solve application compatibility on Remote Desktop Session Hosts/Terminal Servers. App-V for RDS 4.

    • MS App-V for RDS v4.6.iso
    • Microsoft
    • Freeware (Free)
    • 197.44 Mb
    • Win All
  • It's an Open Source project to help develop Database Applications with Delphi. It gives you a DB Application FrameWork inside which you can 'load' your modules and a DB Application Library you can use to 'inherit' and 'customize' your. ...

    • ddaf_sources_0.0.1.zip
    • ddaf
    • Freeware (Free)
    • 10 Kb
    • Windows
  • This is a server based application that has been extended to include calendar functionalities..

    • Remote SchedulingApplication (RSA)
    • Owajigbanam Ogbuluijah
    • Freeware (Free)
    • Windows

Related:Delphi Application Remote - Remote Ir Delphi - Ti Remote Application - Tv Remote Application - Delphi Remote Admin

What are the ways to close a modal form? - The modal form uses a close method and it executes using the OnClose event that checks whether the data is saved or not and then take some actions according to it. The Close method that is being used by the modal form doesn’t free the memory that is associated with the modal form. Form Creation Events. Up to version 3, Delphi used a different creation order, which has led to the OldCreateOrder compatibility property of the VCL. When this property is set to the default value of False, all the code in a form constructor is executed before the code in the OnCreate event handler. Delphi 4 and opening up forms at runtime. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform.'


Pages : 1 2 3>

Right now i have 2 forms. On Form1 i open up Form2 like this:

Now i want to close the Form2 with a button on it. So i tried

But that only gives me Access violation error when i click that button. What i am doing wrong?

hs2dhs2d
2,28013 gold badges56 silver badges88 bronze badges

5 Answers

The normal way to do this is to do

and, if TForm2 contains a OK button, this should have the ModalResult property set to mrOK at design-time. Use the object inspector to set this. You probably also want to set Default to True. Now you can 'click' the OK button by pressing the Enter key on your keyboard!

In addition, if there is a Cancel button in the dialog, this should have ModalResult set to mrCancel and Cancel set to True. Now you can 'click' the Cancel button by pressing the Escape key on your keyboard!

A button with a ModalResult value will automatically close a modal dialog box.

Andreas RejbrandAndreas Rejbrand
74.2k6 gold badges219 silver badges310 bronze badges

Since the form is showing modally the correct solution is to set ModalResult := mrCancel in your button click handler. The shortcut is to set the ModalResult property of the button to mrCancel and then you don't even need the event handler.

Delphi

Note that your form is being created incorrectly. You are passing the unassigned variable Form2 as the Owner parameter to the constructor. I expect this is the cause of the access violation.

You should pass another form, Application or nil, for example. In fact in this case you may as well pass nil so that the code should read:

If you pass an owner then the form will be destroyed when the owner is destroyed. Since you are destroying it yourself, you don't need to pass an owner.

That said, it is sometimes useful to set the owner, for example if you are using one of the Postion property values that sets the form's position based on the owner's position. If so then I recommend passing Self in this instance which is a TForm1 object reference.

Cannot Open Remote Desktop App

David HeffernanDavid Heffernan
529k35 gold badges865 silver badges1260 bronze badges

The other two answers discuss other ways to solve your problem.

I am going to point out the cause of the problem.

You have two variables named Form2. One contains the form and the other is uninitialized most likely Nil. The cause of the A/V is because your accessing the Nil variable.

When working with in a class you should avoid using the variable name of the class instead you can reference it's members directly such as calling Close; without referencing the variable. To keep things clear you can also prefix it with self. so replace form2.close; with self.close;

Robert LoveRobert Love
10.9k2 gold badges43 silver badges71 bronze badges

In your second code, you're already in form 2, so you would only need to do

If in your first code you created a variable you didnt use the generic Form2 variable made as a public variable in the form, its not then allocated to the form you called. So it will give errors. If at the top of the unit, you removed the 'var Form2: TForm2;' line, you'd see it complain about the lack of variable for that line, change it to close, it will go away and so will your error.

Remy Lebeau

Delphi Open Remote Desktop In Formula

354k19 gold badges286 silver badges480 bronze badges
OpenBugFinderBugFinder
14.3k2 gold badges30 silver badges46 bronze badges

I don't know if you already resolved that question or created a new code to avoid the problem, but what I think is happening (and you didn't showed all your code to confirm) is that you created bad code on the OnActivate main form event.

When you exit the second form, you return to your mainform and it 'actvates' again.Probably you manipulated an object that do not exists anymore.

Open Remote Desktop Windows 10

Please_Dont_Bully_Me_SO_LordsPlease_Dont_Bully_Me_SO_Lords
3,85112 gold badges60 silver badges117 bronze badges

Not the answer you're looking for? Browse other questions tagged delphiforms or ask your own question.