4,928 Topics

Member Avatar for
Member Avatar for sniper29

[CODE=cplusplus] #include<iostream> using namespace std; int intro(); double getData(); double averageHigh(); double averageLow(); double indexHighTemp(); double indexLowTemp(); double table(); double i,j,hsum=0,lsum=0,aveh,avel,high=0,low=0,ind; int const row=2,col=12,num=12; double temp[row][col]; char month[20][num]={"JANUARY","FEBRUARY","MARCH","APRIL","MAY","JUNE","JULY","AUGUST","SEPTEMBER","OCTOBER","NOVEMBER","DECEMBER"}; char space[]=" "; int main() {getData(); table(); averageHigh(); averageLow(); indexHighTemp(); indexLowTemp(); return 0; } int intro() { cout<<"||||| |||| ||||| |||| |||| …

Member Avatar for Ancient Dragon
0
221
Member Avatar for ff4930

Hello everyone, This program compiles fine and runs fine in Eclipse(C++ IDE) but when I compile it in UNIX and Visual Studio its fine but when I run it, it gives me an error. For Unix is segmentation fault The problem is when I initialize VNT, it calls Matrix and …

Member Avatar for ff4930
0
79
Member Avatar for dadelsen

The following script function "btnRunScript_onclick" works as long as it does not access the HTML control "txtMessage". If it does, "Page Error" is shown in the statusbar of Internet Explorer (6). Knows anybody why? Thank you. [code] <%@ Page Language="vb" AutoEventWireup="false" Codebehind="GuessingGame.aspx.vb" Inherits="Ch07Le04.GuessingGame"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> …

Member Avatar for dadelsen
0
401
Member Avatar for GallantAlex

Hi everyone, I am a just beginning Win32 Application Programming for C++. I really couldnt find any site that didnt confuse the heck out of me. Alrighty, I'm not here to ask you questions about acutally learning Win32, but i would like to know if you could recommned me a …

Member Avatar for William Hemsworth
0
487
Member Avatar for trembb22

How do we create a thread with visual studio for windows. I would like to know how can we manipulate thread in a windows program using Visual Studio Ver 6 and Visual Studio 2005 and 2008 for windows 98, XP and Vista. I know how to play with threads using …

Member Avatar for trembb22
0
297
Member Avatar for timbo2000

Im using visual studio 2005 on XP and am recieving an error in my program that looks as if the call is not matching what is in my lib. I have been doing some reading about the code generation phase of the compiler and find that I should look at …

Member Avatar for mitrmkar
0
95
Member Avatar for SubProf

Hello everyone, I have a question regarding the web browser in visual studio 2005. At the moment I have a web browser that navigates to the URL that I have typed into the combobox when the 'GO' button is pressed. I'm wondering is it possible to extract specific links from …

Member Avatar for SubProf
0
83
Member Avatar for Thew

Hello, When I was running some demo applications I've found that I'm getting an exception in the std::list. After some time of debuging I found that the error coms from here: [CODE] bool operator==(const _Myt_iter& _Right) const {// test for iterator equality #if _HAS_ITERATOR_DEBUGGING _Compat(_Right); #else _SCL_SECURE_TRAITS_VALIDATE(this->_Has_container() && this->_Same_container(_Right)); #endif …

Member Avatar for Nick Evan
0
88
Member Avatar for ambarisha.kn

The following program is giving error as follows. please get me the solution how to debug this error. Error: Debug Assertion Failed! Program: ... File: d:\program files\microsoft visual studio 8\vc\include\vector Line: 1556 Expression: ("this->_Mycont != NULL && this->_Myptr != NULL", 0) [code] #include<iostream> #include<vector> #include<deque> #include<list> #include<algorithm> #include<functional> #include "print.hpp" …

Member Avatar for ambarisha.kn
0
171
Member Avatar for h5nguye

Hi experts, I want to manipulate a line of string in a text file and save the text file as another name. For example: text file name: 110.txt text file contains a string of number: 110 I want to search for that string "110" and increment +1 to 111 and …

0
48
Member Avatar for herrepeder

Hi, I'm using Visual Studio 2008 on Windows XP. How do I play a mono sound of approx 2500 samples over 500ms using ASIO Audio Driver? I'm really stuck on this. I've never used callbacks before, but the ASIO driver does. I need to use ASIO due to latency issues.

Member Avatar for Ancient Dragon
0
85
Member Avatar for Jihad

I have a form where there is image, at the first time it displays the defualt image,when the user uploads image, the new image appears. But when the user get out from this page and get in again and upload another image the same old image is still there. Its …

Member Avatar for Jihad
0
148
Member Avatar for eluminx

I've observed and read through numerous threads where users are having identical issues to what I am dealing with. The explorer.exe just continually restarts. I have run Avast, Kaspersky, AVG and a few other scans. AVG seemed to find quite a few things that looked malicious, but removing them did …

Member Avatar for eluminx
0
260
Member Avatar for mariaczi_pl

Hi !!! I have so strange problem... i dont know what i have to do.. Quote from[B] form1.h :[/B] [code] #pragma once #include "Center.h" #include <time.h> #include <windows.h> namespace RCK { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; /// …

Member Avatar for mariaczi_pl
0
175
Member Avatar for kartik14

Hi, I want to use a function from a different file in the main method of another file. Both the files are in the same visual studio project. I used the extern "C" keyword in the foreward declaration of this external function in the file containing the main method but …

Member Avatar for vijayan121
0
147
Member Avatar for herrepeder

Hi, I am using Visual Studio 2008 with .NET, on Windows XP. Does anyone know how to (in C++): *Recieve a trigger signal(1bit) from an external device, ie throught a generic microphone input(jack). * Play/stream a 1D table of raw data(double/long) as an audible sound throught the sound card. Assume …

Member Avatar for herrepeder
0
258
Member Avatar for anitha joe

Hello, I have created a web form and I want the contents to be mailed to my mail id. The code works fine if launched in local server that visual studio provides. The code is written using C#..When I try launching it in my office server, the following error msg …

Member Avatar for ericstenson
0
100
Member Avatar for joeyan

Hi all, I am a newbie of .NET c# programming. I just take over a Data Recording System which use Visual Studio. NET 2002 (C#) to built a PC-based application, and use Ms Access 2000 as database. I need to enhance a existing Windows Form that add more fields for …

Member Avatar for Ramy Mahrous
0
76
Member Avatar for geetajlo

Hi i really need code to back up an access database. Am using visual studio 2005. i have to submit my project next week.. please help me. I want to place the code in a button back up..

Member Avatar for Jx_Man
-3
597
Member Avatar for richo.mw

Hi There, I am experiencing a very weird problem with a visual basic.net program I am creating. The app uses an access database. Note: I am an Australian user so use date format dd/mm/yyyy Problem: my frmMain has a list box that retrieves a list of date values from the …

Member Avatar for richo.mw
0
167
Member Avatar for komodo891

Here is my problem... I am developing a portion of my website to sell my floor plans online. I have an access database linked to a Datalist that displays a thumbnail elevation and some basic info about that plan. What I am having problems with is once a person clicks …

Member Avatar for srikanthkadem
0
608
Member Avatar for faust_g

The following code works fine with "Release" config, but gets this odd "HEAP_CORRUPTION_DETECTED" error when I try to execute in the "Debug" config. I am using visual studio 2005, default settings. Also, I looked into deleting multi-dimensional objects, and it appears I am doing it correctly here ([url]http://www.daniweb.com/forums/thread6511.html)[/url]. Pretty simple …

Member Avatar for faust_g
0
351
Member Avatar for jacobpauls

using System; using System.Runtime.Remoting; using System.Runtime.Remoting.Channels; using System.Runtime.Remoting.Channels.Http; public class Server { public static void Main(string[] args) { // Create the server channel. HttpServerChannel serverChannel = new HttpServerChannel(9090); // Register the server channel. ChannelServices.RegisterChannel(serverChannel); // Expose an object for remote calls. RemotingConfiguration.RegisterWellKnownServiceType( typeof(RemoteObject), "RemoteObject.rem", WellKnownObjectMode.Singleton); // Wait for the user …

Member Avatar for majestic0110
0
440
Member Avatar for ovesh

Hello, I am a java developer (with a few years experience). I have just been assigned my first C# project. So far I have only written UI in java (Swing), coding by hand. I have found this to be easy and manageable. When I opened Visual Studio (not for the …

Member Avatar for Ramy Mahrous
0
112
Member Avatar for ambarisha.kn

Hi, I dont know much about Standard template library(Vectors, Lists, Deque). I want to do one Program which is as follows. Write a program to create a data bank which holds the operator and operands of arithmatic/relational/bitwise(etc.,) operations. (Use STLs) The no. of operand fields(input and output) is variable depending …

Member Avatar for ithelp
0
95
Member Avatar for redprawn_89

Hi guys! i'm using Visual Studio 2005 C#. I like to ask this question about GUI. How can i pass value from one form to another? For example, the user have to key-in the amount of money he/she needs to borrow in form1.cs Then on form2.cs, i need to get …

Member Avatar for Jx_Man
0
137
Member Avatar for janicecbeginner

Hey all! I am trying to build this code and I am running into a bit of trouble. Visual c++ gives me this error: >Profile.cpp 1>c:\users\janice\documents\visual studio 2008\projects\assignment6\assignment6\profile.cpp(101) : error C2027: use of undefined type 'Post' 1> c:\users\janice\documents\visual studio 2008\projects\assignment6\assignment6\profile.h(6) : see declaration of 'Post' 1>c:\users\janice\documents\visual studio 2008\projects\assignment6\assignment6\profile.cpp(101) : error …

Member Avatar for VernonDozier
0
190
Member Avatar for ricksvoid

First of all here is how i created my SQL database and established a connection in visual studio 05. I go into the server explorer and right click on the data connections node and and select "create new SQL database". A window then prompts me for a server name and …

Member Avatar for ricksvoid
0
419
Member Avatar for Tyreses

After several hours of searching the web and the student MSDN archive in Visual Studio.net i cannot figure out through the random blabber of sample codes how to do basic connections using TCP socket connections through a client and a listener. I got the jist that winsock had become outdated …

Member Avatar for lee_suko
1
181
Member Avatar for selvamathi

Hai to all.... I am selvamathi.... I would have completed my M.E. Course at the end of June 2008 in Thanthai Periyar Govt. Institute of Technology, Vellore, Tamil Nadu. Now i am doing my project work. My project have been done in OMNeT++ with visual studio 2005 Express Edition Platform. …

Member Avatar for Jx_Man
0
22
Member Avatar for efp1225

I am trying to include the posix library in my Visual Studio 2005 projects, and I am unsure how to include it. I have the posix.lib file and I added it to the additional dependencies of Configuration Properties->Linker->Input. When I build, I get the message that it can't find the …

Member Avatar for Zabbat
0
113
Member Avatar for rockmania

i have created an application using visual c#.i created a button using MS expression blend. How to use the button in the application that i developed?i want that button to be embedded into my app so that i can use it like default button control available in visual studio.

Member Avatar for Ramy Mahrous
0
61
Member Avatar for nandhini21

Hi pple I've using visual studio 2005 and sql server 2005. I've stored my usernames and passwords in the database. Now i have problems on how to use select statements to check username. Meaning. if username is not found, it gives error msg, if username exist, it compares with the …

Member Avatar for aastephen
0
207
Member Avatar for bsousa

Hi all, I'm trying to consume a Service called GetMemberPointsAvailable using VB.NET. Here is the wsdl: [url]http://sp-s3g-uat.iclp.com.au/ws/egapi/v1-0/egapi.cfc?wsdl[/url] This service is written in coldfusion - axis engine. The steps: I'm using VB.net on Visual Studio 2005. I created a new windows application project. Then I added a web reference with URL …

0
73
Member Avatar for matherton

First glance: [INDENT][COLOR="Green"]Name[/COLOR]: Mark Atherton [COLOR="Green"]Height[/COLOR]: 5'8" [COLOR="Green"]Weight[/COLOR]: 160 [COLOR="Green"]Hair[/COLOR]: dark brown – graying [COLOR="Green"]Eyes[/COLOR]: blue [COLOR="Green"]Location[/COLOR]: Woodland CA [COLOR="Green"]Age[/COLOR]: 60 [COLOR="Green"]Relationship Status[/COLOR]: married – 3 children – last child 19 living at home [COLOR="Green"]Hobbies[/COLOR]: [LIST] [*]cabinet building & precision woodworking [*]restoring our 122 year old Victorian home for the …

Member Avatar for zandiago
0
183
Member Avatar for Nemoticchigga

I am using the begininvoke and endinvoke methods in visual studio 2005. [CODE] private: System::Void button_run_Click(System::Object^ sender, System::EventArgs^ e) { AsyncCallback ^ac = gcnew AsyncCallback(&InvokeTest::Form1::delegate_function_callback); delegate_function ^df = gcnew delegate_function(this, &InvokeTest::Form1::function_to_invoke); df->BeginInvoke(ac, df); } private: delegate int delegate_function(void); public: int function_to_invoke(void) { label_status->Text = "Running"; //label_status->Text = "Stopped"; } private: …

Member Avatar for Ancient Dragon
0
110
Member Avatar for virendra_sw

Hi, We have developed one application which is developed in VB .Net in VS2003,VS2005 and VS2008 version. The application which is build in VS2003 and VS2005 are perfectly worked in Vista except for application developed in Visual studio 2008. This application is accessing the registry. It giving error only application …

Member Avatar for Ramy Mahrous
0
62
Member Avatar for alpe gulay

..I have a simple c# application... on the form, it contain windows media player in w/c will be able to play music nd video files. I have problem on it, while running the application in the other pc. I really wonder why it doesn't work in the other pc yet …

Member Avatar for Ramy Mahrous
0
96
Member Avatar for Arijit Manna

Hi, Iam working on [B]WPF DataGrid (dev. by ComponentOne)[/B] with [B]Visual Studio 2008[/B]. I wish to provide facility to user to select "Columns" of a Table using ListBox(if possible, by clicking on Checkboxes within the ListBox) and the Report will be generated for those selected "Columns" only. [I]Selection to be …

Member Avatar for Arijit Manna
0
133
Member Avatar for elondir

I am upgrading a VC++ 6.0 project to Visual Studio 2008. It uses STL extensively. It compiles fine on Visual Studio 6, but produces the following error in VS2008: [icode]error C2440: 'initializing' : cannot convert from 'const int' to 'MyStruct *'[/icode] The error is trapped in the STL functional header …

Member Avatar for elondir
0
206
Member Avatar for ramya_bugbuster

hi friends.. i got the below error while compiling a simple .cpp pgm in microsoft visual studio->vc++.. tht vcspawn.exe file is in Microsoft Visual Studio\Common\IDE\IDE98 folder.. can anyone tell me abt this problem?do i have any prob in installation?do i have to change any configuration/settings?.. Configuration: sc1 - Win32 Debug-------------------- …

Member Avatar for ramya_bugbuster
-1
512
Member Avatar for krzempus

Hi everybody! I have a little problem with making properties editable under VS2008. For example I've class: [CODE=c#] using System; using System.Collections.Generic; using System.Text; using System.Runtime.Serialization; using System.Security.Permissions; namespace ProjektBDApp.NowaWersja.Klasy { public class ControlVector : ISerializable { int left; int top; int width; int height; #region Acessors public int Left …

0
55
Member Avatar for redprawn_89

hi everyone! i'm from Singapore i'm now currently working on a project using visual studio 2005, C# and i'm totally new to visual studio and i need help urgently i have to hand in the my project at the end of july i hope that i can find solutions to …

Member Avatar for Serunson
0
46
Member Avatar for williamku87

how i want to solve this problem my visual studio.net has detected that the specified web server is not running ASP.NET version 1.1. ? which mean me cannot create a new asp.net application.... who can help me?

0
58
Member Avatar for WhYuLoOkIn

I am trying to run a script when a button is pressed on my Login.aspx page in Visual Studio 2008. I have set the Sub routine which is located within the script to redirect me to a certain page when the script is run for testing purposes. When I press …

Member Avatar for WhYuLoOkIn
0
152
Member Avatar for Nemoticchigga

Is there a way to make a visual studio 2005 form repaint itself every 'x' number of milliseconds? Thanks.

Member Avatar for Nemoticchigga
0
55
Member Avatar for yassar

Hi, I am making an asp website using visual c#. I am working on visual studio 2008. I have a problem with selecting data source from the database for UI components. For example, i added a "dropdownlist", clicked to select data source appeared on the right. I entered my hostname, …

Member Avatar for ertugrul
0
250
Member Avatar for Nemoticchigga

I am doing a windows forms application in Visual Studio 2005. I have all the forms, as well as some additional classes in source files for data storage. I was wondering how to update data in one class based on another class. Does this need to be done through a …

Member Avatar for Duoas
0
104
Member Avatar for Lukezzz

I am using VC++ 2008 and wonder, that if I have made a project. "Windows Forms Application" that only consist of an Emty Form. I wonder how it is possible to Compile this so this will be an application. I have searched around in the properties and found something called …

Member Avatar for Lukezzz
0
122
Member Avatar for nmpgaspar

Hey. Ok, i already asked this question on asp.net and sqlteam forum, but without any luck. Hope it will be diferent here :) So, here the thing: I have created some users to my site using the WAT tool. Therefore, the users information was automatically stored in ASPNETBD.mdf file. When …

Member Avatar for majestic0110
0
262

The End.