PB OLEObject is not populating methods of wscript.network - powerbuilder

Is there any installation issue in PowerBuilder 12.5 and higher version. The OLEObject is not populating wscript.network class related methods.
I am using windows 10 OS.
Please help anything do I need while installing ?

The PowerBuilder installation process doesn't have anything to do with whether your attempts to use OLEObject to work with wscript are working or not.
What are you attempting to do?


What is the correct way to isolate cookies/users in Chromium embedded browser?

I have searched for days with no solution in sight.
I need multiple Chromium instances in one single application and each of this instance logins to the same site with different account (ex: outlook.com).
I tried this solution but there's no "OnGetCookieManager" event in DECF3 new version. Apparently there was a related bug and event onGetCookieManager was removed in the 1547 CEF3.
I tried this but it doesn't work too.
Is this really possible? How?
I'm using DCEF3 (revision: 0cc175e7a629) and Delphi XE3.
Here's what CEF3 maintainer told me:
"Cookies can be stored globally, per request context or something else entirely. It depends on whether you pass a CefRequestContext to CreateBrowser*() and what you return from CefRequestContextHandler::GetCookieManager."
I'm not entirely sure how CreateBrowser is exposed in Delphi (I only use the C++ API), but I can confirm that GetCookieManager still exists in trunk (as the only method of CefRequestContextHandler).

Program with FastReport using MyDACDatabase doesn't work

I'm using the MyDACDatabase components to connect my report build with FastReport 4 to my MySQL database. I can edit it normally and test in the FastReport designer when using my Delphi's IDE, even compile the application, but when I open the form that have the report, I have the exception Class not found: TFrxMyDACDatabase not found. How can I fix this error?
Just for anyone else wondering, the same problem happened to me all I did was, was changed the Library path to include the location of FR5 and added frxmyDACComponents to the uses list again.
You should install FastReport X MyDAC Components from MyDAC 5 to be able to use the TfrxMYDACDatabase component. For more information please read the ReadMe.txt file in the %MyDAC%\Demos\Win32\ThirdParty\FastReport\FRX\ directory. %MyDAC% is the MyDAC installation path on your computer, X is the version of the Fast Report components that you use.
(Quoting from Something change in version 5 for tfrxMyDacDatabase (Version 4 no problem))
The solution is very simple. I realised that in the FastReport 4's tab I have a component named frxMyDACComponents in the pallete that I installed following the instructions in the MyDAC's Demos folder (in my case, placed into C:\Users\Public\Documents\Devart\MyDAC for Delphi 7\Demos\ThirdParty\FastReport\FR4\ReadMe.txt). When I placed this component in my form, 2 units were declared in the uses clause: frxDACComponents and frxMYDACComponents. Just that was needed to this problem. Thanks for the help of everyone.

How can I find out version of MSWord on computer?

Can anybody help, please. How can I find out version of msword installed on computer? If there is few versions of it, find out that version which open '.doc' by default. Can anybody suggest some C++ functions or algorithm for this task? Sorry for bad english :( Thank you for help.
you can read the registry entry from the path.
Office 2003 = 11
Office 2007 = 12
Office 2010 = 14
If I want to know what version of Word, I look at the registry key HKEY_CLASSES_ROOT\Word.Application\CurVer
It will give you a ProgId like: "Word.Application.14", "Word.Application.12", or "Word.Application.11" for Office 2010, 2007, and 2003 respectively. The part to the right of the last "." gives the version. If you look at "Word.Document", it won't always give the correct answer because there are feature packs that can be installed that will allow an older version of Word to read a new version of Word document. These feature packs update some registry settings for Word.Document, but they leave Word.Application alone.
Please don't go rummaging through the registry when there are APIs available. Using the appropriate APIs will help make sure your test works for all versions of Windows and Word.
To find out which executable is registered to handle a certain file type (like .doc), use AssocQueryString. Once you have the path to the executable, you can check its version number using GetFileVersionInfo and VerQueryValue.
If you just want to find out which versions are installed (regardless of which application is associated with .doc), you can probably query Windows Installer. Check out MsiEnumProductsEx and MsiGetProductInfo.
There's probably also a way to query for this stuff using WMI.

Unable to create registration information for file named?

I'm trying to deploy my ActiveX Control DLL developed in ATL project in VS2008 (I'm new to this kind of deployment).
Follow some tutorials, I'm trying to create msi file for my control using Setup Project in VS2008. I've set the Register property of Primary Output to vsdrpCOM. It built with no errors, but I got the warning: Unable to create registration information for file named. Although I can install the control in IE, it doesn't work but displayed with a red X icon. I've also tried other Register options but it's no use.
I think my control is still not registered during installation because of the warning.
Could anyone please give me some instruction to solve this? I've spent hours on google :-(
Thank you!
Use the property vsdrfCOMSelfReg.
See http://msdn.microsoft.com/en-us/library/h793hc1y%28v=vs.90%29.aspx.

Delphi: CoolTrayIcon's ShowBalloonHint is not working

I used CoolTrayIcon, and ShowBalloonHint to warn user to incoming messages.
Everything has been working fine till today.
Today once I saw the Balloon, but later never. In these period some Windows update installed in the background as I think - later the system showed a "Restart" dialog.
I tried to set all properties, and to make a new test project and to copy my old code. Nothing worked.
Last chance I tried the CoolTrayIcon's demo.
And it is also is not working for me!!!
The environment is:
Win7/x64, Delphi 6 professional (with updates), 4.4.4 CoolTrayIcon (last).
So here is the question:
Do you experienced same anomaly? May this caused the SP?
Or what?
I don't know how to determine that is this problem a System Failure (local), or caused Windows 7 update (then it is global, appearing everywhere)...
I think CoolTrayIcon is a bit outdated.
Try with TJvTrayIcon from JEDI Visual Component Library.
TJvTrayIcon shows balloon hints on Windows 7.
I found some information that might be handy on this case:
The problem lies in the NOTIFYICONDATA Structure
The member guidItem must no longer be 0 (zero) on Windows 7, but must
contain the GUID of the icon that the notifier is associated with.
Hope it helps someone.