Re: Error LNK1104 when debugging Programming Software Development by toneewa I've seen this problem before with the .rc and resource.h files, when changing icons. Backup what you have. I remember I had to remove the resource files from the project, and the additional resource (e.g., resource1.h, resource2.h) generated headers from the project folder, when adding a new icon to replace the default. It's probably easier… Re: Error LNK1104 when debugging Programming Software Development by toneewa I like the challenge, but hate when errors like these occur. Check for a syntax error on line 2 in starter.h starter.h(2): warning C4067: unexpected tokens following preprocessor directive - expected a newline Hard to say without seeing code. Some cases m_hservice may require you to use the .lib file Advapi32.lib it if it isn't automatically… Re: Safely upload a file Programming Web Development by Dani I realize I could have done better when coming up with a safe name. As it stands, a file uploaded that has a file name in non-Latin characters will just end up with a bunch of underscores. I’m not even sure if that suffices as a file name, but for sure there will be collisions as multiple files are attempting to be saved with the same _ name. Cannot run exe from asp.net Programming Web Development by lennyli I have tried to read https://www.daniweb.com/programming/web-development/threads/386380/cannot-run-exe-files-in-asp-net-application but still lost in trying to achieve something. I installed the latest .net framework, and IIS on the latest updated windows 11. I wish to achieve the following: Have a webpage with a button, when pressed, it will … Re: Cannot run exe from asp.net Programming Web Development by lennyli > Are you sure IIS is configured to allow running external scripts? The document folder and asp file has security permission set to ALL rights for 'everyone'. In IIS, under handler mappings for .asp files, under request restriction/access, script was chosen (not execute) for feature permissions, all 'read' 'script' 'execute' are chosen Re: Cannot run exe from asp.net Programming Web Development by Neil_brown001 Why your approach isn’t working What you're trying to do is mostly blocked by modern security rules — for good reasons. Here's the breakdown: Running a .exe on the server You can technically make the server launch an .exe file like Notepad, but: It will run in the background on the server, not visibly on the desktop. It needs special … Re: Cannot run exe from asp.net Programming Web Development by lennyli > Why your approach isn’t working > What you're trying to do is mostly blocked by modern security rules — for good reasons. Here's the breakdown: > > Running a .exe on the server > You can technically make the server launch an .exe file like Notepad, but: > > It will run in the background on the server, not visibly on… Re: Problem with the external hard drive Hardware and Software Microsoft Windows by asadalikhan Don't format it! Try using recovery software like Recuva, EaseUS, or TestDisk to recover your files. If that fails, a professional data recovery service may be needed. Re: How to open an Excel Document in VB.NET Programming Software Development by JamesMichaelm I see it's been a while since you posted, but I'm curious if anyone here has tried using the Open XML SDK instead of Interop or OleDb for reading Excel files. I found it faster and doesn't require Excel to be installed, though it can be more complex for writing. Wondering how others handle big Excel files or ones with tricky formatting? Re: 💻 What’s the First App You Install on a Fresh Windows Machine? Hardware and Software Microsoft Windows by Reverend Jim Further note: Because Microsoft insists on crammine OneDrive down our throats, moving the My Documents is damn near impossible. I've found the easiuest way is to initially set up my computer using a Microsoft Account (something they have also made it almost impossibole to avoid), then create a local admin account and always log on with that. That … Re: Error LNK1104 when debugging Programming Software Development by rproffitt Here's a page about how to create and view your VS log files to point you to where or why the compile failed. https://learn.microsoft.com/en-us/visualstudio/ide/how-to-view-save-and-configure-build-log-files?view=vs-2022 Re: Problem with MS Office shortcut bar Hardware and Software Microsoft Windows by asadalikhan Nick, this issue sounds like a file association problem. Your URL shortcuts on the shortcut bar are likely opening with the wrong program (like a printer handler). Here’s a quick fix: 1. Go to Control Panel > Folder Options > File Types 2. Find and select .URL 3. Click Advanced and ensure it’s set to open with Internet Explorer (… Re: Problem with MS Office shortcut bar Hardware and Software Microsoft Windows by asadalikhan Nick, it’s likely a file association issue. Reassign `.url` files to open with Internet Explorer in Folder Options > File Types. That should fix the shortcut bar behavior. Re: 💻 What’s the First App You Install on a Fresh Windows Machine? Hardware and Software Microsoft Windows by Reverend Jim As is typical with Microsoft, their search/find tools work poorly, can hog resources, and are difficult to use. "Everything Indexer" is easy to use, has a small footprint, and has almost no effect on my resources. Search queries show you results as you type, and you can create complex search terms with logical operators, as opposed to the… Re: How secure is Github? Programming Software Development by Dani > I’d never recommend storing sensitive information like passwords, private keys, or database credentials—even with .gitignore. Instead Why not, though? Doesn't .gitignore just completely *ignore* the files to where they never touch Github's servers? To me, that sounds much more secure than Github secrets, where sensitive information *is* … Re: Optimizing working with big data Programming Software Development by ThinkWriteGrow > What are some best practices for optimizing memory management when working with large datasets? > > I am tagging this topic both with php (because that is my language of choice, and the one I work with big data with) as well as c++ (because I know DaniWeb has a large low level c++ community that is well suited to being able to delve… Re: Designers, Where Do You Get Your Visuals? Digital Media UI / UX Design by jkon We make a vertical distinction between visuals for UI (which are under the R&D department) and visuals for content management / site promotion (which are under the S&D department). In the first case, which covers every visual within the scaffolding of an app / site, we normally create them ourselves. These are typically SVG files, and … Re: Cannot run exe from asp.net Programming Web Development by pritaeas > while at the same time run the same exe on the local client pc. Not possible. Re: Cannot run exe from asp.net Programming Web Development by pritaeas No, Javascript cannot run/start executables on the client machine. Re: Cannot run exe from asp.net Programming Web Development by rproffitt I see pritaeas has answered so I'll move to the next stage of the discussion which is to ask what you need in your web site. For example there is an "online notepad" which does some basic notepad work. And there are many screensavers that run from a webpage with an example at whitescreen.online . You can get there. Re: Cannot run exe from asp.net Programming Web Development by lennyli Why does the following code dont run and launch the exe I specify (eg, notepad.exe, or ribbons.scr)? <%@ Language="VBScript" %> <!DOCTYPE html> <html> <Body> <% Dim objShell Dim command Dim result ' Path to the executable command = "C:\… Re: Cannot run exe from asp.net Programming Web Development by pritaeas Are you sure IIS is configured to allow running external scripts? Re: Cannot run exe from asp.net Programming Web Development by lennyli > I see pritaeas has answered so I'll move to the next stage of the discussion which is to ask what you need in your web site. > > For example there is an "online notepad" which does some basic notepad work. And there are many screensavers that run from a webpage with an example at whitescreen.online . > > You can … Re: Cannot run exe from asp.net Programming Web Development by john_111 Let me expand on what rproffitt said, by explaining why. If a webpage could run a program installed on another computer, the entire world wide web would be hacked into tiny pieces and cease to exist. No one would ever use the web, it would be so totally insecure. So web pages are prohibited from running programs on your computer. They can … Re: Cannot run exe from asp.net Programming Web Development by Salem https://xyproblem.info/ * User wants to do X. Sometime later... > My boss just asked me to create a prototype as proof of concept. There is no specific language/tool I must use * User asks for help with Y. Initially asked... > Have a webpage with a button, when pressed, it will launch a webpage that runs a server side exe (eg, … Re: Cannot run exe from asp.net Programming Web Development by Reverend Jim >No, Javascript cannot run/start executables on the client machine. Technically correct but there are ways around it. For example, save a file in a special folder on the target computer, which has a folder watch on that folder. The watching task could then trigger a local task. Re: Cannot run exe from asp.net Programming Web Development by gediminas.bukauskas.7 Pritaeas answered the question: normal WEB security settings forbids launching executables on a client machine. The only legal workaround is to create windows service (daemon in Linux environment), install it on client machine and listen for some commands coming from server over WEB sockets. Re: Cannot run exe from asp.net Programming Web Development by lennyli > Pritaeas answered the question: normal WEB security settings forbids launching executables on a client machine. The only legal workaround is to create windows service (daemon in Linux environment), install it on client machine and listen for some commands coming from server over WEB sockets. Sure, I understand, but for my above new … Re: Cannot run exe from asp.net Programming Web Development by Salem > When I run the command "python server.py" on the server pc, it held for a second, then released back to the command prompt. So did it even give you `print("Waiting for a connection...")` ? Consider making your server main like this. if __name__ == "__main__": print('Server Begin') … Re: Cannot run exe from asp.net Programming Web Development by lennyli > > When I run the command "python server.py" on the server pc, it held for a second, then released back to the command prompt. > > So did it even give you `print("Waiting for a connection...")` ? > > Consider making your server main like this. > > if __name__ == "__main__": >…