132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for a8med

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
Member Avatar for a8med
0
174
Member Avatar for Dada428

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
Member Avatar for Reverend Jim
0
107
Member Avatar for micca.jhai

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
Member Avatar for BitBlt
0
394
Member Avatar for thorin

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 …

Software Development google java json
Member Avatar for peter_budo
0
500
Member Avatar for ron_1

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++
Member Avatar for richieking
0
133
Member Avatar for priyanka.choudhary.90038

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++
Member Avatar for richieking
0
256
Member Avatar for oks1998

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 …

Software Development listview vb.net
Member Avatar for Minimalist
0
330
Member Avatar for beck.muvirimi

Write down in C++ and OpenGL a code that is able to draw a polygon with the following vertex: {-0.6,-0.6; -0.6, 0.6; 0.6, 0.6; 0,6,-0.6) and rotate the polygon by 450

Software Development c c# c++ opengl
Member Avatar for Ancient Dragon
0
110
Member Avatar for MaddTechwf

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
Member Avatar for Deep Modi
0
1K
Member Avatar for decade

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 …

Software Development dataset listview vb.net
Member Avatar for G_Waddell
0
697
Member Avatar for cambalinho

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++
Member Avatar for cambalinho
0
209
Member Avatar for ZeroGhost

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#
Member Avatar for Angel Armando
0
3K
Member Avatar for daniel_14

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
Member Avatar for JamesCherrill
0
205
Member Avatar for Artyom_1

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 …

Software Development c++ opengl
Member Avatar for Artyom_1
0
600
Member Avatar for Kratoswoo

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
Member Avatar for aryan.sen03
0
207
Member Avatar for albedini

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
Member Avatar for JamesCherrill
0
263
Member Avatar for ArashVenus

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 …

Software Development c++ gui
Member Avatar for ArashVenus
0
1K
Member Avatar for SMYussef

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
Member Avatar for stultuske
0
105
Member Avatar for Pobunjenik

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, …

Software Development html-css java
Member Avatar for mKorbel
0
459
Member Avatar for empuk2

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#
Member Avatar for walshregal
0
640
Member Avatar for desolatebeast

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
Member Avatar for Fenrir()
0
744
Member Avatar for kkjaykamau

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 …

Software Development json vb.net
Member Avatar for The Diamonds
0
2K
Member Avatar for <M/>

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
Member Avatar for old_apache
0
4K
Member Avatar for bantex07

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
Member Avatar for tahir zafar
0
2K
Member Avatar for Neuman

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
Member Avatar for kal_crazy
0
487
Member Avatar for darrylnuyda

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#
Member Avatar for darrylnuyda
0
232
Member Avatar for William Ray

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
Member Avatar for William Ray
0
135
Member Avatar for abdul.mudaser

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
Member Avatar for castajiz_2
0
2K
Member Avatar for stuartlross

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
Member Avatar for woooee
0
288
Member Avatar for DanJones

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
Member Avatar for DanJones
0
435
Member Avatar for Peter_13

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
0
111
Member Avatar for zarco

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 …

Software Development gui seo vb.net
Member Avatar for Minimalist
0
344
Member Avatar for psc1436

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++
Member Avatar for psc1436
0
126
Member Avatar for salah_saleh

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++
Member Avatar for salah_saleh
0
132
Member Avatar for jacobin.draks

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.. …

Software Development c c# c++
Member Avatar for salah_saleh
0
233
Member Avatar for Zubi0777

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
Member Avatar for JamesCherrill
0
130
Member Avatar for StephenopolousINC

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
Member Avatar for StephenopolousINC
0
929
Member Avatar for sk8ergirl

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
Member Avatar for JamesCherrill
0
240
Member Avatar for sk8ergirl

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
Member Avatar for softswing
0
122
Member Avatar for lrhimma

hi guys how to declare boolean for log-in and log-out when i scan the id. anyone can give me an idea. ASAP and thank in advance.

Software Development vb.net
Member Avatar for Learner010
0
148
Member Avatar for Ritesh_4

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
Member Avatar for Ritesh_4
0
136
Member Avatar for maryam_2

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
Member Avatar for maryam_2
0
158
Member Avatar for udaywalve

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

Software Development dataset vb.net
Member Avatar for manoudhaya
0
401
Member Avatar for oks1998

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 …

Software Development listview vb.net
Member Avatar for tinstaafl
0
1K
Member Avatar for alaa zoghpy

Q: Write a function to return Nth node from the end of the linked list

Software Development c++ linked-list
Member Avatar for rubberman
0
61
Member Avatar for mollyorgasm

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
Member Avatar for ddanbe
0
257
Member Avatar for Eric_7

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++
Member Avatar for richieking
0
244
Member Avatar for imalysha425

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
Member Avatar for richieking
0
260
Member Avatar for sk8ergirl

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
Member Avatar for JamesCherrill
0
370
Member Avatar for saad749

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 …

Software Development c# github
Member Avatar for saad749
0
319

The End.