How to test app for Vista - c#

I've written an app that connects to websites APIs and does some things there. It is a app written in C#, .NET 3.5 on a XP OS.
Now I have a problem. Some people reported that this application hangs on Vista, and not on the more new version of Windows (what was the name?)
So I do not have Vista and do not have money to buy this system only to test this one, freeware application. Is there any other way to test my app if it is valid for Vista or is there other way to make sure it will be working? I'm in a blind spot here and do not know what to do next.
Update: I use Visual C# Express 2008

Use a trial version of Vista?

On one of my small projects, I've worked out some miscellaneous bugs by connecting to users over Remote Assistance before. At least Visual Studio Shell Edition (free) will let you attach to an existing process, and probably C# Express Edition (free) as well.
(This was an obvious choice for me, since my program is a Visual Studio extension, therefore all of my users have Visual Studio installed.)

Related

Is it possible to create Windows Form apps on Mac OS?

I'm studying Informatics Engineering, and my teacher uses a Windows PC to teach us Windows Forms. My question is: Can I do my Windows Forms homework on my mac? I'll install Visual Studio of course.
Can you do the Windows Forms homework on your Mac? Maybe.
As mentioned, Mono has an implementation of Windows Forms. There has been recent activity in this area (early 2018).
Visual Studio for Mac is not actually regular Visual Studio. It's a re-branding of MonoDevelop.
Should you try to do the Windows Forms homework on your Mac? Probably not.
The Mono version is a different implementation of Forms and you're going to run into bugs, missing features, etc.
You're going to end up debugging environment differences. Mono/OSX vs Windows, VS for Mac vs VS proper, etc.
You'll end up in more trouble if they provide bat/powershell scripts, require another Windows-only library, etc.
The end result being either you'll spend a lot of time trying to use things you receive from someone else, or (even worse) they won't be able to run what you turn in.
Alternatives:
As has also been mentioned, you can run Windows in a VM like virtualbox, Parallels, or VMWare Fusion. Visual Studio Community is free.
Use a computer lab at your school with Windows machines
Work remotely via: Microsoft Remote Desktop, Apple Remote Desktop, VNC, etc.

Lightswitch 2012 and Windows XP

i finally finished a proyect i was requested in my university with Lightswitch. Im ready to deploy (publish) next week, and i was JUST told that the people that will recieve the software, are using XP machines. I've read a lot of questions and lots of fixes, to get Lightswitch working on Windows XP, like:
Changing the DumpBin with "editbin vslshost.exe /SUBSYSTEM:WINDOWS,5.01 /OSVERSION:5.1"
deploy it as a desktop application with the services deployed to IIS (i dont think this will work because those are really old pc's)
install all the prerequisites manually and launch the ClickOnce application directly from deployment manifest file (.application)
create a sample ClickOnce application using Visual Studio 2010 OR Visual Studio 2008 with the same name as mentioned in Visual Studio 2012 and publish it. From the published location take the setup.exe bootstrapper and replace the existing setup.exe bootstrapper created using Visual Studio 2012
With all of this workarounds available, i NEED to ask, will this ultimately work? Can someone REALLY tell me that using one-or-all of this workarounds i WILL be able to deploy the application!?
Someone?
The 2-Tier Deployment issue on XP was also addressed in VS 2012 Update 2 IF you upgrade to a "V3" LightSwitch project by right-clicking on the root project in Solution Explorer and selecting "Upgrade Project". This updates the project to the "V3" project system, runtime and will use a much newer publish wizard. The version of VSLSHOST.exe that ships with VS 2012 Update 2 is compatible with XP.
Dave Kidder - LightSwitch team
http://social.msdn.microsoft.com/profile/dave%20kidder/
I have a successfully deployed application using the 3-tiers running as an out-of-browser (desktop app) on XP. Initially I was going to do the 2-tier deployment, but I was unable to get a workaround to work.
So I have one server, which runs IIS as well as my SQL server (OS is Windows Server 2003, but doesn't have to be.)
The client machines range from Windows XP to Windows 7, and I haven't had any special problems with windows XP.
So I can definitely say XP will work as a client. I was unable to get it to run the middle tier (hence IIS on the server) but I didn't try every last idea I found, so I won't say it's impossible.
The two links I found most helpful in the process were
http://blogs.msdn.com/b/bethmassi/archive/2011/03/23/deployment-guide-how-to-configure-a-web-server-to-host-lightswitch-applications.aspx
and
http://blogs.msdn.com/b/bethmassi/archive/2012/03/29/lightswitch-iis-deployment-enhancements-in-visual-studio-11.aspx
Hope that helps.

Is it possible to develop applications on Windows using MonoTouch/Xamarin?

I know I need a mac to deploy but can I at least use my PC to develop the application? It would really help me a lot if I can develop on Windows where I can focus on writing the app.
This answer covers only Xamarin 2.0. Unfortunately I don't know MonoTouch.
Take a look at this statement about Xamarin 2.0:
Xamarin 2.0 bundles the company's Android, iOS and Mac development
tools in a single affordable package aimed at all tiers of developers.
The free Starter edition includes the Xamarin Studio IDE enables
developers to create Android, iOS and Mac apps using C#. However, the
free edition doesn't allow developers to exceed 32k of compiled IL
code and it cannot import or call upon any third-party libraries. The
$299 Indie edition removes this restriction. Things start getting
really interesting for .NET developers with Xamarin Studio's $999
Business edition. This version adds the ability to code iOS
applications within Visual Studio. Yes, you read correctly — code
iOS applications in Visual Studio! Granted, you still need a Mac to
compile and deploy the application to iOS devices (more on that
later), but the fact that you can use a familiar IDE to develop iOS
applications is a game changer.
To make it short: Yes you will need a mac to deploy your application and
yes you can develop on windows using Visual Studio.
Source: http://www.drdobbs.com/tools/xamarin-20-review/240150634
No you don't need the 1 k version to compile on windows. When you want to deploy your app you need to buy it! If u are making a app for windows 8 or whatever you dont need to pay. Monogame is a open source project. For the deployment to the phones your paying to the xamarin project.
"This means that your Xamarin iOS for Visual Studio installation requires a networked Mac OS-X computer to perform these tasks for you. Once configured, Xamarin’s tools will make the process as seamless as possible, but the fact remains that a Mac is required in addition to the Windows computer running Visual Studio."
So still need to hook up my mac and perform all the installations and configurations. Will take time but not a deal breaker I guess.
It is possible to use cloud build services for such a task. One such service worth giving a try is http://ship.io - they offer a free plan to get started.

Injecting a DLL without a need to install Visual Studio?

I create a C# application with an injector in it. I'm using CreateRemoteThread & LoadLibrary technique to inject a C++ DLL into another process.
It works fine on my desktop which has VS 2008 installed but It doesn't work with my laptop which does not have VS 2008 installed.
I installed VS 2008 to my laptop and it's been working fine since then.
My question is Do I need to install the entire VS 2008 product (about 4GB) in order to have my program work properly or Do I just need to install or update certain components for it to work?
Even though my laptop is working fine right now but I don't want to waste a good chunk of hard drive for something that I don't really need. And It's always good to learn.
Thanks in advance
Andrew
You are missing the C++ runtime on the target machine. You can either:
Install the redistributable package for the runtime on the target machine.
Link to the runtime statically using the /MT switch.

Build an Installer including mysql connector C#

Almost done with this game that I am working on and we half to submit it for a competition. The problem is that it wont work at all without having the mysql connector with it. I was wondering how could I go about creating an installer with Visual Studio, and all my game files. Any help is appreciated. Also is there anything special to include XNA libraries too?
The VS2010 has InstallShield LE and Setup Project project types available to you. Those projects help you make use of the Windows Installer. As far as I know windows installer doesn't let you install things for X-Box or for Windows Mobile. I assume you write for X-Box since you are using XNA. The Windows Installer lets you install to things for Windows and Windows Server.

Categories