861 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Crazyscript77

Hi all, I was recently having a look at the pywin32 module and found a multitude of approaches on how to find the color of a pixel given its coordinates, but was wondering if there was a way to find the coordinate of a pixel given its particular color, either …

Software Development python
Member Avatar for spam_1
0
4K
Member Avatar for Quinncunx

Hi, Is there at all a way to sort (numerically) a multidimensional array? I have an array that is as follows `dim points(23,1) as String` The first dimension of the array has the players names in, the second dimension of it has their cumulative points, so I want to sort …

Software Development vb.net
Member Avatar for randysoft1
0
3K
Member Avatar for swathi sajja

How to play the play list in vlc player by using vb.net code

Software Development vb.net
Member Avatar for André_15
0
3K
Member Avatar for KarolP

Hi! I am a begineer in programming. I have started to work on the app using tkinter. I would like to add a contact form (similar to Django) to my app so a user can send me a message with queries. This message would be sent to my email address. …

Software Development tkinter
Member Avatar for rproffitt
0
302
Member Avatar for miltocke

Hello DaniWeb! I am interested in learning computer programming, but have no previous experience. I've been told that Python is a good place to start, so I decided to give it a whirl. If anyone can help point me toward resources geared for the absolute beginner (learning both programming concepts …

Software Development python
Member Avatar for Raunikkapoor
0
238
Member Avatar for ppel123

Hello, I have created a spelling corrector for a project and currently I am struggling on making it work in real-time application (on-the-fly) By this I mean, that I am reading the input of the user (anywhere on the Windows OS - not only in python shell) with the python …

Software Development python
1
613
Member Avatar for ppel123

Hi, I am developing an app that monitors and corrects the user input based on some rules. I am reading the events from keyboard with the keyboard python module. I faced some problem when the user types very fast, as regards some overlays of text. By this I mean that …

Software Development python
Member Avatar for ppel123
0
418
Member Avatar for Hu99.Kappa

![unknown.png](/attachments/large/4/2b1e92f91b55c8fd50f89ee45bbf4ca3.png)

Software Development c++ visual-basic
Member Avatar for JamesCherrill
-2
765
Member Avatar for tracethepath

i have made the following program but i cant find what is the error... the output is not coming correct... for example Enter A Binary Number 110011 Number of ones are 0 Number of zeroes are 1 [code] void main() { clrscr(); int r, ones=0, zeroes=0; long int n; printf("Enter …

Software Development c
Member Avatar for Saba_6
0
6K
Member Avatar for Reverend Jim

A long standing complaint with the standard progress bar control is that there is no easy way to display text. In spite of numerous requests, Microsoft has not included this capability. The following code includes a class, `CustomProgress` which inherits the standard `ProgressBar` and adds such a feature. It is …

Software Development vb.net
Member Avatar for Mark@SF
4
79K
Member Avatar for tinstaafl

There are times when you need to make sure your counter starts at an odd or even number. Even is pretty simple - `counter = counter + modulus(counter)`. If counter is even it stays, if it's odd it gets incremented by 1. Odd is a bit more complicated - `counter …

Software Development c# c++ java vb.net visual-basic
Member Avatar for holisticgroup19
3
4K
Member Avatar for Minimalist

So I got a problem with the settings Tab in VB.Net. The settings are not displaying properly. There is a gap in the middle of the display. ![set.jpg](/attachments/large/4/ce53b8bed890123494c52258313e0760.jpg) The second problem I have is this: VB creates a settings file in the App Data folder: InClass.exe_Url_eoaehkudo2dalqpbmdabua2u0ulhsacj However, If I try …

Software Development vb.net
0
577
Member Avatar for prem2

Hi, In C program Function has three parts, Function Declaration. Function Definition. Function Calling. In java i cannot able to declare a function .Is it possible to declare a function in Java. For example: [code] import java.io.*; import java.util.*; class Fun_example { // show();//Cannot able to Declare a Function ? …

Software Development java
Member Avatar for JamesCherrill
0
4K
Member Avatar for faustf

hi guys i am a new of programming and new of c# i try to learn it , i try to understund how work a listview , i have a file.txt inside of this , i have 4 line . i have creted a form with a listview with 2 …

Software Development c#
Member Avatar for tinstaafl
0
1K
Member Avatar for EL_2

I'm new to tkinter so i used a template tkinter code to have multiple page windows each page is in a different class, i thought diving in will make me learn better and it has, and also special thanks to stackoverflow. the kiosk app is all fullscreen, the start is …

Software Development python
0
125
Member Avatar for chris_58

can someone help me take a look i face (oledbexception was unhandled (too many fields defined)) below is my code . Private Sub btnBrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnBrowse.Click Properties='Excel 12.0;HDR=NO;'" Dim Chosen_File As String = "" If openFileDialog1.ShowDialog() = DialogResult.OK Then Chosen_File = openFileDialog1.FileName End …

Software Development vb.net visual-basic
Member Avatar for pritaeas
0
317
Member Avatar for Ruba_3

class Node(object): def __init__(self, data): self.data = data self.nextNode = None class Queue(object): def __init__(self): self.head = None self.tail = None self.size = 0 def enqueue(self,data): self.size += 1 newNode = Node(data) if self.head is None: self.head = self.tail = newNode else: newNode.nextNode = self.head self.head = newNode def dequeue(self): …

Software Development java
Member Avatar for rproffitt
0
175
Member Avatar for skatamatic

When working with TCP client sockets I often find myself frustrated with the lack of event-driven support. I usually end up writing a whole bunch of code to determine disconnects, reconnecting, etc and I figuired it's time to just write my own class for this stuff. I figuired I'd share …

Software Development socket-programming tcp-udp
Member Avatar for Alejandro_8
6
9K
Member Avatar for Reverend Jim

As part of a project to manage my collection of photos, I wanted to add the capability of displaying a series of files as thumbnails. This posed me with three problems: 1. how to preserve the aspect ratio of the original images 1. how to generate the thumbnails without tying …

Software Development html-css vb.net
Member Avatar for mariopepper
3
3K
Member Avatar for G_Waddell

Hi good people of Danniweb, I've looked at a lot of examples on line and I cannot figure out what is going wrong. My program has to transfer a simple delimited text file from the local machine up to a specified directory on a FTP server. After I have run …

Software Development file-system
Member Avatar for Dennis_22
0
2K
Member Avatar for robotnixon

I have a funny feeling this is a stupid question so bear with me. I'm passing a string array to a function to search for elements in it. I have what is written below, and all it does is print "Not Found" five times. I'd also like it to print …

Software Development c++
Member Avatar for Shafayet92
0
5K
Member Avatar for devianleong

PLease help me. I'm doing a login form with ms access but this line of code having problem "Dim dr As OleDbDataReader = cmd.ExecuteReader" Below is the source code Imports System.Data.OleDb Public Class Form1 Dim con As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\leong\documents\visual studio 2010\Projects\WindowsApplication4\WindowsApplication4\coursework.mdb") Dim cmd As OleDbCommand Private Sub Button1_Click(ByVal sender …

Software Development vb.net
Member Avatar for Ansh8390
0
2K
Member Avatar for meryl_1

I got this error and can't identify what is wrong with the code. I called the jquery code after the jquery plugin, checked carefully the code but it still has an error. <script type="text/javascript" src="./js/jquery.js"></script> <script type="text/javascript" src="./js/jquery-migrate-1.2.1.min.js"></script> <script type="text/javascript" src="./js/jquery-1.8.3.min.js"></script> <script type="text/javascript" src="./js/jquery-ui-1.10.3.custom.min.js"></script> <link rel="stylesheet" href="./css/thread.css" media="screen"> <link rel="stylesheet" …

Software Development javascript jquery
Member Avatar for markfilan
0
2K
Member Avatar for Aman_24

Write a function that takes as argument a string containing multiple words and returns a string containing the same words in reverse order. Eg., input = 'India is a democracy'; output = 'democracy a is India'

Software Development python
Member Avatar for AndrisP
0
588
Member Avatar for codiene bryant

I am doing this program for a cs class. I am trying to create menu based system that will allow the user to input the number that corresponds to the option they want to choose. Then based on that option they will input their customer id (this is a banking …

Software Development c++
Member Avatar for dexblack_1
0
401
Member Avatar for Xozz

I'm busy writing Yahtzee. Now, I want to fill a const char[] with the field names: 1's, 2's, 3's, ..., "Full House" "Small Straight" etc. But I get this errors #include <iostream> #include <stdlib.h> using namespace std; /* 1 2 3 4 5 6 3 of a kind carre full …

Software Development c++
Member Avatar for DGPickett
0
265
Member Avatar for shantuli

hi everyone, i am very new in java. can anyone help me to solve the following problem: A school conducts a 100 mark exam for its student and grades them as follows: Grade: Grade A: Marks>75 Grade B: 75>Marks>60 Grade C: 60>Marks>50 Grade D: 50>Marks>40 Write ajava program to calculate …

Software Development java
Member Avatar for zunam
-5
81K
Member Avatar for chris_58

I have 2 form there are form 1 and form 2 my program current situation is when user click delete it will pop up a login form. When user click cancel button from login form the data on the database will be delete ![login_form.PNG](/attachments/large/4/44621e202c33a0c03d1931bb384694fa.PNG) when user click cancel it will …

Software Development vb.net
Member Avatar for Reverend Jim
0
585
Member Avatar for VIPER5646

Hi all I have a datagridview with 2 columns. fist column is Datagridview combobox the second is a datagridtextbox. I'm trying to fill the second column based on the combobox selection . The Method that captures the selected item does not track which row is being edited. I have tried …

Software Development vb.net
1
374
Member Avatar for imagetvr

Hello I wish to call crystal report in my VB6 Application. For showing data report i used following code ; Example Date report name : datareport1 Code for showing report Load datareport1 Datreport1.show I have crystal report named "studentregister". please explain me how can show the crystal report in my …

Software Development visual-basic
Member Avatar for Nilesh_11
0
6K

The End.