8,298 Topics

Member Avatar for
Member Avatar for noobprogrammerr

Hi, i would like to know to retrieve out the date and time from my database to show on the wcf test client and for eg, after choosing a certain date, how to do the coding in order for the events to show that's happening on the date i choose …

Member Avatar for noobprogrammerr
0
173
Member Avatar for thecoolman5

hi, I already know how to use setprecision but the function wont let the round go up past 16. [CODE]#include<iostream> #include<stdio.h> #include<math.h> #include<iomanip> using namespace std; int main () { double pi = 3.14159265358979323846264338327950288419716939937510; cout << setprecision(50) << pi << endl; system("pause"); } [/CODE] the output is just 3.1415926535897931 the …

Member Avatar for raptr_dflo
0
3K
Member Avatar for skootles

I have a C# program that I run on a Windows PC and a camera app running on a Windows CE6 terminal. The two are connected using Activesync 4.5. From the PC app, I want to be able to do the following. 1. Launch the terminal app 2. With the …

0
149
Member Avatar for Labdabeta
Member Avatar for JamesCherrill
0
363
Member Avatar for AndrewConroy

I started a programming course about a month ago, recently we started learning about using different code outside the main string and using them in order to pass data to each other I really got lost and didn't understand a word, wonder if anyone could help explain how it works, …

Member Avatar for Akill10
0
128
Member Avatar for pendo826

can anyone see why the status.health wont take away the 20 ???? [CODE]#include <iostream> #include <string> // To allow use of Strings. using namespace std; //char inventoryRequest = 'i'; //Function Definitions. void displayInventory(); void displayStats(); void statsObject(); void gameOver(); void stats(); void inventory(); void exitGame(); int playGame(); class status{ public://Access …

Member Avatar for pendo826
0
198
Member Avatar for minghags

Hello. I have to do an program that writes an scale from num 1 to num 2. I managed to do that writes out from 1 to given number. Can anyone help me do that I can insert an scale starting number? Code: [CODE]#include <iostream> using namespace std; void prime_num(int); …

Member Avatar for minghags
0
257
Member Avatar for pendo826

Hi need some help. I dont really know much about classes and objects and i dont understand tutorials and i want to make it that when a user picks up objects it will be added to an inventory that i have set up and also when the inentory is full …

0
64
Member Avatar for TylerVo

Is there a htm, html, or php code that I can add to a htm or html file on my website that runs a c# program when I visit it? I want to do this because I have a phone application that I want to run automatically when users visit …

Member Avatar for skatamatic
0
99
Member Avatar for ganil_22

Hi, I am new to C# and looking for the below helpful links, which contains 1. All the C# builtin classes and their description Example: string : to perform operations on string Convert : To convert from one type to another type 2. Tutorial on Visual studio development environment 2010 …

Member Avatar for Mitja Bonca
0
146
Member Avatar for moni.

Write a C++ program using DarkGDK with functions that asks the user for a positive integer no greater than 15. The program should then display a square on the screen using the character “X”. The number entered by the user will be the length of each side of the square. …

Member Avatar for moni.
0
100
Member Avatar for NargalaX

I've tried this in the past, but never got it to work. How would I set specific keys to run functions, whether I am on the current form or not? Thanks!

Member Avatar for Greatis
0
706
Member Avatar for compulove

I am trying to connect to a sql database and read from a table to determine if a username is valid upon a user entering in theirs. To just give you a background of the program: 1. The user needs to enter in their username and ID number. I already …

Member Avatar for Ketsuekiame
0
364
Member Avatar for deebi

I've planned to do my final year project on neighbor discovery in sensor networks... I wanna know if simulation of sensor nodes is possible in C# and .net? reply me ASAP. thnx in advance

0
97
Member Avatar for c++_fem

Hi, Is there a way to stop a function from returning a value if a condition evaluates to true. For example my function returns the sum of two integers. How can I stop it from returning anything if one of the integers is negative [CODE] Class C1 { ... public …

Member Avatar for c++_fem
0
234
Member Avatar for suliya

Hi Morning all, here I've code how to insert data into multiple tables in Sql Server using asp.net C# form but the data unable to enter ang got error, may anyone help fix it form me? because i've tried so many times already but still cannot, there is the code …

Member Avatar for nakor77
0
3K
Member Avatar for axa121

Hi I've been trying to code a bst based upon this link below: [url]http://www.stanford.edu/~blp/avl/libavl.html/BST_operations.c.txt[/url] I've adopted a similar strategy, whilst making some modifications, however for me I'm having a problem in that every time I go to add a new node to the bst, the root is always null, and …

Member Avatar for axa121
0
193
Member Avatar for Johnrocks

Hello, I want to put all my events in one class file and call them in a main window following is my code in mainwindow.xaml file [CODE] <Window x:Class="WPF123.MainWindow" xmlns:Local="clr-namespace:WPF123"> <Window.CommandBindings > <CommandBinding Command="Local:MyCommands.Print" Executed="PrintCommandHandler" CanExecute="CommandBinding_CanExecute" /> </Window.CommandBindings> ... <Button SmallImageSource="Images\Print.png" ToolTipTitle="Print" Command="Local:MyCommands.Print" /> </Window>[/CODE] mainwindow.xaml.cs [CODE] public MainWindow() { …

Member Avatar for Panathinaikos22
0
153
Member Avatar for 2aliraza

hi plz help me how to simple displaying 1 to 20 prime numbers with for loop plz help me

Member Avatar for 2aliraza
0
749
Member Avatar for Taximus

Hi everyone. I have a problem. I need to write a program where I can draw elements just by pressing the buttons on the form and I can do some operations with figures which I drew like (spin, delete, maximize/minimize). The task was given to me: use keys on keyboard …

Member Avatar for mazzica1
0
249
Member Avatar for minghags

Hello! Im writing a program that outputs some triangles and such. And I want to count the written *s. If anyone would help i would really appreciate it. Code: [CODE]#include <iostream> #include <string> using namespace std; int main() { char znak; znak = '*'; int st_vrst = 0; int ploscina_trikotnika, …

Member Avatar for WaltP
0
114
Member Avatar for bettybarnes

hi i'm a vb.net programmer trying to learn C# for now. Let me ask you about simple questions in C# How do you do this in C#? this is a vb.net code: [CODE] TextBox1.Text = 1 [/CODE]

Member Avatar for Mitja Bonca
0
187
Member Avatar for speak1

So I need to do this following program and I'm totally confused at the moment. Can someone please help me? Your help will be greatly appreciated. Objective: 1. Write a program that incorporates function modules 2. Use appropriate function declarations 3. Use function headers and write function procedure 4. Use …

Member Avatar for Zssffssz
0
465
Member Avatar for ChaseRLewis

So need to use C# to create this tool I want for a game. It will involve an interop between Excel and my own program so I can easily tweek values on some items in my program or through excel. So far it's going ok, but when I'm constructing the …

Member Avatar for charlybones
0
270
Member Avatar for Mirfath

Hi i am currently creating a login screen for my project.The logical error with this code is that it does not display the message "invalid password" although i have written a code for it.Can anyone please tell me whats wrong with this code.Thanks in advance [CODE]using System; using System.Collections.Generic; using …

Member Avatar for Mirfath
0
297
Member Avatar for srieja

is it possible to send data from remote object to the server in C# remoting using TCP channel???? Please reply thanking you in advance....................

Member Avatar for devloper
0
368
Member Avatar for nmohammed

As you know I am new to C# and am having trouble with some code that I am writing, thats why im posting here to get knowledge from you guys:) Well, i have a text box in which i will enter the usersID of the user (the userID is in …

Member Avatar for nmohammed
0
229
Member Avatar for Manorly

Hey guys! I'm taking a C# class this semester and I've been struggling extremely bad. It's like, I can't get my mind to think simply, everything I think, I over think. When I'm doing labs, I can break down what I want each thing to do bit by bit, but …

Member Avatar for ShadyTyrant
0
139
Member Avatar for geekman92

hi i am trying to make a program that whilst ingame (magicka if anyone is interested) reads what is pressed on the keyboard and the simulates a combination of keyboard key down and keyboar key up and mouse press. eg if i press NumPad0 it would simulate Key Press A, …

Member Avatar for cybereality
0
2K
Member Avatar for c#learner

Recently started basic programming in uni and I am struggling with c#. One of my lab questions was write a dice program, i will write the exact question below. Because of anxiety I cannot ask the lecturer for help in class so thats why I am here. I am unsure …

Member Avatar for bmc100
0
126
Member Avatar for compulove

I am writing a code that will login the user then one they are logged in they will enter in other information in textboxes. I wanted to know how to check that the username, password and ID match what is in a sql database. Also once it goes through how …

Member Avatar for compulove
0
4K
Member Avatar for glut

Hey, I need to make a function that returns an array. How would I do so? And how would I make a variable that gets all the values in that function? Thanks, you guys :)

Member Avatar for Moschops
0
219
Member Avatar for mcclainra

I've been given a basic form of programming to do. And I simply cannot figure it out. I know this topic has been covered several times before. But each of them going around the one crucial step that I need to complete my programming. My instructor insists that the 24 …

Member Avatar for mcclainra
0
2K
Member Avatar for ggreen33697

I'm having trouble writing a for loop that asks the user to input the number of seconds an object falls and the height it falls from. the program has to calculate the distance fallen for each second using the formula d=0.5*g*t2

Member Avatar for Clinton Portis
0
113
Member Avatar for VasquezPL

Hi guys, I have a small problem I am writing a program which adds informations about broken systems in my company. Customers are informed about new events (outages) via RSS (XML) channels. My program simply download xml from the web page and give a possibility to add new items (events) …

Member Avatar for VasquezPL
0
606
Member Avatar for clide890

Effective January 1st of each year, Gabriela receives a 5% raise on her previous year’s salary. She wants a program that calculates and displays the amount of her annual raises for the next three years. The program also should calculate and display her total salary for the three years. Annual …

Member Avatar for Fbody
0
360
Member Avatar for vatwindad

I am new to C# and am having trouble with some code that I am writing. Below is the code. I want the user to be able to enter a number between 10 and 50. Once the user does this, I want it to evaluate to Acceptable if it is …

Member Avatar for vatwindad
0
309
Member Avatar for DeathEater

hi, I've been working on a little program for my company for keeping the records of some members, it's basically a WinApp, but since the company has a website in which certain people visit and become members i was wondering if i could update my DB from the website, provided …

Member Avatar for DeathEater
0
110
Member Avatar for Karthik J

Hi all, Does anyone know how to convert raster images(bmp) to vector images using C#?. My task is to convert raster images(bmp) to list of vectors using C#. I surfed in the net, got many open source tools which does the job, but my constraint is not to use any …

Member Avatar for VIeditorlover
0
2K
Member Avatar for jonnyboy12

Hello. I am i'm recently taking off in building a game. The problem at the moment, is that i fear i'm programming to much! I wouldn't know this because i'm new to c++, but how much code is too much for a modern processor? In my engines render loop i …

Member Avatar for sundip
0
301
Member Avatar for clide890

Hello, I've been having problem with this problem since yesterday and i just recently started C++, so please don't judge. I have very confused to what the question is asking and how the C++ program will look like. Effective January 1st of each year, Gabriela receives a 5% raise on …

Member Avatar for WaltP
0
217
Member Avatar for HackRabbyt

Hello, I was wondering if I could get a little guidance regarding an error I keep running into on this assignment. I'm not necessarily looking for any answers as I'd like to complete as much of the assignment myself as possible. However, I've been beating my head against a brick …

Member Avatar for HackRabbyt
0
117
Member Avatar for glut

Hey, I need to make a function that returns an array. How would I do so? And how would I make a variable that gets all the values in that function? Thanks, you guys :)

Member Avatar for sergent
0
277
Member Avatar for RoBb0

Hey all, For my project I have decided to create a web app for a bus tracking system using ASP.NET/C# and SQL Server. The reason for doing it in ASP.NET is because I'm much better at it compared to writing PHP and Javascript code. For one part of my app …

0
45
Member Avatar for techyworld

Write a program containing a function that takes 2 integer parameters x and y and returns the value of x2 + y2. The main program should then allow the input of two integer values a and b and display the value of a2+b2. Can someone help me?am having this error: …

Member Avatar for techyworld
0
112
Member Avatar for ryan.khan06

I'm new to deployment of an application in C#, especially im running on a 64 bit OS. When i entered Visual Studio, i configured my application to run in 32bit, what happened was, it created a folder in the debug folder and it's name is "x86". When i checked it …

Member Avatar for Panathinaikos22
0
208
Member Avatar for zainemma

I am building a real estate website and I am getting a following error: aapkaghar2.UserLevelsdal_base+UserLevelsDataException: Object reference not set to an instance of an object. U can visit [url]www.aapkaghar.in[/url] for more error details When I run this same on my local pc, it runs fine, without errors. Please help me.

Member Avatar for hericles
0
135
Member Avatar for cdudefire

Does anyone know any good websites that offer programming tutorials. Maybe similar to Kahn Academy, with videos and exercises.

Member Avatar for andrewll2
0
80
Member Avatar for glut

Here's my error. "[B]System.NotSupportedException[/B]" I have some problems with the StreamReader class. I have a textbox, and with the textbox, the text is the files location. I have tried with a pattern('@'), and with using the double slash character, and NOTHING has worked. Here is my function [CODE] static string …

Member Avatar for Mitja Bonca
0
175
Member Avatar for nssltd

Okay hi, Firstly i have a border less which i need as i have my own custom 'skin' which looks like this and is found here.[URL="http://i51.tinypic.com/2i77o94.png"]http://i51.tinypic.com/2i77o94.png[/URL] As you can see it has no drop shadow at all. What i want to achieve is for it to have a drop shadow …

Member Avatar for Mitja Bonca
0
5K

The End.