Visual Studio
Question #1:
Is there a way to compile a C++ program without installing any programs such as Visual Studio? I'm on a school computer, and can't download files.
I'm on Windows 7.
Question #2:
I'm writing a program with VS2008 and using SQL 2000 as database. This program stores customer informations with Date and Time of stored info. I have a field with DATETIME type in SQL and send datetime by DateAndTimePicker in VStudio.
Now I want to search for customers that stored from 2010/01/01 to 2010/03/10 ,for example. In SQL query, I'll type
Where storeddate between 2010 - 01 - 01 and 2010 - 03 - 10
and it works, but I don't know how to use it in my application. Because the user must enter two dates and I can't use static query.
I want you to help me to make 2 textboxse that get dates from user and write the Query at that time for the SQL. I mean, I want to change the static query at Runtime or Use the Dynamic Query.
Thanks.
Question #3:
Is there a way to compile a Visual Basic program so it can run without the need for the .NET framework? Or, if this is not possible, specify which version? I am trying to run a basic soundboard program on a computer that has the .NET framework 2 I believe, but am using Visual Studio 2010, which seems to create a 4.0 dependency. Any help would be appreciated.
Question #4:
1. Which learning preference category best describes a High School Fine Arts student who prefers a studio lesson that involves modeling with clay over a virtual field trip to the Louvre?
visual learner
kinesthetic learner
auditory learner
2. Which of these careers might best suit someone who prefers a quiet, formal working environment and exhibits a strong preference for structured tasks and finishing any job that has been started?
park ranger
stand-up comedian
librarian
professional bull rider
3. Which set of steps describes the way the brain learns according to the information processing model?
short-term memoryrehearsalsensory inputfeedbacklong-term memory
sensory inputshort-term memoryrehearsalfeedbacklong-term memory
rehearsalshort-term memoryfeedbacklong-term memorysensory input
sensory inputshort-term memoryrehearsallong-term memoryfeedback
4. At which point in the information processing model is there the least risk of forgetting new information?
sensory input
short-term memory
rehearsal
long-term memory
5. Sabrina's Learning Style Inventory results showed a strong preference toward auditory learning. Which of the following would be an effective strategy to study for an upcoming test?
Draw a colorful outline of the topics that will be on the test.
Take an online quiz on the same topics as on the test.
Have a friend read study questions aloud to her and answer them.
Flip through flash cards with short bits of information that will be on the test.
im taking this weird class and i dont know a thing they are talking about :/
Question #5:
Dim easterD As Date = New Date(year, mon, easter)
lbldate.Text = easterD.ToString
***this displays the date and time ******* I need date only
Question #6:
Question #7:
plzz kindly let me know the difference,,, i m working on oracle 10gi data base which software should be used for user interface vs or vs .net?
Question #8:
I have purchased a dell laptop with i3 processor.
I got Windows 7 basic installed(lisenced) on it.But when i run visual studio 08 on it i have to change it from 64-bit to 32-bit in VS08.
So my question is should i install Windows 7 Ultimate instead of Windows 7 BaSIC??
Question #9:
Hello everyone
Everytime i want to install MSN i got error 0x80040005, i tried offline and online installer of MSN, got the same thing, here is full text what it says ...
Messenger couldn't be installed because we had trouble with installing this requirement:
Microsoft Application Error Reporting
Check to be sure you are connected on Internet.
You cannot download Windows Live program unless you're connected to the Internet. 0x80040005
It says i am not connected to the internet, but i am, also it's offline installer, but it shows same thing with online installer
I got same problem with Windows Live Toolbar, it says there is error in Microsoft Visual Studio Runtime
And on writer also, it says error with Segoe UI Font
I can't install anything, please help!
I disabled Anti-Virus and don't have Firewall turned on
Question #10:
Hello!
I have this problem when i try to install MSN
Installation come up to end and then it says Microsoft Visual Studio files corrupted, something like that
Any help?
Some info: I download every file from internet OK, and MSN Installation from www.download.live.com but on installation it says at end of downloading all files Microsoft Visual Studio files corrupted error hr:0x80070003
Now i got error because of Microsoft Application Error Reporting not Microsoft Visual Studio
Question #11:
I havent used, cos, sin or tan in c++, so i tried this ;
#include <iostream>
#include <math.h>
using namespace std;
int main()
{
double test = cos(60);
cout <<test<< endl;
system("pause");
}
And i get the following error :
1>c:\users\mihaela\documents\visual studio 2008\projects\maths_coursework\maths_coursework\maths.cpp(9) : error C2668: 'cos' : ambiguous call to overloaded function
1> c:\program files\microsoft visual studio 9.0\vc\include\math.h(551): could be 'long double cos(long double)'
1> c:\program files\microsoft visual studio 9.0\vc\include\math.h(503): or 'float cos(float)'
1> c:\program files\microsoft visual studio 9.0\vc\include\math.h(116): or 'double cos(double)'
anyone know why? also while im on the subject whats the inverse of cos/sin/tan in c++?
Question #12:
When i deploy my application in Visual studio , what happens to Sql database tables?
Do i need to include those database in application folder manually?.
and is it neccesary to have both sql server & dot net framework installed in machine where appliaction is used?
Question #13:
i would like to know how to arrange the content of any column (selected by the user) in ascending order....is there any property or code in visual C#.net?...i am using visual studio 2005
thanks ....i really need some help
Question #14:
I wanna get into art, but i don't have the basics down or anything. I wanna get more into oil paintings. Of the following which class teaches you the basics and leans more toward oil painting:visual art, painting a&b, or studio art ap. I'm also wondering if studio art ap expects you to know how to paint as soon as you enter the classroom. I also wanna ask what the class is like from other people.
Question #15:
Hi im new to c++ and I got a question on reading from files.
lets say the txt file im reading from contains:
Color = white
Height = 500
Width = 900
Shape = square
normally if we wanted to save the data we would do:
while(fileStream >> blah blah blah) and then save it in a container.
But what if these data are not ordered the same each time. For example if one file has "Color" ordered first while another file has "Height" ordered first. If the txt file and those variables are always the same name how would you save those data in your program?
Question #16:
I'm rewriting the question to hopefully be more clear. Any help you can offer is greatly appreciated. Thanks!
#include <iostream> // used for input and output
using namespace std;
void main()
{
// declare variables
double credit_hours;
double credit_cost;
char major_code;
double lab_fee;
char residency;
double resident_fee;
double total_tuition;
const double registration_fee = 15;
// prompt and read credit hours, major code, resident status
cout << "How many credit hours will you be attending?";
cin >> credit_hours;
cout << "What is your Major Code? ";
cin >> major_code;
cout << "Are you a resident of this state? [Y]es or [N]o";
cin >> residency;
// calculate tuition
if(credit_hours >= 12)
credit_cost = 950;
else if( credit_hours < 12)
credit_cost = credit_hours * 75;
else if( credit_hours < 0 )
cout << "Invalid Entry! Please try again. ";
if( major_code = "O" )
lab_fee = 25;
else if( major_code = "C" )
lab_fee = 35;
else
lab_fee = 0;
if( residency = "Y" )
resident_fee = 0;
else if( residency = "N")
resident_fee = (credit_hours * 75 * 0.2 );
else
cout << endl << "Invalid Entry! Please try again. ";
total_tuition= credit_cost + lab_fee + resident_fee + registration_fee;
// display results
cout << endl << endl
<< " Charge for tuition is $" << credit_cost << endl
<< " Charge for Lab Fee is $" << lab_fee << endl
<< " Charge for Out of State Residant Fee is $" << resident_fee << endl
<< " Charge for Registration is $" << registration_fee << endl
<< " Total charges for the Semester is $" << total_tuition << endl << endl;
// hold the screen
system( "pause" );
}
Here are the errors generated when I try and build it in Visual studio 2008
1>------ Build started: Project: Good luck, Configuration: Debug Win32 ------
1>Compiling...
1>luck.cpp
1>c:\users\jeremy\documents\visual studio 2008\projects\good luck\good luck\luck.cpp(44) : error C2440: '=' : cannot convert from 'const char [2]' to 'char'
1> There is no context in which this conversion is possible
1>c:\users\jeremy\documents\visual studio 2008\projects\good luck\good luck\luck.cpp(46) : error C2440: '=' : cannot convert from 'const char [2]' to 'char'
1> There is no context in which this conversion is possible
1>c:\users\jeremy\documents\visual studio 2008\projects\good luck\good luck\luck.cpp(51) : error C2440: '=' : cannot convert from 'const char [2]' to 'char'
1> There is no context in which this conversion is possible
1>c:\users\jeremy\documents\visual studio 2008\projects\good luck\good luck\luck.cpp(53) : error C2440: '=' : cannot convert from 'const char [2]' to 'char'
1> There is no context in which this conversion is possible
1>Build log was saved at "
Click Here :\Users\Jeremy\Documents\Visual Studio 2008\Projects\Good luck\Good luck\Debug\BuildLog.htm"
1>Good luck - 4 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Question #17:
I was using visual studio 2008 with sql server 2005 in previous days. And i also have made some projects with this combination. But now i have deleted SQL server 2005 and have installed SQL server 2008 and i am getting error of database in the projects that i have made in SQL server 2005. That exact error is "Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed".So how can i solve this error?
Question #18:
Time Remaining:
1. Which learning preference category best describes a High School Fine Arts student who prefers a studio lesson that involves modeling with clay over a virtual field trip to the Louvre?
visual learner
kinesthetic learner
auditory learner
2. Which of these careers might best suit someone who prefers a quiet, formal working environment and exhibits a strong preference for structured tasks and finishing any job that has been started?
park ranger
stand-up comedian
librarian
professional bull rider
3. Which set of steps describes the way the brain learns according to the information processing model?
short-term memoryrehearsalsensory inputfeedbacklong-term memory
sensory inputshort-term memoryrehearsalfeedbacklong-term memory
rehearsalshort-term memoryfeedbacklong-term memorysensory input
sensory inputshort-term memoryrehearsallong-term memoryfeedback
4. At which point in the information processing model is there the least risk of forgetting new information?
sensory input
short-term memory
rehearsal
long-term memory
5. Sabrina's Learning Style Inventory results showed a strong preference toward auditory learning. Which of the following would be an effective strategy to study for an upcoming test?
Draw a colorful outline of the topics that will be on the test.
Take an online quiz on the same topics as on the test.
Have a friend read study questions aloud to her and answer them.
Flip through flash cards with short bits of information that will be on the test.
Question #19:
I am in c++ class at school. Learning to program is a little hard for me. My teacher is terrible. When I am in class i write code and run it and retry it and eventually i figure it out., Does anyone know why when I downloaded the software at my house so i can try to figure it out at home it no longer succeeds. The school uses Visual Studio 2008 Professional Edition and I got a free version from their website called Visual Studio 2008 Express Edition. I want to be able to write the same things I write at school but apparently it is different.
For Example:
at school i can print on screen saying: cout<<"Hello"<<endl;
at my home that does not work it says endl is invalid and cout is invalid and I have to instead say something like std::something. I dont understand.
I am using the same libraries why is it different?
Thank You?
Thank You all for your answers. I am not sure what the problem and yes I know that i am supposed to use using namespace std;
I have that entered at school he tells us to enter.
#include <iostream>
#include <iomanip>
using namespace std;
thats what I have before my void main but it doesnt work when i use commands such as:
cout
endl
etc
Question #20:
I need it for a class and is there anything like it for a mac? If so will my professor be able to open it on their computer using visual studio?
** Powered by Yahoo Answers