43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for bibiki

hi again, I think I installed Java 3d correctly... I can compile code, but the code won't run. this is the error I am getting: [QUOTE] # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0949c964, pid=3832, tid=3604 # # JRE …

Software Development java java-jsp
Member Avatar for bibiki
0
163
Member Avatar for pxndx

ok so i have a project for school, and i finished so the teacher wants it to read for a .dat the parameters for the java class here is what i got: [CODE]public void cargarCurso(){ try{ BufferedReader fileIn = new BufferedReader( new FileReader("c:/cursoSem2.dat")); String dataRenglon = fileIn.readLine(); while(dataRenglon !=null){ StringTokenizer …

Software Development java
Member Avatar for pxndx
0
236
Member Avatar for skatamatic

I am new to VB.Net but have a strong background in C# so it isn't that hard to learn it. One issue I have noticed is how enums work. In C# a public enum is considered static, for example: [code] public class foo { public enum bar { enum1, enum2 …

Software Development vb.net
Member Avatar for skatamatic
0
174
Member Avatar for jamie-pu

Hello, Im trying to make a simple equation solver with tkinter. Originally i built it without using classes and it worked fine however I am now trying to use a class. [CODE]from tkinter import * import math class RootFinder(Frame): def __init__(self, master=None): Frame.__init__(self, master) self.grid() self.create_widgets() def create_widgets(self): self.root1lbl=Label(self.outputframe, text='') …

Software Development oop python tkinter
Member Avatar for TrustyTony
0
170
Member Avatar for manaila

Hi I have always seen many softwares having a customized look, for example, PuTTY software has two computers icons in a network. Others, such as NetBeans IDE, when double-clicked first show some sort of a window before showing a real software environment. So I am just curious about how this …

Software Development ide java
Member Avatar for JamesCherrill
0
109
Member Avatar for mukthyar1255

Hi, I am a beginner in programming of python , in python to view all the functions and other objects of 'keyword' module,i used the command ,dir results the some objects like __file__,__package__,__doc__ but these are not the functions of keyword module,could u please tell me the reason................. :D >>> …

Software Development python
Member Avatar for TrustyTony
0
161
Member Avatar for jarograv

I have this code: [CODE]def welcome(): '''========Welcome to Jaron's======= ====Video Game Rental Service====''' def menu(): while True: print '''0-\t Exit 1-\t Register 2-\t Log-in 3-\t Browse 4-\t Read-me''' try: menu_choice=int(raw_input('Please make a selection by number: ')) global menu_choice break except ValueError: print "Oops, it seems like you made a mistake. …

Software Development python video-card
Member Avatar for woooee
0
156
Member Avatar for WolfShield

I am going through a tutorial and have come to opening a file. I'm running it in Command Prompt, but I know there is no problem with that because I have been running code in it without problems. Here is the code I'm supposed to be typing: [CODE=Python] f = …

Software Development file-system python
Member Avatar for WolfShield
0
469
Member Avatar for hoosier23

I am creating a program that will install multiple programs, because I build new computer quite often. For example "MyInstallProgram" will launch and allow the user to select which programs (MSOffice, Acrobat, WinZip etc.) to install. When compiling the program, what code can I use that will insert a time …

Software Development vb.net
Member Avatar for Gopher2011
0
702
Member Avatar for FujiFilm

I am learning visual c# and am having trouble subscribing to an event. The book says, [B]"Now you create the handler for the two text boxes that must be checked to see whether they are empty. You do this by subscribing to the Validating event of the text boxes. You …

Software Development
0
52
Member Avatar for aksahoo17

Hello, Can anybody help me for connection to multiple database dynamically. Its means I wann to connect the respective database by choosing of the user , Tell take an exmple we have 3 clients namely C1,C2,C3 and having respective databases namely D1,D2,D3. I want to connect the database D1 if …

Software Development java
Member Avatar for aksahoo17
0
120
Member Avatar for ashley11

i have a radio button and a text box. when i select the radio button, then will come out the text box to let user fill in. may i know to show the text box? below are my coding. [CODE] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) …

Software Development vb.net
Member Avatar for Luc001
0
319
Member Avatar for theguitarist

[CODE] int x,y; while(cin>>x>>y) { if(x>y)cout<<x<<"\n"; else if(y>x)cout<<y<<"\n"; } [/CODE] This seems clear,but when I entered this: [CODE]2 4 6[/CODE] and hit enter, I get this: [CODE]4[/CODE] after which I am being asked to enter something again. I put 8, and it prints 8. But what is exactly happening here? …

Software Development c++
Member Avatar for WaltP
0
494
Member Avatar for gspeedtech

Hello, I have just been added to a VB.Net Windows Application project. I have downloaded projects from Source Safe and I am runnning into problems viewing various forms across all th projects. When I try to view various forms in VS2008 I get this error: [I]The designer could not be …

Software Development assembly vb.net
Member Avatar for Teme64
0
964
Member Avatar for element432

Im trying to have this program continue to run when you enter y or Y at the end or quit when you enter n or N. Everything I try either has it just end or continue to repeat. Any help would be great, thanks! [CODE] #include <iostream> #include <cmath> #include …

Software Development c++
Member Avatar for element432
0
175
Member Avatar for sirlink99

I have a check button and I was wondering how to get the value from it. When I use this code it gives me that it is selected always, even when it is not. [CODE] public void itemStateChanged(ItemEvent e) { // TODO Auto-generated method stub JCheckBox sourceBox = ((JCheckBox)e.getSource()); wave1Invert …

Software Development java
Member Avatar for sirlink99
0
122
Member Avatar for thierrypin

I have this problem: I have a data structure called DACT, that I convert into a string line and send to another computer. I have a file full of DACTs, and I need to send them all to another computer. When I send only 100, it works fine, but when …

Software Development c++ data-structure socket-programming
Member Avatar for thierrypin
0
190
Member Avatar for buster2209

I'm having a real difficult time getting two threads to run simultaneously..... Both of the threads contain 'do while' loops and depending on which one is reached first, it locks out the other thread. My code is as follows; both threads are started together by the click of a button. …

Software Development regex
Member Avatar for buster2209
0
159
Member Avatar for Sandmann

Hi there!... i was seeing some codes in Python, but i can't understand it, so... i really don't want learn phyton, by that reason i want to know some things (specific things) for try convert it, now... if someone can convert it for me, i'll be sooo glad :P. Here's …

Software Development asp.net c# python vb.net
Member Avatar for vegaseat
0
169
Member Avatar for Shane the House

I have been working with lists for a year now, but I am inconsistent with the way I have them setup. I want to know the standard. Let's say you have a computer represented as pixel colors in the form of a list. To simplify it let's just use numbers …

Software Development python
Member Avatar for vegaseat
0
121
Member Avatar for wyzbs

Hi guys, I have a windows form frm1 that calls another form frm2 by the following code: [CODE] this.hide(); frm2 new_frm2 = new frm2(); new_frm2.ShowDialog(); this.Close(); [/CODE] it takes about 5 sec for the frm2 to show so I'd like to use waitcursor. I found that the waitcursor can only …

Software Development c c# c++ operating-system
Member Avatar for skatamatic
0
227
Member Avatar for anjoz

Here my question I need a decoder for binary codes from a text file but the problem is when I put a space in the text file tpos values crash I know what the problem is the while(fgets(buf, 8, fb) != NULL) because some binary codes are only 6 characters …

Software Development c
Member Avatar for Narue
0
2K
Member Avatar for mikio

please could some one understand what i am saying i need a program that can count number of digit in a number given by the user .for example if we see123 it has 3 digits...?

Software Development python
Member Avatar for vegaseat
0
2K
Member Avatar for IcantC

Hello, forum. My question is: how can I format my output when outputting in JTextArea. I want to have the same functionality as System.out.format has (custom spaces between values). Maybe it is possible to print PrintSream objects in JTextArea? I am currently using append(String s) method but I am not …

Software Development java java-swing
Member Avatar for IcantC
0
727
Member Avatar for JimSim

Hi all I think that I should start this by saying that I am fairly new to C++. Currently, I can only write basic OOP programs. However, I have been given a task at work to compile and link some old code that we have (roughly 10 years old) to …

Software Development c++ oop visual-studio
Member Avatar for JimSim
0
281
Member Avatar for harlequinForest

Just a beginner asking for guide. :) [CODE]private void button2_Click(object sender, EventArgs e) { for (int i = 0; i < listBox1.Items.Count; i++) { listBox2.Items.Add(listBox1.Items[i]); listBox1.Items.Remove(listBox1.Items[i]); } }[/CODE] This is the method I made for moving all the items in a listbox to the one next to it. Apparently there's …

Software Development
Member Avatar for samueal
0
120
Member Avatar for danielgr

Hi, I'm deploying a VB.NET application with Inno installer. In the past I've used the one Click installer but now require a setup with more options. What needs to be included when deploying a VB.NET application (developed in VS 2010). I understand that the .NET Framework needs to be installed …

Software Development vb.net
Member Avatar for sandeepparekh9
0
579
Member Avatar for vincezed

hi i am using this code to get the checked treeview node name.... it goes inside the loop only if the parent node is selected... I have to get the node name if any node is checked... this is the code i am using.. [CODE] public void CheckedNames(System.Windows.Forms.TreeNodeCollection theNodes) { …

Software Development
Member Avatar for nick.crane
0
181
Member Avatar for markfw

Hello Quick question: Does anyone know why my window doesn't show frame? Thank Mark [CODE] import sys from PySide import QtCore, QtGui class UI_CMDTester: def __init__(self): self.__app = None self.__win = None def init(self, \ w_title, \ w_width, \ w_height): self.__app = QtGui.QApplication(sys.argv) self.__create_win(w_title, w_width, w_height) sys.exit(self.__app.exec_()) def __create_win(self, w_title, …

Software Development python
Member Avatar for vegaseat
0
226
Member Avatar for Chair

Hi, Can someone help me pls why this doesn't seem to work? [CODE] private void dataGridViewempl_CellContentClick(object sender, DataGridViewCellEventArgs e) { if (dataGridViewempl.CurrentCell.ColumnIndex == 6) { CheckBox deletebox = new CheckBox(); deletebox = (CheckBox)dataGridViewempl.CurrentCell.Value; if (deletebox != null) { if (deletebox.Checked == false) deletebox.Checked = true; else deletebox.Checked = false; } …

Software Development
Member Avatar for Chair
0
4K
Member Avatar for bleedblue

Need help building a phonebook that will store and produce a telephone directory. The phonebook needs to be able to order the data by first name, last name or birthday, and produce output as such. The data is to be stored in a text file (simple database), and can be …

Software Development python
Member Avatar for griswolf
-1
191
Member Avatar for computerbear

Hi there, I have been having some problems with my Visual Basic. In trying to figure that out, un-installing, and reinstalling, running virus scans, etc, I have lost a lot of my time to get this assignment done. I would just keep messing around with it and try to be …

Software Development file-system vb.net visual-basic
Member Avatar for computerbear
0
378
Member Avatar for JOSheaIV

I have been working on a massive project for awhile now to help do the scheduling at my work. One now I am working on a form design for entering in data to create a shift. Part of this is the start time and the end time of the shift. …

Software Development
Member Avatar for JOSheaIV
0
889
Member Avatar for leetari

Hi there, I am working with a 2D array, my c++ program reads input from an external file and stores it into a 2D array. Say, for example, this is my input file: 9 5 6 2 4 1 0 8 6 7 3 5 2 9 5 8 My …

Software Development c++
Member Avatar for leetari
0
4K
Member Avatar for Ronene

Hi guys , I have the following code : [CODE]x=int(input())[/CODE] If I get a string from the user string ,list or a double , then I'd an exception . Is there a way to get any input from any type , and store it within "x" , even though I …

Software Development python
Member Avatar for vegaseat
0
193
Member Avatar for Aaronjw

Alright, I am working on this for an assignment and I cannot seem to figure out where I went wrong... My first problem, whenever I input the CC number, the only one it accepts is the last one in my text file... My second problem, when it does accept a …

Software Development file-system python
Member Avatar for Aaronjw
0
140
Member Avatar for ayoba01

hello the problem is about user when click button coin and it will display the decimal number and suppose to be like this : 0.10 also , i have made code about notes amount like RM 1.00 and RM 5.00 . here it is: [CODE] Private itotal As Decimal = …

Software Development vb.net
Member Avatar for ayoba01
0
140
Member Avatar for Muhammad Anas

Hello guys, I am trying to declare a two dimensional array in C++ on runtime. For this purpose I am asking the user about how many rows and columns should be created in the array. I have written the following code for this purpose. Apparently it is working just fine. …

Software Development c++ motherboards-cpu-ram
Member Avatar for Muhammad Anas
0
159
Member Avatar for warlord902

Let me tell you I already got the tutorial on how to do this [url]http://db.apache.org/derby/docs/10.3/adminguide/tadminconfig814963.html[/url] But sincerely speaking I did not understood how to do any of the two methods described. Let me tell you my confusions and what I didn't understood and I am developing my project in netbeans. …

Software Development apache java java-netbeans
Member Avatar for warlord902
0
1K
Member Avatar for Labdabeta

I need to make a function: [CODE]void GenerateNormal(float x[3], float y[3], float z[3], float &ox, float &oy, float &oz) { //Calculate coordinates for a glNormal and return them ox,oy and oz }[/CODE] I have a sinking feeling that the math will be quite difficult. Can anybody help me?

Software Development c++
Member Avatar for Labdabeta
0
126
Member Avatar for localp

I have a List [CODE]List<Food> item[/CODE] , which holds the following. 'Food foodID', 'Food foodName', 'Fruit fruit' Fruit is an Object. It is being saved into the 'List<Food> item' . Now i need to create an Object of 'Fruit' , and save all the 'Fruit' elements in the 'List<Food> item' …

Software Development java
Member Avatar for localp
0
167
Member Avatar for philiop

Hi, I'm doing a short test for a job interview that I have. The code is C# and I am very new to this (2 days :S). One of the questions is. Write method to get all IPeople - Write a method in the SchoolManager to get all IPeople (Teachers …

Software Development
Member Avatar for philiop
0
114
Member Avatar for endisbegun

so im very new to programming, its a miracle and a half i managed to get java reinstalled after a year and a half of not using it im taking a cryptography class, the teacher wants to show us the code behind some algorithms, like des and 3des, and in …

Software Development java
Member Avatar for NormR1
0
879
Member Avatar for theguitarist

[CODE] cout<<(char)290<<endl; [/CODE] I get " as the answer. [CODE] cout<<(char)20000<<endl; [/CODE] Here I don't get anything. When char can take integer values from -128 to 127 and both 290 and 20000 are welll out of this range, then why is there an output in the first case?

Software Development c++
Member Avatar for pseudorandom21
0
130
Member Avatar for leo88

hi, I wants to do register function in window form application microsoft visual studio 2008 and insert the data into microsoft Access 2007 table by using C#. Below is my codes: [CODE] SQLStr = "INSERT INTO RegisterEmployee(EmployeeName,Password,Gender,ContactNumber)" + "VALUES ('" + SQLStrCmd.ReplaceStr(nameReg.Text) + "', '" + SQLStrCmd.ReplaceStr(passReg.Text) + "', '" …

Member Avatar for leo88
0
192
Member Avatar for Stefan_Lam88

Hi guys, I have a problem which make me headache. Suppose I wish to download excel file from what I have browse and some logic processing. But it returns me aspx.page content, in short a html page. [CODE] String FileName = excelApp.ActiveWorkbook+".xls"; String FilePath = input.PostedFile.FileName; System.Web.HttpResponse response = System.Web.HttpContext.Current.Response; …

Software Development
Member Avatar for Stefan_Lam88
0
193
Member Avatar for computerbear

I feel like I am having every possible problem this term, (good learning experience, right). Hopefully you can help me. I started this weeks program, had some glitches and restarted. I deleted the first project, began again and got an error when I saved saying that file already existed and …

Software Development vb.net
Member Avatar for computerbear
0
91
Member Avatar for virendra_sharma

This error (HTTP 403 Forbidden) means that Internet Explorer was able to connect to the website, but it does not have permission to view the webpage i have solve this problem by simply right click on default in IIS and mark "Execute (such as ISAPI application or CGI)" as check

Software Development
Member Avatar for Stefan_Lam88
-1
93
Member Avatar for Bheeman89

Hello Friends. Im a final year student for COmputer Security / Forensic. Im planning to do a project which requires me to do encryption and decryption. My possible choice of language would be VB.Net. I was wondering if wad is running in my mind can be executed. Well, I would …

Software Development encryption vb.net
Member Avatar for Bheeman89
0
305
Member Avatar for thecoolman5

hey, I was recently programming my own variable equation solver in C++ and out of nowhere, my computer crashed and all my code was erased. My computer booted up just fine but none of my code was there. i dont have the guts to start all over again. I dont …

Software Development c++
Member Avatar for thecoolman5
0
181

The End.