132,726 Archived Topics
Remove Filter ![]() | |
I am having big trouble with classes. I don’t think I really understand them and sourly not as clear as functions. I do know that they are an important part of programming so I appreciate all the help I can get to get things clearer. I am trying to rewrite … Software Development python | |
Good day. Ask for help, I want to create a program that would mechanically clicked the coordinates (x = 935, y = 115). I I click the button and he clicks on these coordinates. Ask for the source code. For each row thank you in advance Software Development vb.net | |
Can someone help me I'm having some problem with this. I am supposed to make a sytem that will alert if the medicine was expired. here is my code. Private Sub DataGrid1_Click() On Error Resume Next Command2.Enabled = True With frmmed1 .Combo1 = Adodc1.Recordset.Fields("MedicineName") .Text3.Text = Adodc1.Recordset.Fields("StockQuantity") .Combo2 = Adodc1.Recordset.Fields("Expmonth") … Software Development microsoft-access visual-basic | |
hi, everyone I am a Java newbie. I have followed a bunch of tutorials and examples from the web but they all failed miserably at teaching me how to properly apply this library: com.google.gson. First how do I receive properly in the java servlet a json request that has been … | |
the output should be... "1 2 3 5 6 7 8 9 Merry christmas" using for loop.. here's my code ! </ #include<stdio.h> #include<conio.h> main() { int x; for(x=0;x<9;x++){ printf("\n %d ",x); } getch(); } > Software Development c++ | |
Hi, In below code snippet , can anyone let me know how to print the functor value output (3,4,5,6,7) without embedding add function in class. #include<iostream> #include<vector> #include<algorithm> using namespace std; void add ( int i) { i=i+2; } int main() { vector <int> vec ={1,2,3,4,5}; for_each(vec.begin(), vec.end(),add); for (auto … Software Development c++ | |
Private Sub dow30_1min() command("Dow 30", "http://www.investing.com/indices/us-30-futures-technical?period=60", "1 minutes") End Sub Public Sub command(ByRef name As String, ByRef webadd As String, ByRef time As String) WebBrowser1.Navigate(webadd) Dim a As String Dim b As String Dim c As String Dim d As String Dim f As String Dim newItem As ListViewItem a … | |
I have a APG Vasario 1616 USB cash drawer that I would like to hook up to my PC using a USB cable. I would like to make a small app that when clicked will open the drawer. Is this possible? Software Development vb.net | |
Hello everyone. I would like to ask for your help, I've been stuck in this problem for wholde day. every time I run this code it gives me an error of "The report has no tables" even though I have a dataset. my dataset is datatable that came from the … | |
when we overloading a function: what matters is only the argument list(inclued the types) or the return type too? i'm overloading the assigment operator, but seems that i can't use with diferent return types:( please someone explain to me Software Development c++ | |
I need to write a C# program for the encrypting and decrypting of files with PGP. I can't seem to find adequate resources in the Internet. Can someone maybe help? Software Development c# | |
Hello Everyone, I am having trouble getting a display of my program on the JTextArea "DisplayWindow". My code works and compiles but i do not know how to transfer the program to run on the GUI. It is really simple and I just want it to display and accept the … Software Development display gui java java-swing oracle | |
I'm trying to create a simple colored cube using vbo(well it actually a rectangle with z = 0). I am using glew & freeglut. Here my code. #include <GL/glew.h> #include <GL/glut.h> #include <stdio.h> const int g_width = 800; const int g_height = 800; #pragma comment(lib, "glew32.lib") static const GLsizeiptr PositionSize … | |
I am using asp.net configuration tool for my website. Have everything working fine (The sign out button and the database) Now I want to implament something that shows the users who are online and offline. An icon that shows up next to a users datbase table that if they are … Software Development | |
I'm new and trying to draw a table type where I can place scores inside like 5; A B C 1 5//this is where it all falls apart 2 3 I have this so far but not working; public class Table3 { static int[][] list = new int[4][4]; //private char … Software Development java | |
![]() | I am not asking you to write a calculator for me , I am asking , what must I learn to be able to write this program or these kinds of programs ? I have some experience programming console applications using C++ , but I have absolutely no idea what … ![]() |
Dear all, I have a program to code which would take several lines of input from user (a fruit name, it's price per kg and the number of kgs sold). Each seperated by a space. It would then output the total money made and the name of the fruit that … Software Development java | |
I've got a JTable called chances_T full of doubles ranging from 0 to 100. I'm trying to set the background color of each cell based on the cell's value. So I built a custom cell renderer: class CustomRenderer extends DefaultTableCellRenderer { @Override public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, … | |
Hello everybody...I'm new in C# programming but recently I have a problem and need to solve it. I hope you guys can help me. This problem only can solved with List and Dictionary. [CODE] using System; using System.Collections.Generic; using System.Text; using System.Collections; namespace ApplicantTestin { /// The DataObject class stored … Software Development c# | |
I have been working with xml for the first time and have gotten stuck with the saving/ loading aspect of it. I want the information from the text boxes to be saved to the xml file when the app closes, however when the app runs I can not close the … Software Development xml | |
I am trying to get a value from a DataGridViewComboBoxColumn cell that is named "Item". When I run the program and make a selection from the combobox, string itemValue always returns ""; ie string.null. What am I doing wrong in getting this value that I need to set price on … | |
I am trying to cut the decimal off the output of this small code: import java.util.Scanner; public class Distance { public static void main(String[] args) { java.util.Scanner in = new java.util.Scanner( System.in ); double x1 = in.nextDouble(); double y1 = in.nextDouble(); double x2 = in.nextDouble(); double y2 = in.nextDouble(); double … Software Development java | |
I was thinking if someone could help me to connect the Bar code scanner with Visual Basic 6.0? Help me please.! Software Development visual-basic | |
Hi fellows, My question is: Is It possible to work with GUI(Graphical User Interface) in C++? Or Is it not the ideal computer language for this? Thanks Software Development c++ gui user-interface | |
Hi Everyone, Can I ask your Suggestion/Help about this query. I am using the Crystal Reports in C#, I want CR to call in MenuStrip(Menu). Every time that I run the main form of my system. I want to call the the CR in menu. My Menustrip calling for FORM, … Software Development c# | |
Re: VB.net, MenuItem, Select Event Hello every one, I am creating a owner drawn menu and I have a question about the MenuItem_Select event Even though the menu iten is owner drawn this event is still fired. I draw the select rectangle myself and I would like to know if … Software Development vb.net | |
hi,how would i make two panels coming from different directions like elevator closing two doors. have a look at this video Year 2 OOP and SE assignment 1: Elevator i want to make an exact application elevator simulator,can you please tell me or provide me with a code that it … Software Development oop | |
I am a newbie to python so exude the not so well constructed code.. I have two text files. The first one (WordFile1.txt) is " John Mary Joe alice William ….." The second (SearchText.txt) is "JOHN EGGS,24,BEEF,36,BACON,56,HAM,66 ALICE TOMATOES,16,HAM,35,BEANS,35" ……." If my response number is 2 I will get BEEF … Software Development programming-construct python | |
Trying to write a program that accepts a file of passwords and tests it for certain requirements, those requirements being: Has at least one upper case letter, has at least one lower case letter, has at least two digits, has no special characters, and is between 8 and 15 letters. … Software Development c++ file-stream file-system | |
Hello fellow coders i come to you in a time of need. I have an inline popup containing html5 videos. i added a stop('#video'); to the "close popup" function and this works, but only in Chrome and Opera, not in Firefox and EI, which leads me to a sub question, … Software Development html-css javascript video | |
I'm having problem with my search function which now search anything related to letter or number. I want it search an exact match only from 1 column such as a name and show details of it. here's my code Imports System.IO Imports System.Text Imports System.Data.OleDb Imports System.Security.Cryptography Public Class Form1 … | |
I listened to a 20 minute recorded phone call about a program called The Airplane (also called Pay It Forward). Once the recorded call is over, I can't find any more information on this program. Can someone please help me? I REALLY want to find this program and join it. … Software Development c++ | |
Hi, I have a problem understanding what is going on in this code: #include <iostream> #include <omp.h> using namespace std; class A { public: A() { cout<<"A created"<<endl; }; ~A() { cout << "A destroyed" << endl; } void printA( void ) { cout<<"ok"<<endl; } }; int main() { A … Software Development c++ | |
Hello people this is very urgent! i have to make a hotel management programme and submit by tommorow, i have made the programme but it got rejected cause i used calsses for the log in. Can u people please help me by telling me another way to write a password.. … | |
public void printmembersdetails() { System.out.printin(member.FirstName = firstname); System.out.printin(member.LastName = lastname); System.out.printin(member.IDNumber = IDnumber); System.out.printin(members.PhoneNumber = PhoneNumber); } System.out.printin(member.FirstName = firstname); System.out.printin(member.LastName = lastname); System.out.printin(member.IDNumber = IDnumber); System.out.printin(members.PhoneNumber = PhoneNumber); } is this right Software Development java | |
Hello I am trying to create a class that called Lootable and create subclasses such as trunk, locker, etc. that will contain items that can be looted, they will inherit their lootability from the Lootable class. I am thinking of using the ArrayList for this. I have thought of different … Software Development java ruby user-interface | |
I've been trying to do this for the past two hours I have object of type PersonTest I managed to save the data ,but I'm not sure if it correct or not becouse I still can't read the file. I want to read and write using java Object Stream this … Software Development file-stream file-system gui java | |
I'm trying to creat simple seating for movie I have the seats as buttons when the user click btnOne then the background change to red if the user click the button again it will chnage to gray I've managed to change the color to red when it clicked using actionpreformed … Software Development java | |
Hello Anyone can help me derive a validation for French phone numbers, given the following: String (max 255 chars) French telephone formats (0123456789, +33123456789, 0033123456789) T.I.A. Software Development java | |
hi, im doing a project on stock control system. if any body is interested in helping me out with my whole project i will be vry thankful 2 you. my project deadline is in december 2013. if u would like to help me pls contact me. pls reply as soon … Software Development visual-basic | |
Hello can anybody send me sample project in VB.NET to ADD,EDIT, DELETE the Customer details....or any similar project for beginners.... just want to learn how to ADD, EDIT, DELETE DATA in the table using DATASET, DATA ADAPTER, DATAROW etc. Please send me the project. Thanks in advance | |
Dim hTable As Hashtable = New Hashtable() Dim duplicateList As ArrayList = New ArrayList() Dim itm As ListViewItem For Each itm In ListView1.Items If hTable.ContainsKey(itm.Text) AndAlso hTable.ContainsKey(itm.SubItems(1).Text) AndAlso hTable.ContainsKey(itm.SubItems(2).Text) AndAlso hTable.ContainsKey(itm.SubItems(3).Text) Then 'duplicate duplicateList.Add(itm) Else hTable.Add(itm.Text, String.Empty) End If Next 'remove duplicates For Each itm In duplicateList ListView1.Items.Remove(itm) Next I … | |
Q: Write a function to return Nth node from the end of the linked list Software Development c++ linked-list | |
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Xml; namespace WindowsFormsApplication2 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } List<Person> people = new List<Person>(); private void Form1_Load(object sender, EventArgs e) { string … Software Development listview smartphone | |
Bassicly my code is supposed to be taking ints from `int tt[]` in `main()` const int tt[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, … Software Development c++ | |
Hello everyone! I'm fairly new to C++ and I have hit a serious road block....I cannot for the life of me get my program to fill a structure from a file and print the array correctly. I don't know what to do :( It prints a series of numbers because … Software Development c++ data-structure ios | |
Hi, I've done with my project and the instructor said that the file should be excutable file how can I run my project wothput netbean .. I'm using macbook Software Development java | |
How to correctly/standardly define schema for neo4j database in my C# application? In my application, I have nodes with properties and relations with properties. I want to define templates/Classes of these nodes and relations that can then be created and related at run time and retrieved as objects of a … |
The End.