132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jludeman

I' m trying to see if it is possible to write a keyboard only wxpython program. All of the tutorials I'm finding on the web when run have no focused control at all. That's fine if you expect the user to click with a mouse. I'll try to give a …

Software Development python
Member Avatar for jludeman
0
227
Member Avatar for hsaraiya

I am trying to Draw a graph which can read data values from Text files. In which i want to consider 1st column as X-axis and 2nd as Y-axis.

Software Development java
Member Avatar for JamesCherrill
0
2K
Member Avatar for Stefce

Hello everyone, im thinking how to make car engine sound on button click... my idea is when i click the button to be the same as you click on the gas pedal the engine starts to make sound (i know its not possible that with keyboard key) BUT i think …

Software Development gui
Member Avatar for rproffitt
0
341
Member Avatar for overwraith

I am trying to build a program for transferring files to an arduino project with an attached sd card. I have some code, it does some interesting stuff, but it's not quite what I want it to do. What I need it to do is to be able to transfer …

Software Development c c++ java shell-scripting
Member Avatar for rproffitt
0
825
Member Avatar for Ghast

Hello. I have a weird problem with VB.NET applications. In Visual Studio 2013 the work just fine. But outside of VS, it does not run. At all. In a nutshell, the process runs 3 times using almost no ram but GUI is just not there. Also I can not kill …

Software Development gui vb.net visual-studio
Member Avatar for Ghast
0
528
Member Avatar for Steven_10

Hello I am trying to take a multi-deminsional array[ ] [ ] (2D (if you will)) and set a varriable through a classes public setter. //some of the fields private int request_id; private String time_stamp; private int session_id; private int client_intf; private int server_intf; // many more... // Some Getters …

Software Development java
Member Avatar for Steven_10
0
188
Member Avatar for Sasi_2

Hi, Need help in writing a ‘Guess the Word’ game using object oriented. Thanks, SK

Software Development c++ java
Member Avatar for Doogledude123
0
124
Member Avatar for PratikSagar
Member Avatar for JamesCherrill
0
94
Member Avatar for ogsirus

Hi Guys Ive come accross an interesting application which sorts out an array. Nothing special about that right? But then it gets a bit messy as it can sort out numerous array based on the original. So Lets say I provide it with an Array of 4 number (3,4,1,2) and …

Software Development
Member Avatar for Reverend Jim
0
182
Member Avatar for Makara

Hello guys. I have a challenge here. I have a form that I want it to submit its information to a textarea below it and not in a database. How can I go about it. or To copy the information in the form before submitting. here is the code; <!DOCTYPE …

Software Development html-css
Member Avatar for ryantroop
0
247
Member Avatar for Joshua_14

Enter 10 student grades and print the total number of passing and failing grades entered

Software Development c c++
Member Avatar for David W
0
215
Member Avatar for pwolf

it says the following: Write a function that converts the time to 24hr format. Examples [CODE] >>> time24hr('12:34am') '0034hr' >>> time24hr('12:15pm') '1215hr' [/CODE] so i wrote the following: [CODE] def time24hr(tstr): a = tstr.split(':') am = {'12':'00','1':'01','2':'02','3':'03','4':'04','5':'05','6':'06', '7':'07','8':'08','9':'09','10':'10','11':'11'} pm = {'12':'12','1':'13','2':'14','3':'15','4':'16','5':'17','6':'18', '7':'19','8':'20','9':'21','10':'22','11':'23'} if 'am' in tstr: return am[a[0]] + a[1][:2] …

Software Development python
Member Avatar for Abhinav_4
0
3K
Member Avatar for joshSCH

When I try to execute my jar file through the command prompt by typing: java -jar myJar.jar It returns an error message saying that it can not access the jar file. Why is this? myJar.jar is the exact name of my jar file.

Software Development java microsoft-access
Member Avatar for stultuske
0
36K
Member Avatar for Aeonix

Since I totally F'd up entire topic. [Over here](https://www.daniweb.com/programming/software-development/threads/502281/verify-if-data-sent-by-servers-how-do-bigger-companies-do-that), where nobody has ever known what I meant, until I realized that I said a lot of things that didn't make sense at all, nor I could make up any reasonable statements from smart people out there. By suggestion of said …

Software Development cybersecurity http-protocol web-server
Member Avatar for Aeonix
0
246
Member Avatar for PratikSagar

can anyone help me that how I can read numbers from images through java program..

Software Development image java
Member Avatar for JamesCherrill
0
329
Member Avatar for KushMishra

Hi, I have a WPF Grid with multiple controls like TextBox, ComboBox, CheckBox etc. and their properties like Text, SelectedItem, IsChecked etc. are present inside the view model bound to the view perfectly. I want to copy the values of all the controls to the Clipboard (may be) and want …

Software Development asp.net vb.net
Member Avatar for Santanu.Das
0
2K
Member Avatar for nagarjuna9

using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data.Sql; using System.Data.SqlClient; namespace studentreg { public partial class WebForm1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { SqlConnection con = new SqlConnection(@"Data Source=(LocalDB)\v11.0;AttachDbFilename=;Integrated Security=True"); con.Open(); SqlCommand …

Software Development open-source
Member Avatar for ddanbe
0
118
Member Avatar for Suzie999

I have many checkboxes on my form, I decided to create a custom checkbox to use instead. I thought I could just change the following two lines of code in Mainform.designer.cs... `private System.Windows.Forms.CheckBox chkapp;` to `private CustCheckBox chkapp;` and `this.chkapp = new System.Windows.Forms.CheckBox();` to `this.chkapp = new CustCheckBox();` And I …

Software Development visual-studio
Member Avatar for Suzie999
0
3K
Member Avatar for deboararo

please help in writing a programming code for this project

Software Development c++
Member Avatar for rubberman
0
89
Member Avatar for Gl753

Hi, I'm currently working on a GUI programme that caluculates the amount of days in a month through user input. However I've become stuck where the programme crashes upon entering the month number. I believe that I may have incorrectly chosen my instance variables but I am unsure of which …

Software Development gui java
Member Avatar for stultuske
0
342
Member Avatar for stilllearning

Hi, I looked for this information, but couldn't find it anywhere. Is there a difference between a "template class" and a "class template" or are they just two different ways of saying the same thing ? Thanks a lot.

Software Development c++
Member Avatar for parchuresunilv
0
2K
Member Avatar for chrisschristou

hello i just get started with java so i have a question where the difference from c/c++ and the famous lovely java begin, the function or better method, so in c/c++ we can make a function prototype on top the main and then define it later like this int myfunctionprototype(int …

Software Development c c++ java
Member Avatar for JamesCherrill
0
1K
Member Avatar for Suzie999

I'm trying to draw a border around some controls in order to highlight them, but I'm getting unexpected behaviour, in that nothing is drawn. Here is a current event method. I've tried a few variations. private void checkBox1_Paint(object sender, PaintEventArgs e) { if (statechanged) { //Debug.WriteLine(checkBox1.Checked.ToString()); statechanged = false; ControlPaint.DrawBorder( …

Software Development image
Member Avatar for Suzie999
0
2K
Member Avatar for TonyTGI

Hello! I need to know this: How do i write something in a rich text box, then close the form, then next time I run it, the form will keep that text? Thanks :)

Software Development vb.net
Member Avatar for Reverend Jim
0
142
Member Avatar for Asmaa_7

I'm doing a project that reads some string reactions from file at formula e.g: (5A+3B=c+10D) as an input, i need to do a parsing for the string reaction so that i can extract &(split) integer values beside a char and put them into a vector i.e vector associated with the …

Software Development c++ file-stream
Member Avatar for ddanbe
0
293
Member Avatar for Musab_1

Write a Pentium assembly language program that will convert a BCD number in AL to a seven-segment code using a look-up table containing the seven-segment codes of the BCD numbers. Use a common-cathode display. Assume that the table is stored in memory starting at offset 2000H. Use the XLAT instruction. …

Software Development assembly
Member Avatar for rubberman
0
177
Member Avatar for Reo_1

hello Am trying to make an app which has five questions with textboxes for each question for entering answers.Question one has two textboxes worthy one mark each for the correct answer and question two one textbox worth two marks for the correct answer.I want the marks got for the correct …

Software Development vb.net visual-basic
Member Avatar for AndreRet
0
528
Member Avatar for opspl_programme

Hi I have an existing Visual Basic 6 program which prints to an attached (LPT1) Dot Matrix Printer. Printing is done by first sending the output to a file and from there sending it to the printer. There are a set of Escape Sequences like Print #1 chr(15); chr(3); strVarName …

Software Development printer visual-basic
Member Avatar for AndreRet
0
4K
Member Avatar for Narmada_1

Hi I want to change my carrier from Php to Java. I have 2 years of experience in php web development like wordpress, joomla tools. There after I changed company there on my company request, I learnt java on my own by seeing tutorials. They assigned me spring project I …

Software Development developer-tools java php wordpress
Member Avatar for Narmada_1
0
237
Member Avatar for Ravi_23

package com.mkyong.util; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class ReadFromCVS { ArrayList<datas> dataList = new ArrayList<datas>(); public static void main(String[] args) { ReadFromCVS obj = new ReadFromCVS(); obj.run(); obj.printDataList(obj.dataList); } public void run() { String csvFile = "C:\\Users\\User\\Downloads\\SalesData.csv"; BufferedReader br = …

Software Development java
Member Avatar for JamesCherrill
0
235
Member Avatar for TonyTGI

Hello. Im new to this coding stuff, so I want to know how to make controls moveable when the program is actually running. My aim is to make a panel with a label and button moveable. Its kinda like a widgit :) Im using Visual Basic 2010 Express. Thanks! (PS: …

Software Development visual-basic
Member Avatar for TonyTGI
0
240
Member Avatar for Lazarus777

how to take a dictionary from this list ? Shop = ["Apple" , "orange", "mangoo" . "Tomato" . "grape"] #Example# $python shop.py > > 1. apple > 2. orange > 3. mangoo > 4. tomato > 5. grape > > > What will u buy? use number (1-5) : 2 …

Software Development apple python
Member Avatar for Lazarus777
0
254
Member Avatar for Sandeep_16

Consider a single producer and 10 consumers as threads. The consumers has to subscribe (Ad themselves) to the producer in-order to get any messages that produces sends. The expected functionality is that, the producer should add a message to a data structure/collection (you choose of your choice) every 2 minutes …

Software Development data-structure java
Member Avatar for JamesCherrill
0
238
Member Avatar for Devon_1

Hi, I am converting some C++ code to C# now and need some help on reading it! The C++ code is: uchar p2 = im.at<uchar>(i-1, j); uchar p3 = im.at<uchar>(i-1, j+1); uchar p4 = im.at<uchar>(i, j+1); uchar p5 = im.at<uchar>(i+1, j+1); uchar p6 = im.at<uchar>(i+1, j); uchar p7 = im.at<uchar>(i+1, …

Software Development c++
Member Avatar for rproffitt
0
228
Member Avatar for Steven_10

package com.company; /** * Log Nazi -- Created by Steven Richardson on 2/2/2016. */ import javax.swing.*; import java.io.*; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; import java.util.Scanner; /** * Created by Steven on 1/29/2016. */ public class LogReader { // declare variables static String theFile; static int rows = …

Software Development file-system java java-swing
Member Avatar for Steven_10
0
980
Member Avatar for Aishah_1

Hi, i was wondering how to change the lable text in Python after clicking a button. For example: `from Tkinter import * `def onclick():` pass import tkMessageBox root = Tk() root.title("Pantai Hospital") L1 = Label(root, text='Welcome to Pantai Hospital!') L1.pack() L2 = Label(root, text='Login') L2.pack() L3 = Label(root, text = …

Software Development python tkinter
Member Avatar for DanDanPy3.4
0
5K
Member Avatar for JustARandomguy

Hi, I just want to know if i can remove a part of a string Exemple : in Textbox1 i have "C:\Users\Someone\Desktop\test.exe" and i want delete the string until the "\" so in the textbox i get "C:\Users\Someone\Desktop\" Thanks if you reply me and sorry for the bad english, its …

Software Development
Member Avatar for JustARandomguy
0
197
Member Avatar for jjones0150

I'm trying to figure out why my removeProduct method won't actually remove the product from the list please give me some feedback. InventoryApp.java class package JayJuan; import java.util.Scanner; import java.math.BigDecimal; import java.util.Scanner; /* Main class used to add a product, remove a product, update a product, or view the product …

Software Development java
0
263
Member Avatar for rpv_sen

Hi I am working on windows services. i can bale to run the service for every 1 min. I creating multi thread. but i required the service to run in single thread. can any one please help me to fix my issue. **Code** using System; using System.Collections.Generic; using System.ComponentModel; using …

Software Development assembly c#
Member Avatar for pritaeas
0
1K
Member Avatar for toxicandy

I just figured out the answer to one of my previous questions but now I have a new problem, before I was just being a tad silly and forgot how to properly write a function but now my question is if I have the following function `int findMobile( string word, …

Software Development c c# c++
Member Avatar for rubberman
0
272
Member Avatar for nemzmiyaw

i want to disable the Alt Tab, windows key, ctrl esc key. FOr my Log On Security that start up in coomputer like windows log on. Thanks for the help. Try to search hours for this but i cannot find the right solution im using vb.net 2005 and OS is …

Software Development vb.net windows-vista
Member Avatar for adeministrator
0
6K
Member Avatar for Aeonix

As soon as I find out exact manner of communication between the server and the software. I realized how easy it is to use programs to intercept it, analyze it and then send malicious (or rather illegal) query through. So. I was wondering is there a way to make sure …

Software Development client-server cybersecurity web-server
Member Avatar for ryantroop
0
457
Member Avatar for Suzie999

I'm not even sure what it's called or even if it's possible, what I'm trying to do. I'm hoping the code might explain it. Each class that derives from Base has a method named oPrint, and I want to call them in the below fashion(ish) if possible. namespace nSpace { …

Software Development
Member Avatar for Suzie999
0
339
Member Avatar for mistryrak440

Most of the email autoresponder provides various types of services, but a customazie autoresponder needed for my cpa business, i am try to make a autoresponder with server scripting language (PHP) , but i dont know how its possiable or not?

Software Development c php
Member Avatar for jkon
0
194
Member Avatar for jeffrey4u

Hi there Am a new student in C# and am using Microsoft Visual C# 2013. My aim is to i. open a child form inside its MDIparent form ii. disable the MDIparent form when the child form is active/opened it was easier in VB.net with frmStuDetails.ShowDialog() I have tried 1. …

Software Development
Member Avatar for jeffrey4u
0
2K
Member Avatar for Ong_1

package admin.entity; import java.util.Random; public final class PasswordGenerator { // DATAS // characters with which the password will be composed private static final int charactersSize = 100; private static char [] characters = new char [charactersSize]; // keep the counts of used characters private static int charactersCount = 0; // …

Software Development display java
Member Avatar for stultuske
0
221
Member Avatar for toxicandy

I am trying to declare a function to find the largest mobile element for a program to list permutations using johnson-totter algorithm. Here is my definition of the function in the header file: `int findMobile( string, int[] );` and here is my actual declaration of the function: `int findMobile( string …

Software Development algorithm c c# c++
Member Avatar for rubberman
0
476
Member Avatar for Sonic1980

Hello, I need some guidance with my third button. I have created a GUI that so far displays contents from from two folders by using folder browser dialog. All I want to do is compare the filenames between both folders and display the differences in a third listbox. I would …

Software Development c c# c++ gui
Member Avatar for tinstaafl
0
705
Member Avatar for Begginnerdev

Here is a small extention of the Panel class that allows you to 'collapse' it. So far, the user can place a control on the parent form and perform a collapse/expantion by: 'Where cpNew is a Collapsible Panel If Not cpNew.PanelCollapsed Then cpNew.Collapse() 'or If cpNew.PanelCollapsed Then cpNew.Expand() I will …

Software Development vb.net
Member Avatar for parjor
0
2K
Member Avatar for Webville312

Dear all, So I am trying to run a watir test application. Everything seems to be going well except I need to log each step that happens. I am able to log using the php script, but have not yet figured out how to write to a log file using …

Software Development pay-per-click php ruby
0
333

The End.