132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for boiishuvo

Hey, I'm making a simple moving car at night with its headlight bulbs and I'm using PROCESSING software, not java. What I tried to make is when the car touches the right border, the headlight bulb of the right side of the car should be changed to the left side …

Software Development java
Member Avatar for bguild
0
264
Member Avatar for daino

I'm building a C++ applicaiton and have very little to do with HTML in the past. I'm using wxwidgets at the moment but want to try to use HTML. Is that realistic? With HTML can I build a GUI and use it like a normal GUI or am I missing …

Software Development c++ gui html-css
Member Avatar for NardCake
0
129
Member Avatar for 03hasnam

public class EventView extends javax.swing.JFrame { Connection conn = JavaConnect.ConnectDB(); PreparedStatement pst = null; ResultSet rs = null; private EventModel model; /** Constructor */ public EventView(EventModel model) { initComponents(); this.model = model; updateEventTable(); } public void addEventListener(ActionListener al) { addEventButton.addActionListener(al); } /* public void clearListener(ActionListener cl) { clearEventButton.addActionListener(cl); }*/ public …

Software Development java java-swing software-architecture
Member Avatar for JamesCherrill
0
138
Member Avatar for alex.mccoy.3386

I am trying to write a program for my class and ran into these errors. I don't know where the issue is and was wondering if any one could help. The project consists of a header, implementation, and source file. These are the errors that I am getting: 1>DivSales.obj : …

Software Development c++ visual-studio
Member Avatar for alex.mccoy.3386
0
346
Member Avatar for Hendo

I'm working on an application that runs off of a thumb drive. The very first step in the application is to select the drive letter of the thumb drive. That populates a variable which is used throughout the program to note various paths on the thumb drive. Is there a …

Software Development hard-drive
Member Avatar for Hendo
0
384
Member Avatar for mathias234

Hello i am doing a WOW launcher but i wanted to switch from vB.net to C# so i used this converter http://www.developerfusion.com/tools/convert/vb-to-csharp/?batchId=afeaecee-b774-436c-a04a-97009e64a2bb but i getting some errors http://pastebin.com/enQ1s414 My code http://pastebin.com/F9CnGyKp I hope you guys might help me :) btw do not care about that missing GUI things just that …

Software Development c# gui vb.net
Member Avatar for tinstaafl
0
732
Member Avatar for glenwill101

hello im a hobbyist who is somewhat new to c++ with lots of experience in python. in python i was able to use dictionaries that could be accessed by keys and values with no limits on data types that can be stored but now im trying to port a simple …

Software Development c++ python
Member Avatar for glenwill101
0
3K
Member Avatar for minime010

I have a problem with this... import javax.swing.*; import sun.audio.*; import java.awt.event.*; import java.io.*; public class PikaPlatformer { //----------------------------------------------------------------- // Creates and displays the application frame. //----------------------------------------------------------------- public static void main (String[] args) { JFrame frame = new JFrame ("Direction"); frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE); frame.getContentPane().add (new PikaPlatformerPanel()); frame.pack(); frame.setVisible(true); } } How …

Software Development audio gaming java
Member Avatar for minime010
0
515
Member Avatar for GolDRoger00

Hi I am really new to c#(I used to do vb.net) and I need some help with a problem. I am wondering what the equivalent of a datalist or detailsview in asp.net is in a c# winforms application and how to use it. I have data in a database and …

Software Development asp.net sql visual-studio
Member Avatar for tinstaafl
0
642
Member Avatar for vonnoy

i search record from the present form then i want to load it in another form for editing and saving the record. here's my code but its always error. With list_stud .label1.caption = ID_no .label2.caption = lvStudentInfo.SelectedItem.SubItems(1) .label3.caption = lvStudentInfo.SelectedItem.SubItems(2) .label4.caption = lvStudentInfo.SelectedItem.SubItems(3) .label5.caption = lvStudentInfo.SelectedItem.SubItems(4) .label6.caption = lvStudentInfo.SelectedItem.SubItems(5) .Show …

Software Development visual-basic
Member Avatar for tinstaafl
0
183
Member Avatar for prashant1111

Hi, I am trying to build a Music player in Java using Jlayer Library. Hi am using AdvancedPlayer and its play() method for playing song. It plays the file but i does not stop until song is finished even Stop button is not pressed,window listener doesn/t works. I am unable …

Software Development java
Member Avatar for JamesCherrill
0
319
Member Avatar for YaLeon

Returns true if the string represented - by the object it is on the same string is represented by the object str. Otherwise false is returned. This system must write the recursion without using any loops. So I did it and it looks like this: public boolean equals ( StringList …

Software Development java linked-list
Member Avatar for tux4life
0
177
Member Avatar for lewashby

In the program below I need to get month to hold the first two digits of date, day two hold the digits 3 & 4, & year to hold the last four digits. Any idea on how I can accomplish that? #include <iostream> #include <string> #include "functions.h" int main() { …

Software Development c++
Member Avatar for lewashby
0
436
Member Avatar for lailadah

Salut à tous. j'ai essayé d'installer apache solr serveur pour mon drupal, mais j'ai le message: "unable ti access jarfile start.jar". après mes nombreux essais, j'obtiens: "invalid or corrupt jarfile C:\[suivi du chemin de monfichier] j'ai besoin de l'installer. et rien des réponses que j'ai pu lire ici ne m'a …

Software Development apache java
Member Avatar for lailadah
0
880
Member Avatar for shanaka895

Hi... I want to create a project to use in my cd's.So I want to create a button, when I press it should open a new window and browes the cd.Please help me guys... thank you soooooooooo much..

Software Development visual-basic
Member Avatar for AndreRet
0
190
Member Avatar for tashiDuks

Hi Everyone, I have one text box named txtYear.text and this text box will accept only Year Value i.e. 2011, 2012 and so on. Now i want to put a validation on the text box like, if user enters the value like 1,03,54 in text box then the system should …

Software Development vb.net
Member Avatar for azareth
0
2K
Member Avatar for jayson.ako_1

Need some help, when im uploading the form stops responding and the progress bar is not loading. someone can help me in this problem. Thank you so much for advance :) -> Heres my whole code Imports System Public Class Form1 Public filenameOnly As String Public FN As String Public …

Software Development file-stream vb.net
Member Avatar for Reverend Jim
0
760
Member Avatar for LegendX

import java.util.Scanner; public class Homework1 { /** * @param args */ public static void main(String[] args) { Scanner scan = new Scanner(System.in); final int ROW; final int COL; int integar; int total; System.out.println("Total number of rows: "); ROW = scan.nextInt(); System.out.println("Total number of colums: "); COL = scan.nextInt(); int [][] …

Software Development java
Member Avatar for JamesCherrill
0
193
Member Avatar for ebabes

Please help me solve these errors that I usually receive. I've created an application that reads, updates, and inserts a record into an Access database. But every time I press the **Update** button to update a record, I usually receive this error message "**Syntax error in UPDATE statement**". On the …

Software Development microsoft-access open-source
Member Avatar for moonshine4
0
1K
Member Avatar for liran

Hey, I have the following code in C-Sharp: byte newByte = byte.Parse(hex, System.Globalization.NumberStyles.HexNumber); What's the equivalent in Java ? Thanks !

Software Development java
Member Avatar for liran
0
1K
Member Avatar for viktoriaong

need help mybe this site can help me with my vb6 class.., i'm trying my best in our lab.class but still i'm having hard time with the codes and logic of the problem that our instructor give us. i don't know why but in our java class and object-oriented class …

Software Development visual-basic
Member Avatar for AndreRet
0
126
Member Avatar for poojavb

My PC has 3 drives C, D, E...when I insert the removable CD drive it should detect that the drive is the F:... it may vary for different systems...how can I find which will can be the CD drive... I had written the following code Try For Each drive In …

Software Development vb.net
Member Avatar for nmaillet
0
510
Member Avatar for Avni.Naik11

how to connect vb.net frontend with microsoft sql backend..

Software Development vb.net
Member Avatar for remunance
0
49
Member Avatar for dokukani

Is my functions correct? If I type in the highest temp at the bottom row, my program wouldn't take it. Same goes for lowest temp. Can anyone provide some in sight? #include <iostream> using namespace std; //declare constant for array temperature int const row = 3; int const col = …

Software Development c++
Member Avatar for remunance
0
361
Member Avatar for khizer03

Hi,Everybody I am creating a windows application where the part of the application is like Extracting email-Address from all the emails which is in inbox & as well as in sent Item, And I am in a big confusion not getting how to extract email-address from emails Hope to get …

Software Development email
Member Avatar for margaret224
0
195
Member Avatar for boiishuvo

I have one problem at the line 20-23. What I need is when the blue box touches the red rectangle, the blue box gets resetted (it goes back to where it starts). However, the problem is, it doesn't touch the red rectangle area properly. Any suggestions? Thanks in advance. float …

Software Development java
Member Avatar for margaret224
0
320
Member Avatar for rockout15

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace WindowsFormsApplication1 { public partial class Order : Form { public int count = 0; public string Conn = WindowsFormsApplication1.conn.getConnection(); public string getid; public SqlDataAdapter dAdapter, dAdapter1; public DataSet dSet, dSet1; public …

Software Development dataset display
Member Avatar for ChrisHunter
0
117
Member Avatar for Blink383

I'm trying to display a few Jlabels in the output of my actionlistener. I have a combobox included in the fields I needed added. i attempted to use a Jtable but had issues getting the selected item from the combobox. I choose to this method because I had already had …

Software Development gui java java-swing oracle
Member Avatar for Blink383
0
288
Member Avatar for thanzeem7

**Can anyone know how to make a readonly datetime picker in VB.NET?**

Software Development vb.net
Member Avatar for M.Waqas Aslam
0
1K
Member Avatar for anukavi

Hi, The question might be little confusing. I have recently joined smart card testing team and its all new stuffs to me. I need ur help in suggesting suitable IDE for writing test cases to test SIM OS & related applications. I insert the Native SIM card into card reader …

Software Development ide java
0
78
Member Avatar for UnchainedDjango

# "toNumbers(strList) is a list of things,each of which represents a number.Modifies each entry in the list by converting it to a number." # Here is my code and it won't work,please help,thank you! import string def toNumbers(strList): nums = [] for i in strList: nums = nums.append(int(i)) return nums …

Software Development python
Member Avatar for UnchainedDjango
0
647
Member Avatar for Liam1212

Public Class Form1 Dim int As Integer = 0 Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Refresh() End Sub Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click CType(TabControl1.SelectedTab.Controls.Item(0), WebBrowser).Navigate(TextBox.Text) End Sub Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As …

Software Development vb.net web-browser
Member Avatar for Reverend Jim
0
225
Member Avatar for ng5

I am trying to make a guessing game that lies one-third of the time that the guess is too high (it says it is too low when it is actually too high). And it never lies about the guess being too low, nor does it lie twice in a row …

Software Development coldfusion gaming java
Member Avatar for bguild
0
455
Member Avatar for sbharathind

public static void nonRecursiveInorder(Node node) { Stack<Node> st=new Stack(); st.push(node); Node temp; while(!st.isEmpty()) { temp=st.peek(); if(temp.left!=null && temp.left.visited==false) st.push(temp.left); else { if(temp.left==null && temp.right!=null && temp.right.visited==false) { System.out.print(" "+temp.value); temp.visited=true; st.pop(); st.push(temp.right); } else { if(temp.left!=null && temp.left.visited==true && temp.right!=null && temp.right.visited==false) { System.out.print(" "+temp.value); temp.visited=true; st.pop(); st.push(temp.right); } else …

Software Development java
Member Avatar for sbharathind
0
234
Member Avatar for Ancient Dragon

Q1: I'm trying to convert a working c++ program to VB.NET 2012 just to see how networkstream works. First send a stream to web address then get response. Send seems to work ok but read() blocks (line 34 of the code). Sometimes it doesn't block but doesn't return any data …

Software Development api vb.net
Member Avatar for TnTinMN
0
714
Member Avatar for SyncMaster170

I have two tables, table_1, and table_2. I am trying to query both tables, I want every column that is in table_1, and only one column from table_2. Each table has an AccountID column, so they can relate to eachother. I am trying to get a query result that gives …

Software Development sql
Member Avatar for JorgeM
0
145
Member Avatar for lewashby

I've been told to study up on four c segments: code, data, stack, heap. I know that googleing stack and heap will probably give me a mountain of information. But what the heck is code and data? If I type c code into google I'M going to get a lot …

Software Development c
Member Avatar for Ancient Dragon
0
154
Member Avatar for randall.graves.37

Hello all, This is my first time posting here so bear with me. I am looking for some help in regard to a project I am currently doing. I have a Datagrid view that I am looking to search all columns and all rows for the string (partial or not) …

Software Development vb.net
Member Avatar for TnTinMN
0
143
Member Avatar for lewashby

In the following program, when I enter a number I'M getting strange output back. When I enter 5 I get 0x6011a85 back on the cout << "you entered" line. #include <iostream> //#include "functions.h" int main() { std::cout << "Please enter a number. " << std::endl; int date = 0; std::cin …

Software Development c++
Member Avatar for CGSMCMLXXV
0
91
Member Avatar for Murphyv10

Hey Guys , can i just get some help with my dialog box , a sterr in the right direction wil be brillant . Thanks guys import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.ButtonGroup; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JDesktopPane; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JOptionPane; …

Software Development java java-swing
Member Avatar for stultuske
0
198
Member Avatar for ehsann.sharif

**guys I wrote this, there's no errors, no warnings... but it keeps crashing on execution.. any ideas ?????** #include <stdio.h> #include <stdlib.h> #include <string.h> struct data { char * name ; int grade ; }; int compare_ints(const void *a, const void *b); int compare_strings(const void *x, const void *y); struct …

Software Development c
Member Avatar for Ancient Dragon
0
229
Member Avatar for happyHacker

How do you normalize 16 bit PCM audio 44100Hz mono? I have the raw data, but don't know what to do with it, it is signed as far as I can tell.

Software Development audio c++
Member Avatar for happyHacker
0
159
Member Avatar for rei8mer

please help me to create a user account. i am a new user please.

Software Development
Member Avatar for tinstaafl
0
54
Member Avatar for amit43

in this code i am counting the number of bits present in the numbers from 1, 2, 3....n i.e the total number of the set bits present in all the numbers till n, what should be the complexlity of this code of mine please any one tell and also how …

Software Development c++
Member Avatar for vijayan121
0
125
Member Avatar for <M/>

I enrolled myself into 2 college classes (Java and C++) and i am curious on what the best book is for c++. I saw another thread with the same question, but that was posted 8 years ago. I do not mind paying for any book (price does not matter). If …

Software Development c++
Member Avatar for vijayan121
0
221
Member Avatar for jessada.dissopa

I wonder how to interface octave with c++ I already have m-file that can run on octave but I want to run a C++ program that can get/send command from/to octave Anyone can guid me? Is there any link for the tutorial or example code?

Software Development c++ user-interface
Member Avatar for Ancient Dragon
0
318
Member Avatar for CPT

Hello everyone, I've encounterred a problem that I cannot seem to overcome. For the program to compile there are a few steps necessary to take: from the website [Click Here](http://osl.iu.edu/research/mpi.net/software/) on the download page, one would need to download and install: 1. MPI.NET SDK 2. Microsoft Compute Cluster Pack SDK(this …

Member Avatar for Ketsuekiame
0
384
Member Avatar for jeffbeck8

Hi, I have a working program and I need to answer the following questions: 1:where was polymorphism was used in this application? 2:identify where overriding or overloading was used in this application? I belive overriding is used by the Runnable method to override the run() method. Would that be a …

Software Development java
Member Avatar for jeffbeck8
0
301
Member Avatar for Ctechnology24

Please help me on how can I refresh the records displayed in my crystal report. because when i first open a report it functions well but if I close the report viewer form then open it again the previous records will display with the new records that i selected example …

Software Development vb.net
Member Avatar for Ctechnology24
0
1K
Member Avatar for Hameeda0410

HEllo everyone... My project consists of drawing a road two lane road using grahipcs the code snippet below is for drawing the road however if someone can help me in executing theses codes on an interface woud be great because i dont know how to do it Cheers public Road(int …

Software Development java
Member Avatar for JamesCherrill
0
928

The End.