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 … Re: Cannot run exe from asp.net Programming Web Development by Neil_brown001 … confusion Having two web.config files is normal in ASP.NET apps. One controls the overall app, the other can apply… Re: Cannot run exe from asp.net Programming Web Development by lennyli … > Having two web.config files is normal in ASP.NET apps. One controls the overall app, the other can apply… 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: Differential Directory, indexing method Programming Software Development by xrjf I've just made an update because some records weren't being added properly. The issue was that the form didn't take into account that the register field (in the call to DiDi) is passed by reference. Re: Differential Directory, indexing method Programming Software Development by noahevans This is a brilliant explanation of how Differential Directory (DiDi) indexing works — very efficient and elegant. The idea of storing only the first differing bit between keys reminds me of how we optimize systems for speed and memory, much like how some tech repair services streamline diagnostics. At FixnVibe, our approach to mobile phone … Re: How to open an Excel Document in VB.NET Programming Software Development by Pelorus_1 A Microsoft Excel document can be opened in VB.NET using the Microsoft.Office.Interop.Excel library. Using Workbooks.Open(), open the workbook, and then display the Excel window. Reference the Excel COM object in your project. 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: How to open an Excel Document in VB.NET Programming Software Development by PitSterw I've worked on something similar and found that using Microsoft.Office.Interop.Excel lets you open the file and loop through cells easily. Cannot run exe from asp.net Programming Web Development by lennyli …/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… 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. Re: Are their any alternatives to github? Programming Software Development by Salem Sure - https://alternativeto.net/software/github/ Differential Directory, indexing method Programming Software Development by xrjf **Features:** * Retrieves the differentiating bit of a key with respect to the previous one and stores only this position in the index. * With at most one single disk read, assuming the index is in memory, it determines whether the key exists or not. * The index is always sorted and therefore requires no reorganization. * Performance is … Re: Differential Directory, indexing method Programming Software Development by rproffitt DiDi appears to be some China based UBER service but then again I can't find a question or much else to discuss here. Re: Differential Directory, indexing method Programming Software Development by xrjf About DiDi DiDi (Differential Directory) was originally developed as part of my thesis project in the early 1990s. The name bears no relation to the more recent Chinese ride-sharing company. At the time, DiDi was a novel approach within its academic context, but a change in legislation unfortunately led to the closure of the school and the … Re: Differential Directory, indexing method Programming Software Development by xrjf For example, as Donald Knuth points out in The Art of Computer Programming, the theoretical lower bound for comparison-based sorting algorithms is K × log₂(N). I developed a very simple method that matches this performance. However, DiDi goes far beyond: its performance is proportional to K × (maximum key length), regardless of the number of … Re: Differential Directory, indexing method Programming Software Development by xrjf As an illustration, consider the theoretical lower bound for comparison-based sorting, as stated by Donald Knuth in The Art of Computer Programming: K × log₂(N). I developed a simple method that matches this limit. For example, to sort the list {2, 5, 7, 1, 4, 3, 8, 6}: Sort pairs: (2, 5) → [1] (1, 7) → [2] (3, 4) → [3] (6, 8) → [4] Merge…