43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for leverin4

I am working on updating a database where some measurements are stored as text. The updates I'm making are to let the engineers that use it convert their measurements into different units. Long story short, the numbers must be kept as text for a couple reasons that I won't go …

Software Development display microsoft-access visual-basic
Member Avatar for jhai_salvador
0
189
Member Avatar for dbphydb

Hi, I am a tester and new to python. The code in bold should execute only if the webpage has the text 'BUILD COMPLETE'. This text is between the <th> tag and this is found using DataParser class. [CODE] URL = "http://11.12.13.27:8080/cruisecontrol" from urllib2 import urlopen from HTMLParser import HTMLParser …

Software Development python
Member Avatar for dbphydb
0
763
Member Avatar for cwpent

I'm writing Conway's game of life for a school assignment. I have a text file with coordinates of the initial locations with bacterium. All I need to know is how to tell java to compare a coordinate in the matrix to a coordinate from the file. The pairs are listed …

Software Development java
Member Avatar for cwpent
0
159
Member Avatar for krille

I will order Visual basic 6.0 soon and I wonder what the differences are between the Professional and the Enterprise package? It is crucial that the OLE tools and the "Package & Deploy Wizard" are included. Are these tools included in both the packages?

Software Development visual-basic
Member Avatar for vb5prgrmr
0
1K
Member Avatar for Lordson60

i need help, for some reason i cannot remove items that i have added to my JPanels the welcome.remove will is causing a problem [CODE]// The "RunescapeCalc" class. import java.awt.*; import hsa.Console; import javax.swing.*; import java.awt.event.*; import sun.audio.*; import java.io.FileInputStream; import java.math.*; public class Game1 extends JFrame implements ActionListener { …

Software Development audio gui java java-swing
Member Avatar for Lordson60
0
266
Member Avatar for dfetter88

As you probably know, Shell sort is typically written with a base of insertion sort, as shown below: [code]for (ctr = numGaps - 1; ctr >= 0; ctr--) { k = gapSeq[ctr]; /* Insertion Sort Begins Here */ for (j = k; j < size; j++) { tmp = array[j]; …

Software Development c
Member Avatar for dfetter88
0
82
Member Avatar for Cap'nKirk

Hi, I have a dataGridView that has 2 columns called (style & type) and I want to have a click event that only fires on the (type) column. I can code it so it works on both but for my app that is a little untidy. I have searched a …

Software Development
Member Avatar for Cap'nKirk
0
1K
Member Avatar for evak77

I cannot seem to get the array to work and display the second and third loans, only the first one displays. Here is what I need to clarify the situation. I added the array to the program and it only works for the first loan. Can someone point me in …

Software Development java
Member Avatar for Agni
0
93
Member Avatar for Anigmalee

Since Visual Basic 2008 Express Edition have no Crystal Report template included. Is there Other way to show Report/Log data similiar way? Maybe by MS Excel? Or MS word? Any hint or Idea will be wellcome^^ many thanks.

Software Development vb.net visual-basic
Member Avatar for Anigmalee
0
122
Member Avatar for zizi

Hi, I have a string and set (I not really using a set, it cud be a arraylist or array of string) I want to have the following results: {A, B} If I have any character that does not contain in the in the set then just concat(concatenate)them to the …

Software Development
Member Avatar for Ramy Mahrous
0
299
Member Avatar for moonL!ght

hi every one; i saw this question and im trying to solve it.\ baseically i have to matrix's which each element is afraction so i must declare a class that has in the privet to float members numerator and denomnator and in the public i have constructer function to inilize …

Software Development c++
Member Avatar for moonL!ght
0
254
Member Avatar for umers56

i am trying to create a videogame but im having trouble moving a picture. what im trying to do is move a picture called mario left, right, down, up... im trying to use the arrow keys... i dont have much experience either. everytime i press the up key the picture …

Software Development visual-basic
Member Avatar for umers56
0
274
Member Avatar for dakaboguy

I have binded a textbox to a column in a SQL Server 2005 Database, when i fill the dataset it displays the data, but when i click the save button it doesn not save the changes to the database. I used this same code to do a Datagridview and it …

Software Development dataset sql vb.net
Member Avatar for dakaboguy
-1
234
Member Avatar for freemanirl

Okay, so I've been looking at this for quite some time. I think I know what the problem is, but my C++ skills are sad a best due to stuff like Java, C# and VB. So, I'm trying to pull information from the registry, and I have no problem getting …

Software Development c c# c++
Member Avatar for freemanirl
0
203
Member Avatar for sami alzahrani

Given the following declaration and definition char a[20]; and using only pointer notation, write a program to read characters from the keyboard to fill the array and print them out.

Software Development c++
Member Avatar for Sky Diploma
-1
61
Member Avatar for Isaaac

In my ToolstripMenu, there's an item called Info, when u push that Item, i want a new firefox/internetexplorer/... form opend. The link is [url]http://www.jiict.be[/url]. I can't use linklabels, but i can't figure out code to past in the clickevent... Any suggestions? (would like to use the menutoolstrip...) Greetings..

Software Development
Member Avatar for Isaaac
0
137
Member Avatar for alabandit

i'm stumped... i get strange results from string[10:] to get the last 10 characters from a string? the code supposed to rename a batch of file sequentially and the number of numbers needs to be consistent eg. 00001 - 99999 thanks for the help [CODE]import os x=0 for file in …

Software Development os-x python
Member Avatar for alabandit
0
260
Member Avatar for geoNeo_

Hi all! Hope you well! I have an application, most of it done and all fanx to the good guys and daniweb! :) I am curently using the setup project in VS2008 to create an installer for the application. In my code on I have the following: public frmMain() { …

Software Development microsoft-windows
Member Avatar for geoNeo_
0
2K
Member Avatar for jamdownian

After the user inputs idnum and password. If thats correct the loginwindow is suppose to minimize and the mainwindow is suppose to come up. The main window comes up but the login window wont go away. :icon_evil [U]login window[/U] [ICODE]http://i41.tinypic.com/15ceblf.png[/ICODE] [U]main window[/U] [ICODE]http://i40.tinypic.com/121v2bk.png[/ICODE] [U]my problem[/U] [ICODE]http://i43.tinypic.com/4sjvy0.png[/ICODE] [CODE] if (userName_login_window.Equals("1") && …

Software Development c c# c++
Member Avatar for jamdownian
0
116
Member Avatar for MJFiggs

I have just started Python recently and for some reason, I cannot import anything on my computer. I can do it on the computer at my school, but not my laptop. This is the message I received when I tried to import the program "cTurtle" [CODE]IDLE 2.6.1 >>> import cTurtle …

Software Development python
Member Avatar for ultimatebuster
0
166
Member Avatar for bmbvm5

A small ferry company has just purchased a computer for its new automated ticketing system. The company director has asked you to design the new system to assign seats for each trip of the 50-seater ferry, which covers the route from Penang to Langkawi and back daily. The upper deck …

Software Development java
Member Avatar for bitthu
0
194
Member Avatar for brianmack

I am working on a project where I am building a student object from student java class. The student.java class specifies a method of: [code=java] public void setCourses(ArrayList<Course> courses) { this.courses = courses; } [/code] So I have built the following two methods in my main.java class file: [code=java] public …

Software Development java
Member Avatar for Tecko
0
470
Member Avatar for geoNeo_

Hey guys. Hope you all well. A quick question, how can I make a form change backcolors so that it appears almost like its 'flashing'. Basically what I am trying to achieve is making a form more visible and getting the attention of the user. I can imagine it must …

Software Development
Member Avatar for edgareatis
0
2K
Member Avatar for pradeep_09

How should i handle click events of a JButton array i have frame containing 100 JButtons .I need to find out which one was pressed by the user[code]import java.awt.*; import java.awt.event.*; import java.sql.*; import javax.swing.*; public class Screen1 implements ActionListener , WindowListener { int i; JFrame scrfrm1; JLabel lblscr; JButton …

Software Development java java-swing
Member Avatar for n88y
0
198
Member Avatar for Cap'nKirk

Hi, I am trying to add multiple PictureBoxes dynamically at runtime using a loop but have come a little stuck. Here is the code I am working on:- [CODE] XmlDocument xDoc = new XmlDocument(); xDoc.Load(System.IO.Path.Combine(Application.StartupPath, "getPublicPhotos.xml")); XmlNodeList photo = xDoc.GetElementsByTagName("photo"); for (int i = 0; i < photo.Count; ++ i) …

Software Development xml
Member Avatar for Ketsuekiame
0
3K
Member Avatar for sjn21682

hi there!!! having trouble here, i have this main form and a password form, whats happening is that when i run my program my main form is dispalyed same with password form, (its on top of the main form), what i want is that my menustrip in the mainform to …

Software Development
Member Avatar for sjn21682
0
106
Member Avatar for shiftingspanner

I've created a class PulldownArray, which contains two strings Value and Description. I created an array of this class called PulldownTABLE with the ArrayList^ command in my main program and I then populate it with the .Add method. All this works fine. How do I retrive the Value and Description …

Software Development c++
Member Avatar for jonsca
0
358
Member Avatar for speedy94519

Hey you guys. Im doing c code where i have to make a file full of double values and then make another empty one because im going to write into that file. It does compile but i get this: Enter the input file name: randomfile.dat Enter the output file name: …

Software Development c file-system
Member Avatar for WaltP
0
201
Member Avatar for BLKelsey

Hmmm...I completed my console hangman game last night and it was working fine. I got up this morning and fiddled with it a bit and must've done something I was unaware of and slightly broke the program's ability to recognize either the answer guessed was correct or not. It prints …

Software Development c++
Member Avatar for emotionalone
-1
114
Member Avatar for dre-logics

Three one questions about releatie in MySQL with Visual Basic 2008. How can i use Mydatapter1 over again and over agian (see code)? So that i can fill [COLOR="Green"]three datasets[/COLOR] I want to fill three datasets with tree different tables and use them in my program [CODE] myCommand1.CommandText = "select …

Software Development vb.net visual-basic
Member Avatar for dre-logics
0
215
Member Avatar for 3cats

I closed out the other post I had "fill 2d array". The assignment is to read in a file to a 2d array that has the month #, high temp, low temp for each month. Then calculate the aver high and aver low and give the highest and lowest temps. …

Software Development c c# c++
Member Avatar for 3cats
0
136
Member Avatar for TitusPE

Hi all I have a txt file. It has a maximum of 24 lines. E.g. Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 ... Line 24 I would like to delete lines 2, 4, 6 ... 24. All the even numbered lines this is the code …

Software Development python
Member Avatar for TrustyTony
0
8K
Member Avatar for cwpent

I understand that this means I'm using more memory than is available to the JVM, but I'm not sure why or what to do about it. The purpose of the program is to simulate an item in a store that is being tracked with a bar code id number (or …

Software Development java motherboards-cpu-ram
Member Avatar for ~s.o.s~
0
273
Member Avatar for AndrewYY

For the sake of readability, I've been trying to do something like this: [CODE]#define initialize(x)(type x = initfunction()) int main(){ initialize(example); example.item = 0; return 0; }[/CODE] where type is a typedef'd struct, and initfunction() generates one, inits values, and returns it. My problem is, I get these errors: warning: …

Software Development c
Member Avatar for 0x69
0
3K
Member Avatar for Santi10_figo

I have a problem. Im working with a picturebox and a combobox. I have an image on a picturebox and then i create graphics over a picturebox depends on the combobox item selected. When the selected combobox item change needs to clear the graphics of the picturebox but the image …

Software Development
Member Avatar for Santi10_figo
0
1K
Member Avatar for zizi

Hi, we have all seen hashtable with a values of string but I want to make a hashtable that accepts the value as an arraylist,and add items to that array,delete from it, how can I do that and is it possible? thank you

Software Development
Member Avatar for kvprajapati
0
3K
Member Avatar for J_A_L

Hey guys I'm having a lot of trouble getting this program to work. I want to keep an inventory of different tools using a random-access file that shows the name of the tool, how many of each tool I have on hand, and the cost. I then want to put …

Software Development c++
Member Avatar for J_A_L
0
153
Member Avatar for evak77

I cannot seem to get the array to work and display the second and third loans, only the first one displays. Here is what I need to clarify the situation. Can someone help me out please. Modify the mortgage program again. Remove the amortization table. This time enter 3 different …

Software Development java
0
68
Member Avatar for yeezy_10

help me plz , write a java program that reads a number and verifies if it has the same value when we read it from right to left and from left to right. my program should display "having the same value so it is readable from both sides" if the …

Software Development java
Member Avatar for masijade
0
206
Member Avatar for Violet_82

Hi there, quick (and I am sure) simple question on a program I have just created. here's the code: [CODE]#include<iostream> using namespace std; int main() { char letter; int counter=0;//set the counter to 0 for (letter=65; letter<=122; letter++) {if ((((((letter==91)||(letter==92)||(letter==93)||(letter==94) ||(letter==95)||(letter==96))))))continue; counter++;//increment the counter in the loop if (counter==27)//counter condition …

Software Development c++
Member Avatar for Violet_82
0
162
Member Avatar for Aeronobe

I'm trying to find the linenumbers of a webdocument i load using urllib2. I'm trying to do this like this: [ICODE] document = urllib2.urlopen(url,'r') page = document.read() for index, line in enumerate(page): print index [/ICODE] This however, prints out the index of every 'character' instead of every 'line'. How could …

Software Development python
Member Avatar for Aeronobe
0
145
Member Avatar for Euphobia

Not sure this is the right place to put this. I have a batch file for a program that I'm writing, which takes a C source file, compiles it and runs it, and then tries to save the output of it to a .txt file. The program lets a user …

Software Development file-system shell-scripting
Member Avatar for Euphobia
0
169
Member Avatar for Isaaac

Hello I'm using an access database for a school project. The point is to get info out of a tag (stored in database). There's a path of a picture stored in the database. When i want to get it out, everythink works. But as soon the picture is displayed and …

Software Development
Member Avatar for Isaaac
0
72
Member Avatar for abyan

hi.. I'm new in VB, and I have a project to activate LED from VB, but the data from VB should be send first to microcontroller (I am using ATmega8535). so in simple way I suppose to activate the LED, yhe input is from VB, but it must be through …

Software Development visual-basic
Member Avatar for abyan
0
151
Member Avatar for prototyppe

Hello guys, My problem is that my code will automatically go through: [code]if((ask[i].getPrice()) <= (buy[j].getPrice())){[/code] where ask and buy are vectors. I need to know how I am suppose to compare them based upon the getPrice()...... Thanks in Advanced. The rest of the code is here: [code] int i=(int)ask.size(); int …

Software Development c++
Member Avatar for NathanOliver
0
62
Member Avatar for BLKelsey

Hey all, I've elected to write a console hangman game and I've completed it just fine. However, one thing is evading my logic as to why it wouldn't work. I want it to "appear" to LOAD GAME" at the beginning like so: "LOADING GAME....." The total wait time I want …

Software Development c++
Member Avatar for mitrmkar
0
104
Member Avatar for trpsjt2008

I use [CODE] Shell("explorer Path")[/CODE] Path is Directory But it Open My Document Path is D:/ I think It because The syntax "explorer Path" i try a lot like shell("explorer" path), shell(explorer path) , shell(""explorer" path") but it always open My Document

Software Development vb.net
Member Avatar for trpsjt2008
0
100
Member Avatar for ceyesuma

Hello Is there a way to get data from the db with ConnectStudentDAO and populate the StudentBean.java and then copy the bean over to the model (Student.java) Is this how it is done. I'm not sure how to work out the Cast error. Thanks [b]LoginInfoBean.java[/b] [code] public String loginAction(String newUser, …

Software Development apache java xml
Member Avatar for ceyesuma
0
127
Member Avatar for basma.lm

hi, i work on windows application and i have this code: [CODE] SqlCeDataReader rrs; SqlCeCommand comd = new SqlCeCommand("select CodePersonne from Table1 where DateR ='" + DateTime.Now.Date + "';", conne); rrs = comd.ExecuteReader(); [/CODE] while running, i get this error: The data type is not valid for the boolean operation. …

Software Development
Member Avatar for basma.lm
0
212
Member Avatar for bettybarnes

hi everyone can u please correct the errors in these codes? [CODE] // Testing the Stack class of the java.util package import java.util.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class StackTest extends JFrame { public StackTest() { super( "Stacks" ); Container c = getContentPane(); final JLabel status = new …

Software Development java java-swing
Member Avatar for moutanna
0
243

The End.