Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 11 months ago.
Improve this question
I have 2 screens and I am connecting to a vncserver that's running on centos machine with a VNC Viewer (v5.2.1) from my windows laptop.
This opens a window that I can move from 1 screen to the other.
I would like the session to use both screens and by this I don't mean:
(a) 2 separate VNC sessions connected to 2 vncservers each on one screen
(b) 1 VNC window stretched on 2 screens
(c) Using something like Xming
The reason that I don't like the above workarounds is because with (a) I can't move windows from one session to the other and I also can't open eclipse on both of them (eclipse doesn't like running in two different instances).
With (b) it's very inconvinient since the screens are not perfectly aligned and every window that I try to maximize is maximized across both screens and I have to manually adjust my windows for each screen, not to mention stuff being annoyingly cut by the gap between 2 screens.
Workaround (c) gives me what I need in terms of working with screens but has one major downfall and its the fact that my sessions won't survive my laptop reboots (while with a vncserver working remote stable centos machine I can always connect to the same session).
Note that I am aware of the solution:
Check "Full screen mode" in VNC Viewer > Options > Advanced > Display
Set "UseAllMonitors" to True in VNC Viewer > Options > Advanced >
Expert tab.
This gives me workaround (b) which is not what I look for.
Thanks for any help.
[This is not an answer, just sharing a fix for an issue related to VNC full screen mode and multiple monitors]
ISSUE: With DisplayDevice set to 'DISPLAY 2' (it was set by default f or some reason), I was facing the following issue. When I maximize the VNC or check/uncheck 'pass special key to server' option, the VNC viewer would switch back to my laptop screen from my external monitor automatically. It was very annoying.
FIX: In DisplayDevice, don't hardcode anything. Use app perferences.
References:
https://help.realvnc.com/hc/en-us/articles/360006483577?page=1#comment_360001038057
https://help.realvnc.com/hc/en-us/articles/360002251297#server-displaydevice
Related
First, before someone flags this questions as "out of topic" I will say that first I intended it to post it at stack exchange Meta. But at doing so it clearly says: "Ask your question in Stack Overflow if your question is about programming" and the use of programming tools such as Vscode is about programming
That being said, I use vscode for coding, and lately I have started to use its terminal (before I used the linux terminal). So far everything ok but I have noticed that after using it, and leaving it for some time (and sometimes closing the PC) the terminal becomes unusable, the messages invisible and even if I type, the letters are not visualized.
Why would this be happening and is there a way to avoid this. Right now there is no way and I have to just lose my work there and open another terminal
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I work on a web Application which runs only on IE11. Currently, we use ActiveX control to open Documents (MS word) with in the web application. so far, everything works perfect with ActiveX control however Microsoft will stop supporting ActiveX control on IE11 in few months.
We want to upgrade this Web Application to make it run on EDGE. as ActiveX control is no longer an option, Is there a way/any different control equivalent to ActiveX, which I can leverage on to add it as an addOn in the browser, so the users can open/edit word documents.
Thanks in advance.
Note: When i Say Editing it's basic editing like font size and insert a table at the most.
You said Microsoft will stop supporting ActiveX control on IE11 in few months.
We don't have any news that Microsoft will stop supporting Activex control on IE 11. Maybe you have some misunderstanding. IE will continue to support ActiveX but it will block the outdated Activex control. So if your ActiveX control is outdated then you need to update it with the latest version to continue to make it work with IE 11 browser.
See this information:
Because many ActiveX controls aren’t automatically updated, they can
become outdated as new versions are released. It’s very important that
you keep your ActiveX controls up-to-date because malicious software
(or malware) can target security flaws in outdated controls, damaging
your computer by collecting info from it, installing unwanted
software, or by letting someone else control it remotely. To help
avoid this situation, Internet Explorer includes a new security
feature, called out-of-date ActiveX control blocking. Out-of-date
ActiveX control blocking lets you:
Know when IE prevents a webpage from loading common, but outdated ActiveX controls.
Interact with other parts of the webpage that aren’t affected by the outdated control.
Update the outdated control, so that it’s up-to-date and safer to use.
References:
Use ActiveX controls for Internet Explorer 11
Out-of-date ActiveX control blocking
Blocked out-of-date ActiveX controls
If you want to move to the MS Edge browser then I suggest you check the Office browser extension.
The Office browser extension is a free extension for Edge and Chrome, that gives you easy access to your Office apps and documents anywhere on the web. You can quickly access and edit Word, Excel, PowerPoint and other Office documents right from your Edge or Chrome browsers, without having to open your desktop apps.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I aware that this will be a less programming question, but still...
How can I completely disable fiddler. I went to options->connections and unchecked all checkboxes, disabled File->capture traffic, went to IE and disabled Fiddler addin, went to connections and removed all proxies and still all my pages (on IE and chrome, FF is fine) go through fiddler. All would be good if Fiddler wouldn't break that much, especially when sending lots of files.
When I tried to uninstall fiddler completely all pages just stopped working at all
So how do I disable Fiddler say in IE or better in whole system.
This drives me crazy for few weeks already :(
I try not to post answers to my own questions. But I decided to do it this time. After two weeks of strugling I gave all my attention to this problem today.
It appears that a proxy was set in VPN. I didn't know that you can set proxy to a VPN connection. In Network settings go to your VPN connection, then to proxy and disable Fiddler there too
I was not aware that Fiddler could run by itself, without you having started it. It seems to me that if you don't see Fiddler, then it's not there.
This could be why it's driven you crazy trying to disable it - it's not there.
You can completely uninstall fiddler but you must go into the fiddler folder itself (\Program Files\Fiddler2 by default) where a uninst.exe will be found. That will remove it completly. Otherwise, you can disable it from the add-ons menu in firefox.
I found out that you need to disable the plug-in in the internet explorer settings.
Internet Properties -> Programs -> Manage Add-ons
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
EDIT!
Sorry to change the question on everyone, but I am really just asking:
How do I create a shortcut (.LNK) file from the command line with as little outside help as possible? I really don't want to run a VBscript or to download a program to do it for me. Is it really that hard?
Thanks to everyone who provided exceptional answers when I didn't really know what I was asking yet!
The original title of this question was:
Windows equivalent of Unix ln -s for
creating shortcuts from the command
line?
The original question text of this question was:
On *nix, I can create a symbolic link
to a file very easily from the command
line using ln -s.
How do I natively create a
shortcut to a file using the Windows
XP command prompt?
Note: This is not the
approach I want to take. I want to do
it the way Windows does it. I want to
do it the right way.
Windows XP and later has the fsutil command, which can create "hardlinks" to files.
See:
MSDN: Hard Links and Junctions
JSI Tip 10153: The Windows XP FSUTIL.EXE HARDLINK CREATE command
XP doesn't have symlinks. On Vista, the command is mklink. Shortcuts are not symlinks.
This is not a native Windows call, but you should probably look into Windows Sysinternals' Junction. This is a very handy tool of good quality.
If you don't want to rely on external software, you should look at kb205524 for native ways of creating junction points.
http://www.ss64.com/nt/shortcut.html
EDIT:
Sorry I deleted that. .. but that is an old NT command ... don't know if it active on XP.
I have a file called shortcut.exe on my system. Honestly, I have no idea where I got it. :-( But a quick search came up with the following website:
http://www.optimumx.com/download/#Shortcut
Maybe that will work for you?
mklink link target
Unfortunately, this only works on Vista/Server 2008 or newer.
Actually NTFS does support symbolic links. See Wikipedia NTFS_symbolic_link
Softlinks are supported by the file system used by windows.
Though this functionality is not exposed by any standard windows tools.
There are opensource tools available that can do the trick though.
Everyone seems to be beating around this bush, but I haven't seen anyone actually come out and say it yet: NTFS supports something called "junction points", which are very similar, though slightly less useful than, symlinks. These are different than both shortcuts and hard links. I use them regularly for building different versions of our software at the same location on my system (just repoint the build directory link to a different SVN checkout). The tool I use for this is called ntfslink. That page also contains a pretty good explanation of how NTFS junction points work and which versions of Windows support which features. I use it on Win Server 2k3. The ntfslink program is a shell extension, but there are other similar utilities that work from the command line. There are also Windows API functions available to create them if you want to do it programmatically from whatever app you're developing.
I don't know if this EXACTLY answers the question, but it sure makes life easier!
Go to where the program's installed. Create a shortcut to the .EXE or startup file. Put the shortcut on the desktop so you know where it is! Then drag the shortcut to the START button (in XP). When the START menu appears, drop it ABOVE the little line (so it stays visible). Hey presto - an instantly created .LNK file with Windows doing all the work for you (yes this DOES work, I've just this second done it/worked it out when I read the question here.)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 months ago.
Improve this question
I have been looking for documentation related to interacting with MSPaint from the command line. I have only found references to /p, /pt and /wia, but no guidance as to how to use them and their limitations.
I am trying to send some graphics files to the printer and when I drop the file on my printer driver I get a different print output than if I call paint from the command line. I am using the UDC print driver to convert graphics, and I am using paint to send my graphics file to the printer driver in order for my file to convert.
Any ideas?
I know that mspaint /p filename and mspaint /pt filename both print straight to the default printer. Not sure what /wia does, maybe something to do with Windows Image Acquisition?
Also, as others have pointed out, there are many programs a lot more capable for doing what you want than MSPaint.
I actually suggest you look into doing this in Paint.Net instead. You will have much more freedom.
I suggest ImageMagick hands down... it's like having Photoshop on the command line!
Use PngOptimizer:
https://portableapps.com/apps/graphics_pictures/pngoptimizer-portable
it is freeware, doesn't require installation, and is less than 1MB. Converts nicely from BMP to PNG and many other things.
There is a specific command line version PngOptimizerCL to be downloaded from: http://psydk.org/pngoptimizer
To run in command line, converting from bmp to png:
PngOptimizerCL.exe file.bmp file.png
What OS (specific version) are you using? The newer versions of Windows support printing graphics files without the need for MS Paint or any other graphics program. It's called the "Photo Printing Wizard" in XP, and you can even just right-click on a graphics file and choose "Print" right from Explorer - no other program required (and no command line switches needed either).
If all you are trying to do is send some graphics files to the printer, and you're able to drag & drop them, then this is what I'd recommend using.