199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jessica_6

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.

Member Avatar for Bandarigoda123
0
124
Member Avatar for nikiki

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 …

Member Avatar for ddanbe
0
291
Member Avatar for Learner010

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 …

Member Avatar for StuXYZ
0
151
Member Avatar for BogdanCov

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 …

Member Avatar for ddanbe
0
221
Member Avatar for davy_yg

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 …

Member Avatar for veedeoo
0
384
Member Avatar for PsychicTide

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 …

Member Avatar for wazz
0
852
Member Avatar for Pilot122x

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 …

Member Avatar for Bandarigoda123
0
562
Member Avatar for tfj

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 …

Member Avatar for wazz
0
334
Member Avatar for ceelos1974

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 …

Member Avatar for Bandarigoda123
0
243
Member Avatar for ashley.vanhoesen.7

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 …

Member Avatar for mike_2000_17
0
684
Member Avatar for Amin Crash

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 …

Member Avatar for Bandarigoda123
0
296
Member Avatar for AleMonteiro

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 …

Member Avatar for Bandarigoda123
0
330
Member Avatar for DkgMarine

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 …

Member Avatar for DkgMarine
0
2K
Member Avatar for kent.johnstone_1

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) …

Member Avatar for kent.johnstone_1
0
252
Member Avatar for jonny93

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 …

0
181
Member Avatar for Gus_19

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 …

Member Avatar for Gus_19
0
389
Member Avatar for AmrMohammed

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 …

Member Avatar for JOSheaIV
0
297
Member Avatar for GingerDontCare

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; …

Member Avatar for ddanbe
0
380
Member Avatar for mxwarning

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 { …

Member Avatar for Learner010
0
256
Member Avatar for ddanbe

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 …

0
448
Member Avatar for cambalinho

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 …

Member Avatar for cambalinho
0
796
Member Avatar for eshko

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 …

Member Avatar for murat.ozkan.9028194
0
6K
Member Avatar for chaitu11

<?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); ?>

Member Avatar for cilla
0
404
Member Avatar for saif.shafqat.5

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 …

Member Avatar for Ancient Dragon
0
324
Member Avatar for nikiki
Member Avatar for V3N0M

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 …

Member Avatar for V3N0M
0
204
Member Avatar for AmrMohammed

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 …

Member Avatar for AmrMohammed
0
95
Member Avatar for madan879

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 …

Member Avatar for chrishea
0
214
Member Avatar for ItsAdZy

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.

Member Avatar for RogueHaxor
0
1K
Member Avatar for yuvjeeth

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

Member Avatar for yuvjeeth
0
285
Member Avatar for strRusty_gal

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 …

Member Avatar for strRusty_gal
0
139
Member Avatar for Nebil

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 …

Member Avatar for Nebil
0
260
Member Avatar for super-duper

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 …

Member Avatar for r4ravi
0
1K
Member Avatar for nyfan68

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 …

Member Avatar for Schol-R-LEA
0
299
Member Avatar for shrikanthnk

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 # …

Member Avatar for geojia
0
292
Member Avatar for ImaComputerLuvr

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: …

Member Avatar for broj1
0
406
Member Avatar for Trevor_2

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 …

Member Avatar for cgeier
0
149
Member Avatar for junaid_5

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'] > …

Member Avatar for broj1
0
143
Member Avatar for Gus_19

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 …

Member Avatar for Gus_19
0
179
Member Avatar for Pilot122x

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 …

Member Avatar for Pilot122x
0
131
Member Avatar for sasikrishnasamy

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 …

Member Avatar for sasikrishnasamy
0
638
Member Avatar for pinkamech

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 …

Member Avatar for pinkamech
0
5K
Member Avatar for Srilina

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);

Member Avatar for JorgeM
0
117
Member Avatar for BenWard

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 …

Member Avatar for BenWard
0
276
Member Avatar for MatthewYeend

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 …

Member Avatar for JamesCherrill
0
279
Member Avatar for Nutster

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 …

Member Avatar for Nutster
0
639
Member Avatar for suresh9696

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 …

0
104
Member Avatar for mwnt2014

Working on wordpress.. Want to set homepage when i click the templates. ..Templates are under dropdown menu.

Member Avatar for pzuurveen
0
126
Member Avatar for hallianonline

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 = …

Member Avatar for pritaeas
0
149
Member Avatar for liamfriel

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 …

Member Avatar for liamfriel
0
207

The End.