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: 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__": >… Re: Cannot run exe from asp.net Programming Web Development by lennyli I fixed the problem by ensuring the path is including python. Also on the server I must run pip install Thank you all All working now Re: Cannot run exe from asp.net Programming Web Development by Salem Congrats on getting going. > Even if i run the setup and ticked the option "add to path", the echo %PATH% command didnt seem to show what i expected. Yeah, this won't transform the PATH of any existing process. In increasing annoyance order, you may have to: 1. Start a new cmd window 2. Log out and log in again 3. Reboot … How Does Flutter Handle State Management Internally? Programming Software Development by James_228 …— but one thing that still feels a bit unclear is state management. I know there are several options like: setState() …MobX, etc. But I’m curious: How does Flutter handle state under the hood? What are the pros and cons of… these state management tools in real-world apps? If you're … Handling Real-Time DOM Sync in SSR React App with Dynamic Nested Routes Programming Web Development by Neil_brown001 …. The challenge arises when synchronizing DOM state post-hydration—especially when the component tree…(with staleTime optimization), and Zustand for global state management. Occasionally, hydration mismatches or race conditions…time updates that affect both UI and global state. Route transitions trigger component-level reinitialization with… Cannot run exe from asp.net Programming Web Development by lennyli … previous discussion 13 years ago suggested to use the session state to run at a different port. Thank you for reading… Evaluating OpenAI GPT 4.1 for Text Summarization and Classification Tasks Programming Computer Science by usmanmalik57 …/index/gpt-4-1/) — a model touted as the new state-of-the-art, outperforming GPT-4o on all major benchmarks… Re: Question/Answering over SQL Data Using LangGraph Framework Programming Computer Science by Pelorus_1 Through its combination of natural language processing and structured query generation, LangGraph makes interfacing with databases and extracting insights over SQL data easier than ever. 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 > 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 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. 【McCharts】基于鸿蒙 ArkTS 语法开发的图表组件 -- 折线图 Programming Software Development by 杨_659 … = new RenderingContextSettings(true) private context: CanvasRenderingContext2D = new CanvasRenderingContext2D(this.settings) @State options: interface_option = {} aboutToAppear() { this.options = Object.assign({}, def_option, this.options… Re: How would we poison AI web crawls? Hardware and Software Information Security by rproffitt For example, with Meta and others removing fact checking we should find a way to render their AI and search results full of not so useful information. We are right now veering towards a Fascist state with oligarchs and mega corporations stoking coal into the ovens. We shouldn't be fuel for those ovens. Re: How secure is Github? Programming Software Development by rproffitt Given the state of affairs in the USA, any security we thought we had is gone. DOGE is gaining access by force now. Do we really need this conversation? Re: ‘Advanced AI should be treated similar to Weapons of Mass Destruction’ Community Center by rproffitt UPDATE: Feb 4, 2025 — Google on Tuesday updated its ethical guidelines around artificial intelligence, removing commitments not to apply the technology to weapons or surveillance. Re: Why DaniWeb doesn't have an account to BlueSky ? Community Center Meta DaniWeb by Dani There's a simple answer: DaniWeb doesn't have an account on Bluesky because I run DaniWeb and I've never heard of BlueSky. We do, however, [have an account on X](https://x.com/daniweb). I have been on Twitter since 2008, and Facebook since even before then, and, aside from those two that we've had forever, I don't see the point in having … Re: Director of Innovative Technologies Labs Community Center Say Hello! by Dani Hello and welcome to DaniWeb. That’s quite the CV you’ve got there. :) Re: State Design Pattern - How to? Programming Software Development by rubberman state -> event -> transition -> new state. This is the short version of how FSM (Finite State Machines) work. The system starts in some state, gets an event, evaluates what state to transition to, possibly doing some work during the transition.