199,112 Archived Topics
Remove Filter ![]() | |
send me a program to create an account in bank in C# and other program for withdrawl of money and dispaly the remaining balance plzzz. | |
namespace Project { public partial class Chapter_Login : Form { public Chapter_Login() { InitializeComponent(); } private void btnLogin_Click(object sender, EventArgs e) { StreamReader Chapter = new StreamReader("Chapters.txt"); Chapter.ReadLine(); string[] lines = System.IO.File.ReadAllLines("Chapters.txt"); for(int i =0; i < lines.Length-1;i++) { foreach (string line in lines) { int ID = line.IndexOf("-"); int … | |
consider the following code afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } i expected `12` as the output but its wrong and correct one is `10` . But i don't know how this is done internally ? i was wondering if somebody could … | |
Hello. How can I make a button transparent? I know i can select color Transparent, but that takes the background color, and i want to be transparent all because i have a video behind it. What can i do? :o3 I have a video and there is some buttons which … | |
Hello, Other people try to access my xampp web through my ip address in my private network but unable to do so. How to make it work? I already try to reinstall my xampp yet it still does not work. Is there any specific way to make it work? Thanks … | |
Hey guys, still working on creating some sort of shopping basket and have decided to try using session cookies. I can populate the cookie with at least 1 entry, but either can't seem to convert string <> arraylist correctly or am working with cookies incorrectly. I'm using asp.net/c# and am … | |
I need to find out how to cut text and insert text into a textfile.....I know about StreamReader and StreamWriter but i dont think any of these will do unless theres some method in the class that I dont know about. I want to be able for example read from … | |
Good Afternoon. I am using ms VWD 2010 Express with vb.net 2010. I have an Access 2007 database with a table called Members. Members has 10 columns. The primary key is HouseNumber & StreetName. The problem is using Parameters in the Sql Update command. I use parameters to read the … | |
I have a form with a richtextbox (my chat box) and two textboxes (one for message one for username) now I need to understand how I can send a message from the one textbox to the richtextbox while other users who is also logged on also gets the message. I … | |
I need to remove the spaces and punctuation from the original string and the reverse string, then put the letters only into temp strings for comparision. When I run the output as it is now, I get 0000 for the temp strings. How do I fix this? Everything else is … | |
I'm trying to write a program than can take two audio files (e.g. WAV) as inputs, compare them, and spit out a number that tells you how similar the audio files are. If someone has done something like this, know how to go about doing it, or just have some … | |
Is anybody developing an Android App for DaniWeb? If nobody is, I'm planning on doing so, and if someone wants to participate, you'll be welcome. If someone is developing, and wants help, I'd like to participate. Cheers. Ps.: I was not sure if I should post this here or in … | |
hey guys, so i get the "c incompatible types in assignment" error in the malloc line. would someone please explain where i went wrong? Thank you in advance. #include <stdio.h> #include <stdlib.h> struct the_struct { char FirstName[20]; char LastName[32]; int Score[20]; }; int main () { int i,n; struct the_struct … | |
Hi, I'm getting an error that says my defined constant is not a function. It's not supposed to be a function. This is the error... Tick.c:389:35: error: called object '200000000ul' is not a function It points to... #define TICKS_PER_SECOND ((GetPeripheralClock()+128ull)/256ull) GetPeripheralClock has the error. It comes from... #define GetSystemClock (200000000UL) … | |
I have a project due soon, and I am having trouble with it. Here is my code: ` #include "msp430.h" ; #define controlled include file NAME main ; module name PUBLIC main ; make the main label vissible ; outside this module ORG 0FFFEh DC16 init ; set reset vector … | |
I am trying to look through each row in my data table and if a condition is not met, a messagebox appears. (Eventually, instead of the messagebox, I will populate to a DGV. For Each eventRow As DataRow In PFC_Xpress.Tables("EVENT INFO").Rows If eventRow.Item("Incident Type") = "Party" Then For Each personRow … | |
How to get the connection string? I'm developing an application and connecting to a database so I can get the connection string and know it during development pahase and therefore I can set it to the ConnectionString property of my connection object. However, when I deploy this application on a … | |
Hello I am working on my Accumulate test score data form and have hit a wall. Here is my code so far.. I am having trouble with line 42 add/store scoreInt to the scoresList collection. needs to have a range of 1-100. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; … | |
I am having a trouble calling my addsomethingup() function in my program. I keep getting the error too few arguments. Can anyone help me understand why this is not working please? #include <iostream> #include <string> #include <iomanip> using namespace std; using std::cout; // //CLASS DECLARATION SECTION // class EmployeeClass { … | |
Don’t know if this is ever been done before, or even if it is a good way to do it. I’ll just await your comments if any. What I mostly found on the web is that if you want to define a polynomial you need to have an array containing … | |
the WindowClass.hbrBackground=(HBRUSH) CreateSolidBrush(RGB(0,255,0)); change the all windows backcolor, registed with these class(WindowClasss). and for change the DC\window backcolor we need use WM_ERASEBKGND or other messages for do it(i don't remember how). but the SetDCBrushColor() do the job, right? but seems be ignored :( i'm using it in WM_PAINT messages. can … | |
Hi everyone, I have one-field form on my website, which is supposed to be filled with barcode number. It was functional until few days age when the need emerged for the auto-submit. As you can see, I have to make script which will automatically submit form when data is filled … | |
<?php header('Content-type: image/jpeg'); $source = 'a.jpg'; $watermark = imagecreatefrompng('logo.png'); $watermark_width = imagesx($watermark); $watermark_height = imagesy($watermark); $image = imagecreatetruecolor($watermark_width,$watermark_height); $image = imagecreatefromjpeg($source); $image_size = getimagesize($source); $x = $image_size[0] - $watermark_width - 10; $y = $image_size[1] - $watermark_height - 10; imagecopymerge($image, $watermark, $x, $y, 0, 0, $watermark_width, $watermark_height, 20); imagejpeg($image); ?> | |
can any body please tell me that how to take input size of a matrix in 2 d array an then print the table of it.... sample output 1 2 3 4 5 2 4 6 8 10 3 6 9 12 15 4 8 12 16 20 5 10 … | |
Hi guys I have a little bug which needs an extra eye to see I cant seem to see it. Can you help. Thanks in advance //CAI - Computer Assisted Instruction, multiplication program for first graders //Instruction.java import java.util.Random; //Program uses Random class import java.util.Scanner;// Program uses Scanner class public … | |
Greetings I need to make a custom report designer in my application. I mean by a custom report designer is that having a Form within my application the client can use it to design his own reports and save it. Can any one help with articles on how to do … | |
Hi, Anybody integrated amadeus api with php? Please any one help me to integrate in my php website.. I am new to amadeus API, actually i got WSDL and XCD files but i am getting error while using.. So please provide me any sample coding for " hotel list" or … | |
I am looking to start learning the python language and I was wondering if anyone can give me a heads up to any good IDE's for the language? I have a list [here:](http://wiki.python.org/moin/PythonEditors) but because there are so many I have no idea where to even start. Thanks in advance. | |
Hi all, I have a TabControl into which, at runtime, add a tabpage and a control to the tabpage created. I know how to create a tabpage. But I cant figure out a way how to create both at runtime. Thanks in advance, Yuvjeeth | |
Hi Everyone, Thanks for viewing this post. I have placed the code below in the MASTERPAGE.master.cs Label user = (Label)Master.FindControl("lblHidden123"); The control named lblHidden123 is in one of the Child page that refer to MASTERPAGE.master.. This control lblHidden123 is a normal label field, visible true. When i try to access … | |
Hi guys, I just faced a silly but annoying problem.I was building a database application with vb.net and access. Things were going great but at the last moment,it started to not work properly.I didn't touch the db path as far as i know but i changed the system date as … | |
Hey, everyone. I am writing a batch script (.bat program) to automate some tasks. And when that certain task is complete, I would like it to send an email to the admin saying if the task was completed successfully or it failed. It will figure out if the task was … | |
I am working on a simple project and I need a little help. I have created a program that draws circles on a canvas. The circles are blue, and the method flash() takes a random int count, and will light up a circle and change its color to yellow. The … | |
I have launched new project with storyboard and immediately delated .main, .h, .m files leaving behind Appdelegate h and m files. Then added .xib file and added table view. After running this app , table view was not getting displayed. Please help me to resolve this issue. # AppDelegate.h # … | |
I need help to eliminate the errors Im getting. I have a shopping cart that is displayed on the products page by way of a cart update page. I get the below pair of errors (Notices) for every product listed: Notice: Undefined variable: obj in C:\xampp\htdocs\Project2\browseproducts.php on line 89 Notice: … | |
Hello, I wrote a program in vb2010 to assist in the organisation of my music school. It's fairly simple (as am I), uses a text file to store data, and is working fine; however, the various teachers have asked if it is possible for them to update the data when … | |
Hi i have this image upload script, its giving me errors. this script should get description of the image from user and upload image to database. please someone could take a look at my code. i really messed up the code. i am puzzled now. <?php if(isset($_POST['upload']) && $_FILES['userfile']['size'] > … | |
I am clueless right now on how I can set the position of a form to open up directly below the parent form, as if the new form is attached directly below it's parent form. The parent form's property is currently set to start at the CenterScreen. I don't like … | |
so recnetly I released a product of mine to a few close friends, one of these friends runs windows 8 and I coded my program in C# 2010, Windows 7..He gets an error saying improperly formatted, is the fix for that me upgrading to c# 2012 or in there a … | |
Hi, Is it possible to get the fields label name from jsp to Action/servlet for example, My jsp has some fields like this, Label name: Fields Search: <html:text property="txtSearch"/> Order: <html:checkbox property="chkOrder"/> Now I need to get these label names below mentioned format, HashTable<String,String> labelList=new HashTable<String,String>() lableList ={txtSearch=Search:, chkOrder=Order:} Please … | |
Hi, I am currently working on a UNO Game using C++ and I am facing some troubles. I need to use Vectors and Pointers (for the main bulk for this assignment). I am wondering if anyone could kindly help me because the deadline is on Wednesday and I feel very … | |
function addRow(id) { var row = $("#rows").val(); var rows=parseInt(row)+1; var sendString = "rows="+rows; $("#rows").val(rows); $.ajax({ type: "POST", url: "addrow.htm", data: sendString, success: function(msg){ $("#tr_"+row).after(msg); loadDatePicker(); } }); } function deleteRow(id) { /* var space_number_arr = id.split("_"); */ var number = id; var deletedRows=$("#deletedRows").val(); deletedRows=deletedRows+number+","; document.getElementById("tr_"+number).style.display='none'; $("#deletedRows").val(deletedRows); | |
Hello, I'm having some trouble with a £ sign, it's being displayed to the user as the <?> question-mark-in-a-black-diamond icon. I have an SQL Server database with a £ in a table. (Collation Latin_General_C1_AS which is analoguous to 8859-1) I have a PHP script which retreives this record without issue … | |
So I've made a bit of the directory and I want to make a tester that tests the methods that I've declared. The code for the directory is shown below. package TelephoneDirectory; public class TelephoneDirectory { String name; String telnumber; /** * * @param name a person's name * @param … | |
Here is a class I wrote to manage the MRU in a VB.Net application am writing. I did not find a build-in class in Visual Studio or on-line that did not look like a pain to use, so I made my own. While I have some 30 years of programming … | |
I have added some PHP code to JS for countdown timer. I have set the End Time Successfully but could n't set the Start Time can any one here Help me out. As we know JavaScript take system date/Time by Default. i need to get that from server. So here … | |
Working on wordpress.. Want to set homepage when i click the templates. ..Templates are under dropdown menu. | |
Helllo I am getting Warning: Cannot modify header information - headers already sent by error on header("location: sucessful_registration.php"); line please help me how can i fix it function NewUser() { $full_name = $_POST['full_name']; $user_name = $_POST['user_name']; $password = $_POST['password']; $email_address = $_POST['email_address']; $phone = $_POST['phone']; $address = $_POST['address']; $city = … | |
Hello all, I am pretty new to ASP and we are using ASP for logins for our PHP projects, we are using Active Directory LDAP. We can only connect to one container at a time. I have managed to create some code so switch containers but I cannot log in … |
The End.