When you want to remove extraneous characters from an input stream in C++, it's usually because you mixed formatted and unformatted input methods. The formatted method would leave a newline …
This 'sticky' thread is for working examples of Python GUI code. Note that most wxPython examples have their own thread.
Please use comments in your code to help the reader.
…The backstory:
We had a "power issue" here a few days ago and now our Samsung SyncMaster 931b is not working. The blue power light around the button flashes …
Quite a while ago, I made this snippet. This code is basically the same, except that it adds animation.
This method of blitting is very fast assuming you …
A new poll into Operating System popularity by a British computer magazine has revealed that an incredible 37 percent of respondents are still using Windows XP. That's …
I want to prevent my router from hard reset.... My friend often press the hard reset button to tease me.... Is there any way...................
Interesting tricky program using C & C++:
Program 1:
Create a Program which produce output "Hello World" , the program must not contains semicolon ; in other …
Wouldn't it be nice to have a sizable command button in VB6? Face it. In the hidden recesses of your mind you have always wanted to be able to resize …
I am desgining a userform in ArcMap, but I don't know how to sum up numeric values in a textbox (txtBox1) in another textox (txtBox2). Can anybody provide me with …
hi programming masters! i need your help..how can i SEARCH a record in a database and display the results?? example: if i type an ID number or a name on …
How to get current Selected Row in dataGridview and print using crystal report?
Print Only selected current row in data gridview
A recurring problem many newcomers face when tackling C++ is the compilation process, from sources to binaries. This tutorial will detail that process. It will be especially useful for …
i now can save a fingerprint template from database using this code..
Dim fingerprintData As MemoryStream = New MemoryStream
Template.Serialize(fingerprintData)
fingerprintData.Position = 0
Dim br As BinaryReader = New …
Dear,
I need help, how to import my Excel file into Mysql Database. I can successfully upload excel file but its not correctly formated uploaded or imported. please check this …
Hi guys,
It gives me great pleasure to announce that I will be collaborating with fellow Daniwebber Veedeo in creating a fully baked, no nonsense CMS in Codeigniter. I will …
Ever since the dawn of programming, we have had the luxury of variables, OOP, functions and other lovely tools within our languages.
CSS is arguably the easiest language to …
Hi, All,
I am instructed to develop a console application which monitors a process. It is now done but the problem is when I'm running it the CPU usage increases …
In my Windows Forms c# project I try to connect to an already existing ms sql database file
(added binding Source on the form, then : bindingSource -> properties …
i recently got 1000 links from over 800 domains in a short period of time resulting in my rankings for a client website falling from page 1 to page 2
Hi !
I am working in a project using vb.net 2010 with SAP Crystal Reports.
Regarding the Reports everything is fine but i had an unusual problem.
…
Hi
I have a php file with html forms and variables in php.
I generate a policy document that is displayed in the web page and is then created in …
I have developed an application in vb.net with MS access. In a form I have a Datagridview and I retrieve the data by databindingsource.
I am copying the data …
Hi friends, I'm developing the online exam application and strucked. below is my code to display the records randomly each time, but the problem is these questions are repeating and …
i want to print my receipt in A4 size, but the problem is when i tried to print preview the form that need to be print , it occupy the …
Hi Guys!
I have the following code:
<?php
session_start();
include_once("config.php");
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>View shopping cart</title>
<link href="style/style.css" rel="stylesheet" type="text/css"></head>
<body>
<br> …
Hi,so I am supposed to encrypt a text file chosen by a user at the moment I have completed most of it (offset factor/shift), I have got each separate character …
Hello everyone!
As some of you may know, Eclipse Luna appears to be broken for users of Kali Linux. There is a simple fix for that
Assuming that …
Hey everyone,
Got 2 questions here that i'm hoping will be answered.
Say i have 2 variables
int iValue;
int iValueArray[300];
and later on init. them in the …
I continuously get this warning whenever a constructor delegates to another constructor within the containing type, having virtual bases.warning C4100: '$initVBases' : unreferenced formal parameter
It's the same warning …
According to new research from Venafi, apparently some 74 percent of 'Forbes Global 2000 organizations' (or the big boys of business if you prefer) have yet to properly secure their …
Use Google's modern Go language (aka. golang) to convert a denary number (base 10) to a roman numeral. Just a good exercise to explore Go's map, slice, sort and for …
Another little adventure into Go coding. This time a slice (a Go open ended array) of structures is used as a record for some data processing. For those who miss …
Hi all!
I have a form with a combobox, a listbox and 2 command buttons.(see photo and neglect the blank listview)
I select items from the combobox and add items …
This time just a simple example of grading scores (0 - 100) with letters (A - F). Two approaches are presented, one using switch/case in an "on the fly" function, …
Some folks go on vacation around the Easter holidays, so it would be nice to know when Easter happens in the years ahead. I had this as a Python snippet …
Generators are rather familiar objects in Python. Generators supply data on demand. Using Go you can create a generator with a goroutine and a channel. Here the goroutine is an …
Again, calculate the minimum number of bills or coins required for a given amount of money (change). This time we will use a Go map instead of a csv string …
The story has it that a few hundred years ago the ruler of a big country wanted to reward the creator of the chess game. The creator of the game …
Just a couple of number tricks to check Go's mathematical abilities. If you have more, let's show them here.
A little experiment with custom sorting the result of a word frequency count using Google's Go language.
I've searched all over the Net and here on DL but I can seem to find only information on passing a single argument when opening a new form. When I …
Dear DaniWeb community, I am not from computer science background (math guy) but I am interested in machine learning and apache mahout. I have used Mahout CLI and recently looked …
Hi guys, i want to make a timetable management system in c#. the system should generate timetable for school for both teachers and students. please help me out here.
I have 5 date fields in a table. I want to place CheckBoxes against each date field to allow user to check the appropriate date for the employee's weekly holiday. …
Good day!
I just want a little help on how to loop from one cell to the end and set a sum Formula. I have Columns From **F to O …
Hi, I have started this project and come to the point where I can't figure out how to finish it.
First Want to say that I'm noob for VB6 …
I've had a real good look around at it seems to be quite difficult, all I can find is ones that claim to work in PHP, I tried them anyway …
Hi,
I Have this php code:
<?php
//require('dbconnection.php');
$conn = mysqli_connect('localhost','root','','user_registration');
if (mysqli_connect_errno()){
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}else{} ;
function getUsers() {
//return require('online-users.txt'); …