8,298 Topics
![]() | |
How to do p.o.s system that need enter a switch statement on c++ | |
I have a asp.net page with the following on the page: [CODE]<asp:FileUpLoad id="FileUpLoad1" runat="server" /><br />[/CODE] but i need to get the pathname in that textbox to use with a stored procedure. Now the only thing i can get is the filename (not the path). Any ideas? This is my … | |
Are there any good tutorials c programming with mysql? I only found one promising link, unfortunately they neglect to to show what is in their header files which doesn't help very much. http://zetcode.com/db/mysqlc/ | |
Is there a function in c# that returns x times of given char or string. Or I must code it? Thank you Saanvi sharma | |
Write a C++ program that takes in text from the user and prints the total Number of spaces used in the text. Kindly, use #include<iostream> and #include<conio.h> only. while loop is more preferable than for or do-while. | |
Hello everyone! I am working on a project. I got datas from a HID device which are 128 bit and want to show them as a bitmap image. I draw an image with just one line. But want to display 64 of those datas and always add new line and … | |
I was making this score calculator to take user input so they can add as many numbers as they want, entering the score works fine and so does adding, displaying the score total, displaying the score count, displaying the average, the last thing I have to do is find the … | |
I'm trying to code this in C# so it will output the values for each element in XML. Sample XML: <APIVersion>4.0</APIVersion> <PackageTrackingInfo> <TrackingNumber>123456789</TrackingNumber> <PackageDestinationLocation> <City>Seattle</City> <StateProvince>WA</StateProvince> <PostalCode>98107</PostalCode> <CountryCode>US</CountryCode> </PackageDestinationLocation> <PackageDeliveryDate> <ScheduledDeliveryDate>2004-09-15</ScheduledDeliveryDate> <ReScheduledDeliveryDate>2004-09-18</ReScheduledDeliveryDate> </PackageDeliveryDate> <TrackingEventHistory> <TrackingEventDetail> <EventStatus>LK</EventStatus> <EventReason>AQ</EventReason> <EventDateTime>2004-08-22T11:00:00- 08:00</EventDateTime> <EventLocation> <City>SEATTLE</City> <StateProvince>WA</StateProvince> <PostalCode>98107</PostalCode> <CountryCode>US</CountryCode> </EventLocation> <SignedForByName>JOHN GALT</SignedForByName> </TrackingEventDetail> </PackageTrackingInfo> Here … | |
If their is anyone who can help me I'm having a problem in my score calculator in which it's suppose to calculate the user input of as many numbers they wish giving the score total, score count, and score average but when the user enters the numbers they wish to … | |
I wrote an application using pthreads which had 5 threads. 4 of the threads filled up 4 buffers and once they had been filled the main thread would be combine these together. This was achieve using barrier so the main thread would wait until the 4 worker threads had reached … | |
Greetings Everyone, I need help to plot two graphics (of a different style (thumbnail and rectangular dot) in parallel using same data on an image. This GUI program executes in the following way: 1. Reads text file contains the data points which have to be plotted. 2. The program uses … | |
![]() | cant upload code |
Dear Friends, please check my code , i want to uptade data with pressing A+ctrl ... but it dose nto work?cord is bellow... protected override void OnKeyDown(KeyEventArgs e) { base.OnKeyDown(e); if(e.KeyCode==Keys.A && e.Control) { try { scb = new SqlCommandBuilder(da); da.Update(dt); MessageBox.Show("Recode updated", "Update", MessageBoxButtons.OK, MessageBoxIcon.Information); Form2 f1 = new … | |
Please I have an autocomplete textbox which fetches value from a tabe in the database. But after i choose the name i want to get the id of the value selected and save it in the database. Am using mysql and c#. using (MySqlConnection con = new MySqlConnection(MyConString)) { connection.Open(); … | |
I have a IIS 7 web server that connects to a database. The server is accessible to the public. I am afraid that the database might be compromised. In this respect What security aspects do I need to pay attention to ? What do I need to harden this web … | |
C++ function that input any of 0-35 numbers, and if input from 0-9 the output are its specific number and if input 10-35 this is the output: 10=A; 11=B; 12=C; 13=D; 14=E; 15=F; 16=G; 17=H; 18=I; 19=J;...35=Z. If possible without using an array. | |
great C# Programmers! please help me, am developing a field farm software, i have 3 forms _form1_, _form2_, _form3_ _form1_ is just a welcome page then when you proceed to _form2_, its a data collection, where inputs are collected From textboxes(14 rows and 4 columns) and then multiplied at background … | |
Code Exercise – BIQ-001 Mr.X owns a small business in a region with poor law-and-order. Recently his warehouse has been plagued by thieves. Gangs of thieves raid over his warehouse from time to time, stealing his raw material, affecting his business. He has studied the occurrances and noticed it that … | |
i have a logical error in my code where by i will read data into my four textboxes from sql database and the textboxes will be filled but when i click on a textbox the data will appear in the metrogrid(from metro framework) but when clicking another textbox the data … | |
Hello Dear, i have problem to multiple two textboxs ,one is Decimal and second i didnt asign ..... Please check code.. private void textBox18_Leave(object sender, EventArgs e) { decimal first; decimal second; decimal re; var b1 = decimal.TryParse(textBox18.Text, out first); var b2 = decimal.TryParse(textBox13.Text, out second); if (b1 && b2) … | |
Hi All, i need to convert this Python code to C# .Tried Some online converters nothing Worked out so far.Please Help. import openpyxl from PIL import Image, ImageTk import Tkinter as tk import subprocess import time import os import RPi.GPIO as IO import sys import glob def Image_dis(img, delay): root … | |
Hello Dear Friends, I need some help to check avilidity of the username on Leave event of a textbox in Database SQL Server, but i cann't get. it code is bellow private void textBox6_Leave(object sender, EventArgs e) { cmd = new SqlCommand("SELECT * FROM usertab WHERE username='"+textBox6.text+"'",con); SqlDataAdapter da = … | |
I am developing c# window based application. I want to show alert notification for due date for every order . I am using xampp and sql database. MY Table contain - Bill no, Customer Name, Received date, Delivery date. Please help me . Thank you in advance . Example. It … | |
Hi, Currently writing a NFC program (Windows 7-->VC++ MFC ). The reader is connected via USB and when i run the exe, i manually select and connect the reader for the exe to work. my requirement is 1. In the code, identify the wireless network and if my particular reader … | |
1. Your program should read the input files by using Unix shell redirection (e.g. a.out<lab1.dat) to read the input from stdin (C). By using redirection, it is unnecessary to open and close the input file, nor should your program prompt for a file name. You should dynamically allocate tables for … | |
| |
I am currently trying to update a database using C# My issue is that the update query is not working, there is no error produced just reloads the screen and thats it. My C# is as follows void SaveRecords() { try { String qry = "Update Ordered_Test Set Ref_Phy = … | |
it means if user insert "n"(number of case) in textbox than click the "Next" button, in datagridview set to "n" number of rows. i don't know what code i use, please help me, please check attach file, thank you so much | |
Hi All, I would appreciate if someone could please answer to the following queries. 1. Difference between "new" and "new virtual" when deriving classes from other classes. 2. Difference between Abstarction and Encapsulation (with example, if possible). 3. Types of constructors and their implementations (when and how to use). 4. … | |
I work in visual studio 2015 windows form application and i need to print qr code by using c# How can i print qr code generation ? I generated using the following code : if (textBox1.Text =="") { MessageBox.Show("Please Enter Value ","Error"); textBox1.Focus(); } else { using (SaveFileDialog sv = … | |
Dear All, I need your asistance. I need to develop an application that takes input from text box into an array and calculcate the values (using Visual c++ GUI development). I really need yoru help. Thanks | |
In C++ we provide names for the entities we create, the variables, functions and types in our programs. These names, or identifiers, are required to conform to some simple rules. [b]Valid Characters [/b] An identifier must start with a letter and is comprised of a sequence of letters and digits. … | |
hi i am a beginner with c++. i have a csv file. i want to read particular set of values from a particular column. how can i do it. if possible kindly help me with some sample codes. thanks in advance | |
 hye everyone i have some problem with coding. The problem is i have two data which is need to be compared for matching item and there is some of the data have duplicates and i did not want to remove the duplications, the part of the data is … | |
Write a C++ program implementing the use of Object Oriented Programming that would simulate a supermarket cash register receipt. The program should start by displaying the Supermarket's Name and business motto ... for example BRODIES - SERVICE, VALUE , SATISFACTION. Then goes on to ask the user enter the customer … | |
Hi all, I got a problem reading Head First C#. I just want you to explain me one important matter. I have 4 interfaces (I showed it in the picture) and two classes. I have an exercise (I attached to my post). **I just don't know how to understand the … | |
Hi everyone! I need your assistance in creating a c# based web browser. I want to change the useragent string but i don't know how to. I'm a newbie, I'm curious and finding this interesting. There are few things I like to implement with this browser and i need your … | |
I have a DataGridView of 4-5 columns. The DataGridView is Editable. When I enter a value in the Reference Column then immediately it will fill the other values in the others cells from mysql database. But when I go to the next row and I want to add another value … | |
Consider the following C code snippet: char *sentence = NULL; strcpy(sentence, "Helloworld"); printf("%s", sentence); is the code segment correct or error. If correct what is the output? 1. Error 1. Helloworld 1. NuII,Helloworld 1. None of the above | |
I'm trying to write a Windows service in Visual Studio 2008. The service is supposed to update an Access database. I've created a Windows service project and added an Access database to the project. A data source has been created that contains all tables from the database. Now to my … | |
i want to search a record in a file and get its size in c++ and fstream, thanks in advance | |
I work in windows form in visual studio 2015 using c# Language And I need to generate data matrix to name and phone and address So that how to do that please using data matrix barcode 2d without using Commercial library Are there are any open source or free library … | |
Hey,Guys now I need to know How to run an SQL stored procedure from sql through C# at a specific time? Any help please? ... | |
I want to display only the current year in a textbox. How can i achieve that. Please help me. For Example i want to display 2017 in text i.e Current year. | |
I have been trying to write a program of c++ of function of array for summation of odd numbers could I please get help on how to do it? | |
[OH noo, please not that again!](https://www.youtube.com/watch?v=DvShTJKuy2w) Yeah, primes sigh. But they play a minor role here as a perfect victim to explain some other things. Would not advise to use the algorithm here to calculate them in real life. There are languages like Python, F#, Haskell etc. who have list … | |
hi i just wanna ask because the submission of my restaurant POS System will be tomorrow. it is a very hard time for me. here are the requirements: Restaurant POS (Point of Sale) System Create a basic Restaurant Point of Sale software using C-Language. Your restaurant must have at least … | |
Please, i need a teacher to help me out...i am at the intro stage and i was wondering if someone would walk me through this please..i would appreciate it. Mr. Clark employs students who are exempt from taxes and others who are not. Write a program that will calculate and … |
The End.