1,432 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Depression1

Hi, I've been having issues with my program where I make the rocket do what its supposed to do when it comes to outputting a filled and hollow rocket body depending on either a odd or even value. The only problem I am currently having is duplicating the body length …

Software Development
Member Avatar for rproffitt
1
947
Member Avatar for Violet_82

Hi all, I have an application which saves data (books details like book title, author and location) to a mySql db and performs CRUD operations. I thought I'd use hibernate to take care of the ORM side of things and everything was OK when it came to create a record, …

Software Development github java session storage
0
931
Member Avatar for Blink383

My problem is setting the size of the JButton. I want it to be a little button centered below the "Hello World" JLabel field (as it is now it spans the full width of the JFrame). I am unsure what is causing the setPreferredsize to be ignored. I am an …

Software Development gui java java-swing
Member Avatar for JamesCherrill
0
2K
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 kouty

I dont understand the appearent discrepency in the treatment of the variabe x, y, and z. Why y isn't treated as x and z? #include <stdio.h> #include <string.h> int main() { char result[100] = "Philippe Dupont 30"; char x[50]; char y[50]; int z; /*We use sscanf to give a value …

Software Development c
Member Avatar for kouty
0
1K
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 Saboor880

Now I am making my pos software client - server based software. I am using java derby as the database. On the local host I am running the program successfully. But on the remote server I face an exception. First I tell you, how I am connecting to the remote …

Software Development apache client-server java
Member Avatar for JamesCherrill
0
389
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 DanyOcean

Hi, I apologize if my english is bad, I need some help printing the value of a variable in the code that I show below, I'm using emu8086 and I need that this works in this code example that is the same that comes in the examples of emu8086 (PrinterDemo.asm) …

Software Development assembly printer
Member Avatar for Thaumtrope
1
12K
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 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 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 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 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 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 Violet_82

Hi guys, I am having an issue finding duplicates in an arrayList. Here is some code studentRecords.add(new Student("Jo", "Pip", "JP000", LocalDate.of(1999,9,23), Sex.FEMALE)); studentRecords.add(new Student("Tara", "Bot", "TB345", LocalDate.of(1991,9,1), Sex.FEMALE)); studentRecords.add(new Student("Mara", "Lewart", "ML456", LocalDate.of(1988,5,23), Sex.FEMALE)); studentRecords.add(new Student("Anna", "Clarke", "AC010", LocalDate.of(1999,1,1), Sex.FEMALE)); studentRecords.add(new Student("Frank", "Boia", "FB300", LocalDate.of(2001,8,13), Sex.MALE)); studentRecords.add(new Student("Anna", "Clarke", "AC010", …

Software Development java
Member Avatar for Violet_82
1
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 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 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 JamesCherrill

At the risk of making a total fool of myself... I got very excited when I discovered that Java's "only opaque rectangular windows" limitation has been removed. Full release is intended for Java 7, but working methods can be accessed thru com.sun.awt.AWTUtilities in recent releases of Java 6 (I'm using …

Software Development api java java-swing windows-api
Member Avatar for Reverend Jim
2
1K
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 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 雪嫣

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 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 guitarrick

[I]Last project for the semester and it's late!!! I am in need of some logic with this one....It seemed simple, but now it's out of control. My array with the ASCII converter works, but I can't seem to develop a complete output function to output this 'counter simulator.' Here's the …

Software Development c++
Member Avatar for Gabby_2
1
2K
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 it@61@sec

I'm using a fairly standard MSI mobo with Intel Core i5-6400 processor and 64 GB RAM. So: Which programming language (besides assembly) is the most effective to use in this configuration when I want to do calculations/modelling trying to find the least number of combinations to fullfill some predefined conditions. …

Software Development assembly
Member Avatar for Daniel11
1
3K
Member Avatar for praneeth_gunda

This Program implements the Predictive Parsing Of the grammar E->E+T/T F->F*T/F F->id(Identifier)

Software Development c
Member Avatar for yesim
1
27K
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 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 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 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 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 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 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 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 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 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 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 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 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 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

The End.