Member Avatar
Topic by RAHEEL_3 in Software Development
What changes do i made to fix this issue ?
Thanks Reply by RAHEEL_3
Member Avatar
JamesCherrill 3,085 Replied To a Post in Draw triangle on mouseDragged() event
Topic by RAHEEL_3 in Software Development
That's because you don't add the new triangle to `triangles` until the mouse is released.

Upside down *may* be because y coordinates start at 0 at the top and increase downwards. Reply by JamesCherrill
Member Avatar
Featured rproffitt 868 Replied To a Post in Will Electric Cars ever make it?
Topic by rproffitt in Community Center
To all that replied, thanks for the insights. As this is my getaround town car I get to hear and chat with others that are ICE people, EV shoppers, owners and more.

Very few brought up the change in government revenue angle. So I'll write that here, California, USA has … Reply by rproffitt
Member Avatar
Cheese_1 Replied To a Post in C++ Random Numbers
Topic by Bob in Software Development
c++
how would i make something akin to a dice roll game. for example: the player would roll and it would generate a random number (perhaps from (1-60) and then the program would generate a random number for itself, acting as a simple AI (im really new to c++ and i … Reply by Cheese_1
Member Avatar
Cheese_1 Joined the Community
Member Avatar
Hi there,

I want to draw a triangle using mouse events like mousePressed(), mouseReleased() and mouseDragged(). But triangle did not show until mouse release. Please tell me what i am doing wrong that triangle is not showing in mouseDrag event.

And one thing more, triangle is drawing upside down. Please … Topic by RAHEEL_3 in Software Development
Member Avatar
Featured Agilemind Replied To a Post in Will Electric Cars ever make it?
Topic by rproffitt in Community Center

> So, how else will governments deal with their revenue shortfall?

The gov't will never run out of ways to make revenue. I'd bet on luxury water-usage taxes on fountains, pools, etc... as climate change affects the water supplies. There will probably be taxes on emissions from fossil-fuel power stations, … Reply by Agilemind
Member Avatar
RAHEEL_3 Joined the Community
Member Avatar
Topic by UI in DaniWeb Community Feedback
>Hold the phone Chuck. What if we feed the tuna fish mayonnaise before we kill them and put them in the can?

- Bill Blaze - Night Shift [1982] Reply by Reverend Jim
Member Avatar
Featured Reverend Jim 1,850 Replied To a Post in Will Electric Cars ever make it?
Topic by rproffitt in Community Center
>how else will governments deal with their revenue shortfall

In Manitoba, the bulk of our power is hydro-electric. Government already charges tax on every kwh I use. On top of that, the provincial government charges Manitoba Hydro a hefty fee every year for "water rental". Basically MH pays for the … Reply by Reverend Jim
Member Avatar
Topic by cainam29 in Web Development
php
It all depends on how the mailing is triggered. If, for example, a button is clicked which creates POST data to this page with a value like `sendmail=yes` and the code checks for that and sends the mail if and only if that happens, you can append a random number … Reply by AssertNull
Member Avatar
Topic by UI in DaniWeb Community Feedback
> I think you misunderstood UI

It's not the first time.

The general consensus is that UniqueIdeaMan's ideas are indeed unique. Unfortunately they aren't the *good* kind of unique.

This hasn't only been established here. Benanaman on codingforums [knows the score](http://www.codingforums.com/php/385298-curl-experiments.html#post1532613). And Mittineague on sitepoint's forums [goes as far as … Reply by pty
Member Avatar
Featured rexx698 Replied To a Post in Will Electric Cars ever make it?
Topic by rproffitt in Community Center
When many more people buy EV cars, government subsidies will disappear - they might even switch over to ICE vehicles - which have been getting cleaner, too! In Canada, for instance, approximately 40% of the price of gas is tax. So, how else will governments deal with their revenue shortfall? … Reply by rexx698
Member Avatar
I have a code that send an email but how I can prevent it from always sending everytime my page refreshes.



function two_dim_array_to_html_table($arr, $colcomments){
$ret = "<table border='1' width='auto' cellpadding='1px' cellspacing='0px' align='center'>\n";
$ret .= "\t<tr>\n";
foreach($arr[0] as $key => $val){
$ret .= "\t\t<th>".$colcomments[$key]."</th>\n";
}
$ret .= "\t</tr>\n";
foreach($arr as $row){ … Topic by cainam29 in Web Development
php
Member Avatar
Fahad_10 Replied To a Post in create your own mp3 ringtones???
Topic by ocnative1964 in Mobile and Wearables
I use [ringtone creator](http://www.ringtonecreator.net/) for the same purpose. It is fast and easy to use Reply by Fahad_10
Member Avatar
Fahad_10 Joined the Community
Member Avatar
Topic by goodtaste in UI / UX Design
@JorgeM code should work - Thats the simplest solution available Reply by pdsubbu
Member Avatar
Topic by Stella_3 in Software Development
c#
Yes, perhaps something like this:

A question
1.answer 1
2.answer 2
3.answer 3

Then in a textbox let the user answer 1,2 or 3, process this answer further. Reply by ddanbe
Member Avatar
Sachin_12 Joined the Community
Member Avatar
Topic by Stella_3 in Software Development
c#
is there anyother way to match answers ? Reply by Stella_3
Member Avatar
Josh Ross Replied To a Post in Computer won't turn on
Topic by Isaac_12 in Microsoft Windows
You sure that there are no power problems? Also specifications would be good to know, as it is quite tough to give a thorough solution on something. AS there are so many different configurations. Hopefully, after 2 weeks OP still decides to do something about his issue. Reply by Josh Ross
Jason_33 Joined the Community
Member Avatar
Minka Joined the Community
hllqwe Joined the Community
Member Avatar
amy_9 Joined the Community
Member Avatar
James_84 Joined the Community
Member Avatar
Featured Subraa_1 Replied To a Post in Tutorial Straight to the bloody point: Shadow IT in under 300 words
Topic by happygeek in Cloud-based Applications
Is IT outdated today for companies that create apps and more?

I have the same query @profitt Reply by Subraa_1
Member Avatar
Topic by Stella_3 in Software Development
c#
The radiobutton Checked property can be set to true or false in your program. Reply by ddanbe
Member Avatar
Johnbonono Marked Solved Status for jQuery issue with slideUp() and stop()
I have a div with 2 divs inside it. The container div is positioned relative, and the 2 inside it are positioned absolute, one on top of the other (on the z axis).

I made it so that when the mouse enters the container div, the top div slides up … Topic by Johnbonono in Web Development
Member Avatar
Featured thines01 389 Replied To a Post in How to read online text file
Topic by Mr.M in Software Development
c++
Without additional clarification (if you are using MFC, ATL, or .NET), here is a sample piece of code that reads a text file from a web server and extracts only the subtitles from what looks like story descriptions.
The text is on [TextFiles.com](http://textfiles.com/adventure/221baker.txt).

I use a WebClient with the method … Reply by thines01