199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for VBNick

Hi, Does anybody know how to enable/disable a secondary monitor using ChangeDisplaySettingsEx or any other function?

Member Avatar for VBNick
0
648
Member Avatar for deeptakshd

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 …

Member Avatar for deeptakshd
0
142
Member Avatar for GLT

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

Member Avatar for ArtistScope
0
192
Member Avatar for vulcano224

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 …

Member Avatar for griswolf
0
107
Member Avatar for avanish_yadav

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 …

Member Avatar for bbman
0
86
Member Avatar for neithan

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 …

Member Avatar for apegram
0
91
Member Avatar for nadeemarshad

I want connect with other user through ip address and send them a message how it will don in vb.net

Member Avatar for Oxiegen
0
112
Member Avatar for Deemar

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

Member Avatar for sourcebits
0
226
Member Avatar for bbman

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 …

Member Avatar for bbman
0
405
Member Avatar for ohgee

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 …

Member Avatar for ohgee
0
1K
Member Avatar for 12"tool

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 …

Member Avatar for finito
0
104
Member Avatar for niall_heavey

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 …

Member Avatar for niall_heavey
0
173
Member Avatar for R3k

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

Member Avatar for R3k
0
548
Member Avatar for spartan118

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 …

Member Avatar for VernonDozier
0
267
Member Avatar for muriloazevedo

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. :)

Member Avatar for nick.crane
0
149
Member Avatar for waxydock

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 …

Member Avatar for bikehike90
0
3K
Member Avatar for baudday

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 …

Member Avatar for baudday
0
98
Member Avatar for vinithktp

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

0
72
Member Avatar for judithSampathwa
Member Avatar for nick.crane
0
106
Member Avatar for nsutton

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!

Member Avatar for finito
0
119
Member Avatar for Mikey12345

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 …

Member Avatar for nick.crane
0
94
Member Avatar for gazzy1

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 …

Member Avatar for KamranArshad
0
130
Member Avatar for neti1987

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

Member Avatar for nbaztec
0
1K
Member Avatar for Muad Dib

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 …

Member Avatar for Muad Dib
0
171
Member Avatar for pricey3000

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

Member Avatar for pricey3000
0
498
Member Avatar for Emeraldwebshane

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 …

Member Avatar for Emeraldwebshane
0
112
Member Avatar for Supriyo

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

Member Avatar for rahul8590
0
252
Member Avatar for glenc70

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 …

Member Avatar for Nick Evan
0
100
Member Avatar for ZeRo 00

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.

Member Avatar for ALi Nuces
0
96
Member Avatar for choralqiu

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

Member Avatar for choralqiu
0
74
Member Avatar for sunilpro

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 …

Member Avatar for Rhyan
0
177
Member Avatar for Geertc

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 …

Member Avatar for Geertc
0
171
Member Avatar for Mikey12345

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 …

Member Avatar for sknake
0
121
Member Avatar for aMOEBa

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

Member Avatar for aMOEBa
0
97
Member Avatar for Umar Ali

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] /* …

Member Avatar for NormR1
0
104
Member Avatar for avinash020

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 …

Member Avatar for stephen84s
0
362
Member Avatar for ritasha

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 …

Member Avatar for ritasha
0
95
Member Avatar for avanish_yadav

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 …

Member Avatar for sknake
0
118
Member Avatar for HemanthKS

Hello am Hemanth Pls help me How can i read excel sheet in Windows form using C Sharp. 2005.....

Member Avatar for sknake
0
111
Member Avatar for aarya

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('" …

Member Avatar for gauravleoheart
0
451
Member Avatar for Huma Satti

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 …

Member Avatar for Ketsuekiame
0
525
Member Avatar for stmartin

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 …

Member Avatar for NormR1
0
199
Member Avatar for karthi_selva

hi, int i=1; printf("%x",-1<<1); what is an output? how is it works? please any one explain it.

Member Avatar for karthi_selva
0
97
Member Avatar for bhavna13

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....

Member Avatar for masijade
0
175
Member Avatar for vs.vaidyanathan

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 …

Member Avatar for NormR1
0
261
Member Avatar for mnf

Hi, I want to know how i can use multithreading in vc++ . please give an example . thanks in advance

Member Avatar for Ancient Dragon
0
73
Member Avatar for andrewtrench

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 …

Member Avatar for andrewtrench
0
9K
Member Avatar for chris evans

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 …

Member Avatar for NormR1
0
2K
Member Avatar for Kartik_shashank

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 …

Member Avatar for gowthamsettu
0
1K
Member Avatar for murali.cpt

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 …

Member Avatar for murali.cpt
0
88

The End.