I seem to remember wanting to do the same thing when I came from using VC++ 6. The approach to take with C# is that the editor is "alive" and it formats and detects syntax errors in real time. There should be settings for how you want the code formatted in the options someplace. I just use...
I just installed the VS2008 C# express with SP1 hoping it would help. Same problem as C# express without the SP1. If I do new project and select a Windows Form Application, the IDE targets .NET 3.5. If I go into the properties and change it to target either 2.0 or 3.0 I get 4 warnings about...
It's been my experience that often even if you check the attribute when scanning folders with "*.*" it's just about
impossible to do stuff like add only folders to a list. I wasted about 6 hours trying to do it in Delphi 5 one day. I suspect FindFirst/FindNext is largely broken. Either that...
If at all possible I would suggest configuring your COM dll or ocx as an ActiveX Control. If what you really want is a library or component often you can still use an ActiveX Control but just mark it as INVISIBLEATRUNTIME. Usually you can load the .ocx into a toolbox so that you can even drop...
Guess ocx is like dll. Application.Handle is 0. I tried messing around with IOleInPlaceSite and then said to hell with it!! I cheated and coded another method and just passed in the handle. If calling through the ActiveX you have to use the new method if you want the main form in the first...
I'm a bit baffled. I wrote a "single instance" TWinControl
in which the secondary instance of a program passes info to the first instance(such as command tail etc.) and also sends a message to restore the first program instance's main form.
The restore code is:
SendMessage(MainHandle...
Also I think if you are ever tempted to venture into the cold dark waters of COM programming in Windows, Delphi 5 is great. By default it creates dual interface COM objects and if you use it for ActiveX the controls work in everything I've tried. If you don't put a design-time license on the...
smitty654 if you want more particulars please use the contact page at the site. I don't want to be accused of spamming so that's all I'll say about it here.
The operative work is Control, not Component. A component
doesn't have a handle. Delphi 5 lets you convert a VCL Control into an ActiveX Control. There's a wizard for doing it in the IDE.
There's too many 100s of web pages how to use ActiveX controls for me to rehash it. Look in the online...
Almost everything Windows knows how to handle ActiveX. So the trick I use is to create a Delphi control and convert it into an "invisible" ActiveX Control. Then you can use it in .NET.
When I say "invisible" ActiveX Control what I mean is, once it's installed in the toolbox or toolbar, you can...
CADTenchy, I'm glad I read through this thread again because I fixed up one of my apps to restore if minimized in the situation. :) In a lot of cases, what you want to do if somebody launches a 2nd instance of your app, is to transfer the command tail to the 1st instance, then let the 2nd...
Depends on your needs and your budget. If the help isn't that many pages a free solution that's portable is to create html pages and use an index creator that creates an index.html file with links to all the pages. Suitable for web based help and can be used anywhere html can be read. Also you...
If I could chime in with one suggestion. Creating a semaphore is the way to go. But often programmers use the complete path of the app or a name they made up as the "unique" name for the
semaphore. That's where you'll run into problems such as an app will start from a different folder. What...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.