132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for colby.christensen

I have been teaching myself Python and wanted to create something useful while learning. I am using wxPython to create the interface. The app works if I use the mouse to click the buttons. I've been trying to get it to recognize operation key-ins like addition using the num pad …

Software Development github python
Member Avatar for colby.christensen
0
691
Member Avatar for Baldwin_1

I tried to change the Local Group Policy settings (Remove computer icon on dekstop, Removes windows explorer's default context menu, etc.) using the registry. The state in Group Policy(enable/disable) does affect but the actual(removing computer icon, no context menu/right click) does not. I've found a thread [here](https://social.technet.microsoft.com/Forums/windows/en-US/12e9f5a5-1433-4580-a140-10b3ec463f58/how-to-apply-registry-setting-immediately?forum=w7itproperf) that to use …

Software Development vb.net
Member Avatar for Baldwin_1
0
334
Member Avatar for Christian Felix

where and how do I add array statement and ofstream? #include <iostream> using namespace std; int main(int argc, char** argv) { int size, crust, flavor, extra, order=0, total=0; cout<<"Good day! Welcome to Don Rogelio's Pizza. \n"; do{ cout<<"\nPizza size: (1)Small (2)Medium (3)Large :"; cin>>size; cout<<"\nPizza Crust: (1)Thin Crust (2)Regular Crust …

Software Development c++
Member Avatar for tinstaafl
0
174
Member Avatar for Papa_Don

Group, I'm trying to import an EXCEL table into an SQL Server Table. Although new to SQL, I've done it several times. However for the first time I'm having to import a column that is a date. I'm not sure how the EXCEL column should be formatted so that it …

Software Development microsoft-office sql vb.net
Member Avatar for David_Fisher
0
394
Member Avatar for AleMonteiro

Hi, I recieved an VB.NET solution to study and then maintain, but I can't compile it, it's giving a lot of errors about Office integration like **'MsoTriState' is ambiguous in the namespace 'Microsoft.Office.Core'** So I checked the object browser and indeed there's the same object in two diffente namespaces: [Microsoft.Office.Core] …

Software Development microsoft-office vb.net visual-studio
Member Avatar for AleMonteiro
0
2K
Member Avatar for letters1417

Hello! I have to print patterns using '*' and I am at a loss how to get these patterns printed! I figured out the first one, * ** *** **** ***** ****** ******* ******** ********* ********** and now i have to do it upside down: ********** ********* ******** ******* ****** …

Software Development java programming-construct
Member Avatar for JamesCherrill
0
2K
Member Avatar for Stephen_13

I know this is really messy code but I am writing a Paint app in Java for a class and I'm getting an ERROR when I drag the mouse. MousePressed works properly (prints). MouseDragged, however, throws a NullPointerException. Please let me know what the problem is here. I'll put a …

Software Development java java-swing
Member Avatar for JamesCherrill
0
426
Member Avatar for alegatross

I am using C language to encrypt a text file and decrypt it by the means of an AES Algorithm. This algorithm can only encrypts characters if they are stated in the format of an unsigned character where a letter A is represented by 0x41. what i am trying to …

Software Development algorithm c encryption
Member Avatar for alegatross
0
714
Member Avatar for steven.rose.94

what is my best approach to deal with negative floating values in Python3? I know I can remove the negative all together with strip but I'd like to return the negative result if possible Example the following code returns a math domain error due to the negative number: eps = …

Software Development python
Member Avatar for steven.rose.94
0
347
Member Avatar for cjhukill

I am attempting to add a custom function to my schematron rule stylesheet to aid in looking up values in code tables. I continue to receive an error message: 'XPST0017 XPath syntax at char 0 on line 545 near (...ookupExpression('SEX'): Cannot find a matching 1-argument function named (functions:1.0)BuildLookupExpression())' At the …

Software Development xml
0
182
Member Avatar for imagetvr

I wish to print invoice using printer.print method ( using USB dot matrix printer in continous paper) Some invoice contain 6 lines, some 15 lines. Now afer printing 5 lines printer ejectng paper. so paper waster ( paper width 5 inches, continous paper). I wish to top printing after printing …

Software Development printer visual-basic
Member Avatar for Santanu.Das
0
920
Member Avatar for -ordi-

[CODE]# -*- coding: utf-8 -*- from PyQt4 import QtGui from PyQt4.QtCore import * import sys import os class VideosToMp3(QtGui.QWidget): def __init__(self, parent = None): super(VideosToMp3, self).__init__(parent) ''' Labels and GUI ''' extension = QtGui.QWidget() download_label = QtGui.QLabel("Enter YouTube video URL:") self.download_line_edit = QtGui.QLineEdit() file_label = QtGui.QLabel("Enter file name (optional):") self.file_line_edit …

Software Development oop python qt
Member Avatar for Ha
0
638
Member Avatar for nikhil_7

Hello, I'm new to perl and I'm trying to compile a perl code that I downloaded from web. I'm getting the below error. -------------------------------------------------------------------------------------------------------------------------- Can't locate docs/perlmod/DoxyDocs.pm in @INC (you may need to install the docs::perlmod::DoxyDocs module) --------------------------------------------------------------------------------------------------------------------------- Where do I download DoxyDocs module from for linux? Please help me …

Software Development perl
Member Avatar for 2teez
0
492
Member Avatar for Tcll

Basically, I'm working with zipimport to load plugins. These plugins contain binary modules which can only be loaded via retrieving their data. Copying them to a temporary directory is stupid, so how can I get a handle to a dynamic process which I can inject the stream into before it's …

Software Development file-system python
Member Avatar for Tcll
0
329
Member Avatar for ns9969

Hi, I have problem with very simple telnet connection script.: import sys import telnetlib from telnetlib import Telnet HOST = 'localhost' command="clear cable modem reset all" print "Start telnet connection" tn = telnetlib.Telnet(HOST) tn.set_debuglevel(9) print tn.read_until("CMTS>") print tn.read_all() tn.write("logout\n") print tn.read_all() In pycharm run log i see : Start telnet …

Software Development python
Member Avatar for rproffitt
0
1K
Member Avatar for mike52john

Hi, i have been working on this program and will display the array contents to the user and ask how many positions he would like to shift off the right side of the array, and replace onto the left side. This is what is supposed to look like: Array contents: …

Software Development java
Member Avatar for rubberman
0
186
Member Avatar for Lethugs

Hi under this event Private Sub dgSO_CellContentClick(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewCellEventArgs) Handles dgSO.CellContentClick if user click the checkbox in datagridview, a window pops up and ask data when user press escape (no data input), the popup form will dispose and the checkbox should be unchecked This code …

Software Development vb.net
Member Avatar for Santanu.Das
0
928
Member Avatar for hallianonline

I have a problem that my crystal report shows the decimal values as 00 every thing is fine but it does not display proper value e.g. If i have 0.235 it shows 0.000 If i have 2.356 it shows 2.000 Whats the matter behind it the database field is text …

Software Development visual-basic
Member Avatar for Santanu.Das
0
233
Member Avatar for Lethugs

Hi, I have 2 checkboxes in a datagridview I added this code Private Sub dgSO_CurrentCellDirtyStateChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles dgSO.CurrentCellDirtyStateChanged If dgSO.IsCurrentCellDirty Then dgSO.CommitEdit(DataGridViewDataErrorContexts.Commit) End If End Sub and when user click the checkbox, i used this code Private Sub dgSO_CellContentClick(ByVal sender As Object, ByVal e …

Software Development vb.net
Member Avatar for Santanu.Das
0
333
Member Avatar for Mike Bishop

I have a form with only 1 object on it , a progress bar. when the form loads it runs the progress bar, which is working fine. when the progress bar hits the max vaule i want the form to close but no matter where i put the me.close the …

Software Development vb.net visual-basic
Member Avatar for Mr.M
0
863
Member Avatar for Mr.M

Hi Dw I want to record video with audio, the current program has two forms of which one form record external video and the other form record internal so I've reduced the size of an external video capture to lower right hand corner of my screen and set it to …

Software Development audio vb.net video webcam
Member Avatar for Mr.M
0
2K
Member Avatar for buffdaemon_live

Dear all, I wanted to fill the combo box with the data from my SQL server database. There are two column in the table, product_id and product_name. for example: product_id| product_name ---------- -------------- 1| pencil 2| NoteBook I was successful in displaying the product name in combo box. The code …

Software Development client-server dataset sql vb.net
Member Avatar for Mike Bishop
0
6K
Member Avatar for shift25

Please help me figure out what is wrong with my code... [code] #include <iostream> // required to perform C++ stream I/O #include <iomanip> // required for parameterized stream manipulators using namespace std; // for accessing C++ Standard Library members //declaration of calculateAverage function-template prototype template <class T> T calculateAverage(T dataValue[], …

Software Development c++ file-stream storage
Member Avatar for Helly_1
0
1K
Member Avatar for Gregt1991

I am working on a program that should convert between in, ft, mi, mm, cm, m, and km. The question is: Write a unit conversion program that asks users to identify the unit from which they want to convert and the unit to which they want to convert. Legal units …

Software Development java legal
Member Avatar for happygeek
0
21K
Member Avatar for Nawti

Good Day Everyone please I am writing a Check In and Check Out program to display the date increase in day/month/year whenever I input a number. Eg. suppose I type 2days on the Check In Form I want the Check Out Form to display the days difference from the current …

Software Development vb.net visual-basic
Member Avatar for Nawti
0
326
Member Avatar for sungilcool

I'm trying to build my skills here. This code compiles and runs successfully if I go out of class. It crashes when I need to enter numbers for matrices. Can somebody explain to me why this crashes? #pragma once #ifndef matrixType_h #define matrixType_h template <class T> class matrixType { public: …

Software Development c++ matrix-multiplication
Member Avatar for tinstaafl
0
1K
Member Avatar for cecsFTL

For this project I need to generate all three digit numbers where the 1st digit is always larger than the 2nd, and the 2nd digit is always larger than the third. I'm not asking you guys to do it for me but to point me in the right direction. I'm …

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

hi, can u help me, what can i do to print a form, example: in form1 there is a button that will print the form2 that has registration form. it is possible or other ways? please help

Software Development gui vb.net
Member Avatar for tmccmt
0
8K
Member Avatar for abu taher

Delete checked item (one or more) from listview I write this code. Dim x As Long For x = LVEmp.ListItems.Count To 1 Step -1 If LVEmp.ListItems(x).Checked Then con.Execute "DELETE FROM stock WHERE [SrNo] = '" & LVEmp.ListItems(x).SubItems(1) & "'" LVEmp.ListItems.Remove x End If Next con.Close Set con = Nothing but …

Software Development listview visual-basic
Member Avatar for Santanu.Das
0
318
Member Avatar for prpasim1

The problem: I am want to create static websites for dynamic restaurants. A restaurant enters their details and from this, I want to create a web page for each restaurant with their own unique details on thi html page. So when I run them, in them will be their name, …

Software Development gui html-css
Member Avatar for prpasim1
0
558
Member Avatar for athenaswrath

I need a ArrayList of Entertainment objects of some size. Then I need a menu that searches, adds, deletes, prints, and lastly quits this is a loop. I need the user to choose between Movie or TVShow my other classes to pass over to my constructors. Each menu option needs …

Software Development file-system
Member Avatar for rproffitt
0
483
Member Avatar for levshlomo

I have a BIG PDF file created by as a report. The file have 1.6M lines of data. No images at all. each page have a title with a page number a header for the columns and 28 data lines after it. Each line have 12 fields. Some data fields …

Software Development file-system pdf visual-basic
Member Avatar for rproffitt
0
2K
Member Avatar for johndohmen1963

Hy It's a long time ago i asked something here. But now i am asking again something First i give my code Dim conc As New SqlConnection("Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\BurgerlijkeStand.mdf;Integrated Security=True;Connect Timeout=30") conc.Open() Dim cmdc As New SqlCommand("Select COUNT (*) FROM dbo.[Landen] ", conc) Dim i As Integer = cmdc.ExecuteScalar() cmdc = …

Software Development open-source vb.net
Member Avatar for johndohmen1963
0
154
Member Avatar for nic56208

I'm making a program that identifies the word position in a sentence. For example, in the sentence ASK NOT WHAT YOUR COUNTRY CAN DO FOR YOU ASK WHAT YOU CAN DO FOR YOUR COUNTRY The word 'COUNRTY' appears in the 5th and 17th positions. **This is what I have so …

Software Development python shell-scripting
Member Avatar for Gribouillis
0
511
Member Avatar for SelArom

hi! I haven't been here in a while, but i'm glad you're still around since I need some help! I've got to implement a round-robin simulation of process execution. I've decided to do this in VB.NET because it's my strongest language and it's a difficult concept! I've got some of …

Software Development queue vb.net
Member Avatar for Mr.M
0
2K
Member Avatar for Joemar_1

i have 2 combobox 1 is that to check if the status of the room is available or occupied. i want to show my records into my combobox of what is the room type that is available. for example: cmbroom has two item the "delux" and the "ordinary" in my …

Software Development microsoft-access visual-basic
Member Avatar for rproffitt
0
242
Member Avatar for glao

Hello , I want to ask why I am not receiving the same result using either the `if` with `break` inside the while loop ,either the `while( x!=X && y!= Y )`. #include <stdio.h> #include <stdlib.h> int sol( int X, int Y ) { int x = 0, y = …

Software Development c
Member Avatar for glao
0
189
Member Avatar for MWE_QUE

I was working on the wrong assignment, so I hammered this out, it's almost due, and I am having trouble figuring out how to test my program. Eclipse keeps showing errors when trying to figure out how to populate my fields, assuming I have the rest of the program right. …

Software Development java
Member Avatar for blauthor
0
958
Member Avatar for sashiksu

hey, I'm making loan management system and I'm almost finished customers and loan registrations. Now I want to make ledger for each loan for it's settlements. All loans are finished within 65 days. I make settlement table and it has receipt_id, date_received,loan_id,amount. I want to create 65 records on settlement …

Software Development vb.net
Member Avatar for tinstaafl
0
425
Member Avatar for fhau013

my vb ask me the registration key!! what to do?? please help me!!!! thank you in advance!!!!!

Software Development vb.net
Member Avatar for ankit sriva
0
1K
Member Avatar for toxicandy

Hello, I know that you don't provide solutions to homework but I know Daniweb will help with homework as long as we show we are doing some work ourselfs. My assignment is to generate the maximum spanning tree for a given matrix. I am CLOSE but not quite there. I …

Software Development c++
Member Avatar for rubberman
0
2K
Member Avatar for sashiksu

I want to do something like counting date, it's truly like this First I click on one date time picker which called 'dtpstart'. Then I typed number of dates on text box called 'period'. After that I want to show what is the date ? For Ex: dtpstart = 2016.01.01 …

Software Development vb.net
Member Avatar for AleMonteiro
0
302
Member Avatar for Arsal_1

How to make script like this? **$python script.py 1. Register 2. Login 3. View User Choose with number :** I can make a script for Register and Login, but i still confusing make a script for view user. Spoiler For View User: **Choose with number : 3** (If still not …

Software Development python
Member Avatar for Gribouillis
0
552
Member Avatar for IIMorphII

Hey, First: Hello, i'm new here :lol: And here my question: It's a very short question: Is it possible to get the screen size (resolution) with pygame and how do i get it?

Software Development python
Member Avatar for diliupgabadamudalige
0
17K
Member Avatar for sashiksu

hey ! gd evening :) I'm just facing error while coding on vb.net. I have new customer form. Normaly it has many text boxes , one date time picker and five picture boxes. this is code snip : Dim mstream As New System.IO.MemoryStream() customerpic.Image.Save(mstream, System.Drawing.Imaging.ImageFormat.Jpeg) Dim arrImage() As Byte = …

Software Development mysql vb.net
Member Avatar for Santanu.Das
0
456
Member Avatar for Dec15

Hi everyone,i'm currently making a random name picker .I got a csv excel file saved with 3 columns of data...one is the first name ,last name and tutor group. I want to be able to search through the database and read just the first column of data and be able …

Software Development seo visual-basic
Member Avatar for Dec15
0
211
Member Avatar for ezechima

Please how do I Compile and Package a vb.net program (web based) so that I can deploy it on other computers, or better still on a LAN server, where other computers can run it from. I program with VB 2008 (vb.net) but can only run my programs within the local …

Software Development vb.net
Member Avatar for savedlema
0
329
Member Avatar for reminem

Hello Everybody, I searched the the internet and this forum, but cannot find the solution for my problem. Started with python and have this code (part of): import requests `def Send_invitation(): data = {"bsn": e3.get(), "initialen": e2.get(), "achternaam": e1.get(), "geslacht": e4.get(), "geboortedatum": e5.get(), "postcode": e6.get(), "emailadres": e7.get(), "screening_type": e8.get()} response …

Software Development api json python
Member Avatar for reminem
0
332
Member Avatar for Khw09

I want to have a random picture to be displayed in a picturebox from a list of jpeg files in my debug folder in visual basics. At the moment i've been using this code to display a specific image but I want the image to be random... If Label1.Text = …

Software Development visual-basic
Member Avatar for rproffitt
0
339
Member Avatar for sashiksu

I'm wondering how to save image to MYSQL-DB via vb.net application. At the last I find some way to save image. But 'some type of images' doesn't save in that way. By 'some type of images' I mean diffrent widths,heights and resolutions. For example I use this code to save …

Software Development image mysql vb.net
Member Avatar for Reverend Jim
0
664

The End.