8,298 Topics

Member Avatar for
Member Avatar for Jdan2388

Hey all im working on a program that has gives you the option of converting a message(string) into 3 different schemes: Prime Shift Encoding scheme, Shifty Encoding Scheme, and a Reverse Encoding scheme. I have figured out how to encode and decode the prime shift scheme and reverse scheme, but …

Member Avatar for plenty.groover
0
363
Member Avatar for TUNG810810

Anyone can help me to finish this c++ question? Please contact me by email. UNO UNO is one of the world's most popular family card games, with rules easy enough for kids, but challenges and excitement enough for all ages. In this assignment, we will program a simplified version of …

Member Avatar for Ezzaral
0
544
Member Avatar for sumitrapaul123

Hi, I am new to c# windows application. I have added a listview programatically to c# win form. I want to add a listview row (editable row) dynamically on click of Add button so that user can type new items and save it. Please see the code which adds a …

Member Avatar for tinstaafl
0
3K
Member Avatar for himanshu00493
Member Avatar for ddanbe
0
40
Member Avatar for austian88

Hi I am currently learning C# with Visual C# 2010 express edition. i am having problem with compiling a whole bunch of files of a project(a project consisting 3 cs files) as f5/ctrl f5 seems faded. I can't add "add existing project" on solution explorer cause it shows empty folder …

Member Avatar for austian88
0
219
Member Avatar for Jacobah

Hi I try to convert ppt to video:; i know that CreateVideo is part of presentation. but, when i try this i have this error: Inline Code Example Here Looks like createvideo is not part of presentation. Microsoft.Office.Interop.PowerPoint.Application pptApplication = new Microsoft.Office.Interop.PowerPoint.Application(); Microsoft.Office.Interop.PowerPoint.Slides slides; Microsoft.Office.Interop.PowerPoint._Slide slide; Microsoft.Office.Interop.PowerPoint.TextRange objText; // Create …

Member Avatar for Jacobah
0
1K
Member Avatar for riahc3
Member Avatar for murtazamzk

[CODE]#include <stdlib.h> #include <stdio.h> #include<conio.h> void main() { int ch; clrscr(); printf("\n\n~~~~~~~~~~~~~~~~~SHUTDOWN MENU~~~~~~~~~~~~~~~~~~~\n"); printf("1.Shutdown\n2.Restart\n3.Logoff\n4.Hibernate\n5.exit"); printf("\nEnter choice : "); scanf("%d",&ch); switch(ch) { case 1:system("shutdown -s"); break; case 2:system("shutdown -r"); break; case 3:system("shutdown -l"); break; case 4:system("shutdown -h"); break; case 5:exit(1); break; default:printf("Invalid choice"); } getch(); }[/CODE]

Member Avatar for deceptikon
1
467
Member Avatar for abzy1991

So, I have created a website application using Visual Studio 2010, C#. I have to create a test plan document. I am not understanding the unit testing. I understand i have to perform a white box testing. White box testing will test the flow of input and output of the …

Member Avatar for LastMitch
0
216
Member Avatar for nik701a

Hello ! I've been building a simple designer which accepts source code in c and parses c keywords to display appropriate symbols. I've finished designing all the shapes. I've got a textbox to accept input. I would like to parse the entered c code. How would I parse a C …

Member Avatar for ddanbe
0
1K
Member Avatar for 123mehran
Member Avatar for ftangpos
-1
183
Member Avatar for ConfusedLearner

I am getting an error saying function does not take 2 arugment. Dont know how to fix this. Please help. #include <iostream> #include <cmath> using namespace std; void set_sides(int,int,int&); int main() { int Area, Volume; cout << "Surface Area and Volume of a Cubic Prism. " << endl << "Please …

Member Avatar for NathanOliver
0
217
Member Avatar for somjit{}

recently , iv started using both Visual Studio 2010 (to learn C#) and i came across eclipse WindowsBuilder ( and i'm loving it.. ). so i was wondering how do these two compare against each other ... strengths and weaknesses ? iv only begun using VS , but i do …

Member Avatar for gusano79
0
223
Member Avatar for TheNewbie1234

I made an object-oriented maze game. It compiles but I can't move the character around in the maze. Please help me out, thank you. Person.h file: #include <windows.h> #include <process.h> #pragma once class Person { private: int m_X; int m_Y; public: WORD Color; Person(); ~Person(); void DrawASCIICharacter(int x, int y, …

Member Avatar for Schol-R-LEA
1
1K
Member Avatar for s11086050

You have been hired by a school management to design a software program which will act as a Math Tutor for the students. The following are basic guidelines as to how the program should function. “Two unique random numbers in the range 0 to 99 are to be generated each …

Member Avatar for tinstaafl
0
103
Member Avatar for ירון

Any one know where i can find informtion how to draw wafer maps in C#? i have file with X & y cordinations and i want to draw wafer map.

Member Avatar for tinstaafl
0
63
Member Avatar for GaryWazHere

Hello, I'm trying to make my maze game object-oriented. The problem is my mazeArray. I'm a bit confused on how to use it correctly to draw out my maze. Map.h: #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <process.h> #include <cstdlib> #include <ctime> using namespace std; #pragma once class Map { …

Member Avatar for tinstaafl
0
495
Member Avatar for moataz_elghoul

Write a code by if statement that inputs five numbers and determines and displays the number of negative numbers input, the number of positive numbers input and the number of zeros input.

Member Avatar for rubberman
0
60
Member Avatar for ahmedmeg29

hello i want a simple code to convert image into an array (red green and blue) thank you

Member Avatar for ddanbe
0
129
Member Avatar for virusisfound

Hi.. I am trying to create question paper generator application in C# windows application with sql server as back end. Now I need your help to select the questions from database. Ex: User Selection like: Chapter selection from listbox then select 1 mark – 5 question 2 mark -3 questions …

Member Avatar for virusisfound
0
740
Member Avatar for darkocean

Whenever I want to delete row my excel file in c#. I have get error. I tried much much codes on the net but I can not solve my problem. Please solve my problem... Regards,

Member Avatar for santiagoivan.santana
0
9K
Member Avatar for _flori

-1 down vote favorite I have done this condition to control if the elements of the row of the slq table are equal with the elements of the row of mysql table after this if the condition is true I have to overwrite the elements of the mysql table. Please …

0
59
Member Avatar for nesa24casa

Hello, how can i split binary data in sections using Binary or Stream Reader/Writer? 115522330000000000552266968966458788220000115522330000000000453266869966458788220000115522330000000000552266968966458898350000 Example is above There are 3 sections in bin file and each start with same template/header 11552233 Thanks in advance

Member Avatar for ddanbe
0
68
Member Avatar for jamesly89

im pay $30 to some that can finsh this for me Project #1 and #2 Specifications You are required to design a calculator. This calculator reads commands from data files called CommandsProj1.dat and CommandsProj2.dat, which I will email to you. Your program should read the commands in sequential order, process …

Member Avatar for <M/>
-3
213
Member Avatar for marykate02

Hello! I'm currently doing a registration form in asp.net with 3 layered development. I want to know what are the codes for search button. I want it to display results in the data grid view when i input the primary key. Thank you :)

Member Avatar for geniusvishal
0
620
Member Avatar for Sadun89

Hi friend, I’m very new to C# and I need some important help from you. That is, I wanna store value inside of array or array list that are inserted form text boxes. Finally I need to get sum of that stored value. How I need to do this. Do …

Member Avatar for Sadun89
0
277
Member Avatar for modarbz
Member Avatar for DeanMSands3
-3
161
Member Avatar for annefr

Hello I am working on this project and I am having great difficulties could anybody help me please ??

Member Avatar for annaharris
0
79
Member Avatar for ConfusedLearner

For some reason my program is not working and dont know how to solve this problem. In line 15 the "users" is underline in red and will not run. Please help. #include <iostream> #include <cmath> #include <iomanip> #include <string> #include <fstream> #include <C:\Users\N.\Desktop\Popcorn\Popcorn\JJ.cpp> using namespace std; int main() { fstream …

Member Avatar for Schol-R-LEA
0
166
Member Avatar for _flori

Please could you give an idea how to do this exercise. I have to create a function in c# that reads data form a table in sql server and write this data in 2 tables in mysql. The function has to control if the dates in sql server are already …

Member Avatar for ddanbe
0
261
Member Avatar for Marvels

I'm pretty new at making a windows application (ASP background). I have successfully developed a small WinForm application that does nothing fancy. It runs fine it debug mode and operates as expected. I build the solution and is produces the executable in my release folder bin\release. I can then run …

Member Avatar for ddanbe
0
212
Member Avatar for cthajeb

Hi, I am writing a sudoku solver program that uses recursion to solve all the empty cells. However, I have no idea why my function did not do anything. I read in my puzzle as double char array and convert it to double int array. My output is : 900020750 …

0
293
Member Avatar for boris90

Hi! Below is a part of my code, and whenever I this part of code starts executing, an error ocurrs! I get this error: [click here to get a error screenshot](http://i.stack.imgur.com/loBcH.png) whenever I add the *ios:app* parameter after the *userScore.csv* part, except that my file isn't QueryLanguage.Lib.dll, but rather something …

Member Avatar for boris90
0
441
Member Avatar for freelancelote

Hi, just wondering... is there a site offering some sort of c++ programming mentoring? Something like: make this programme... how would you do it? and then people writing code for it. Would that be a feature for DANIWEB?

Member Avatar for Lynqu2
0
147
Member Avatar for IT_Techno

hi i have write this code for upload pdf to Sql DB : private void uploadPDFFiles() { string filetype; string filename; filename = uploadFilesLinkTextBox.Text.Substring(Convert.ToInt32(uploadFilesLinkTextBox.Text.LastIndexOf("\\")) + 1, uploadFilesLinkTextBox.Text.Length - (Convert.ToInt32(uploadFilesLinkTextBox.Text.LastIndexOf("\\")) + 1)); filetype = uploadFilesLinkTextBox.Text.Substring(Convert.ToInt32(uploadFilesLinkTextBox.Text.LastIndexOf(".")) + 1, uploadFilesLinkTextBox.Text.Length - (Convert.ToInt32(uploadFilesLinkTextBox.Text.LastIndexOf(".")) + 1)); MessageBox.Show(filename + " " + filetype); //Validate user upload …

Member Avatar for IT_Techno
0
4K
Member Avatar for MasterHacker110

I am trying to do something like this: public Boolean CheckLogin(String accNumber, String pin) { String checkAccNumber; String checkPin; String line; String[] splitedLine; StreamReader sr = new StreamReader(FILE); while (line = sr.ReadLine()) { splitedLine = line.Split(' '); checkAccNumber = splitedLine[0]; checkPin = splitedLine[1]; if ((checkAccNumber == accNumber) && (checkPin == …

Member Avatar for MasterHacker110
0
342
Member Avatar for Sammys.Man

hi guys, i have a piece of code i wrote in VB (login system) and it works great, but i want to have the same code in C# but i can't seem to get it to convert, does anyone know how to do this? many thnaks

Member Avatar for Sammys.Man
0
148
Member Avatar for hassan12345

hi friends i have made 1 application in c#,,,,,,,,,,,,,,,it has lot of loop so when it are doing process in loop my window application form hang and dumb so i cant access any button of form ???????????????????????? how can i solve it ???????????????????????????????????? Thanks in Advance

Member Avatar for sumoncse05
0
1K
Member Avatar for silvercats
Member Avatar for MasterHacker110

I have this xml file <?xml version="1.0"?> <xml> <accounts> <user name="User123" cellphone="000000000123" email="n/a" balance="123.12" pin="123" accNumber="123"/> <user name="User456" cellphone="000000000456" email="445@email.com" balance="456.45" pin="456" accNumber="456"/> </accounts> </xml This file is part of an ATM's database, containing the user's details. I would like to change a spesific value. Say "User123" is login at …

Member Avatar for tinstaafl
0
2K
Member Avatar for chocolatte.lavista

excuse me, can somebody help me to make a simple program that combine an array,function and pointer.. please... i'm already confuse about C++. please... thank you!

Member Avatar for Schol-R-LEA
0
127
Member Avatar for poopoowei

TASK 1 Your first task is to create a Makefile for a project. A project has been provided to you in the compressed file CSCI124-Lab3.zip. In this file you will find numerous headers and source files. You can ignore the fact the program is implemented using classes. The program once …

Member Avatar for NathanOliver
0
227
Member Avatar for 9540252887

I need to develop a multi level marketing application in C# ,i am not able to calculate commission dynamically for all member's from database.mainly i want to calculate total child's or left and right child's for parent retrieved from database. i have used two loop kind of recursion for getting …

Member Avatar for Ketsuekiame
0
502
Member Avatar for saurabh.mehta.33234

#include<stdio.h> int i=5; main() { int i=6; { int i=7; printf("%d",i); } printf("%d",i); } Why does the above code doesnot give a variable redifinition error..Although the variable i is defined outside of block also??

Member Avatar for Moschops
-1
110
Member Avatar for KushMishra

Hello All, I intend to develope a console application in C# in which there should be 3 functionalities :- 1. Open Wordpad.exe and automatically type something. 2. Save the updated document. 3. Close the Wordpad with changes saved. Kindly guide me if anyone has some ideas. I have managed to …

Member Avatar for tinstaafl
1
535
Member Avatar for MrTang

Our assignment was to write a tic-tac-toe program for my programming class. It is person vs. computer and the computer makes "random" moves, even if computer is going to lose they will choose a random place to put their x or o it is all correct, now what I have …

Member Avatar for Nayana sharma
0
3K
Member Avatar for Dark_Omen

Hello everyone, I was wondering if anyone could tell me how to connect and query sql databases in c#. Thanks in advance

Member Avatar for Momerath
0
3K
Member Avatar for finston

I have compiled and linked my code written in C and C++ and calling certain Windows APIs to a Win32 .dll using MinGW in Code::Blocks runnings on Windows XP. My code has also been compiled to and linked to create a Win32 .exe, which works successfully whilst communicating serially from …

Member Avatar for Ketsuekiame
0
239
Member Avatar for SQLpower

Hello, I have a datagridview, where I can edit only 1 field, howerver, I cannot type "4,556" because I restricted it to only number, and if I type 0345, or "0,345" it will just save it as 345. `<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("AMOUNT") %>' BackColor = "#FF960C" MaxLength="4" onChange="intOnly(this);" onKeyUp="intOnly(this);" …

Member Avatar for SQLpower
0
297
Member Avatar for istore221

Okey pros i have a small question.assume that below sinario where i have a Two tables called Organizatioin and Organization_Members (One organization can have many members 1 to Meny) **Organizatioin** Organization_ID - PK Organization_Name Tel **Organization_Members** Member_ID - PK Organization_ID - FK First_Name Last_Name Tel I recently developed a system …

Member Avatar for Ketsuekiame
0
210

The End.