I am working on creating a batch file in Windows 8, which won't accept "C:\Program files" in its body because the space between Program and files gives an error. So, I used "C:\Progra~2".
I want to access Program files (x86).
I have two Windows 8 PC's: Windows 8 PRO and Windows 8 OEM.
When I type "C:\Progra~2" from File Explorer to access program files (x86) it opens successfully in Windows 8 PRO.
But when I do the same in Windows 8 OEM, it says
Windows cannot find C:\Progra~2.
I am not sure whether this is an issue with the PRO and OEM versions.
Can anyone help me find the solution?
Use a batch built in Constant: %ProgramFiles%. It also works on non-englisch windows Version, which your ~2 does not.
Are you sure there are two program files on both machines? Try C:\Progra~1 and see if that opens the right folder.
If you want to open a general programs file folder use %ProgramFiles%
Related
I have some vb6 applications that i'm trying to move from Windows 7 to Windows 10. I have the .exe file, but when I tried to open it - it tells me that:
C:\App_1\MSCOMCTL.OCX could not be loaded - Continue Loading Project?
I searched for this file in C:\Windows\SysWow64 and found that the file is actually there as Type: ActiveX Control.
Any reason why I'm still getting the error?
The ocx control should be in your Syswow64 (if 64 bit pc) folder and not in the app folder, and it needs to be registered manually (common vb6 problem in Win7, 8 ,10).
It seems you can see the file, but it might not be registered.
Run cmd in administrator mode, type regsvr32 C:\Windows\SysWOW64\MSCOMCTL.OCX.
This should solve the problem
I had an application written in VB on my laptop which was running Windows XP until I formatted it yesterday. A friend copied it over several years ago but it's not possible to contact him anymore. This project consists of .vbg, .vbp, .vbw, etc. files and a few .mdb files which store the databases. I also had a shortcut on my desktop which was referencing a .vbg file which used to open up a window and I was then supposed to press a "Play" button to launch the application.
I've copied the required folders over to my new laptop which now has Windows 7 Professional (32 bit) but I have no idea how to run this application and what is required. I also tried creating a VM using Windows XP just to check if the problem is with Windows 7 (or above) but still I am probably missing other required software (a debugger perhaps? visual studio or something?).
My questions are:
Is it possible to run this project on Windows 7 and what software is required to accomplish that?
What am I missing on the Windows XP VM? Do I have to install Visual Basic or some other debugging software?
Appreciate your help,
Kyriacos.
First of all, you need to have visual basics to run the .vbg or .vbp files. There is no other application that supports those formats. And Second, you can run the project on windows 7 as it is compatible all the way to windows 10.
i got two windows folder in my c: the old one is called windows.old which contain windows xp and the other one is windows which is having window 7 is running currently.
I did install the windows 7 about an month ago and while installing it ask me to keep the old windows folder so i tick yes.
Now what i want to do is i want to run both windows xp and windows 7. Can it done with rename the windows to windows.old and windows.old to windows. will it be do the work?
The windows.old folder contains the files from your previous Windows installation (in your case XP). If you need to retrieve data from that folder, read this: http://windows.microsoft.com/en-us/windows7/where-are-my-files-and-folders-after-upgrading-from-windows-xp-or-windows-vista
Renaming those folders (Windows, Windows.old) will not work (and isn't even possible). If you want to run Windows 7 and Windows XP on one computer, you will have to use dual/multi boot. I suggest you read http://windows.microsoft.com/en-gb/windows/install-multiple-operating-system-multiboot#1TC=windows-7 to set this up.
How enable Hype-v in windows 8.1 single language for emulator windows phone app ( in Windows Phone "Sdk" 8.0)
hyper v is not available in windows 8.1 single language need to upgrade to windows 8.1 pro or use oracle vm
If you are developing Windows Phone app then surely you need Hyper-V to deploy the app over the Win Phone 8 image. But in case you are having Win 8.1 SL, you would be actually in trouble. The alternative is any other virtual tool. Here I suggest Oracle VirtualBox. After installing virtual box you have to create a machine with an OS image. For windows phone 8 or any other version goto "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Emulation\Images". You can also go to v8.1. What I mean to say is to locate the directory for Flash.vhd. Copy the whole directory("\Images") to some other location. Start your VM and create a new machine with OS Windows 8 or 8.1 (depending upon the image version). In the next screen allocate RAM >= 1 GB. Then finally locate the Windows Phone image (Flash.vhd) after clicking "Use an existing virtual hard drive file". Click "Create" and all done!!
Another way of doing this without having any Virtual Machine is by Microsoft XDE. For this you have to start the CMD with admin rights and change the directory (CD) to
C:\Program Files (x86)\Microsoft XDE\8.0
(Remember the last directory into this path could be 8.1 as well). Then run the following command
XDE.exe -vhd “C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Emulation\Images\Flash.vhd”
Now I would suggest one more thing. Before doing all this first check where is all the stuff installed in your PC. And sorry, I have not taken care of so much formatting of this post. Enjoy :)
I created a Visual Basic 6 application that runs without a hitch on my Windows XP machine, though every time I try it on my Windows 7 machine, I receive a 424 (object required) error.
I've tried using compatibility mode and sending the requisite OCXs to the {sys} folder during setup, but to no avail.
Thanks much.
The OCX files also need to be registered.
Also there is probably a better place for them than the {sys} folder.