List network printers with oracle sql
Is there way to list all printers on a domain? note:I can use delphi 4 or oracle 11g ...
Is there way to list all printers on a domain? note:I can use delphi 4 or oracle 11g ...
How to set "Directories/Conditionals" in Project Options and "Library" path in Environment Options? Delphi help don't say much about these very important settings. I have all kind of strange errors because of wrong dependencies between my VCLs. 1. I have merged a large set of 3rd party controls in a package called ThirdPartyPackages_D...
I am currently using the function SystemParametersInfo to retrieve SPI_GETICONTITLELOGFONT. According to the MSDN documentation this is the http://msdn.microsoft.com/en-us/library/ms724947(VS.85).aspx "Retrieves the logical font information for the current icon-title font" But this always retrieves 'Segoe UI' even when I change my ...
I added a basicHttpBinding to an existing Service I have in production in order to expose it for use in Delphi. When I try to use the WSDLImporter from Delphi 7 on the wsdl file, it doesn't work right. A section in the resulting tlb says // ************************************************************************ // // The following ty...
Hello! How to find out if object supports IHandle<T> and is there any possible workaround to achieve this in delphi (2010, XE)? Also has anybody seen a nice implementation of event aggregator for delphi? IHandle<TMessage> = interface procedure Handle(AMessage: TMessage); end; EventAggregator = class private FSubscribers: TList<TObj...
Hi How can i save the current state of Ribbon So that i can load ribbon with the same state while opening the exe next time using Delphi? ...
Hi, I'm using TAdvOfficePagercomponent from TMS Software. Inside each page I use a frame. When switching between pages I get some ugly display artefacts like this: The controls from the old page and the controls from the new page are both visible for some time. Is there anything I can do about this? Note: There's nothing happening ...
Hello, currently I am trying to develop a game trainer in delphi. I've got the following code: var WindowName : integer; ProcessId : integer; ThreadId : integer; buf : PChar; HandleWindow : Integer; write : cardinal; Const WindowTitle = 'Starcraft'; //Whatever Those are my variables, and now my function:...
I am getting a lot of occurences of the message "Debug session in progress. Terminate?" when trying to re-run my application after routine editing in Delphi 2010. My Application has already been run (maybe several times) and quits without any problem back into my editing mode, yet after completing my edit sometimes the Run option is disa...
Should "Library path" point to the source files of packages? Delphi 7 documentation says yes. But other people say no: "The "Library" path should lead to compiled files (.dcp, .dcu) and (if needed) resource files (.res, .dfm) only". Update: The thing is that if you DON'T add the path to your packages in the "Library path" then every sin...
Hi, can anyone tell me why I get "Return value ... might be undefined" here: function TXMLAcceptorBCOLSubmission.createRecordsInBCFEEPAR(AXML: TRipXMLElement): String; var ... begin Result := ''; ...
Hi , I'm using WebBrowser to get source of html pages . Our page source have some text and some html tags . like this : FONT></P><P align=center><FONT color=#ccffcc size=3>**Hello There , This is a text in our html page** </FONT></P><P align=center> </P> Html tags are random and we can not ...
Has anyone got any hints that will allow me to integrate the Microsoft Help Viewer with a Delphi Application (2009 onwards). Thanks ...
Hi, I'm using a TWebBrowser in my Delphi app. When an Internet Explorer Script Error dialog pops up it blocks automated refreshes ("the requested resource is in use"). Is there a way to automagically close the error dialog? TIA Steven edit One possible solution is to use the Mozilla ActiveX Control instead of IE's (Firefox never shows...
I have a poly-line-contour consisting of line segments and arcs of circles which i want to extrude to prisms. As my extrusion functions only support straight-edge polygons, i need to approximate the arcs using line segments. The arcs are defined through a starting point, center point and sweep angle (CCW). The sweep-angles i need to d...
I use Beyond Compare (version 3.1.10) to compare different versions of Delphi Form Files, but I don't want to see differences concerning ExplicitTop, ExplicitLeft, ExplicitHeight and ExplicitWidth. Details: These lines will always begin with a number of whitespace characters, then "ExplicitXXX = " and a number. Older versions of Delphi...
While SysUtils.StrScan() takes PWideChar const as the parameter, is there a StrScan() like built-in function for string/Unicodestring type? Thanks in advance. ...
In Delphi 2009 and later versions, string type implicitly equal to UnicodeString type. My discipline now is to use explicit UnicodeString type for my recent base units to eliminate the confusion. Is there a compiler directive that will make string <> UnicodeString in the unit where it was stated? ...
Looking at MSDN documentaion for GetTokenInformation() and the Getting the Logon SID example, GetTokenInformation() needs to be called twice. The first call is to get the buffer size. So, buffer size of what? Just say I use TokenUser as its second parameter, I see that the dwReturnLength returned by first call is not the size of TOKEN_U...
I am writing a console application using BDE 2006 and I want it to be able to prompt for a password string and mask it with "*" as the user is typing. I have looked around but I could not find examples of how to do this. Everything I saw was how to do this in TEdit. Any pointers on how to accomplish this? Thanks in advance, Nic ...