Connect with 1,267,815 developers, IT pros, digital marketers, and tech enthusiasts.

Be a part of our friendly, industry-focused community of professionals meeting, networking, learning, and sharing knowledge via articles, Q&As, discussion forums, and realtime chats.

Member Avatar for vegaseat Software Development
vegaseat

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.

Databases
niranjanjee

SQL Insert India 'State'

Hardware
donaldw

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 …

prev.png Software Development
William Hemsworth

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 …

XP.jpg Microsoft Windows
happygeek
Digital Marketing
RoseMary3

I read a vary in-trusting news that facebook is launching Social Search Engine and Google is launching Social Networking site . so who will kill who? in this war. what …

Member Avatar for Majestics Networking
Majestics

I want to prevent my router from hard reset.... My friend often press the hard reset button to tease me.... Is there any way...................

gui
Software Development
Member Avatar for keval_hack
keval_hack

Interesting tricky program using C & C++:

Program 1:
Create a Program which produce output "Hello World" , the program must not contains semicolon ; in other …

c c++
Software Development
hkdani

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 …

Web Development
sowmya.murthy

I want to validate an email validation of type 'abc@xyz.com.com'
Should show an error message if they enter invalid domain name.
Would be very grateful for your help.

Member Avatar for meLiel Software Development
meLiel

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 …

Software Development
ranTHE

How to get current Selected Row in dataGridview and print using crystal report?
Print Only selected current row in data gridview

Member Avatar for mike_2000_17 Software Development
mike_2000_17
Introduction

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 …

Software Development
y0yie_333

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 …
Member Avatar for rjony321 Web Development
rjony321

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 …

Web Development
Member Avatar for iamthwee
iamthwee

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 …

Member Avatar for mattster UI / UX Design
mattster
Introduction

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 …

Software Development
renzlo

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 …

Software Development
Alxprog

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 …

Member Avatar for AmritaHasan11 Microsoft Windows
AmritaHasan11

Do you anybody know when the full version of Windows 10 will arrived

Web Development
AntonyRayan

How to read an excel file in php?

This is my index page:::

<html>
<head>
</head>
<body>
<form method="post" action="save_category.php" enctype="multipart/form-data">

                <label >Import File<span class="mandatory">*</span></label>

                <input type="radio"  name="file" value="1" checked>Excel …
Search Engine Strategies
Derrick_2

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

seo
Hardware and Software
RobertHDD

What will you do for microsofts windows 10 beta help to change the future of windows what changes do you want to make it better?
POST YOUR ANSWERS HERE.

Software Development
Solution Hall

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.

Software Development
PM312

I have below code to print richtextbox text. My textbox contains Regular and bold text but below code print either bold or reguler text. How can i print text as …

Web Development
fabzster

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 …

Software Development
Satyam_1

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 …

Web Development
cool_irfan

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 …

php
Member Avatar for vegaseat Software Development
vegaseat

Just wondering.
Exploring Google's Go language, a modern day C with the Google in it.

Web Development
stokie-rich

Hi Guys hope that you are all well.

I have statred to use the bootstrap framework to create my website, I have got all of my pages working and linking …

Software Development
jez9

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 …

Web Development
terryds

What does PDO::query actually do ?
Does it query the SQL ?
If it queries the SQL, I think the data must be in the PDOStatement object as …

Web Development
spud91

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> …
Software Development
joshuawilson11

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 …

Member Avatar for Slavi Linux and Unix
Slavi

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 …

ide
Software Development
Tycellent

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 …

Software Development
Mamed

Hello , I've been trying to figure out this code and determine what's causing the miscalculation on it.
Everything seems right for calculation , I don't get why there …

Software Development
Athanassios

Hello, first of all I am new to vb.net so sorry if my question is stupid... :(

I have text files that are something like this:

"#......
"#......

Member Avatar for James19142 Software Development
James19142

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 …

c++
Member Avatar for happygeek Networking
happygeek

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 …

Web Development
MarkDbro

I have a question about inserting images into a product page. I have 5 images (saved as longblobs in my products table) and would like to put them in my …

Member Avatar for vegaseat Computer Science
vegaseat

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 …

Member Avatar for vegaseat Computer Science
vegaseat

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 …

Software Development
savedlema

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 …

Member Avatar for vegaseat Computer Science
vegaseat

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

Member Avatar for vegaseat Computer Science
vegaseat

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 …

Member Avatar for vegaseat Computer Science
vegaseat

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 …

Member Avatar for vegaseat Computer Science
vegaseat

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 …

Member Avatar for vegaseat Computer Science
vegaseat

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 …

Member Avatar for vegaseat Computer Science
vegaseat

Just a couple of number tricks to check Go's mathematical abilities. If you have more, let's show them here.