132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Saboor880

Hi! I have made a POS Sotware. I have used only one JFrame as Main/Home Screen of the software and used JDialogs for all other screens. In this post I have concern with the 2 screens; Home Screen(which is a Jframe) and Sales Screen(which is a JDialog). As Home Screen …

Software Development java
Member Avatar for JamesCherrill
0
1K
Member Avatar for m.mohamed

I am trying to create a method that will count number of zeros in a statement/numbers (numOfZero), that a string as input and returns the number of occurrence of ‘0’ in the string. And if there is no zero it should return zero. I have used String.length() and String.CharAt(int index). …

Software Development java
Member Avatar for rproffitt
0
217
Member Avatar for optimumgiant

Anyone can fix this code. thank you, only TURBO C program #include<stdio.h> #include<string.h> #include<stdlib.h> #define true 0 #define false 1 struct product { char id[10]; char name[20]; int quantity; int numSold; float price; int discount; float sales; }; struct product prod[30]; int count = 0; FILE *f; int writefile() { …

Software Development
Member Avatar for optimumgiant
0
520
Member Avatar for us3l3ssn1nja

hi everyone can someone help me on vb.net code on how to load selected row from datagridview and transfer in to combobox or radio button.. i will appreciate your help so much

Software Development vb.net
0
252
Member Avatar for pelin

i am almost done with the hangman game but i just need to migrate it to graphics i know i need to use entrybox but i still dont know. [CODE]rom graphics import* from random import * MAX_BAD_GUESSES = 7 def readfile(): infile = open("wordlist.txt","r") contents = infile.read() lines = contents.split("\n") …

Software Development python
Member Avatar for Devarshi_1
0
630
Member Avatar for Barnacle

from tkinter import * import time root = Tk() root.title("Testing System") root.geometry("900x600") def main(): def tick(): time_str1= time.strftime("%H:%M:%S") clock.config(text = "Current Time:\n" + time_str1) clock.after(200, tick) def date(): date_str1 = time.strftime("%A, %d %B %Y") date2.config(text = date_str1) date2.after(200, tick) frame = Frame(root) clock = Label(frame, font = ("times", 14, "bold"), …

Software Development python tkinter
Member Avatar for woooee
0
369
Member Avatar for david.godistei

I am a beginner in C# database developing. I am developing a payroll application with four (4) user roles (i.e. Admin, Accountant, HR and ReadOnly). There is a Dashboard that displays four buttons that link their respective access pages. Though when logged in based on the user's role, he is …

Software Development
0
191
Member Avatar for naya22

I am working on a math tutoring program that asks the user for a seed value, gives them two random numbers from 1 to 500, and asks them to key in the correct answer. So far, here is my source code: [CODE] #include <iostream> #include <cstdlib> #include <time> #include <conio> …

Software Development c++
Member Avatar for Gheorghe_1
0
2K
Member Avatar for Peter_TARAS

Hello, I am learning Tkinter. As a part of the learning process I am building a Notepad clone in order to become familiar with Tkinter widgets. I am pretty close to completing it - I added about 90% functionality to the application - but I face two problems: 1) The …

Member Avatar for bevis.hobbs
0
22K
Member Avatar for Kent_4

Private Sub delBtn_Click() rs.Open Dim list As ListItem Set list = ListView1.ListItems.Add(, CStr(rs!Project_Name)) confirm = MsgBox("Do you want to delete the Employee Record", vbYesNo + vbCritical, "Deletion Confirmation") If confirm = vbYes Then ListView1.ListItems.Remove ListView1.SelectedItem.Key 'this line gives error Dim CM As ADODB.Command Set CM = New ADODB.Command Set CM.ActiveConnection …

Software Development visual-basic
Member Avatar for rproffitt
0
607
Member Avatar for Tormod

Has been looking at different methods like using a look-up table or double-dabble, but have up to this moment not found any algoritm that do the work most effectively. The 64 bit value is delivered to the routine in two 32 bits registers (upper,lower). I am writing a larger project …

Software Development assembly
Member Avatar for rproffitt
0
402
Member Avatar for Violet_82

Hi guys, I'm a little stuck with something here. Basically I have a a method which, given a List of Students will have to filter out those who are younger than 60yrs old and should return a List of Students who are over 60yrs old but I want this to …

Software Development java
Member Avatar for Violet_82
0
1K
Member Avatar for cambalinho

how can i print 3 values(without knowing their string\number size) in same column using cout? i'm using these code: cout <<"\n" << "show tokens\n"; for(unsigned int i=0;i<Tokens.size(); i++) { cout << "Token: " << Tokens[i].Token <<right<<setw(20-Tokens[i].Token.size())<< "Type: " << Tokens[i].Type <<setw(40) << fixed << "Position Line: " << i<<"\n"; } …

Software Development c++
Member Avatar for rproffitt
0
1K
Member Avatar for joao_9

hello i am developing an application in c ++ and mysql and i am having a lot of difficulties in more specified login in the query where the query needs the user and the pass which are in variables. Can anyone help me? Thanks.

Software Development c c# c++ mysql
Member Avatar for rproffitt
0
2K
Member Avatar for Mike Askew

I am currently creating a product lookup system for a project of mine, however from reading around it has come to my attention that an OLEDB connection will not handle the SQL query below as it will not handle more than a simple "SELECT, FROM". Table: tbl_ProductInformation Field: Product_Name CurrentEntry …

Software Development sql vb.net
Member Avatar for Carmelo_1
0
13K
Member Avatar for frnds2vivek

hi.. am unable to view objects of a form in a project, although am able to view its code.. Whenever i try to open the form to view its objects, i rcv an error mentioning **"Error Loading Form. Please check "<path>.log" for details."** In the log file it says **"Line …

Software Development visual-basic
Member Avatar for ma14
0
3K
Member Avatar for Rohan_12

Hello Everyone, I have an FPGA application that has some function (i.e: Matrix Multiplication) now I want to create the memory interface for FPGA communication based on the model pushed into the FPGA? For example, If we have the size of 1024 and the size of data is 10 bit …

Software Development c c++ motherboards-cpu-ram
Member Avatar for rproffitt
0
417
Member Avatar for 雪嫣

I new in learning Object Oriented Programming... I face a problem that how to do this question for loop and if.... hopefully can get some help in this website...` this question is need to do from the previos question.. this is java need to do the question using NetBeans.IDE.. question:(at …

Software Development ide java java-netbeans
Member Avatar for John_165
0
565
Member Avatar for franj776

I'm doing an assignment for a class and I can't figure out what I'm doing wrong to keep getting the "illegal start of expression" error. Any help would be appreciated. public class Overloading { public static void main(String[] args) { public static int max(int num1, int num2) { if (num1 …

Software Development java
Member Avatar for JamesCherrill
0
506
Member Avatar for millanskie

Anybody who knows how to change word or character in kanji to katakana or vice-versa. I'm using 2 textbox to do this, the first textbox is for katakana and the second textbox is for kanji. What i wanted to do is, whatever i typed in the kanji textbox it will …

Software Development vb.net
Member Avatar for Valeria_3
0
2K
Member Avatar for Saboor880

H! I am writing a java proram in which I need to generate and read barcodes to and from .PNG images. I used barcode4j-2.jar library to generate barcodes and write them to PNG image. I did this successfully. But I faced an error during reading that generated barcode from the …

Software Development java java-netbeans
Member Avatar for orichisonic
0
690
Member Avatar for cambalinho

i'm creating a program using Code Blocks with GNU\GCC compiler. i'm using Windows 10 with Windows Defender. my program create a txt files(instead a text files, we can speak binary files too), but the Windows Defender can delete the file(and i have sure), for avoid these problem i must disable …

Software Development c c++ windows-10
Member Avatar for cambalinho
0
4K
Member Avatar for faizan_7

Hey everyone. I received this sql server error and I can't figure out where the trouble is: Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: …

Software Development dataset open-source vb.net
Member Avatar for Yrth
0
2K
Member Avatar for eddienguyen

Hi guys, this is my first question here What useful plug-ins / debuggers for Visual Studio do you use (for Windows)? P.S. I know Visual Studio has a good debugger. Thanks a lot

Software Development visual-basic visual-studio
Member Avatar for Yrth
0
382
Member Avatar for darwin_nacional

Hi, I'm wondering if it's possible to have a desktop app with a database online? Can you give me an example? :P

Software Development java
Member Avatar for Elijah Alfredy
0
2K
Member Avatar for yobbko

I need help with reading data from web page. I wanted to do database of rates (forex). For example: whan price is (eur\usd) 1.4231 then 1.4230 then 1.4229 then 1.4230. I wnated to make text file and application (c\c++) write there those price. In tex file: 1.4231 1.4230 1.4229 1.4230 …

Software Development c++
Member Avatar for baabroz1
0
429
Member Avatar for adisharma

Hello Everyone, I want to know about more binary search in C programming and their various variation and how its work? I am sharing sharing code. Can anyone tell me is it right? Requirements ask for using binary search on an unsorted array, then it needs to be sorted first …

Software Development algorithm
Member Avatar for Vijay_32
0
363
Member Avatar for Grant_7

# I need a project# Hi, I am brand new to programming and was wondering if anybody had any suggestions of where/ how I could learn more python, and or a good project that would help my learn new elements of code as i learn them.

Software Development python
Member Avatar for shivanidf
0
491
Member Avatar for Shehab_2

I have a problem. I want to show two different value in same button. Here is the image of the report---- https://ibb.co/wrrDSDX Try If Not String.IsNullOrEmpty(ComboBox1.Text + TextBox1.Text) Then Dim keyword As String = Me.ComboBox1.Text + TextBox1.Text.Trim() Me.LeaveInfoBindingSource.Filter = "(LeaveCategory LIKE '%" & keyword & "%')" & "OR Convert(PersonalNo,'System.String') LIKE …

Software Development vb.net
Member Avatar for Shehab_2
0
518
Member Avatar for John_245

Any WRONG WITH THIS CODE? I AM BEGINNER TO THIS .>>> #!/use/bin/env python3 import os import tkinter import webbrowser from tkinter import * from tkinter.filedialog import asksaveasfilename from tkinter.scrolledtext import ScrolledText from PIL import Image, ImageTk from PIL import * window = tkinter.Tk() window.geometry("520x800") window.title("STARLABS BIOSCIENCE SDN BHD") window.resizable(False, False) …

Software Development os-x tkinter
0
348
Member Avatar for angbatangprog

Programming Exercise ATM Machine In this assignment you will create a program that allows a user to do the following: 1) Create a bank account by supplying a user id and password. 2) Login using their id and password. 3) Quit the program. Now if login was successful the user …

Software Development c
Member Avatar for Apoorva_2
0
6K
Member Avatar for KushMishra

Hi All, Any suggestions on how could we attach the NLog.config to a docker-compose.yml file so that it generates an “NLog_Internal.txt” on the host machine and we can see all the application logs in that file? In other words, is there a way we could extract the logs of an …

Software Development asp.net
Member Avatar for KushMishra
0
2K
Member Avatar for bprosic

This code works but I don't know how to dismantle this "sausage" code. async function showAllFilters(qry, arrayParams) { // params is [] let result; try { result = await db.query(qry, arrayParams); } catch (error) { console.log("showAllFilters error: "); console.error(error); } return result; } router.get('/', function (req, res) { // localhost:5000/api/filter …

Software Development api
Member Avatar for maxhowells7
0
300
Member Avatar for Ingmar_1

I'm new to c# and I'm trying to write a movie database that retrieves data from IMDB. For the codecs I found MediaInfo. The included example in winforms works fine, but when I try to use the library in my console application I get the error "Unable to load MediaInfo …

Software Development open-source
Member Avatar for Ingmar_1
0
683
Member Avatar for g89

import java.util.Scanner; import java.util.Random; class Lottery { // MISSING CODE } public class LotteryDemo { public static void main(String[] args) { int[] userPicks = new int[5]; int matching; // Create a Scanner object for keyboard input. Scanner keyboard = new Scanner(System.in); // Create a Lottery object. Lottery lotto = new …

Software Development java
Member Avatar for Neel_4
0
1K
Member Avatar for ebenezer_2

Please i have a textbox, a button and a listview. The listview contains a list of items let's say 20 items. When i enter 3 in the textbox and click on the button, the first three items should be removed likewise if i enter 10, then the first 10 items …

Software Development listview vb.net
Member Avatar for Reverend Jim
0
321
Member Avatar for daviddoria

Is there a library that has a function that will take (theta,phi) and return (x,y,z)? Thanks, Dave

Software Development python
Member Avatar for Ratan_2
0
6K
Member Avatar for moparman426

alright here is my issue i dont know how to even start this problem iam still new to vb so i need lil guidance and help in the right direction. here is the problem : Use a one-dimensional array to solve the following problem: Read in 20 numbers, each of …

Software Development vb.net
Member Avatar for 180180
0
487
Member Avatar for bckelley

For this particular sub I type the customer id in a text box and then click the button, then I'm trying to get the relative information pertaining to that id. Not sure what I am doing wrong. Comes back with an error message of system.data.sqlclient.sqlexception Recursive common table expression '[customers]' …

Software Development dataset vb.net
Member Avatar for bckelley
0
4K
Member Avatar for casey.li.146

Hi All, i would need some advice from you guys from this forum to solve the reading of the CSV file that i had. for example, i have a file which consist of about 2000 records (below are the example of the records) 10/10/2013 10:25:09 AM,5.89,45,264.83,PTTTT 10/10/2013 10:25:13 AM,5.89,2000,11780.00, Some …

Software Development c++
Member Avatar for ming_1
0
6K
Member Avatar for Reverend Jim

Because Microsoft will be removing vbScript in the next version of Windows, I have been busy converting my utility vbScripts into Python. Part of this is a library of functions that I keep in `D:\include`. I'd like to maintain this system in Python, but the import process is rather clumsy. …

Software Development file-system microsoft python
Member Avatar for bngwebguru
0
6K
Member Avatar for Suzie999

I'm reading data from SQLite database table. If the SQLiteDataReader encounters a negative double an InvalidCastException is thrown. Here is my code. public void DBToArray() { string stm = "SELECT * FROM mtable"; SQLiteCommand cmd = new SQLiteCommand(stm, sqlcon); SQLiteDataReader rdr = cmd.ExecuteReader(); while (rdr.Read()) { Console.WriteLine( rdr.GetInt32(0) + " …

Software Development sqlite
Member Avatar for bngwebguru
0
1K
Member Avatar for Milla S.

Hi there PyQt is not available as tag, but this should be a simple question anyway: - drag & drop: from QListWidget to QListwidget - pushButton action: inserts chosen items from second QListWidget into QTableWidget But: when i run my code - most of the time the chosen items are …

Software Development python
Member Avatar for Milla S.
0
336
Member Avatar for Violet_82

Hi guys, I wonder if this is something I could do on this forum. I've never worked with REST, so I thought that it could be a good exercise to try to develop a very small and simple Java application and try to make use of REST as well. I …

Software Development java storage
Member Avatar for JamesCherrill
0
3K
Member Avatar for umadas

Hi all I need help to read outlook pst file from java.My pst file is stored in local hard disk.Now i want my java program to read that pst file.Kindly provide some inputs so as to proceed to the solution for the said problem.Can i do this through javamail api? …

Software Development api java
Member Avatar for Vladan
0
3K
Member Avatar for Walterion

Hello everyone, [Dadroit](https://viewer.dadroit.com) is a tool that threats JSON as a Data format, not a plain text. It provides you quick outline view with the help of tree representation of JSON Data from root to last nodes. You can browse and query JSON like an enterprise DBMS. * 10X faster …

Software Development json pascal
Member Avatar for rproffitt
0
491
Member Avatar for Minecraft _1

Here is my code bits 16 ORG 0x7c00 VIDEO_TEXT_ADDR EQU 0xb8000 ; Hard code beginning of text video memory ATTR_WHITE_ON_BLACK EQU 0x07 ; White on black attribute CR EQU 0x0d ; Carriage return LF EQU 0x0a ; Line feed ; Include a BPB (1.44MB floppy with FAT12) to be more …

Software Development video-card
Member Avatar for Yrth
0
755
Member Avatar for bckelley

Through Web Search I found [this link](https://www.daniweb.com/posts/jump/1740388) but I want to know is there a way to do it so the sub items in the dropdown would be colored?

Software Development vb.net
0
318
Member Avatar for Vin vin

I am making a ping pong game using JavaFX, but before I am going to make that, I like to test the KeyEvents. I made a simple ping pong game about 2 years ago, but I like to improve my game. And was pretty bad controlls back when I made …

Software Development java
Member Avatar for Vin vin
0
2K
Member Avatar for Vin vin

So, I made a simple server-client chat program, but I have a problem: if the server tries to message the client, the server lags or freezes a bit, same with the client. is there something that I do wrong? import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import …

Software Development client-server java
Member Avatar for JamesCherrill
0
1K

The End.