4,928 Topics

Member Avatar for
Member Avatar for a.muqeet khan

[CODE]#include "stdafx.h" #include <iostream> using namespace std; class distance { int feet; float inches; public : distance ():feet(0),inches(0) {}; distance(float in,int ft): feet(ft),inches(in) {}; void getdist() {cout<<"enter the values of feeet and inches "; cin>> feet>>inches;} void showdist() {cout<<"feet= "<<feet<<"\n inches="<<inches;} distance add_dis(distance);}; distance distance::add_dis(distance d2) { distance temp; temp.inches= …

Member Avatar for a.muqeet khan
0
169
Member Avatar for jowana

Hello, I am wotking on a project for 'segmentation' using ITK in C++ in Visual studio 2008 now, I want to copy an example code from Examples in ITK and use it in my program. To be specific , I am using "ShapeDetectionLevelSetFilter" If I try to build my program …

Member Avatar for Ancient Dragon
0
179
Member Avatar for Fortinbra

Anyone have any recommendations for a source or version control software for team development that isn't visual source safe(my boss hates it with passion). We're currently looking into Team Foundation Server 2010, I know it's the replacement for VSS, but my boss doesn't know that, yet... Any other recommendations that …

Member Avatar for divin757
0
331
Member Avatar for sms5660

I am really confused about how to write functions before main(). My teacher didn't explain it well at all or the stipulations. I have a homework assignment due this weekend and I am so confused. Here is the prompt, below that is my program and what I think I should …

Member Avatar for sms5660
0
134
Member Avatar for scrapple

Upon booting up my laptop today, Avast started showing me an alert for a "Malicious URL" even though I had no applications started and had not yet performed any actions. The popup message indicated that the site trying to be reached was 68.178.232.99/wpad.dat and the process trying to reach it …

Member Avatar for jholland1964
0
469
Member Avatar for bklynman01

Hello - I am using Visual Studio .net 2008. I have a form that has a tabpage control in it with 5 pages. I need to add another page, but in position 2, not at the end. Is this possible? I do not see any settings for the position of …

Member Avatar for bklynman01
0
99
Member Avatar for Danny1994

Hello, im currently using this kind of Hotkey : [CODE] if(GetAsyncKeyState(VK_F1)) { if (this->checkBox1->Checked == false) { this->checkBox1->Checked = true; } else { this->checkBox1->Checked = false; } }[/CODE] But its not very good. I couldn't find a better way to do this :/ (im using Visual Studio 2008) Anybody knows …

Member Avatar for pseudorandom21
0
113
Member Avatar for triumphost

I've download this following program source from a SVN repository.. [url]http://blanddns.no-ip.org:81/repos/public-smart/[/url] How do I compile it?? I've tried but it has c++ and java files included in it.. and some are even in separate folders. Can someone tell me how? Do I have to do command line? Do I need …

Member Avatar for triumphost
0
115
Member Avatar for Khoanyneosr

[CODE]#define WIN32_LBAN_AND_MBAN #include <windows.h> LRESULT CALLBACK WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam); int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { WNDCLASSEX windowClass; ZeroMemory(&windowClass, sizeof(WNDCLASSEX)); windowClass.cbSize = sizeof(WNDCLASSEX); windowClass.style = CS_HREDRAW | CS_VREDRAW; windowClass.lpfnWndProc = (WNDPROC)WindowProc; windowClass.hInstance = hInstance; windowClass.hCursor = LoadCursor(NULL, IDC_ARROW); windowClass.hbrBackground = (HBRUSH)COLOR_WINDOW; …

Member Avatar for Khoanyneosr
0
138
Member Avatar for bmason

This is my first foray into the world of programming. I'm doing a practice project for the consulting firm I work for, and my current objective is to make my submission page textboxes insert the user input into specific tables in my database. Later I'll need to retrieve the data, …

Member Avatar for Momerath
0
123
Member Avatar for lianpiau

Who can help me?? [B]Microsoft Visual Studio 2008 Window Form Application C#[/B] I'm want store some data and picture in access database and display the data and picture in datagridview. when the user double click the record in datagridview. it will display data and picture into above textbox for update …

Member Avatar for lianpiau
0
320
Member Avatar for Tamlyn

Hey everyone :) I've been working on the first part of a program which I'm doing in 4 steps. Here's the first step which I have completed: Function inputAndValidate This function inputs the time. The time should be entered as two separate values for the hours and minutes. Do not …

Member Avatar for Tamlyn
0
151
Member Avatar for d_panayotov

Hello, I have this assignment in C. The problem is that the functions have to be placed in separate files instead of just one. I haven't done that before. It seems code that would have run if the program was written in one file doesn't work when the functions are …

Member Avatar for d_panayotov
0
172
Member Avatar for YodaMerlin

I am trying to make a program where there are several pictureboxes with different pictures. When i click on one, a new one forms at some location on the form. When i utilize the given code, t gives a system null reference, saying I need to add a "new" statement …

0
87
Member Avatar for bmason

This is my first foray into the world of programming. I'm doing a practice project for the consulting firm I work for, and my current objective is to make my submission page textboxes insert the user input into specific tables in my database. Later I'll need to retrieve the data, …

Member Avatar for ArtistScope
0
203
Member Avatar for suvisoya

hi, I using Visual studio 3.5 .Can anyone help me how to authenticate by role wise.for example when users enter password with employee role then Employee Page need to display or if users enter password with Admin role then Admin page need to open and display all admin option Thanks …

0
49
Member Avatar for huBelial

I'm trying to create a program that will connect to my access database and perform a simple query. Then I want to put the data (image and other info) into active directory. But I keep getting this "Declaration expected" error when I'm setting up my connection. Can someone please take …

Member Avatar for fariid
0
194
Member Avatar for Khoanyneosr

[code] 1>------ Build started: Project: DirectXtutrials, Configuration: Debug Win32 ------ 1>Build started 3/24/2011 5:24:05 PM. 1>InitializeBuildStatus: 1> Touching "Debug\DirectXtutrials.unsuccessfulbuild". 1>ClCompile: 1> main.cpp 1>ManifestResourceCompile: 1> All outputs are up-to-date. 1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup 1>C:\Users\Konnor\Documents\Visual Studio 2010\Projects\DirectXtutrials\Debug\DirectXtutrials.exe : fatal error LNK1120: 1 unresolved externals …

Member Avatar for Khoanyneosr
0
271
Member Avatar for Khoanyneosr

[code] 1>------ Build started: Project: DirectXtutrials, Configuration: Debug Win32 ------ 1>Build started 3/24/2011 5:24:05 PM. 1>InitializeBuildStatus: 1> Touching "Debug\DirectXtutrials.unsuccessfulbuild". 1>ClCompile: 1> main.cpp 1>ManifestResourceCompile: 1> All outputs are up-to-date. 1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup 1>C:\Users\Konnor\Documents\Visual Studio 2010\Projects\DirectXtutrials\Debug\DirectXtutrials.exe : fatal error LNK1120: 1 unresolved externals …

0
63
Member Avatar for tahamasoom

Hi there i want to know about grading system in visual stuio i am new in software engr just tell me how we make grading system in windows application in visual studio like when we put 5 in grade section the basic sallary will be 15000 and home allownce will …

Member Avatar for codeorder
0
114
Member Avatar for Shantanu88d

Hello everyone, I am developing a website application on vb.net. I was earlier using IE-6 and everything was fine, except some wrong display of gui elements. So, I installed IE-8. But now, when I run/debug my web appl, it starts VERY SLOWLY. It takes about 20 seconds+ to load the …

Member Avatar for Shantanu88d
0
131
Member Avatar for ddd104

Hello, I'm new to MFC and i have a small problem. I made an application containing a property sheet with 2 property pages and i defined the next,back and finish buttons to switch between pages. I implemented the functions of each page in its InitDialog. In the first page i …

0
39
Member Avatar for Steve Mac

Hi everybody. I have created an application using vb.net 2008 and for reports Crystal Reports Basic for Visual Studio 2008 but the problem is, when I run the application in another machine away from developing box, I get the Load report failed notice. I don't have any idea on how …

Member Avatar for Steve Mac
0
110
Member Avatar for kirenemook12

hello every one i am making a program what requires that the user types in some text in a textbox. the problem is, how do i get that text from the textbox into the std::string (or a other kind of string)? i don't know how to do that in Win32, …

Member Avatar for kirenemook12
0
815
Member Avatar for CrimsonGT

I have been trying to figure out how to build this library on Windows for damn near 6 hours, and I am at a complete loss. I have found a lot of answers on these forums before, so I joined up hoping someone might have some idea. The INSTALL file, …

Member Avatar for vladoX
-1
494
Member Avatar for chathuD

hi guys i have developed a simple application to insert data in to a SQL DB and get data from same DB using stored procedure. ( 1 table ,2 SP's ) so now i want to run this application on my friends computers to. so how to transplant my simple …

Member Avatar for mono_jit23
0
520
Member Avatar for Khoanyneosr

[CODE] // Hangman Redo Program #include <iostream> #include <string> #include <cstdlib> #include <ctime> #include <string> #include <vector> #include <algorithm> using namespace std; //Functions void welcome(); void instructions(); int game(string sofar, const string THE_WORD, int MAX_WRONG, int wrong, string used); // Types and Arrays string choice; string inst; const int MAX_WRONG …

Member Avatar for Khoanyneosr
0
280
Member Avatar for sklingb1

I have a terminal that throughout the day I will get the normal window shut down tones for no apparent reason. The computer never actually shuts down. To accompany this the terminal is extermely slow at times. I have swapped out memory and power supply with an identical terminal to …

Member Avatar for gerbil
0
684
Member Avatar for bklynman01

I'm using Visual Studio .net 2008 to build my Crystal Reports. I have a simple table that shows training records of people. Training takes 5 days to complete, and each day has a record in a SQL database. I can display all the data, but want only to show the …

0
73
Member Avatar for rannamaa

Ive got some quetions and hope someone has the answere. When I create a project i vs and want to have one gui what do I chose, console application or what? When I in the same project want to add a class do I then chose "add class"? If I …

Member Avatar for rannamaa
0
124
Member Avatar for jaango123

Hi All, can anyone give me the regx expression to be used to search for ip address in microsoft visual studio versions. If I open text files using Visual studio and ctrl+Shift+F, search al open documents, then give the regex, it should list all the ipaddress contained lines at the …

Member Avatar for Jx_Man
0
122
Member Avatar for benjybob

hi, i have a small problem with the rand operator. at first i tried using it without srand but gave me the same value each time. i have inserted srand(time(0)); but my compiler throws me up these errors: 1>c:\users\ben\documents\university work\year 2\c++\code\myc++\spritelab\asteroidsgame.cpp(17): error C4430: missing type specifier - int assumed. Note: …

Member Avatar for benjybob
0
425
Member Avatar for highflyer8

Hi, if I run the following code and press L on the screen, I should be getting a leapfrog.txt textfile. But I only see my previous euler.txt. What is wrong with the code. Thanks in advance for any help. [CODE]#include <iostream> #include <fstream> #include <cmath> #include "H:\Visual Studio 2008\Projects\section2\threevector.h" using …

Member Avatar for thelamb
0
151
Member Avatar for rwarlord

I am having a hard time deciding whether to use pointers or not in my nested data structures. Memory and CPU efficiencies are important as I am dealing with data files of sizes on the order of gigabytes. I have decided to use several classes that are nested in a …

Member Avatar for rwarlord
0
408
Member Avatar for poonamjadav

hello everyone i am a student and i have to prepare a project on the MLM system in asp.net using C#. i have to prepare a saperate admin tool to handle the web application. Can any one help me how can i do that in visual studio 2010 IDE pls …

0
51
Member Avatar for taylby

Hi, I have a small problem with a DLL. The code for the solution is split into several projects which are then compiled and deployed to a web server. When the project is within Visual Studio I used a Linked file to get the contents of an app.Config file (XML) …

Member Avatar for taylby
0
231
Member Avatar for rjbrjb777

helo friends. i need to deal with more than 10 excel sheets.. so i want to make an desktop application in Visual Studio(c#), which performs as followings..: 1) first user can choose on which file he wants to work on. 2) then retrieving column wise data, and performing many mathematical …

Member Avatar for rjbrjb777
0
194
Member Avatar for oab2003

The code below was written using C++.NET framework. How will the code be completed to retrieve all the records from microsoft access 2003 table PROFILE and display them in a form? [CODE] private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) { ADODB::Recordset ^ rst=gcnew ADODB::Recordset; ADODB::Connection ^ conADO; Object ^ obj; String …

Member Avatar for Ancient Dragon
0
180
Member Avatar for highflyer8

Hi, I am getting an error message when using base classes. The error message is x: undeclared identifier y: undeclared identifier z: undeclared identifier The particle class derives from the fourvector class which derives from the threevector class, as follows. [CODE]#ifndef THREEVECTOR_H // Prevents the class being re-defined #define THREEVECTOR_H …

Member Avatar for mrnutty
0
162
Member Avatar for jackparsana

hi, please help me to create setup of my web project. i use visual studio 2010 and Mssql 2008. i have problem in create setup is - i can not create App_code. - framework problem in web config file. please help me to do that. thanks jack.

0
103
Member Avatar for Tgon

Hey guys, My AV has located a rootkit MBR:\\.\PHYSICALDRIVE0 I have already tried a solution that I found in this forum but it has not worked. basically I have run bootkit_remover.rar and run it. It returned the following: -- [COLOR="Red"]Bootkit Remover (c) 2009 eSage Lab [url]www.esagelab.com[/url] Program version: 1.2.0.0 OS …

Member Avatar for jholland1964
0
1K
Member Avatar for MUYAH

Hi guys. Is me MUYAH, for the first time to this forum. I am underway to develop a VB.Net compiler using visual studio 2005, but so far I am not aware on how to go about, regarding to what are the key requirements or skills required for developing a compiler. …

0
48
Member Avatar for axman1000

I will get an Excel 2003 file everyday via email. This file has 5 columns. The first for columns have static headers and text in them. The 5th column is the date of the report and below that is a list of values in the same column, followed by an …

Member Avatar for axman1000
0
216
Member Avatar for nore

Hello all! I want to make label beside label/etc. For example, after i clicked button then label appear beside its button , and after 5 second / less, i want to make the new label dissapear / erased . Visual Studio, vb.net Thanks Before :)

Member Avatar for nore
0
128
Member Avatar for Vindal

I need to be able to loop and get information for up to 10 "BankAccount" arrays, but when I use less than 10 it gives me garbage and I don't know how to fix it. Here is my Code. [CODE]#include <iostream> #include <iomanip> using namespace std; class BankAccount { private: …

Member Avatar for Vindal
0
171
Member Avatar for Arjun_Sarankulu

My solution contain the app.config file which contains some key with corresponding values. When i am building the solution in the visual studio its runnning fine when m running the same appliction(.exe) on other machine its not taking value from config file giving [B]JIIT[/B]error 'object reference not set to an …

Member Avatar for Arjun_Sarankulu
0
124
Member Avatar for babydol

Hi I am new to programming in asp.net with c#. I am using visual studio 2010. I am trying to insert data entered by a user into the database. My code is as follows: [CODE] adsStudents.InsertParameters["Stu_ID"].DefaultValue = txtStudID.Text.ToString(); adsStudents.InsertParameters["Stu_Name"].DefaultValue = txtName.Text.ToString(); adsStudents.InsertParameters["Stu_Passwd"].DefaultValue = txtPasswd.Text.ToString(); adsStudents.InsertParameters["Stu_Prog"].DefaultValue = ddlProgramme.SelectedValue.ToString(); adsStudents.Insert(); //add a …

Member Avatar for babydol
0
111
Member Avatar for MrCapuchino

Hello I have two files test.aspx test.aspx.cs I have some Drop Down Lists and Textboxes but if I want to use them the .cs file does not recognize there are those elements in the aspx file. For instance, in the page load event I want to get the text from …

Member Avatar for MrCapuchino
0
132
Member Avatar for Cale93

Hello there, I'm struggling with my computing coursework in college and I though I'd ask here for help. My issue is simple but I can't get it right. I need to validate the text into a textbox and check that it contains ONLY alphanumeric characters, but it MUST contain both, …

Member Avatar for Cale93
0
3K
Member Avatar for Danny1994

Hai, i have a problems with my ListView in Visual Studio 2008. I can move this delay tab : [url]http://localhostr.com/file/ezujFtB/Unbenannt.png[/url] Like this : [url]http://localhostr.com/file/A91Yo4D/Unbenannt-3.png[/url] How can i prevent that ?, i tryed many differnt settings, but nothing seems to work.

Member Avatar for jonsca
0
128

The End.