8,298 Topics

Member Avatar for
Member Avatar for dc_24l

hi there i have a text box and a command button in a C# project and i want to access the command prompt with it whenever i input like dir in the textbox and click on the command button the dir will go to the command prompt of windows command …

Member Avatar for Ramy Mahrous
0
391
Member Avatar for C41R0

374 / 9 = 41.6 (from calculator ) if in c++, it will become 374 / 9 = 41.555 how do i make the final calculation become 41.6 ? i've tried ceil() and setprecision(1) , the answer i got quite big different compare with the answer from calculator. answer from …

Member Avatar for C41R0
0
208
Member Avatar for asif08

I am writing this program which I create from the console screen. I want to change it so that I can read any file from the folder. For example: in this program, I am prompting the console for the two files and comparing them. Instead, I want to compare files …

Member Avatar for asif08
0
108
Member Avatar for RexxX

I'm better at C++ than C right now and I forgot how to use arrays in functions from main. I want to do something like [quote]void fileReader(infile[] ); [/quote]. Is infile supposed to be a pointer and if so how is it written?

Member Avatar for Aia
0
76
Member Avatar for c++noobie

I am fairly new to C++, as I began learning it two days ago, with some very basic background in java and python. I was trying to write a code that could simply store, recall, and delete entries in a class I named address_book. I did it first without using …

Member Avatar for Dave Sinkula
0
2K
Member Avatar for gurpreet.kaur

I am cretaing Timer at runtime in Gloabl.asax file,I add event handler for Timer Tick Event,But it never calls to handled function. if any body know how to use timer in global.asax file in asp.net with c#.net ,which uns after every one mintue ,then please help me. its very urgent.

Member Avatar for gurpreet.kaur
0
321
Member Avatar for asif08

The following program is giving an error: System.NullReferenceException Object Reference not set to an instance of an object. at IgnoreKwic.GetAllLinesForIndexWords<with parameters> at IgnoreKwic.BuildOutput<with parameters> at IgnoreKwic.Main<> In the line where I wrote that I want to display the output on the screen, would this work? using System.Collections.Generic;// Adds definition of …

Member Avatar for Ramy Mahrous
0
94
Member Avatar for MxDev
Member Avatar for Duoas
0
78
Member Avatar for dc_24l

hi im quite a newbie in C#, where can i download a free C# ebook tutorial? thanks.

Member Avatar for Ramy Mahrous
-1
67
Member Avatar for asif08

when i run the program MyKwic sampleText(text file saved in the project) the compiler cannot trace the sampleText. using System; using System.Collections; using System.Linq; using System.Text; using System.IO; public class Mykwic { static void Main(string[] args) { if (args.Length == 0) { Console.WriteLine("Error: Missing file name"); return; } StreamReader reader …

Member Avatar for Ramy Mahrous
0
99
Member Avatar for manimaran_c

Need to work on an assignment in C for the following. 1. Changing the size of the cursor 2. Placing the cursor at an appropriate position on screen. 3. Drawing any graphics shape on the screen 4. Receiving a key from the keyboard 5. Checking the memory size of the …

Member Avatar for Narue
0
90
Member Avatar for cranfss

(#143734) 915186754 SendMessage: sender 1, receiver 2, group 1000000000, type 24050, length 384, source 0 (#143781) 915248646 ReceiveMessage: receiver 1, sender 3, group 1000000000, type 24050, length 256, source 0 (#143658) 914941174 Collective: process 1, collective 11, group 1000000000, root 0, sent 0, received 0, duration 242440, source 0 (#143657) …

Member Avatar for vijayan121
0
137
Member Avatar for atish00

How to make c++ fullscreen (sort of) in vista :- [URL="http://img167.imageshack.us/img167/4783/45870184ss2.jpg"]http://img167.imageshack.us/img167/4783/45870184ss2.jpg[/URL] Your screen should look like this :- [URL="http://img518.imageshack.us/img518/6136/sshot3td7.png"]http://img518.imageshack.us/img518/6136/sshot3td7.png[/URL]

Member Avatar for atish00
0
287
Member Avatar for Mikecool509

Hello everyone, I am trying to write a program to help a friend out with updating virus definitions. In order to update their definitions, they must manually go out and download and install the file themselves. I would like to be able to write a program that automatically downloads the …

0
82
Member Avatar for nukem

when editing windows XPs explorer.exe using C:\windows\70 exporer.exe in safe mode in MSDOS where can i find START part Like in windows 98 its in the line 2390, but where can i find it in XP.

0
54
Member Avatar for aminit

Hello All : Is there any idea to create a txt file by C#, I want it to save all the status of controls of the form inside it???? Thanks for support

Member Avatar for Ramy Mahrous
0
458
Member Avatar for cplus2x

Candy Machine Simulation Write a program to simulate a candy machine.Your machine offers candy for 75 cents, gum for 50 cents, and chips for $1.You should ask the user repeatedly which of the three items she wishes to purchase, or whether she wants to quit.If she chooses to purchase an …

Member Avatar for Slate2006
0
383
Member Avatar for sid_arth2020

Ques. Write a function which prints the cards which are missing from a set of playing cards.Cards are represented in the form of string whose first letter represnts type and second is the card number. S-1=one of pade S-A=A's of spade C-k=King of clubs H=j=jack of Hearts....so on

Member Avatar for Nick Evan
0
74
Member Avatar for sid_arth2020

Ques.Definition of priority queue was given. We have to implement the priority queue using array of pointers with the priorities given in the range 1..n. The array could be accessed using the variable top. The list corresponding to the array elements contains the items having the priority as the array …

0
65
Member Avatar for sid_arth2020

Hi iam working on a problem given to me by my teacher.The problem is !.People from different states send their application to participate in the dance competition organised at the country level.Only 30 people will be selected to take par in the competition.Participants will be selected randomly from one state.No …

Member Avatar for plgriffith
0
79
Member Avatar for technogeek_42
Member Avatar for complete

While trying to run someone elses example code, Visual Studio 2005 never produced an executable even though the build process was successful. Do you have any idea why this might be?

Member Avatar for JerryShaw
0
58
Member Avatar for Blythe24

Hello(repost)- I am reposting because I didn't get the answer I needed. My teacher gave us this problem in a lab and I need help with it. Basically, he wants us to write an algorithm to count symbols. The user will provide anywhere between 3-10 symbols and then an initial …

Member Avatar for jazzman05
0
106
Member Avatar for Blythe24

Hello- My teacher gave us this problem in a lab and I need help with it. Basically, he wants us to write an algorithm to count symbols. The user will provide anywhere between 3-10 symbols and then an initial number. For example: user: 01234567, initial number: 106 output: 107, 110, …

Member Avatar for Narue
0
85
Member Avatar for complete

Is a COM object included in a project in the C# IDE much like it is in VB where you so include it graphically in a design view?

Member Avatar for Ramy Mahrous
0
44
Member Avatar for aasme08

hi I am making a remote control for winamp in c#. I am controlling the functions of winamp by the "SendCommandMessageA". The constants to be sent to winamp are specified in the sdk. I wanted to know if it was possible to control multiple media players like VLC player, Windows …

Member Avatar for Ramy Mahrous
0
116
Member Avatar for Ajuddy

/stores and retrieves data for two secret asgents [code=c] #include<stdio.h> void main () { struct personnel { char name [30]; int agnumb; int agent; }; struct personnel agent1; struct personnel agent2; char numstr[81]; printf("\nagent 1.)\nEnter name:"); printf("Enter agent number (3 digits): "); gets(numstr); agent1.agnumb=atoi(numstr); gets(agent2.name); printf("Enter agent number (3 digits);"); …

Member Avatar for WaltP
0
113
Member Avatar for vze2zv5v

This is Paul Michael. I need help with my homework. The sooner you can help me the better. I am stuck. Please give me the solution ASAP.

Member Avatar for Narue
0
199
Member Avatar for majestic0110

Hi all I am relatively new to ASP.NET and would appreciate a little help with a problem I am having. I have a "login" page that (upon validation of username/password) loads up another page. Now I have both these pages (I am using c# btw) written, however I cannot find …

Member Avatar for majestic0110
0
124
Member Avatar for AshwinCareem

Hi everyone, I have a problam with data types which are using in C++. I am so confuce about int,float,double,strings,etc; And numbers of bits that related to each data type. Please anyone help me to solve my problam.

Member Avatar for Nick Evan
0
156
Member Avatar for mikeandike22

I need help with this program im working on where you get input from a file and the program checks if the numbers are in ascending order or not and which one is the smallest and largest number in the series..cant use arrays.. This is a my input.txt right now …

Member Avatar for Ancient Dragon
0
211
Member Avatar for s_mostafa_h

hi all , i want to write a simple programm for cell phone ( Mobile ) programm application , for e.g. i want to unlock or remove password when a user forgot his password for his mobile . for this in visual c++ 2005 , is there help for me …

0
70
Member Avatar for tamereth

My program works properly under windows, however, it seg faults when I try to compile/run it under linux. [code=c++] #include <fstream> #include <iostream> using namespace std; int main() { char command; char infilename[80]; char outfilename[80]; char fileline[80]; char nextline[80]; char temp[80]; char temp2[80]; char * location; char sentence[250]; int loc …

Member Avatar for tamereth
0
178
Member Avatar for majestic0110

hi there, creating a structured databse (maybe in SQL) that I want accessable from a UI in c#. Is SQL the best way to go about this ? cheers

Member Avatar for majestic0110
0
74
Member Avatar for r2k32

Hi, I'm workin on a website where i need to update a password using a stored procedure. I tested the stored procedure on SQL server and its working fine. but somehow i cannot seem to call it from C#. Can any one please help me? Stored Procedure CREATE PROCEDURE dbo.sp_ChangePassword …

Member Avatar for JerryShaw
0
200
Member Avatar for mauro21pl

Hi to all. I need help. Quick and easy question. Is it possible to randomize and than delate stream of character pairs(one by one) from the input file? How can I do that? The input is a stream of character pairs that represent playing cards. For example: 2C, 3H, JH... …

Member Avatar for WaltP
0
93
Member Avatar for rite2bobby

How do I write a C++ program that takes a string containg a full name, and outputs each part of the name seperately? const string fullname= "Horatio thadeous Hornblow" using only simple codes like length, size, adding, and subtracting.

Member Avatar for JRM
0
120
Member Avatar for Tom Tolleson

Hello! I'm a web developer and have not ventured outside of the AJAX threads. However, we're trying to take on a desktop application project here at work, and I'm wondering what language to specify it to be built in. We have programmers in C++ and Java (as well as C). …

Member Avatar for Narue
0
87
Member Avatar for sharath61

hi, this is sharath. i m new to .net... i m doing this with c# in window based application can u just guide me i av a pbm, i have several rows stating from A to M, i av put tht in a panel say, in 1 panel i av …

Member Avatar for ujwaliyer
0
100
Member Avatar for nikolabt

I have make connection with the Access DB in Visual C# 2005 everything is ok and working great. The wizard has make and toolbar for adding deleting data and saving.So my question is how i can make now when the user click on let say want to delete data show …

Member Avatar for nikolabt
0
254
Member Avatar for x11

hey my win xp sp2 comes up wiht this message arror after booting and the system shuts down on pressing any key .... Error message: the system process 'c:\win\sys32\service.exe' terminated unexpectedly with status code -1 it would be really great if some one can assist me in fixing this!! cheers …

Member Avatar for x11
0
103
Member Avatar for depaulbluedemon

All i'm looking to do is create a page where the user enters text into various text boxes and then it is displayed below with other text. This is the code I have thus far, but i can't get it to work. <%@ Page Language="C#" %> <script runat="server"> public void …

Member Avatar for Ramy Mahrous
0
104
Member Avatar for kmaria

i have a window with 2 edit boxes. i want when i put value to the first edit box to start the counter and when i click on the second edit box to stop the timer. thank you and sorry for my english.

Member Avatar for Ancient Dragon
0
105
Member Avatar for jimJohnson

I am new to C++ and need help with this output after the debugging.... Type of Ticket Orchestra Mezzanine Balcony Select: Number of Adults: Number of Children: This is what it is supposed to look like and I am confused on multiple issues. All i know is need to use …

Member Avatar for brk235
0
83
Member Avatar for harrysc

i want to design and implement as application that reads an arbittary number of integers that are in the range of 0 to 50 inclusive and counts how many occurences of each number are entered, after all inputs are processed , print all of the values ( with the number …

Member Avatar for david.crawford
0
103
Member Avatar for manojkumar2004

Hi all, any idea how to call a C# method from a java class using sockets(need to access remote methods)??

Member Avatar for jwenting
0
92
Member Avatar for complete

Getting a C# program with a manifest file to run in the debugger ---------------------------------------------------------------- How do I declare a manifest file in the Visual Studio IDE for C# so that I can debug the resulting code? I have been able to add the manifest file, to the exe after I …

0
82
Member Avatar for C++masterinneed

[code=c++] void winerys::info(winerys & wine) { ofstream outfile("page.txt"); node *temp; temp = new node; cout << "please enter date the winery went into business" << endl; cin >> temp->start; cout << "please enter the loaction of winery" << endl; cin >> temp->name; cout << "plese enter the name of winery …

Member Avatar for Ancient Dragon
0
102
Member Avatar for iamthwee

Hi, I'm using winxp with the latest version of Dev-cpp (none of that dotnet please) and I was wondering what is the easiest way to send an email. Are there any libraries I could use?

Member Avatar for iamthwee
0
328
Member Avatar for kelvinskk

Hi, I'm using fedora core and i'm trying to write a c++ program to read the ESSID of my current wireless connection. Is there a way to do so? KiaN

Member Avatar for kelvinskk
0
122

The End.