Visual C++ Windows Forms application

Posted on 2008-11-04
Last Modified: 2013-12-14
I am trying to develop an application using Visual Studio 2008. I am writing it in C++, and I chose a Windows Forms solution to develop it. Windows Forms apps use managed code, so I am unable to completely use static libraries.

I want this app to live on a server, and to be run over a network. The app is a simple form for users to submit helpdesk requests to our Helpdesk, with all kinds of computer information included in the email.

I have finished the app, but as it uses managed code, you can't simply just copy the .exe over to a computer and run it. You need to install the C Runtime Library. I am hoping there is another way of going about this. I have tried placing the 3 CRT .dll files in the same directory as the app, but it doesn't see them.

The whole idea is that the app (being no more than 400kb) lives on a server, with all users having a shortcut to it. This way I can easily update the app when needed.

How do other programs get written? I will admit that I have never had to install the CRT for any program on other machines. Does no one use Windows Forms yet?
Maybe there's a way I can get the CRT pushed out...
Question by:gisaus
    LVL 19

    Accepted Solution

    May be you must install the .net framework on your client machines
    LVL 43

    Expert Comment

    Why not have it as web based rather than classic app - page in internet explorer
    LVL 1

    Author Closing Comment

    Apparently the CRT is included in the .NET framework.
    Oddly enough it worked on a freshly installed XP machine with .NET 3.5, even though I'm sure it didn't work on another machine with .NET 3.5

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Suggested Solutions

    Title # Comments Views Activity
    bigDiff challenge 17 57
    fizzArray2 challenge 1 41
    haveThree challenge 22 88
    Insert several multiple frames into a single mainframe 3 26
    Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
    Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
    THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
    This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now