URENT help needed with windows app.

Posted on 2011-10-07
Last Modified: 2012-05-12
Greetings experts.

I really, really need an urgent help. This is probably very simple.

I am trying to make some changes to an existing .net app written as Windows app.

When I loaded the app into visual studio 2008, the version that came with sql server 2008, I am getting several errors when we click on Build Page or Build Website that several textbox controls like firstname.text are not declared.

The app works. All we wanted to do is make some changes.

Why are we getting errors that several controls must be declared?

My guess is because the app is windows app.

What do I need to do to supress those error messages and still make the app compile and work?

many thanks in advance for the prompt response.
Question by:sammySeltzer
    LVL 7

    Expert Comment

    You probably won't get any useful help unless you provide the error text, and possibly some of the code.

    And exactly what type of app is it?  Did you change the type of application?
    LVL 40

    Expert Comment

    by:Jacques Bourgeois (James Burger)
    You should rephrase the title to this question. A "windows app" is no a web application.
    LVL 28

    Author Comment

    I am getting errors such as:

    Name 'txtfirstname' is not declared.      

    I don't think I changed the type of app.

    All I did was copy the entire folder and loaded it on my c drive, opened it using the BI version of visual studio - the version installed when sql server was installed.

    I am trying to use this version because I don't have the actual visual studio 2008.

    This is a code that has been working.

    And the only change I made was comment out one 3 lines:

    if something doesn't have then
    do something else
    end if

    That's it
    LVL 28

    Author Comment

    I *think* I know why I am having problem recompiling it.

    I am using BIDS (Business Intelligence Development) the version that is installed when you install sql server and I don't think that would work.

    That's is most likely my issue.
    LVL 7

    Expert Comment

    When you say it "has been working" do you mean that it compiled in your current environment before your change, or do you mean it was executing under a different compilation?
    LVL 28

    Accepted Solution

    This is a WORKING app.

    The users wanted changes made.

    I was asked to make the changes for the first time since the original author is no longer here.

    That's what I mean by "has been working"

    Besides, I decided to convert the app using visual studio 2010 and all the error is gone now.

    So, I am fine.
    LVL 83

    Expert Comment

    I think you already know the reason of problem. BIDS is supposed to be used for SQL Server projects and it does not have other project templates. Download VS Express and try opening with that.
    LVL 28

    Author Closing Comment

    Please close this as I have resolved it myself.


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    A short article about a problem I had getting the GPS LocationListener working.
    Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

    754 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

    20 Experts available now in Live!

    Get 1:1 Help Now