199,114 Archived Topics
Remove Filter ![]() | |
Hi, Does anybody know how to enable/disable a secondary monitor using ChangeDisplaySettingsEx or any other function? | |
every thing if working fine when i am sending mail to single address..but i m not been able to find out a way to send mail 2 multiple addresses....plz help me......... [code]using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using … | |
how do I upload a file into the database from dreamweaver? I have used a file field in the form but will this automatically upload no problems? cheers! GLT | |
Hi I writing a Python program to track and calculate the amount of money each of 8 customers spends on 12 grocery items. The code below works fine but The program also must congratulate the customer who spends the most money and offer that customer a $50 shopping spree.How can … | |
I require to make a good user interface for my image viewer tool. Could anyone advice me how can i achieve so in C#. So far I have been using swings in java but this time I'm supposed to code in C# only and being a newbie to C# I'm … | |
Hi. I'm new to C# and i'm facing this wierd thing. To put it simple i have two classes: - Especimen - Form1 Form1 has a button, when you click it it generates 10 objects of class Especimen. This is a very simple class, it's supposed to simulate a biological … | |
I want connect with other user through ip address and send them a message how it will don in vb.net | |
Here's how I'm creating my form: [CODE] foreach ($all_rows as $column) { print ("<tr>"); print ("<td>". $column['name'] . "</td>"); print ("<td><input type='text' name='form1[".$column['id']."][materialsPrice]' id='".$column['id']."' value='".$column['materialsPrice']."'/> <input type='hidden' name='form1[".$column['id']."' value='"."' /></td>"); print ("<td><input type='text' name='form1[".$column['id']."][labourPrice]' id='".$column['id']."' value='".$column['labourPrice']."'/> <input type='hidden' name='form1[".$column['id']."' value='"."' /></td>"); print("<td><input type = 'checkbox' name = 'form1[".$column['id']."][quantityCheckbox]' id = … | |
Hey, I'm trying to set up a hook with the Managed Windows API ([url]http://mwinapi.sourceforge.net/);[/url] however, whenever I do, everything crashes, and I get an error message (0x0000000) for every program, which states that the memory could not be read or written to. It forces me to restart my computer (which … | |
I am currently trying to make an html link that will add elements (specifically, drop down menus) to the current page when you click it. Since I am adding all the elements to the page using JavaScript, I'm not sure how to set up the link to call a function … | |
Hi All I am currently drawing up a database for contractor management. We have to keep an eye on when these contractors were inducted. The max term of an induction is 1 year. I have built a database and everything works EXCEPT when I want it to calculate the number … | |
Hi, I am trying to get to use the grep function in perl, I have been searching web pages but can't get a simple example. I am reading in a .csv file with 7 columns and loads of rows, this is done with: [code] $dat_file = 'sample.csv'; [/code] In the … | |
Ok, Hey guys. I was wondering how I would come about performing basic addition in GCC using inline Intel syntax assembly. I have a way of doing it in AT&T but in my opinion I just prefer using Intel generally. Ok, My AT&T code is this: [CODE=C]#include <stdio.h> int main() … | |
Heyy Daniweb, Got a project I'm trying to compile and I'm getting the following errors: [CODE]--------------------Configuration: rpg - Win32 Debug-------------------- Compiling... rrrrrrrrrrrrrr.cpp Walking.cpp H:\final project\rpg\Walking.cpp(551) : warning C4715: 'See' : not all control paths return a value Linking... Walking.obj : error LNK2005: _main already defined in rrrrrrrrrrrrrr.obj Walking.obj : error … | |
Hello, I'm bound the property visible in the controls of my form, by default they should to appear true, but is coming false. Someone knows what's happening? Thank You. :) | |
hi all, i need to get all the data in the list (which is posted in the form) and store it, separating each list item with comma's. Its really clear in the code...this is what ive tried so far..it doesnt compile and it seems to complain about this line of … | |
I have a picture of my database design attached. Basically what I'm wondering is if there is a way that I can use the foreign keys I have set up. For instance, shirtColorsLink contains two columns, shirtId, and colorId. Both are foreign keys from the shirts table and the colors … | |
Hi All, I have maintained an EJB application, and its working fine with my local machine. But same EAR file not reflecting properly from the server machine. Still i can see my old version of the apllication from server. I deleted the EAR file and redeployed it, but no changes, … | |
hi there, how can i call the cbPW_TextChanged event in another function thanxxxxxxx | |
I need help making some key that if the "a" key is pressed it plays a sound. All the tutorials ive seen confuse me so maybe you can help. I've tried a few things but am still confused. Thanks! | |
Hi Everyone, Im a little confused with arrays[] I have a set of numbers in a datagridview and wish to write a function which includes these numbers. I know i can use double[] arrayOfDoubles = {2.5,2.6,2.8,3.2,3.8,3.9,4.0,4.3,4.4,4.8} etc representing each datagrid value individually. just wondering if there is a easier way … | |
HI, THNX FOR HELPING IN MY LAST POST. Now i wants the help in follwing problems. i have a table in my sql named as "retailer001". i have a php page that have the data entry form of all field that are in mysql table. my table retailer001 having 11 … | |
hi! I have a program, and I have 2 threads. in the first I lock a semaphore, and in the second I have to run some code, but only after the first locked the semaphore. right now I do it with busy-waiting: [CODE] void *thread_proxy_stub(void *arg) { int x; // … | |
Suppose I wanted to create multiple websites hosted on different servers, but I want some certain duplicate contents (e.g. news box that shows same headlines and news on both sites). The sites will be different, just the news box will have duplicate contents. What would be the best approach for … | |
I am trying to implement a toArray() method in my PriorityQueue. The PriorityQueue returns an array of Objects, but I want to do is have an array of the original type of objects which in this case is Job (which is marked by the 'T1'. The following is the toArray() … | |
Hey Guys I have just started to learn PHP and have been using a book called "PHP For Absolute Beginners" now i have found a fair few mistakes in the book which i have corrected myself but i have come across an issue which is probably a simple fix by … | |
Hello. I am wondering how to pass data to hundred and hundreds of functions from main() in an application that has more than 1000 files. Can anybody give me some code? Regards, Supriyo | |
ok i made a class and a new pointer object to the class class *a = new class[50] but at the end i forgot to delete them, now i know this will cause a memory leak which is bad but will the memory leak be gone when i re-start the … | |
Hiieee...der I am writin a somethin where I require to get string from the user anr then tokenise it.Can some1 give me some ideas on how to get started.I need the string to be in a loop as well. | |
[code] Dim subString As String() = Nothing subString = textBox.Text.Split(" ") searchSource.SelectParameters.Item("ContentText0").DefaultValue = subString(0) searchSource.SelectParameters.Item("ContentText1").DefaultValue = subString(1) [/code] Here's what i'm trying to do. So if I two words put into the textBox, this will work. But I'm really not sure how to modify this so it can fit the … | |
Dear members, I am new for Php, wish to develope two dropdown list. One listing all DB's availabe with MySQL and on selection of one DB second should list tables in that DB ( with no 'GO' type button). Once Table selected third dropdown will list fileds availabe, Can some … ![]() | |
Hello, This is my first appearance on a forum ever, I am fairly new at programming and I have following question : If I make a INSERT...SELECT statement (to transfer data from one table to another) in a MySQL-editor, the statement gets executed once ; the same statement in my … | |
Ive been trying to find a solution to a very annoying problem with my combobox. When i select a item on the list the combobox is the list is still active. It is annoying because when i scoll my mouse the combox item that ive selected changes. Any thoughts on … | |
I need to write a method to return the number of rows I have in my table. This code I've written so far; [code] <pre><?php class Database { private $connected=false; private $user,$pass,$host; private $db; private $result=array(); public function initialize($user, $pass, $host) { $this->user=$user; $this->pass=$pass; $this->host=$host; return $this; } function connect($dbname) … | |
Man!! I'm freaked out, I'm not able to do it Actually I add dataValues 2d array and colNames array in new created jtable but it doesn't work. Don't know why :S I also wanted to add button before the table but that's doesn't work even... PLease help me... [CODE] /* … | |
I am getting huge data from database approx a million and trying to store it using csv format in excel like : response.setContentType("application/ms-excel"); response.setHeader("Content-Disposition", "inline;filename=newfile.csv"); but as the data is huge and excel can take only 65K at one time its failing. Please let me know how to download data … | |
Hello everyone, Am developing a C# window form application where it will listen to when someone clicks on a link(for example, "chat now") on the website(in PHP). I've seen various examples on socket programming but not what I really need. More details: - C# sharp application with a listener(listens to … | |
Hello, I'm trying to develop a small image viewer just as an exercise to sharpen my programming skills. So far , all the features that I could think of adding to it are zooming in and out, inverting the colors of the image, resizing, and rotation. Could anyone suggest me … | |
Hello am Hemanth Pls help me How can i read excel sheet in Windows form using C Sharp. 2005..... | |
hi i am trying to insert into mysql databse using jsp.but i am getting the error as [CODE]An error occured between lines: 38 and 47 in the jsp file: /jsp/havyaka/register.jsp Generated servlet error: C:\tomcat\work\localhost\examples\jsp\havyaka\register$jsp.java:102: Incompatible type for declaration. Can't convert int to java.sql.ResultSet. ResultSet rs = statement.executeUpdate("insert into havyak(usercode,password,email,name,phone,add1,add2,add3,add4,country) values('" … | |
Hello every bdy dre......... I have developed the desktop (windows form) application using C# , with MS SQL 2005 database. That is separate application run in four different centers with their own separate database, but now i want to make it centralized database. For all four center has only one … | |
Hello! I am new user of this forum, and I want to ask you for ideas for finding the probability of winning in pre-flop, post-flop etc... For example, there are 3 players on the table (2 opponents). A (spade) A(heart) (1st opponent's cards) A (club) 8 (club) (your cards) 7 … | |
hi, int i=1; printf("%x",-1<<1); what is an output? how is it works? please any one explain it. | |
i need a code to merge two ordered list of objects of integers.the method should receive references to each of the list objects to be merged , and should return a reference to merged list object. pls help.... | |
When i run this, i get an error message saying TYpe expected and it points to the line having a.drive(100)... Any help please? Newbie... [code] class Car { public Car(){ int odometer=0; System.out.println("Car constructed!"); } public void drive(int miles) { System.out.println("Driving....."); odometer+=miles; } public long odometer; } class Guzzler extends … | |
Hi, I want to know how i can use multithreading in vc++ . please give an example . thanks in advance | |
I would like to be able to create a list of all instances of a class. [URL="http://www.daniweb.com/forums/thread131805.html"]Another post[/URL] here described how to do it by appending to a list during the __init__ routine but since I am a real Python newbie (and even more of a newbie to classes) I … | |
hi, could sm1 please show me code that can sort and read text/string character by character into an array i.e identify integers and characters and put them in separate fields in an array e.g 2 integers then 3 characters like 23 IAM, 12 Her, or 32 MALE. it shuld also … | |
Hi! I just want to know, how can I open an image file using C in Console mode... Yes... I don't want it to open in MSPaint or anywhere like that. I want to open a 16-color bmp image with VGA Graphics Driver using C in console mode. Actually this … | |
Hey there..... I am working on VB.NET(Visual studio 2008)..I completed developing my application and i need to deploy the application. I tried it and faced problems in some areas like adding crystal reports to the setup and deployment. I created a setup file to my application and everything is fine … |
The End.