I.T. Discussion Community!
-Collapse +Expand
Delphi
Search Delphi Group:

Advanced
-Collapse +Expand Delphi To/From
To/FromCODEGuides
-Collapse +Expand Delphi Store
PRESTWOODSTORE

Prestwood eMagazine

July Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyPascal and Delphi Coding Board   Print This     

Delphi COM / ActiveX / DCOM Topic

Inter-app communiction using DDE, OLE, COM, MTS, COM+, DCOM, WebServices, SOAP, etc.
<table style="BORDER-RIGHT: #800000 1px dotted; BORDER-TOP: #800000 1px dotted; BORDER-LEFT: #800000 1px dotted; BORDER-BOTTOM: #800000 1px dotted" cellspacing="0" width="100%" border="0"><tbody><tr> <td bgcolor="#dadada" class="darkcolor2" align="center"
 Show:
New Activity New Threads Oldest Unanswered Most Active Most Read
  


23 Threads:

Add New ThreadRandom Thread

Thread 23 of 23
Thread Starter  

JustusJanssen
Excel and Word automation
{Too Long!}
10 years ago
2 replies. Last post:

Anonymous
With such an educational blog that proves to be very valuable for others deserves to be shared. I enjoyed reading your post. --- Johnson
43 months ago
Nothing New Since Your Last Visit
7990
Hits

Thread 22 of 23
Thread Starter  

Neophyte185
How do I access menu commands in one program from
I am a neophyte programmer. I have figured out how to generate a simple Delphi 7 form with a button in it which will run an executable. , , procedure TForm1.Button1Click(Sender: TObject);, begin, ShellExecute(Form1.Handle, 'open', 'c:\E3238s\bin\E3238s.exe',, nil, nil, SW_SHOWNORMAL);, end;, end., , My problem is I need to know how to access the menus that are a part of this executable. For example how would I access the FILE menu in order to select EXIT.
14 years ago
5 replies. Last post:

rdkram
{Too Long!}
10 years ago
Nothing New Since Your Last Visit
5676
Hits

Thread 21 of 23
Thread Starter  

Mani
Class not registered
Hello delphiers,, , Im not sure if anyone of you have come across this error message "Class not registered". I get this message when i try to create a COM object which starts communicating with the respective client-side program., , The client-side program in context is Lotus Notes 6.0.3. I have installed it on the same PC where I have Delphi 5 Ent installed, I also have run the notesws.reg file which adds the relevant registry entries. The .tlb files in the \lotus\notes\ directory are also installed in Delphi., , The moment I create the NotesSession object, I get this error message., , Somehow i feel that the classes are not able to find one or more keys or CLSID or GUID written into the registry. I traced through the .Create method to be able to make this guess. The GetSrv or GetServer method fails in the .tlb / OleSys.pas file., , How to go about fixing this problem? Where should i look? What is not yet installed or configured?, , Regards,, , Mani
15 years ago
1 Reply:

mprestwood
{Too Long!}
12 years ago
Nothing New Since Your Last Visit
11305
Hits

Thread 20 of 23
Thread Starter  

Ritche M
transfer files using Sockets
good day!, can any body please help me on how to transfer files from one computer to another using sockets or what other means., thanks a lot :)
16 years ago
Nothing New Since Your Last Visit
1892
Hits

Thread 19 of 23
Thread Starter  

NevilleRichards
Type Library Imports: D6/D7
I have recently made a successful use of importing a type library and installing the component produced. This works fine in D7, but I only have the desktop version, and I need to be able to do it in D6 to use database access., , Now in D6, the library is imported and a source file produced which theoretically could be installed as a component. There is an "Install" button on the import dialog. However, the source produced will not compile. The error is "Property setter cannot have var parameters"., , It seems odd that D6 produces source code on the import which the compiler cannot then compile. Does anyone have any experience with this, or know a work-around. My inclination is to add "wrapper" procedures which don't have var parameters., , Neville
16 years ago
Nothing New Since Your Last Visit
2154
Hits

Thread 18 of 23
Thread Starter  

nflagg
where do I find the pointer to the client's ID
I'm new to the COM scene, and don't know how to supply a pointer to the client's IDispatch interface to a COM server. When I don't provide this, the server behaves just fine when I call it, but crashes every time it attempts a callback. , , Below is the function call in question with the only documentation I have :, , function TMapper.RegisterWithMapServer(const client_name: WideString; window_handle: Integer; dispatch_pointer: OleVariant): Integer;, , "RegisterWithMapServer registers the map server client name and main window handle. Map server clients MUST call this function once at start up BEFORE calling any of the other functions. The parameter dispatch_pointer should be of type VT_DISPATCH and should contain a pointer to the client's IDispatch interface for the callback object.", , Thank in advance for ANY help!, , n
17 years ago
Nothing New Since Your Last Visit
2081
Hits

Thread 17 of 23
Thread Starter  

dking8124
Specifying an imageIndex by referencing a tTreeNod
{Too Long!}
17 years ago
1 Reply:

dking8124
Never mind! I got this one nailed..., , Using the treeNode, returned from the "...addChild" function, I can specify the imageIndex by adding: "retTreeNode.imageIndex := ..." as the next statement., , Actually, using the treeNode reference - within the iteration of the loop - you can manipulate the node (add DATA, specify the treeNode-image, change the text color, etc.), , "DUHH!!!" -- Albert Einstein
17 years ago
Nothing New Since Your Last Visit
2716
Hits

Thread 16 of 23
Thread Starter  

dking8124
EOleException: op requires current rec
I'm programming a form that is fed by an SQL component in a datamodule. I programmatically define the statement with "...add()" statements; ie, , , datamodUSARunitCmdr.sqlAARpt.SQL.clear;, datamodUSARunitCmdr.sqlAARpt.SQL.add('SELECT hdr.aarDate,hdr.aarUnitIdent, hdr.aarSubmitDate, ');, ...., datamodUSARunitCmdr.sqlAARpt.open;, datamodUSARunitCmdr.sqlAARpt.enableControls;, , (I know the SQL-statement returns a recordSet, given the proper values for the parameters)., , The problem is that when the program reaches the "....clear" statement, the following exception is thrown:, "Either EOF or BOF is True, or the current record has been deleted. Requested operation requires a current record"., , What would cause this?, How could it be resolved?, If the query returns a recordSet, how could it generate an exception?
17 years ago
7 replies. Last post:

dking8124
Hey, dude,, , I don't care what Bill Gates says, this is NOT an exact science!!!, , Thanks for your help
17 years ago
Nothing New Since Your Last Visit
4650
Hits

Thread 15 of 23
Thread Starter  

Alex_Bulgaria
problem with ADOTable
I am using Delphi5, trying to develop small database.When I refresh ADOTable connected to a MS Access database trough ODBC, I get this message: "Project stdatabase.exe raised exception class EOLEException with message "Insufficent key column information for updating or refreshing. Process stoped.Use Step ot Run to continue". There's no matter whether I refresh it programatically or trough database navigator component. What should I do to make it works?
17 years ago
1 Reply:

Scott
{Too Long!}
17 years ago
Nothing New Since Your Last Visit
2954
Hits

Thread 14 of 23
Thread Starter  

Wouter
Com server and client returning a query resultset?
Hi,, , Can someone help me? How can I return a query resultset with a com server. I have no problem returning strings or integers, etc... but i can't return a Query? , , Thanks. Big Grin!, , [EMAIL]game1200@hotmail.com[/EMAIL]
17 years ago
Nothing New Since Your Last Visit
1891
Hits

Thread 13 of 23
Thread Starter  

Ritche M
How to disable right click in the taskbar.
good day!, how can i disable right click in the task bar. when i right click the task bar, it shows: restore, minimize, close. i want to disable this menu., thanks
17 years ago
1 Reply:

NevilleRichards
This menu gives you the same options as the menu given by either the title bar or the top-left icon on the application., , It is controlled by a property in the application main form, I believe., , I think that if you shut down any one of them, you will shut them all down., , Neville, :)
17 years ago
Nothing New Since Your Last Visit
3240
Hits

Thread 12 of 23
Thread Starter  

keas
Using VB build OCX in Delphi fails
{Too Long!}
17 years ago
Nothing New Since Your Last Visit
2053
Hits

Thread 11 of 23
Thread Starter  

danbor
OLE in dll
{Too Long!}
17 years ago
Nothing New Since Your Last Visit
1893
Hits

Thread 10 of 23
Thread Starter  

aurera
Help - Reinstalling a previous component version
I've modified a component and registered it. Now I've tried to re-register the original version. However upon testing, it just seems to pick the later version. I've even renamed the newer version hoping MTS does not pick it up but the results are always the same. , , Thanks in advance.
17 years ago
Nothing New Since Your Last Visit
1824
Hits

Thread 9 of 23
Thread Starter  

Ritche M
Programs in the Sytem Tray or Task Bar
i need help! how do i make my program run in the system tray? or how can i hide my program from the task bar?, , thanks :)
18 years ago
1 Reply:

Angel
You can download free third party components to accomplish this. I recommend LMDTools, a useful free set of components which can be obtained from most delphi code sites.
18 years ago
Nothing New Since Your Last Visit
2135
Hits

Thread 8 of 23
Thread Starter  

Larry J. Rutledge
COM Lessons
Learn Delphi COM programming in 6 easy lessons. From "basics of abstract methods which help to promote the understanding of how an interface operates" to "how to create a brand spanking new com object using the Type Library Editor"., , [URL=http://www.absolute-research.com\IISSamples\Default\com\Com.Htm]COM Technology - Lessons[/URL]
18 years ago
1 Reply:

halimanh
and another link here... [URL=http://www.techvanguards.com/stepbystep/comdelphi/]http://www.techvanguards.com/stepbystep/comdelphi/[/URL] , , Hendra Now that
18 years ago
Nothing New Since Your Last Visit
2543
Hits

Thread 7 of 23
Thread Starter  

Ritche M
ADO in DLL
hi, how can i initialize ADO in a dll. it will display "coinitialize has not been called" error when i compile it. there is no problem with my DLL if it does not use ADO, but i need to use ADO. thanks...
18 years ago
1 Reply:

wpantoja
Use the CoInitializeEx before and ADO calls and CoUninitialize after you are finished.
18 years ago
Nothing New Since Your Last Visit
2781
Hits

Thread 6 of 23
Thread Starter  

Leon
Multiple form ActiveX
Hello,, , I've been trying to put together an ActiveX which has multiple forms - the already written Delphi program is to be changed into ActiveX and used in another application. I tried different things but I am not sure which way I should go. , , Thanks for your help,, , Leon
18 years ago
Nothing New Since Your Last Visit
1726
Hits

Thread 5 of 23
Thread Starter  

egignac
ActiveX
Hi , , I am new in the delphi technology, i' d like to knoww where i can get example of code of how to do an Activex that just return a string !, , Thanks
18 years ago
Nothing New Since Your Last Visit
1795
Hits

Thread 4 of 23
Thread Starter  

C.Oberhaus
determining COM methods
Hi, , Is there a way anyone knows of to return a list (or return somehow) the methods contained in a com interface by name?, , I have a COM object stored as follows:, COMob : variant;, COMob := CreateOLEObject('someCOMobject');, , and I can call some methods like:, // access 'echo' method, myString := COMob.echo('test');, , But I need to find which other methods this particular COM object has.., , Any idea's? greatly appreciated..., , Pea
18 years ago
2 replies. Last post:

Scott
{Too Long!}
18 years ago
Nothing New Since Your Last Visit
1909
Hits

Thread 3 of 23
Thread Starter  

gordon
OLEServer... Bug?
I have as many of you will be aware been fighting a losing battle with a COM object I have been trying to import, and utilise. I , , I have after much investigation discovered that all the errors I am getting and in the OleServer.pas file on the event called, , TServerEventDispatch.GetTypeInfoCount, , I then get an error code:, , "access violation at 0x0044204d: write address of 0x00000003", , Is this a known bug of OleServer.pas or something to do with my imported COM object. The code for my object is in one of my previous threads. (UnImported CoClass Routines I think), , Hope someone can help as I am at the end of the plank, with a noose round my neck as far as this is concerned. Big Grin!Not Actually however it is getting to be like that., , Thanks in advance
18 years ago
1 Reply:

KBerry
{Too Long!}
18 years ago
Nothing New Since Your Last Visit
2145
Hits

Thread 2 of 23
Thread Starter  

gordon
Creating un imported CoClass Routines
{Too Long!}
18 years ago
3 replies. Last post:

gordon
{Too Long!}
18 years ago
Nothing New Since Your Last Visit
2925
Hits

Thread 1 of 23
Thread Starter  

gordon
COM Routine Problems
{Too Long!}
18 years ago
4 replies. Last post:

gordon
{Too Long!}
18 years ago
Nothing New Since Your Last Visit
2323
Hits

New Thread
Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech