ThN

Pittsburgh, PA

cool-technology.blogspot.com

Age: 39

Sofware Engineer for the last 13 years - developing in Delphi, Delphi-Prism (.NET) and C++ software.

Areas of Expertise:

  • C
  • C++
  • C#
  • Delphi 5, 7, 2010
  • Delphi-Prism (.NET)
  • Lazarus (Free Pascal) for Linux Operating System
  • Dynamic C
  • Embedded programming - Jackrabbit Microprocessor
  • MS Access
  • Oracle
  • SQLite
  • SQL
  • MySQL
  • Reporting Tools - Crystal Report with VB, Rave Report with Delphi Prism (Visual Studio 2010)
  • MacroMedia Flash MX
  • HTML
  • Java
  • PHP
  • JQuery
  • Web development
  • Internet Information Service (IIS) & Workbench
  • Windows xp, 7, 8 and Linux (Fedora, Ubuntu, Linux Mint)
Jun
23
comment How to set adminstrator privilege using manifest for Windows 10?
I don't know why this question is marked down. David's answer did help me solve my access denied popup window. Now, I can start my program without issues. It is only at boot my program runs as background process. It could be because something else not necessarily related this question.
Jun
23
accepted How to set adminstrator privilege using manifest for Windows 10?
Jun
23
comment How to set adminstrator privilege using manifest for Windows 10?
I finally got it to work without the error message as admin except at startup. At boot it kept starting as background process. So, I had to cheat and wrote a mini program, which is placed in the Startup folder and starts my program as admin at boot...
Jun
23
revised How to set adminstrator privilege using manifest for Windows 10?
added 181 characters in body
Jun
23
comment How to set adminstrator privilege using manifest for Windows 10?
@DavidHeffernan It seems my compiler compiles RC file using brcc32.exe as long as you have one in the project folder by default. I made the changes according to your answer and compiled. It did produce RES file. I did verify what's in it is what I have in my manifest file in binary by opening it in Microsoft Visual Studio. Plus, in my profile (DPR) file, RES file is linked as follows {$R *.res}. Then, I took my program's exe file, drop it on Windows 10 system and double clicked on the exe file. Still acting the same as it did before. Only with Run as an administrator option it runs no error
Jun
23
comment How to set adminstrator privilege using manifest for Windows 10?
@DavidHeffernan My RC file is getting compiled and I do see RES file in my project folder after I compile my project. If I remove RC file from my project, {.$R 'GeoMonitor.res' 'GeoMonitor.rc'} disappears from my DPR file. Is that okay? I just learned from my IT guy that he always turns OFF UAC when he setups computers because he hates it. That explains why I never had to deal with this....
Jun
23
comment How to set adminstrator privilege using manifest for Windows 10?
@KenWhite I actually added these files to my program project files by right clicking on the project name and clicking the add options in the popup menu. Also, I noticed that RC file was linked to my DPR file like so {.$R 'GeoMonitor.res' 'GeoMonitor.rc'}' I read somewhere online that you don't need to compile RC file separately that Delphi compiler will do that for you.
Jun
22
accepted how to connect to a NIC card or network adapter knowing its IP address?
Jun
22
asked How to set adminstrator privilege using manifest for Windows 10?
Jun
22
comment how to connect to a NIC card or network adapter knowing its IP address?
Okay... this is new to me. I guess my program used a default or built it manifest before. So, I didn't have to do anything until now. When I compile my program with my custom manifest linked to my project file, it will apply it to my program's exe file. Do I need to ship my software with these rc, res or manifest xml file if I have run my program on a different machine?
Jun
22
comment how to connect to a NIC card or network adapter knowing its IP address?
@SilverWarior Yes. If I right click on the exe file and start it through Run as an administrator option in the context menu, it runs without any issue and no error message popups. If I run my program in any other way with the Run program with highest privileges option, it popups Access Denied message box.
Jun
19
comment how to connect to a NIC card or network adapter knowing its IP address?
On Windows 10 actual error message is Access Denied with OK button. TNetSharingManager gives your program access to Network layer of your system. In other word, you program request for list all the available Network connection and its properties on your system, enable or disable them, etc. MCVE?
Jun
19
comment how to connect to a NIC card or network adapter knowing its IP address?
pEnum := (NetSharingManager1.EnumEveryConnection._NewEnum as IEnumVariant);
Jun
19
comment how to connect to a NIC card or network adapter knowing its IP address?
I have added an update at the end.
Jun
19
revised how to connect to a NIC card or network adapter knowing its IP address?
added 214 characters in body
Jun
19
comment How to run a program as an administrator at startup on Windows 10?
You are right. First, we have enabled Run with highest privilege checkbox in the compatibility section for the shortcut. Then, clicked on the icon, it still popped the error message. Then, we moved the shortcut into startup folder, it still raised the error message. We even tried Task Scheduler and still the same. I even tried batch file in the task scheduler like someone suggested. it the same. The only time it loads normally is when we right click on the actual executable file for my program and click on Run as an Administrator option in the popup menu. The only user is the admin in sys
Jun
19
comment How to run a program as an administrator at startup on Windows 10?
We have done that and my program still raises Access Denied error message.
Jun
19
revised how to connect to a NIC card or network adapter knowing its IP address?
deleted 6 characters in body
Jun
19
comment How to run a program as an administrator at startup on Windows 10?
Right. I am the only user and also an administrator.
Jun
19
asked how to connect to a NIC card or network adapter knowing its IP address?
1 2 3 4 5