windows-7

Error when installing XLConnect in RStudio

三世轮回 提交于 2019-12-12 02:47:18
问题 Thanks in advance. I am trying to install XLConnect package. I am using RStudio. For your information rJava is installed. Here is my command in R and the error message: install.packages("XLConnect") trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/XLConnect_0.2-7.zip' Content type 'application/zip' length 17997942 bytes (17.2 Mb) opened URL downloaded 16.7 Mb Warning in install.packages : downloaded length 17473536 != reported length 17997942 Warning in install.packages : error 1

Why DSCP always 0x00 (default) on Windows 7?

半城伤御伤魂 提交于 2019-12-12 02:39:45
问题 I send (TOS/DSCP 12 for audio and 10 for control) packets, and trace them on Wireshark, but all I see is 0x00 on DSCP field, always. Why is that? I already tried to set the "DisableUserTOSSetting" field on registry to zero, didn't help. Any other ideas?? Thanks!! 回答1: A Google search revealed multiple people asking the same question with wording almost identical to yours. - Perhaps spend a bit more time searching the issue yourself? SEE HERE on the Wireshark site, I'd use the below REGEDIT

Redis doesn't start as windows service on Windows7

北战南征 提交于 2019-12-12 02:28:10
问题 I used this build to install redis on my windows7: https://github.com/rgl/redis (git) http://ruilopes.com/redis-setup/binaries/redis-2.4.6-setup-64-bit.exe (binary) Service has been installed sucessfully, but it doesn't start: The message says: 'Redis Server service on local computer was started and then stopped'. logs folder is empty. redis-server.exe starts properly without service. How can I fix this? Propose any other working dist. plz if you know it. 回答1: Ran into a similar issue on

Not able to use “{” and “}” characters in mongodb console

◇◆丶佛笑我妖孽 提交于 2019-12-12 02:27:49
问题 I am trying to use curly braces in mongodb native console client on Windows 7 but i am not able to write curly braces if i am even copy paste curly braces to console it just remove curly braces. Which settings of console can cause this ? Here is client console session MongoDB shell version: 2.1.0-pr connecting to: test > I am using 2.1.0 pre alpha version 回答1: This was a bug in the 2.1.0-pre- version, now fixed because of your report. Thank you! See https://jira.mongodb.org/browse/SERVER-4611

C# operating system installed directory

拟墨画扇 提交于 2019-12-12 02:08:11
问题 How do I find the drive, using C#, in which I installed the operating system (say, Windows 7)? Then I have to get the Program Files directory. 回答1: Use Environment.GetFolderPath(Environment.SpecialFolder.System); , and for the program files folder use Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles); . 回答2: Have a look at this link. Environment.GetEnvironmentVariable hopefully, would do the job for you. 回答3: string systemDrive = Path.GetRoot(Environment.GetFolderPath

Is there a way to monitor the system's DNS cache on c#?

╄→гoц情女王★ 提交于 2019-12-12 02:00:31
问题 I want to do a real time monitor of the DNS cache requests of the system in c#. My system is a windows 7 64 bit. What I did so far is to catch the DNS requests by creating a listening UDP server on port 53, but this monitors ALL the DNS request, what I am interested in are only request made to DNS cache of the local OS. Is there a way to monitor the DNS cache of the system? THx 回答1: You can get your DNS cache via this powershell function: Show-DnsServerCache And this SO post illustrates how

MouseDown and then MouseUp doesn't work

人盡茶涼 提交于 2019-12-12 01:54:44
问题 I am trying to redirect mouse inputs on my Windows 7 application to some other window. If I do this when I get WM_LBUTTONUP, it works (where MouseDown and MouseUp are SendInput functions in Win api): SetForegroundWindow( other window ); SetCursorPos( somewhere on the window ); MouseDown(); MouseUp(); SetCursorPos( back ); SetForegroundWindow( main window ); But I don't want to only do mouse releases, I want to be able to capture all mouse stuff, including movements and dragging. So this is

Application only runs if you run as administrator?

梦想与她 提交于 2019-12-12 01:54:06
问题 Edit: This problem only occurs on windows 7 and vista from what I've heard. I have a very simple app developed with an external graphics library. If I install this app into a program files directory and run it, it will crash immediately but it works fine normally, with exactly the same files. I have realised it is because you need to run the application as administrator for it to work. I appreciate if this is a problem directly related to the graphics engine I am using, but I don't really

How to open new OpenFileDialog automatically in Vista/Win7?

喜夏-厌秋 提交于 2019-12-12 01:43:00
问题 I'm on Vista and I'm using Microsoft.Win32.OpenFileDialog class. When I call ShowDialog() I get the old XP-style dialog: How do I get the new Vista-style dialog with fallback to the old one on WindowsXP? A bit of rumble: I don't really understand why they didn't replace the dialog in vista, but kept both of them. Now legacy apps will never open new dialog, unless updated. 回答1: Yes, you'd have to upgrade to .NET 4.0 to get the new dialog. If you're stuck on 3.5 then you can use System.Windows

Installing ADT Plugin in Eclipse for Android

自作多情 提交于 2019-12-12 01:42:32
问题 I am using windows 7 and trying to install ADT plugin in Eclipse. I have tried with eclipse clasic 3.7, eclipse EE, Eclipse juno and with 4.2 also. In all cases eclipse couldn't install it. It halts at 35% to 50% . I have even put the system on for full night with 2 mbps dedicated internet(thought connection speed is problem) but in vain. 回答1: You can try by using "Eclipse Marketplace". The following steps might help you to install ADT plugin for eclipse: Open Eclipse Go to Help -> Eclipse