981 Recommended Topics

Remove Filter
Member Avatar for
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 buffer keyboard python
Member Avatar for ppel123
0
412
Member Avatar for Hu99.Kappa

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

Software Development c++ visual-basic
Member Avatar for JamesCherrill
-2
757
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 progress-bar text 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-6
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
571
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 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
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
121
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 driven event socket-programming tcp
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 css ratio thumbnail 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 blank upload
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
587
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
375
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 datagridview visual-basic
Member Avatar for pritaeas
0
312
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
249
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
173
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 value
Member Avatar for zunam
-5
81K
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
371
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-6
Member Avatar for Nilesh_11
0
6K
Member Avatar for YpowT

Hi all, I am building a GUI application using Python and Tkinter to mimic a Pay-At-Pump system. Currently, I am at stage where I have coded and defined the relevant frames and widgets that help to traverse through those frames, these are organised into classes. However, I am trying to …

Software Development python
Member Avatar for YpowT
0
1K
Member Avatar for killhha

ok i dont really know how to explain this but... c:=readkey; case (c) of #13:Halt; #27:goto menu else goto quit; as you can see above if you press Esc(which is 13) the program quits and if you press Enter(which is 27) it gos to the menu. I want to know …

Software Development pascal
Member Avatar for RandomGuy2606
0
1K
Member Avatar for SoftBa

Hi, I have form1, and second form2 When I call second form2, form1 is disabled for any interaction. customer.Show() Me.Enabled = False Close button on form2 code is Private Sub Closebutton_Click(sender As Object, e As EventArgs) Handles Closebutton.Click Me.Close() Form1.BringToFront() Form1.Enabled = True End Sub As you can see, I …

Software Development vb.net
Member Avatar for Minimalist
0
769
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
533
Member Avatar for Xozz

I just wrote a simple C++ program. But now I want to share it with a friend and GMail doesn't allow me to use it and putting it on a web domain doens't work either. How do you share a simple program (compiled)?

Software Development .exe c++ sharing
Member Avatar for Yrth
0
306
Member Avatar for GrimDemeanor

these are the goals of the assignment i am trying to complete, i am running into a problem where i need to create a function get the product the customer selected and reutrn that information in a cout that also inculdes information from another function, i got the first part …

Software Development c++
Member Avatar for tinstaafl
0
218
Member Avatar for Dilshan_2

#include <iostream> #include <ctime> #include <cstdlib> using namespace std; int main() { srand(time(NULL)); int tries = 0; int iNum; int UpperLim = 100; int LowerLim = 10; int iCompNum; cout << "Enter a number: "; cin >> iNum; do { iCompNum = rand() % (UpperLim - LowerLim) + LowerLim; cout …

Software Development c++
Member Avatar for Reverend Jim
0
164

The End.