4,297 Topics
When i try to rebuild this what i m geting 1>------ Rebuild All started: Project: depreciationarry, Configuration: Debug Win32 ------ 1>Deleting intermediate and output files for project 'depreciationarry', configuration 'Debug|Win32' 1>Compiling... 1>arry.cpp 1>Compiling manifest to resources... 1>Linking... 1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup 1>C:\Users\agaba\Documents\Visual …
When my try to rebuild my program i m getting this errors 1>Linking... 1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup 1>C:\Users\agaba\Documents\Visual Studio 2005\Projects\car\Debug\car.exe : fatal error LNK1120: 1 unresolved externals 1>Build log was saved at "file://c:\Users\agaba\Documents\Visual Studio 2005\Projects\car\car\Debug\BuildLog.htm" 1>car - 2 error(s), 0 warning(s) my …
Here is the problem: Write a C# program that will read five scores, each on a separate line, from an external file named Unit09data.txt. Your program should then calculate the average of those scores and write the average, formatted to two decimal places in a different external file named output.txt. …
Hi, i doing a project. I need to send sms or mms to mobile phone from server. i using visual studio 2008 C sharp. Can anyone please help me with it. Send the source code email to: [email][email protected][/email] Thanks
I am entering comments in the source view of my .aspx page and after several times saving, building and browsing, my comments are gone! I know the format is correct: <%-- My GRIDVIEW --%> I think it may have something to do with cut & paste but I'm not sure …
hi guys i can build and clean the vs solution in python and get the exe's to build but don't know how to create a window installer
Hello all, I'm working on a C# application using MS Visual Studio 2008, and I want to make an installer for this project, so I used VS2008 to add a Deployment Project and chose Installer Wizard. The Wizard proceeded great and all, but when I try to build the Setup …
Hey I am trying to build this application, but I am having trouble as error messages keep appearing. Using Visual Studio 2008... [code] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using Opc; using OpcCom; using Opc.Da; using Opc.Hda; namespace ConsoleApplication3 { class Program { public static void …
Compiling the following problem with visual studio 2000 gives the errors: temp.obj : error LNK2001: unresolved external symbol "void __cdecl ungetch(int)" (?ungetch@@YAXH@Z) temp.obj : error LNK2001: unresolved external symbol "int __cdecl getch(void)" (?getch@@YAHXZ) Debug/temp.exe : fatal error LNK1120: 2 unresolved externals Error executing link.exe. The code is taken from Dennis …
How to link the ws2_32.lib in the visual studio because i am new to this ..so can u help me....
Hi everyone, I am making a windows application in which I want that when user presses enter key while textBox1 has focus then an event is generated. I tried using following but it doesn't workout:- private void textBox1_KeyPress(object sender, KeyPressEventArgs e) { if (e.GetHashCode() == Keys.Enter.GetHashCode()) MessageBox.Show("Enter key has been …
Hi I created web application using visual studio and I want to link it to html page using front page when I run the HTML page I got the following error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and …
Hi, I'm kinda new to development using visual studio. I have a c++ program and I want to specify command line arguments to it from visual studio. Can anyone please tell me how to do it? Thanks (The version I'm using is visual studio 2005)
Hi I created web application using visual studio and I want to link it to html page using front page when I run the HTML page I got the following error: The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and …
Im currently thinking about making a Police software application that will be able to run Lights, Sirens, Radars, Radios, Camra's, ECT. How ever, I am very very new to the Software Development thing. I have Microsoft Visual Studio 2008 and i would like to hear any idea's, Solutions, Or websites …
When i try to build a visual studio solution it does not want to build so far this is what i have [code]os.system("devenv.exe filename.sln /Build")[/code]
Whenever I include this file more then once: [code=c++] #ifndef GFUNC_GAURD #define GFUNC_GAURD #ifdef _WIN32 #pragma once #endif #include "DarkGDK.h" // For getting the next unused ID int GetNextID( ) { int temp = 1; while( dbObjectExist( temp ) ) // Found an id == temp? temp++; return temp; } …
I am trying to create a retirement calculator. I have finished my design and coded my calculate button. Now I am trying to use the validating event procedue to ensure that data entered into the text boxes is numeric. Here is what I have, the program builds successfully however when …
Well I am a PHP fan, (HAIL OPENSOURCE) Its just so happen I will have a ASP.NET PROJECT, In short I need to run MS VISUAL STUDIO and MS SQL SERVER in my machine together with XAMPP. I just want to confirm first If I will have a problem installing …
I have been using just SDL for alot, but it really olny does 2d things well. So I started learning OpenGL from the tutorials at [url]http://anomtech.uuuq.com/[/url] I was fine using Dev-C++ until the textures tutoiral, where the program would immedently crash as soon as I compiled/started it. So the maker …
Hello all. I have some problems with compilation while working with WinApi. Here is the code: [code=c++]// include the basic windows header file #include <windows.h> #include <windowsx.h> // the WindowProc function prototype LRESULT CALLBACK WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); // the entry point for any Windows program …
Hi All, I'm a beginner in C and C++, and I get a "Stack Overflow" problem when I compile my code. I use visual studio 2008. My code uses some library, that has some header files, and some .cpp files. The library basically helps me in getting a random number …
pretty much copied the basic tutorial from w3schools, [url]http://www.w3schools.com/ASPNET/aspnet_events.asp[/url] into my visual studio 2005 but its not working. you can see it not working at [url]http://job1data.com:8098/default5.aspx[/url], you can see the source .aspx in the attachment? this is pretty basic can't image what is going wrong here
I have two recommendations for those already familiar with command line C++: [LIST] [*]Here's a trick: put your cursor on a blank place in your code and hit Ctrl-Space. That will call up IntelliSense for all commands that work for the type of program you selected when you ran the …
hello all, I created a custom Ribbon for word 2007 using VS 2008. I have 4 editboxes on that ribbon in which user is going to enter some data. I would like to attach this data to the same word file and save it, so that when i open this …
I am trying to create an application. One of the task is to insert a row into a DB. I am using db express 5 with visual studio 8. It feels like I have done everthing under the sun, but still to no avail. I know I'm missing something somewhere …
[B]hello everyone i was wondering what is the best book for beginning c++ apress beginning c from novice to prfessional tech yourself c++ in 21 days..and so on I'm completely newbie and also not good at math either:confused: btw i'm interested in computer programming... so i really want to learn …
Hello all, Note: This is a general question, and I did not find any other category in the forum to ask this question... Last year, I got a copy of VS 2008 (VC 9.0) as gift. I liked it a lot! I started developing some simple applications using C ( …
Hey I'm really new to C# - I don't understand how to properly sort out the code based on the messages that I am getting. The messages are: } expected { expected ) expected Invalid expression term '}' When I simply enter these characters into the place that the debugger …
Hi Professionals, I am using Microsoft Visual Studio 2005. I would like to know how to separate content in a richtextbox([B]rtbTo[/B]) in windows form with a comma automatically. For example after copying email addresses from a .txt file and pasting it to the richtextbox([B]rtbTo[/B]), there should be a comma inserted …
hi folks, I have some 247 warnigs are same type warning C4996: 'fopen' was declared deprecated I am using makefile to compile my cpp program in Visual studio 2005. I have added _CRT_SECURE_NO_DEPRECATE in preprocessor definition too. but still I do get the warnings . Could anyone help me?
hello all need help in solving this problem print current time in a file for every 1min. thank in advance.:)
I am new at programming and would like someone to assist me as to what I am looking for? As far as I know I have followed the instructions I found on one of the sites. Can someone please help? I am using VStudio 2008, creating an MFC application. I …
When I try to build my project(im using VC++), I get this wierd error: [code] ------ Build started: Project: DarkGDK Engine - By Tom, Configuration: Debug Win32 ------ Embedding manifest... mt.exe : general error c10100b1: Failed to load file "..\Debug\DarkGDK Engine - By Tom.exe". The system cannot find the path …
HI there guys, forgive the basic question but it is late Friday afternoon where I am and my brain is broken. I'm trying to make a very simple expression to control visability of a text box in Visual Studio for a SQL Report. It uses a cut down version of …
This is my first try with an API and HttpWebRequest Class in Visual Studio 2008 c++. I try to POST some variables to a link and want an link value from the API back, but I get an Response (not from API) : this->t_bbcode->Text = dataStream->ToString(); // [B][COLOR="Red"]System.Net.ConnectStream[/COLOR][/B] I think …
Hi All, I am trying to call third party dll from C program. This third party dll is written in C. I am using microsoft visual studio 2005. Could anyone please give me steps to add dll tot he project and to call from C program? I am new to …
We use Windows Form1.h to interface an existing C++ program. The existing program is changed by other people and I have to update the interface. To do that I copy all folders of the older project to a different place and then introduce the changes there. The problem is, that …
I tried to install the devil library but I am getting some errors. Here are the steps that I am taking to install it : [code] Let me see if I did this correctly : Steps : 1) download DevIL 1.7.8 for windows 32 bit 2) extract the info to …
Hi All, I have recently installed Visual Studio 2005 after system recovery... and now when I start debugging any program, it shows me the following error : [b]"Error while trying to run project : Unable to start debugging. The Binding handle is invalid."[/b] Please Help.
I've been wanting to use ADO in a c++ project i'm working on. I was having some errors on it, and have since reverted to ODBC but i'm finding it rigid, and frenquently frustrating to work with. I'm going back and giving ADO a shot again, but simple pasting the …
Hello, this is Metalcrunch. I've been learning C++ over the past days and I thought I'd make a calculator. So I looked over the existing code on the internet on how to make a calculator, understood it, then made my own from the very scratch. However, I'm having a few …
I have a project that I made with VS 2008, and I need it to use the 2.0 Framework and not the 3.5 Framework because they company hasn't moved to a newer Framework yet. I already have a setup project with it, I just need to know how to roll …
hello all, I would like to create a menu named "Category" for word, which has other sub menu's. The user can install this addIn in his word and use it. I know that Visual studio provides AddIn support for word 2003, 2007. But don't know how to code this. How …
Hi All, I have recently installed Visual Studio 2005 after system recovery... and now when I start debugging any program, it shows me the following error : [b]"Error while trying to run project : Unable to start debugging. The Binding handle is invalid."[/b] Please Help.
What are you guys using for version control in conjunction to Visual Studio? I am currently using Tortoise Bazaar, and it shipped broken, had to edit a file just to get it to run. Other wise its effective, only it is a console interface. and although I know many that …
I have a multi-project solution. There are two projects in the same namespace, one created by me, and the other created by this opensource software. Both of the projects are set to output class library. However, I can use the opensource's class in my code, but I can not use …
console.cpp: [CODE="c++"] #include <iostream> #include <string> #include <vector> using namespace std; template <typename T> T #ifndef _DEBUG & #endif val(const T& x); class A { private: public: void f(); }; void A::f() { val(1);// deleting val solves the problem } int main() { new A; cin.get(); } [/CODE] general.cpp: [CODE="c++"] …
[code=c#]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SQLite; namespace PlayingWithSQLite1 { abstract class Database { #region Member Variables string PATH = String.Format("{0}\\Database\\", Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)); string FILENAME = "test.s3db"; #endregion public string File { get { return string.Format("{0}\\{1}", PATH, FILENAME); } } public static void CreateDatabaseFile() { SQLiteConnection.CreateFile(File); } } …
Hi, I have developed a lot console applications in C++ using Visual Studio Express and I am curious how much effort it would be to wrap them with a ultra simple GUI? Do I have to purchase MFC or code hunded of pages in order to accomplish this in C++ …
The End.