199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for praveen_dusari

hi all, iam newbie to c sharp and still trying to learn..iam developing a new windowsapplicattion in csharp and i am trying to open a new form onbtnclickevent and close current form here is my code form1 [CODE] private void btnInd_Click(object sender, EventArgs e) { Tab1 dlg = new Tab1(); …

Member Avatar for finito
0
117
Member Avatar for seemsbeautiful

Hello :D i'm new here .. I'm 15 years old and wanna learn for making online shopping website which including like make user database with mysql and make shopping cart . I already installed XAMPP on my comp . But i don't know how to make login form in my …

Member Avatar for scaiferw
0
158
Member Avatar for jakx12

Ok Iv been doing some research on plotting a sound file with the amplitude as the y value and frequency as the x. I cant seem to find much to be honest.. Has anyone done this or know how i could start. It can be with just .wav files, cuz …

Member Avatar for jakx12
0
2K
Member Avatar for phpboy

Hello Everyone. I am looking for some great ideas to develop something in PHP for my college project. I am interested in developing something in php/mysql. All i am looking for are some good project ideas. I have thinked for a while now and found some ideas like "making a …

Member Avatar for phpboy
0
281
Member Avatar for mexabet

I'm having an issue getting two Javascripts to work on one page. It seems that one disables the other and only one is working when previewed together. I know of a code that can be inserted so that both codes can function on one page, but I just can't lay …

Member Avatar for fxm
0
138
Member Avatar for aianne

Hi!, I'm newbie here on daniweb.. and i dont know if i'm in a right place to post this problem. lol. *sorry for my english* anyway, will you please help me about Turbo C? My teacher gve us a sample problem and he starts it with this code : [code]#include<conio.h> …

Member Avatar for Adak
0
314
Member Avatar for student.09

Hi, I am a intro to java student and need a little bit of help starting on this new program that I have been assigned to write. Don't worry, I'm not just seeking for someone to do it for me, I just need some guidance as I proceed through it, …

Member Avatar for student.09
0
281
Member Avatar for u8sand

Hello, Recently I've been doing some Windows API programming and I came across a problem. I want to make a console program that accepts commands, when the command 'win' shows up it will create a window with some automated features. Lets say I had a command sendfile [file-path] [where]. I'd …

Member Avatar for nbaztec
0
194
Member Avatar for theheretic1984

My code is in the attachment alex.txt. When i press the button for first time it gives me error: 'null' is null or not an object. But when i press it again or refresh the page and press the button it gives me the result that i expect. When i …

Member Avatar for fxm
0
109
Member Avatar for nschessnerd

I have an application that uses readprocessmemory to get information from another application. I think my application causes this other application to crash. Does anyone have any input on this? Why does it cause a crash and how can I change my application?? I cannot modify the other app thanks …

Member Avatar for nschessnerd
0
232
Member Avatar for sarah123

how can i write a program to calculate the median of matrix in file1 , and send the output to file2 .....???? can anyone help me please??! ======= sarah

Member Avatar for rahul8590
0
192
Member Avatar for fernandofranca

The code runs perfectly, but when I press any button, for continuing the system Pause, it gives the error: Run-Time Check Failure #2 - Stack around the variable 'arq_linha_part' was corrupted. [code=c] #include "stdafx.h" #include "Sistema.h" #include <fstream> #include <iostream> #include <string> #include <sstream> #include <cstdlib> #define ZB 100.0 #define …

Member Avatar for fernandofranca
0
924
Member Avatar for rajeesh_rsn

Hi , In one of my web application I want a real visitor count. I am not looking for any third party one. Also I want to know visitors are from which country ? I wrote a code and that will add in database when each page visit. But if …

Member Avatar for rajeesh_rsn
0
74
Member Avatar for ronnieaka

okay so here's the little piece of code that would be useful in a sudoku program that i'm making... this function leftover is simply extracting the set minus of two arrays. i don't know if logic's been having any problem but i think its pretty simple clear. oh, and i'm …

Member Avatar for u8sand
0
213
Member Avatar for abhi74k

I would like to implement a text editor . In the design process i have some doubts . Take a text editor like a notepad . We we will able to move directly to any point in the editor which means that a random access is made possible . I …

Member Avatar for rahul8590
0
77
Member Avatar for KultChyld

Hi there. I'm Kurt!! I have two algorithm problems. I was wondering if you can check my answers for the first one and help me get a start with the second one: [B]1)Write an algorithm to compute the average of 5 numbers[/B] [COLOR=DarkRed]Name: Ave5 Given: X1, X2, X3, X4, X5 …

Member Avatar for rahul8590
0
126
Member Avatar for zismad

Hi all , i'm writing a program that communicates with com port. i need to send a few packets. the thing is that i want to wait after each packet so that the receiver could send me an ack ! in pseud code : [CODE] for (x=0;x<Packets.Lenth;x++) { sendData(Packets[x]); waitForDataReceivedEvent …

Member Avatar for zismad
0
90
Member Avatar for diehardfighter

I am new to PHP.I want to include this outing management in my Hostel mgmt. application. A student request to stay out of hostel to the warden - also the administrator. The request is called "outing request". The warden can either accept or reject it. if the warden accepts it, …

Member Avatar for diehardfighter
0
108
Member Avatar for anujmadaan

Hello everyone. I am building a web application having various tables and 4-5option buttons in each table. When user check on one of these option buttons then the option is saved at server. I want whenever user returns the option marked by him earlier should be preloaded. For example if …

Member Avatar for SikoSoft
0
165
Member Avatar for laithlaithlaith

hello guys, I want your help about my code. the problem is when I want to apply in my phone show me this message error. (NameError:name 'app_lock' is not defined). this is my code : [code]import socket, e32, appuifw def choose_service(services): names = [] channels = [] for name, channel …

Member Avatar for TrustyTony
0
652
Member Avatar for samarudge

Hi, I want to get the user and group that APACHE is running in through PHP. Like APACHE normally has the user 'apache' and group 'apache' but it can sometimes be 'httpd' for both or it may have been changed by the server admin. How do I find out the …

Member Avatar for SikoSoft
0
191
Member Avatar for wish02

i'm using an iframe for our project. when i run the project, the url will be [url]http://localhost/iset/tech/mainTech.php[/url]. but mainTech is an iframe, so it doesn't show the url of the pages that changes inside the iframe. how do i show the url of the pages inside? cause i need to …

Member Avatar for sDJh
0
317
Member Avatar for Dartz654

Below is my post script. I'm trying to make it have a flood check (or something to stop people from spamming and crashing my servers) and my solution is to make a message appear saying "You've posted" when they hit the Post button. I tried adding Javascript alerts in multiple …

Member Avatar for SikoSoft
0
150
Member Avatar for kiwihaha

i have problem only declaring struct variable. i declare a struct in struct.h file and i wan main.c and class.h also using the same variable. But the class.h file say the struct is undeclare.. example: struct.h [CODE]struct car{ int year;};[/CODE] main.c [CODE]#include <cstdlib> #include <iostream> #include "struct.h" #include "class.h" using …

Member Avatar for kiwihaha
0
1K
Member Avatar for dhruv_arora

It's my school project, I wrote this C++ program with file handling. I am getting these errors and I can't understand what's causing the errors, if anyone can rectify my program, that would be great. My program :- [CODE]#include<fstream.h> // for C++ and File-Handling functions #include<conio.h> // for getch() and …

Member Avatar for Ancient Dragon
0
349
Member Avatar for ceyesuma

Hello: listed below is the order for the creation of tables and execution of ALTER TABLE resources in an Apache Derby Embedded db; Note the error at: alterInstructor. I create the instructor table then the booking table. The instructor table has book_num FK. After the booking table is created I …

Member Avatar for tesuji
0
263
Member Avatar for ceyesuma

Hello; I was having a problem understanding how to collect a date dataType as 1111-11-11 from a textFiels) and set a variable that accepts ex:public Date dob; Is there a way to get a string from an array element and parse it to conform to the Date data type? [icode]Exception …

Member Avatar for javaAddict
0
2K
Member Avatar for azegurb

hi all, i have one question around return function for ex. [CODE]<?php class Employee { private $name; // Getter public function getName() { return $this->name; } // Setter public function setName($name){ $this->name = $name; } } $azer=new Employee(); $azer->setName('sahib'); echo $azer->getName(); ?>[/CODE] why here we must declare two functions. one …

Member Avatar for azegurb
0
91
Member Avatar for dan1992

how ca i make a php function to delet a photo this is the file theat show photos .... [CODE] <?php $dir="../SV_uplod/"; if($opendir = opendir($dir)) { while(($file = readdir($opendir)) !==FALSE) { if($file!="."&&$file!="..") echo "<img src='$dir$file' width='200'><br>",$dir,$file; } } ?>[/CODE] Please Help THX !

Member Avatar for shubhamjain1
0
146
Member Avatar for vilasdhobale

I am trying to connect to MySQL database at on host (DBhost) from another host (PROGRAMhost). While I try to connect to the database at DBhost from DBhost itself the next is working fine for me: mysql_connect("localhost","qdbname","dbpassword") Now I am trying to find out what to use instead of localhost? …

Member Avatar for rch1231
0
175
Member Avatar for web3
Member Avatar for iqra123

hii i m using atoi() to convert char value to int. and then passing that int as a swtich variable. switch goes in a case and exectuing that particualr function but returning 0 value.... for example: i am finding no of process() and system up time(). when switch program goes …

Member Avatar for nbaztec
0
107
Member Avatar for Virux

I have never had this problem before. I code all my applications in the Eclipse IDE, and they all work fine there. But if I go into the bin and use a batch file, with 'java ClassName' it gives me an error about not finding the main class. I have …

Member Avatar for NormR1
0
378
Member Avatar for LloydFarrell

Hi all, I have a pagination script that works great apart from one last thing I require some pointers on please. The help i need is with the SELECT query - currently the select query works, but i am bringing back all records, I am trying to bring only certain …

Member Avatar for LloydFarrell
0
216
Member Avatar for Virangya

I am trying to upload a file into the server.. but its not working. im coding in mvc and this is the view file which contains the form data. <form id="frm" name="frm" method="get" enctype="multipart/form-data" action=""> <input type="file" name="file" /><input type="hidden" name="MAX_FILE_SIZE" value="2000000"/><input type="submit" name="upload" value="upload" /> </form> this is the …

Member Avatar for shubhamjain1
0
681
Member Avatar for bobbymoir

I have a news website in PHP & MySQL. All News items are generated from the database with a php file (../shownews.php?newsid=39393). Here my problem is that i want to put MOST POPULAR NEWS ITEM and i can't figure out how to do so as its dynamically generated. Someone please …

Member Avatar for bobbymoir
0
131
Member Avatar for sasTReSS

Hi everyone, i want to ask question about how to make a multiple tree in c++. So i want to make a tree which contain more than 2 child(or node or leaf), but i don't know how to make a tree like this. does anyone have an example about this? …

Member Avatar for sasTReSS
0
1K
Member Avatar for am5a03

[COLOR="Red"]Here is an extract of coding from my "main.php"[/COLOR] [CODE=php] if ($_GET["action"]==1){ //Redirected from the login page } else if ($_GET["action"]==2){ //Redirected from other page } else if ($_GET["action"]==3){ //Redirected from other page } else if ($_GET["action"]==4){ print "Test"; } else if ($_GET["action"]==5){ print "Test2"; } [/CODE] [CODE] <a href …

Member Avatar for am5a03
0
166
Member Avatar for andrewll2

Hello! [COLOR="Green"]Little unimportant info about me: I think i can program in c# in a quite good way,but I would like to make my programs useful also for people who hasn't got .NET framework installed. So i started to learn c and to rewrite my c# programs in c.[/COLOR] I'm …

Member Avatar for andrewll2
0
367
Member Avatar for m.a.u.

Greetings, I have been trying to see all the files in computer, but since accesses of some files are denied my program throws exception. When I show the type of exception with a MessageBox I learnt it is about mscorlib.dll. I can make my program run not throwing exception using …

Member Avatar for andrewll2
0
145
Member Avatar for RehabReda

hi guys how are you ?! hope every thing is alright. well i want to make something like this [URL="http://www.coderun.com/"]one[/URL] can anyone help me how could i start in steps ? what books should i read ?! Thanks your help will be greatly appreciated.

Member Avatar for nbaztec
0
109
Member Avatar for Kruptein

I'm looking for people to test a program, I've just finished the rewrite of a program and I need people to test for bugs etc... It's a program for developers written in python and wxpython-gui-toolkit It's made with the aim on linux, although windows-testers are welcome as well link: [url]http://launchpad.net/d-cm[/url] …

Member Avatar for Kruptein
0
92
Member Avatar for liveland

I wonder if anyone can advise why the sort param is being ignored in this xslt? The code is always performing the 'otherwise' section regardless of the sort parameter. [code]<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"> <xsl:param name="sort"></xsl:param> <xsl:output method="xml" indent="yes"/> <xsl:template match="Products"> <xsl:element name="Products"> <xsl:choose> <xsl:when test="$sort='DATE'"> <xsl:apply-templates …

Member Avatar for solutiongiver
0
576
Member Avatar for karanits

Lets say i have a jsp page which invokes a servlet. Now I want the servlet to forward this request to someother secured jsp page which i have configured to be secured in my web.xml. The problem is the jsp pages opens as secured if I open it directly from …

Member Avatar for karanits
0
138
Member Avatar for daudiam

[CODE]class A extends B { C ob1=new C(); D ob2=new D(); protected void finalize() { System.out.println("Finalizing A"); super.finalize(); } public static void main(String ss[]) { new A(); System.gc(); } }[/CODE] Though System,gc() doesn't guarantee the running of finalization, my question is if the JVM is able to run the finalizations …

Member Avatar for daudiam
0
299
Member Avatar for shoikatroy

hi i just wanted to parse a file to find certain associated data for ex if my text file is : <!#first>This is string1 <!second>THis is string2 So if user types in first...he will get This is string 1 iv written a simple C++ code to parse the text file …

Member Avatar for ~s.o.s~
0
82
Member Avatar for vishantpoeran

Hi everyone, I searched a while on the internet how to work with mvc for a school project. I found a really great tutorial on this site. ([URL="http://www.daniweb.com/forums/thread141776.html"]http://www.daniweb.com/forums/thread141776.html[/URL]) This tutorial has everything that i needed. In this tutorial the connection of the database is made by setting paramaters in de …

Member Avatar for ~s.o.s~
0
293
Member Avatar for thuyson

[CODE] private void btThem_Click(object sender, EventArgs e) { for(int i=0;i<dataGridView1.Rows.Count-1;i++) { if(dataGridView1.Rows[i].Cells["Checked"].Value ==true) { cmTheoHocLop.Parameters["@X"].Value = tbMSSV.Text; cmTheoHocLop.Parameters["@Y"].Value = dataGridView1.Rows[i].Cells["MaLop"].Value; sqlConnection1.Open(); cmTheoHocLop.ExecuteNonQuery(); sqlConnection1.Close(); } } } [/CODE] it has a error :Error 3 Operator '==' cannot be applied to operands of type 'object' and 'bool' D:\lvthao\QLHP\QLHP\FrmDKHP.cs 48 20 QLHP Thanks …

Member Avatar for andrewll2
0
271
Member Avatar for tiny7415

Can you put a cf comment inside the cfquery? example: <cfquery name="list" datasource = "#dsn#"> <!--- this is a comment, will this query run ---> SELECT Name, Age FROM studentTable WHERE Age = 20 </cfquery>

Member Avatar for tiny7415
0
250
Member Avatar for TheWhite

I needed a way to have words with different sized fonts in my JTextArea, but apparently only plane text is supported for it. I turned to JEditorPanes which apparently support html which allows different sized fonts, which is great. Now, I need a way to traverse back into the lines …

Member Avatar for TheWhite
0
94

The End.