windows-8.1

Java JOptionPane text unreadable

萝らか妹 提交于 2019-12-01 20:46:24
Here's a picture of what it ends up looking like. I don't think it's a problem with the code as it's copied straight from the tutorial website. I've reinstalled JDK, as well as run it in command line and Eclipse. Any possibilities? The code is import javax.swing.*; public class Swag { public static void main ( String[] args) { String name = JOptionPane.showInputDialog("What is your name?"); String input = JOptionPane.showInputDialog("How old are you?"); int age = Integer.parseInt(input); System.out.print(" Hello, " +name); System.out.println("Next year you'll be " +(age+1)); } } but I don't

Issue with installation of Mongo DB on Windows 8.1

隐身守侯 提交于 2019-12-01 20:44:10
问题 I am trying to install Mongo DB on a windows 8.1 64 bit machine and I a getting the following error. C:\MongoDB\bin>mongo.exe MongoDB shell version: 2.4.7 connecting to: test Tue Nov 19 14:50:02.652 Error: couldn't connect to server 127.0.0.1:27017 at src /mongo/shell/mongo.js:145 exception: connect failed 回答1: Use this link. I also faced lot of problems when installing.But before found this link. 回答2: Make sure you have the daemon process running. You start it via mongod.exe. You are running

Issue with installation of Mongo DB on Windows 8.1

情到浓时终转凉″ 提交于 2019-12-01 19:30:19
I am trying to install Mongo DB on a windows 8.1 64 bit machine and I a getting the following error. C:\MongoDB\bin>mongo.exe MongoDB shell version: 2.4.7 connecting to: test Tue Nov 19 14:50:02.652 Error: couldn't connect to server 127.0.0.1:27017 at src /mongo/shell/mongo.js:145 exception: connect failed Use this link. I also faced lot of problems when installing.But before found this link. Make sure you have the daemon process running. You start it via mongod.exe. You are running the client side and by default connecting to port 27017 - the default mongo instance. Check your running

Shortcuts with name “Uninstall <Program Name>” are not displayed in Windows 8/8.1/10

自闭症网瘾萝莉.ら 提交于 2019-12-01 18:14:44
问题 Using MSI installer we create application shortcuts on Windows 7, 8, 8.1 , 10 operating systems. Along with application shortcuts, we also create Uninstallation Shortcut for the program. Path to shortcut on until Win7: [ProgramsMenuFolder]\CompanyName\ProductName\ Path to shortcut on until Win8/8.1/10: [ProgramsMenuFolder]\ProductName\ The uninstall shortcut appears on Win7 but on Win8 and above this shortcut doesn't appear for few products. I found a blog where they say that on Win8+

Shortcuts with name “Uninstall <Program Name>” are not displayed in Windows 8/8.1/10

蹲街弑〆低调 提交于 2019-12-01 17:52:48
Using MSI installer we create application shortcuts on Windows 7, 8, 8.1 , 10 operating systems. Along with application shortcuts, we also create Uninstallation Shortcut for the program. Path to shortcut on until Win7: [ProgramsMenuFolder]\CompanyName\ProductName\ Path to shortcut on until Win8/8.1/10: [ProgramsMenuFolder]\ProductName\ The uninstall shortcut appears on Win7 but on Win8 and above this shortcut doesn't appear for few products. I found a blog where they say that on Win8+ shortcuts named uninstall is removed by the OS automatically. http://forums.winamp.com/showthread.php?t=378327

Detecting current device in Windows Universal App

六月ゝ 毕业季﹏ 提交于 2019-12-01 17:27:50
问题 I am trying out released VS 2013 Update 2 and building a sample Universal Application. I have created a user control and on both MainPages added GridViews (on Windows Phone and Windows 8). I want to change some things via code when app is running on Windows Phone. Is there a way to do something like: if(<deviceType> == "WindowsPhone") { } else { } 回答1: Normally when building your app, you can use preprocessor directives. When building app for windows phone, VS as default defines WINDOWS_PHONE

VS 2012.3 Referencing MS Access COM DLL, could not resolve COM reference error

江枫思渺然 提交于 2019-12-01 17:22:41
I created a new Console project in VS2012.3 (32bit exe) and added a COM Type Library reference to Microsoft Access (I tried both 2003 and 2007). The "Microsoft Access" reference shows up in the Add Reference dialog no problem. However, upon closing that dialog VS displays a yellow triangle overlay on the two newly added references, and I get the following build error: Could not resolve COM reference "4affc9a0-5f99-101b-af4e-00aa003f0f07" version 9.0. Object reference not set to an instance of an object. My colleagues are able to do this with no problem on their computer. So I'm trying to

System.Net.Webclient not working 'WebClient' could not be found

最后都变了- 提交于 2019-12-01 16:50:01
I am trying to work with WebClient but it is giving me errors so I check in several forums (included this one) and they where telling to put In the top of the file: using System.Net And after where I want use the WebClient: WebClient webClient = new WebClient(); webClient.DownloadFile ("http://mysite.com/myfile.txt", @"c:\myfile.txt"); And I get this error: The type or namespace name 'WebClient' could not be found (are you missing a using directive or an assembly reference?) In the other forums the code that I just wrote above seems to be the solution but is not working for me. Given your tags

VS 2012.3 Referencing MS Access COM DLL, could not resolve COM reference error

巧了我就是萌 提交于 2019-12-01 16:44:58
问题 I created a new Console project in VS2012.3 (32bit exe) and added a COM Type Library reference to Microsoft Access (I tried both 2003 and 2007). The "Microsoft Access" reference shows up in the Add Reference dialog no problem. However, upon closing that dialog VS displays a yellow triangle overlay on the two newly added references, and I get the following build error: Could not resolve COM reference "4affc9a0-5f99-101b-af4e-00aa003f0f07" version 9.0. Object reference not set to an instance of

What to Use to Pick Multiple files (Media files) and retrieve them in a StorageFile collection at custom/desired index?

僤鯓⒐⒋嵵緔 提交于 2019-12-01 14:07:48
I have a list in which i retrieve multiple mp3 files. Now when i want to add files again, i pick files from picker but they overwrite the previous files in IReadOnlyList filesList i want that if i choose files again...then they should go to the next index of filesList Ex: First time i pick 3 files and they go to filesList[0], filesList[1], filesList[2]. Now I again click on addmusicbtn to pick files and i pick 2 files. Now what i want is to get these files on filesList[3] and filesList[4]. But IReadOnlyList is'nt allowing to do this, it starts storing from index 0. I've also tried IList but it