I'm developing an app for Windows 8.1 ( WinRT ) and
I'm trying to execute a cmd command like -let's say- notepad, but I can't find a way. I search all over the internet and couldn't find anything about it. In one or two pages, there was writing You cannot execute a command, but actually, I don't want to believe that.
So is there REALLY NO WAY I can execute a command?
No, there is NO WAY you can execute a cmd command.
Related
I am installing intel TBB performance library. But before using it, I have to setup the environment variables. A script file is provided which automates this process. But when I try to run the .bat file in the command prompt saying mySQL is not a valid command (look at the screenshot). I don't know how MySQL came into the picture. How do I make the script file run properly.?
I am facing a similar problem when trying to set the environment variables for Intel IPP using a script file.
I have a Windows Phone 8.1 project that refers to a Windows Runtime Component, which exposes some other native projects of mine. The problem is I get a System.IO.FileNotFoundException when running it on emulator. However, if I catch the exception and check exception.FileName, it's null.
The guy here has mentioned he used ProcMon to figure out which file was missing. How do I use ProcMon to monitor file accesses made by an emulator? I tried monitoring the emulator process itself, but that didn't produce any info.
There is no way provided to run desktop apps such as ProcMon on the emulator. The linked post was able to run ProcMon on Windows, not on Windows Phone.
Your best bet is to debug the app running on the emulator. Use the unmanaged debugger so it can break in the native code, break on the first chance exception, then see where in the stack this is called from. Once you know where the problem is, you can set a break point at the beginning of the function then either step through or set a trace point to see what files are being used and what the app thinks it is doing then.
I made a program in vb.net using visual studio 2013 and while creating a user for database to use inside the program I run into this problem. I created a user with permissions that are required for me from this video: CLICK ME
and I am getting this error: could not initialize wmi interface workbench.wmiopensession(); could not connect to target machine.
I don't know where to post about this problem but can someone tell me how to fix it? I need this fixed this month.
I am a beginner with mysql and mine mysql is newer version than that video.
Bonus information:
I can't rly give you anything everything i done was from that video and mysql is fresh installed i do not use firewall and i do have port forward on mysql. If you know what you need to know tell me.
Problem: i need to have wmi enabled. How do i enable it? i am using windows 8.1 pro SOLVED but still not fixed
WMI is available since Windows XP already, IIRC. And it is available on normal Windows machines, not only servers. You only need to enable it on the target machine. And make sure you use a wmi user that is member of the local admin group otherwise configuration becomes a nightmare with all the required rights. I don't say it's impossible to make another user be able to use the wmi features needed in MySQL Workbench, but it's a lot simpler to configure with a local admin.
We have a Windows 8 Modern / Metro app that we wish to deploy outside the store. I have read a bunch of materials on getting a side loading license to allow this. However, we need to go beyond just copying the app over and running some PowerShell commands, we also need to install a particular hardware driver and make some registry keys.
Can anyone recommend an installer creator that can perform all of these tasks?
Out of curiosity, is it possible to distribute through the Windows Store and have it do more than just copy the app down, i.e. execute an installations script?
By design, the installation process for a Store app, whether downloaded from the Store or side-loaded, is not customizable. For Store downloads, this is done to guarantee that the app install won't create anything that cannot be reversed during an uninstall, e.g. create registry entries, copy files, and otherwise do things that can permanently alter the system.
For side-loading, although you cannot alter the specific package deployment process itself, you can use the Powershell deployment as just one step in an overall install process. You should be able to build such an installer with any number of existing Desktop application installer tools, which give you control over all steps in your install process including registry, drivers, running scripts, etc. So you'd just have the app package and PS scripts as part of the installer .msi or .exe, and executing the PS script is done from the installer.
(By the way, the Store/PS app install processes use the same API in Windows.Management.Deployment.PackageManager to do the work. This API can be used only from a full-trust process like the Store (a piece of system code) or Powershell running in an admin console, but is there so desktop apps can implement alternate install procedures directly.)
I need to be able to read/write to a mysql database using Perl. On all previous servers I have been able to use ppm-shell do download and configure the DBI module for mysql (mysql-dbd I think). However on one particular server, I don't have internet access.
Is there an easy way to get this installed? I'm on Windows 2008 Server by the way. I'm not brilliant at Perl either so if anyone can give some easy to understand instructions I'd really appreciate it
Thanks
Download the module from here http://cpan.uwinnipeg.ca/PPMPackages/10xx/
install via the command line:
ppm install filename.ppd
Get the module. ( this can help: http://win32.perl.org/wiki/index.php?title=PPM_Repositories)
and do: ppm install FILE.ppd