8,298 Topics

Member Avatar for
Member Avatar for naazsayed

Hi, i am trying to build Employee Attendance system and was successful in assigning TAGS to employees.now i want to calculate in/out timings of employees and which TAG swapped His/Her TAG without displaying any data to end user. i had tried basic sql query but seems to be not working. …

Member Avatar for rproffitt
0
327
Member Avatar for Kittipat
Member Avatar for Anel_1

**A newbie would appreciate if someone could give him a pseudocode or any kind of explanation for the part of the code where the actual algorithm for matrix determinant is written.** using System; namespace Determinant { class Program { public static double DET(int n, double[,] Mat) { double d = …

Member Avatar for Anel_1
0
6K
Member Avatar for jan1024188

Most common quiestion is: [quote]Is there any C++ GUI API?[/quote] My answer is MANY. There are many API's for making GUI applications. Here are some. [B] 1. WinAPI: (C based)(MFC is C++ based)[/B] [I]Its a great API and the best solution if you are windows programmer. First code will look …

Member Avatar for sreenivasula
1
110K
Member Avatar for Shereen_1

Write a C++ program that inputs the number of students in a class and the number of tests and the grades of the tests conducted by each student, then it calculates the average of the student and outputs related information as given below. The Average of a student is calculated …

Member Avatar for JamesCherrill
0
333
Member Avatar for naazsayed

HI , There are TWO Excel Files in my Program which I am trying to upload to a FTP server and then later Download it and its getting uploaded and downloaded with no error but when i try to open the file i get error message its corrupted or not …

Member Avatar for naazsayed
0
1K
Member Avatar for Twee Nguyen

I would like to show data in a table in SQL server database to Gridview in ASP.NET project, but the gridview shows nothing. Could you please help me to find where is the problem, and how to fix it. Thanks Here is my code: protected void Page_Load(object sender, EventArgs e) …

Member Avatar for ddanbe
0
378
Member Avatar for Karl_6

A community college requires students to finish at least 72 credit hours and have a GPA of 2.0 or above in order to graduate. Create a C# console application to do the following. Ask how many credit hours a student has finished and what GPA this student has. Use only …

Member Avatar for tinstaafl
0
578
Member Avatar for Saif_7
Member Avatar for Raman_6

Need some help. I have the below hardware details. attached Intel Core i7-3770 @ 3.40GHz 4 Cores 8 Logical Ivy Bridge-DT 4 x (32 + 32 + 256) + 8M Cache Features enabled MMX SSE SSE-2 SSE-3 SSSE-3 SSE4.1 SSE4.2 AVX DEP VMX SMX SMEP EM64T EIST TM1 TM2 HTT …

Member Avatar for rubberman
0
326
Member Avatar for mpdph09

I am not expert. I am trying to delete the files from the directory at button click. I have windows application which have folders populated in combobox1 and files populated in combobox2. I need to delete the selected folder from combobox1 and files within the folder. I am getting error …

Member Avatar for rproffitt
0
5K
Member Avatar for Valentine_1

Elevator Logic 1. You are an elevator control systems engineer for ElevatorCorp Pty (Ltd) 2. You have been receiving complaints from a specific customer about the performance of your elevators 3. They have 5 elevators installed that have to service 10 floors 4. There are 1500 people working in the …

Member Avatar for Reverend Jim
0
586
Member Avatar for PulsarScript

Hi everyone .I am looking for some nice c# project,-free source on which i can apply unit tests,rhino mocks,stubs.Can you sugest any source to get the project,i need to practice on tests.Thanks

0
147
Member Avatar for Lusiphur

As it seems to come up often enough I figured I'd throw together a quick snippet outlining basic methods for data manipulation in SQL Server using C#. In all examples the coder will need to substitute their own connection string details and variables. I utilised parameters for 3 of the …

Member Avatar for sarvesh_3
2
21K
Member Avatar for Krunal_3

Hello, I want to implement ACH - NACHA payment in C#. I have googled but no luck. is there any reference link/tutorial/ source code there? Thanks, Krunal

Member Avatar for JamesCherrill
0
95
Member Avatar for PulsarScript

Hi,i have a code like this : using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ClassLibraryMoq { public class Class1 { public interface ISendr { string send(); } public class smsSender : ISendr { public string send() { return "SMS send"; } } public class emailSender : …

0
138
Member Avatar for _1_14

How to encoded personal image and generate qr code for personal image ? I work in visual studio 2015 using c# windows form application . I need to encode personal image to qr code . Meaning when i select personal image then click to generate it will generate qr code …

Member Avatar for tinstaafl
0
490
Member Avatar for shalu_1

HELLO, i have an project(c++) on quiz(menu based) and im in 11(cbse) i would like to have the source code with the following 1.admin menu 1.1add more ques 1.2 remove a ques 1.3 modify the ques 1.4 search for a ques 1.5 return to main menu 2.user menu 2.1 instructions …

Member Avatar for ddanbe
-1
380
Member Avatar for Siva_13

Hi friends once I completed C programme in Turbo C , I can see zero errors and zero warnings . But when I suppose to go for output Iam getting note : turbo c IDLE for Windows 7\vista by AKKI. What's this meant ? And how can I get out …

Member Avatar for ddanbe
0
284
Member Avatar for moom

good evening everyone im in a mood that would let me make a Periodic Table for kids ,so each button is going to have the name of the elements and when you click on one of them you would have a form that contain the detelis of this element , …

Member Avatar for rproffitt
0
809
Member Avatar for AssertNull

OK, so HostGator for some reason no longer allows gcc/g++ access unless you have a Designated Server account, which is a lot of money to spend just to compile my "Hello World" program. Thus I figured I'd compile at home, then upload. Program is your regular old bare-bones Hello World …

Member Avatar for AssertNull
0
2K
Member Avatar for Lukas_2

Hey, so I wanna ask how I need to create a method who will remove word if in that word is 2 same chars. Example: "Potato" in this word there is a 2 "o" chars so this word will need to be removed. "Forum" in this word there is no …

Member Avatar for tinstaafl
0
477
Member Avatar for naik.pranjal
Member Avatar for Varun_8
-1
880
Member Avatar for poifull

Hi, I need to draw lines on a web application using Visual Studio 2008 C#. But i could only find drawing lines on a windows application. :sad: Can i convert the codes from windows application to a web application? Below is the code for windows application. I need guidances. Thanks! …

Member Avatar for pritaeas
0
1K
Member Avatar for sidyusuf

Hi Friends, I have a numbervalidation method that validate phone no textbox. What i need is i have different windows forms, so where can i define this method so that i can access it on different forms globally. Like in VB.NET we have Modules, is their something in C#.NET too. …

Member Avatar for ddanbe
0
831
Member Avatar for BobRoss

Hello, I'm writing a simple shift cipher which reads from plain.txt, encrypts, and writes to cipher.txt. It works, but only for small plain text lines of a couple of words or so. If the plain text lines are long, then the program does not respond (freezes). Any help would be …

Member Avatar for happygeek
0
1K
Member Avatar for Alex_59

Hello Everyone, I have an assignment i am doing and user can select and artist and the amount of tickets per artist but i am unsure how to make it so when i click a seat i can only click the amount of seats i purchased in the previous screen. …

Member Avatar for ddanbe
0
317
Member Avatar for John_133

I am wondering if there would be any chance that someone could help me out with this, I am trying to teach myself c++ which i find it really interesting and I came accross this and would love to see how it works so i could do it and learn …

Member Avatar for ddanbe
0
280
Member Avatar for Avishai_1

I am getting difficulty to work out this question,can someone work out this program for me. Write a program that organise reservation for a show with the show hall having 5 rows of seats and 9 seats per row. The rows are numbered from ‘A’ to ‘E’ (back to front) …

Member Avatar for tinstaafl
-1
246
Member Avatar for bhavna_816

I have created an aplication in C# windows application version 1.1 to display some records in a datagrid. The datasource of the datagrid is datatable and not any database.I want tht when we edit any cell of a particular column and press "Enter" it should show a Message Box let's …

Member Avatar for Reverend Jim
0
4K
Member Avatar for Yasir_7

how to create a simple calculator for addition, subtraction, multiplication,division and factorial using switch...case statement in C++ programm

Member Avatar for rproffitt
0
146
Member Avatar for bincy_2050

Hi, I am developing a website. I have a folder containing some images. Please somebody help me with the code so that the users can download the folder when they click on the download button. Bincy

Member Avatar for sai_10
0
10K
Member Avatar for Usman_10
Member Avatar for tinstaafl
0
98
Member Avatar for sonupari

Dear sir I have numerictext box, it has value like this 6,787,564.00 I want to replace last digit 4 with 8. To do this, when I press Backspace then cursor moves to the beginning of textbox immediately. How to overcome this? please help

Member Avatar for ddanbe
0
84
Member Avatar for Mohammed_32

Hi Everyone, i am new to programming, i am working on a C# windows form application and used sql 2008 for database and crystal report too. now i want to create setup file including database and crystal report too. so how can i do this, please help me too achieve …

Member Avatar for rproffitt
0
210
Member Avatar for Devon_3

This is my xml parsor class: public class DataHandler { static XmlSerializer serializer; public static void Initialize() { serializer = new XmlSerializer( typeof( dataset ) ); serializer.UnknownNode += new XmlNodeEventHandler( serializer_UnknownNode ); serializer.UnknownAttribute += new XmlAttributeEventHandler( serializer_UnknownAttribute ); } public static void ReadXML( string filename ) { FileStream fs = …

Member Avatar for tinstaafl
0
942
Member Avatar for Jose_12

show slow textbox array ie display the item and wait a few seconds to display the following c # , its gonna be like a process roundd 1 //wait a few seconds to dislplay another line for (i = 1; i <= r; i++) { label3.Text += ("round " + …

Member Avatar for ddanbe
0
321
Member Avatar for Ali_60
Member Avatar for happygeek
0
125
Member Avatar for Luis_6

I'm having a lot of issues wring codes in C++ specialy when 3 files are required (.h, .cpp and main.cpp). Very different to C that it was very easy for me but not now with C++. I nee to write a program to do the following: Create 3 files for …

Member Avatar for ddanbe
0
662
Member Avatar for TĦɇ Ãðît

#include<iostream.h> #include<conio.h> class twonum { private : int x,y; public: void getvalues() { cout<<"enter any two numbers"; cin>>x>>y; } void putvalues() { cout<<"\n\n"<<x<<","<<y; } int add(int x,int y) { return(x+y); } int multiply(int x,int y) { return(x*y); } void swap(int x,int y) { int c; c=x; x=y; y=c; cout<<x<<","<<y; }; …

Member Avatar for tinstaafl
0
304
Member Avatar for V3N0M

Hi guys after fixing my previous bug this one has resulted. What I am trying to do: 1. Make getchar() read only one character per input 2. Make the while loop not accept numbers 3. When the user enters duplicate characters the program should only accept the first character. code: …

Member Avatar for V3N0M
0
323
Member Avatar for Masood_3

Hi guys i am busy developing a chat zone but currently it works if users are connected to the same network but how do i make it not run on the same network? and i developed it using c#.

Member Avatar for rproffitt
0
76
Member Avatar for Callum_3

So I'm reading from a text file, that contains numbers, but i can only read as string, how can i contain it as int? string[] lines = File.ReadAllLines("C:\\Users\\Temp\\Desktop\\WriteLines.txt"); for (int i = 0; i < lines.Length; i++) { Console.WriteLine(lines[i]); }

Member Avatar for Callum_3
0
125
Member Avatar for Jim_11

I am doing an application in c# and in my application I am opening some exe file like MS word, calculator so when I open the application and then I hide it I would like to create a sort of shortcut in the app so that when I click on …

Member Avatar for ddanbe
0
446
Member Avatar for V3N0M

Hi guys I am looking to go through C then transition to C++ later this year. I am having a minor problem with switch statement and I am not in a position to ask anyone as there are no tech savvy that I know. So I thought it was better …

Member Avatar for V3N0M
0
338
Member Avatar for badkid32

I'm trying to write a basic program for a C++ lab for class, and running into some trouble. Senario is that the program averages grades. A user enters the number of grades, then enteres a letter grade, then the program runs for however many grades the user has, then averages …

Member Avatar for Xavier_3
0
11K
Member Avatar for Trle94

Hello everyone. So I've been working on an small tool, that is using httpwebrequests, its not a bad so far I've got login function and list view loading data from site. But problem is now cookie container so i can do other things than just loading, like editing data. Uri …

Member Avatar for pritaeas
0
233
Member Avatar for Usman_10

inheritance error is::Error 1 Inconsistent accessibility: base class 'person' is less accessible than class 'employee' using System; using System.Collections.Generic; using System.Linq; using System.Text; //person class public class person { public string name; public double CNIC_no; public void Information() { Console.WriteLine("Enter your name"); name = Console.ReadLine(); Console.WriteLine("Enter your id"); CNIC_no =double.Parse( …

Member Avatar for pritaeas
0
251
Member Avatar for FakeTales

Hey i have a basic game which requires a client to guess the number which is located on the server side, mutliple clients can access the same game. The client sends their guess this in turn passes to a middleware server then this then goes to the end server. If …

Member Avatar for Arman_5
0
531
Member Avatar for Andrew_33

I am looking for a Backend as a Service (hosted solution) that provides a free starter plan. Firebase provides the ideal features I am looking for however it appears they have no C# client that supports their authentication system or any Python client at all. (Correct me if I am …

Member Avatar for rproffitt
0
234

The End.