132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for WolfShield

Hey guys! This is the code for a program I started today: [code=java] /* * IdeaCaptureMain.java * * Created on Jan 25, 2011, 4:33:45 PM */ package Idea; /** * * @author WolfShield */ public class IdeaCaptureMain extends javax.swing.JFrame { /** Creates new form IdeaCaptureMain */ public IdeaCaptureMain() { initComponents(); …

Software Development ide java java-netbeans java-swing
Member Avatar for vealparry
0
102
Member Avatar for tonyfonseca

Help needed I would like to know how to sum seven text boxes with time in vb.net. Anybody can help me please? Thanks

Software Development vb.net
Member Avatar for abirami2908
0
4K
Member Avatar for masterfact18

problem is in form5 when i add stock it didn't refresh... just download my attach file "datagridprob.zip" and try to correct my code in "add_stock form" then if you got it right kindly post your code here...thanks...

Software Development visual-basic
Member Avatar for masterfact18
0
165
Member Avatar for tawes01

I want to make a program that is run when a user logs on, and after a set period of time, prompts for administrator permission to extend time limit. If there is no permission given, the program puts the computer in sleep mode and requires administrator permission to resume before …

Software Development c++
Member Avatar for Duki
0
106
Member Avatar for senti.arasu

i need the label control to be bordered in any of one colour... what to do for that.. addition to that i need the textbox to be shape arc bended on corners

Software Development vb.net
Member Avatar for codeorder
0
83
Member Avatar for music613

I have a checked list box with an unknown number of items some of which may have been checked. I need to know how to determine which of the items have been checked. For purposes of discussion, assume that my checked list box is called myCheckedListBox. In theory, I need …

Software Development
Member Avatar for music613
0
132
Member Avatar for Valten1992

I have been doing an assignment for my my first year software course, in which we have to make a simple TicTacToe program in java. For the final 30% mark, we have to add a GUI in. Apart fro a tutorial only teaching me the basics (how to make boxes …

Software Development gui java java-swing
Member Avatar for lazeto
0
927
Member Avatar for martin11ph

Hi again, sorry for yet another thread. I am using the KeyDown function in my form and it is not able to perform because of the other controls. For example, there is a text box in the form. Once the form has loaded, when I press vbKeyRight, my code does …

Software Development visual-basic
Member Avatar for AndreRet
0
2K
Member Avatar for JerryShaw

I have the multiple level path of a filename, and I want to pull out just the immediate parent directory name of this file. Example: Filename = "c:\temp\extra\test\myfile.txt" How can I get "test" from this string ? Thanks in advance Jerry

Software Development
Member Avatar for Derek W
0
487
Member Avatar for ctsmith84

I'm stumped on an exercise problem at the end of a chapter on my book. An earlier problem had me create an algorithm to calculate compound interest (this is using C# by the way). That was simple enough. A few questions later, it mentioned how some other languages don't have …

Software Development algorithm
Member Avatar for ctsmith84
0
201
Member Avatar for aaronmk2

I am getting this error object reference not set to an instance of an object and cannot figure out how to fix it. I can get the program to when I only have one Timepiece object, but when I try more I get the error message. I left a note …

Software Development
Member Avatar for aaronmk2
0
227
Member Avatar for ram619

This code is runnig perfectly for values perfectly divisible by 2, that is 2,4,8 But the i is not incrementing when values are given such as 7,5 could u plz tell me the error Thanks [code=c]#include<stdio.h> #include<conio.h> int fun(int); int main() { int num; float mod,prime,m; printf("enter the num"); scanf("%d",&num); …

Software Development c
Member Avatar for ram619
0
104
Member Avatar for Valaraukar

Hey guys, So my Maths has obviously gotten a little rusty and I seem to be struggling with what should be quite simple.... The scenario: I have lines being drawn in 3D space that are calculated using an algorithm. These lines are actually made up of multiple line segments to …

Software Development algorithm c++
Member Avatar for jonsca
0
821
Member Avatar for hanvyj

I am writing a video program, everything works fine except I am often (ie most times, but not [I]every [/I]time) getting the following error: Unhandled exception at 0x6076fde0 (msvcr90d.dll) in javaw.exe: 0xC0000005: Access violation reading location 0x0a450020. I have tracked it down to this function: [CODE]//fill the buffer from data …

Software Development c++ microsoft-access
Member Avatar for hanvyj
0
5K
Member Avatar for jfunchio

I'm trying to make my program be able to add Rational objects with integers using type conversion. I've gotten it to compile but when i run it i just get a bunch of random numbers over 1 so something like this -8993458/1. My code for the conversion is. operator int(){return …

Software Development c++
Member Avatar for dgirdhar
0
233
Member Avatar for masterfact18

[CODE] Private Sub Command1_Click() Dim xSold As Integer Set db = New ADODB.Connection db.CursorLocation = adUseClient db.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0; Data Source=" & App.Path & "\inventory.mdb" Set rs = New ADODB.Recordset rs.Open "SELECT * FROM storage WHERE Current Stock = '" & Text1.Text & "'", db, adOpenStatic, adLockOptimistic If rs.BOF = True …

Software Development open-source storage visual-basic
Member Avatar for AndreRet
0
172
Member Avatar for Danny1994

Hai Programmers, my title should say it all but im looking for a function where another form (wich pops up when a button in first form gets pressed) will pop up at the top right of the first form. (Would be best with "StartPosition" "Manuel" i guess) ([B]Im using Microsoft …

Software Development c++ visual-studio
Member Avatar for Ancient Dragon
0
183
Member Avatar for airerdem

Hi everybody, What I did is, I have 2 one dimensional vector which are inside structure. [CODE]int numberofactivities; struct PopL{ vector<double> RK; //For Random Key }; //Random keys for left population vector<PopL> PopL(3); srand((unsigned)time(NULL)); for (int j=0; j<3; j++){ for (int i=0; i<numberofactivities;++i) { rn=((double) rand() / (RAND_MAX+1)) ; PopL[j].RK.push_back(rn); …

Software Development c++
Member Avatar for Fbody
0
174
Member Avatar for pythonn00b

Implement a function punctuation() that takes no parameters, inputs a string from the user, and prints all of the punctuation characters appearing in the string, in order from left to right. My coding I have so far is: def punctuation(): a = raw_input("Please enter a string:") check = ['!', ',', …

Software Development python
Member Avatar for snippsat
0
381
Member Avatar for Madmark88

i have recently started to learn c programming and im trying to improve my skill.i have some question about perfect numbers i searched forum but results were about C++. question is this code finds perfect numbers between 1 to 1000000. but its not working after 8128 which is perfect number. …

Software Development c
Member Avatar for Madmark88
0
100
Member Avatar for daniwaber

Hi, Can anybody help. How to scroll data in DataList by using mouse scroll. DataList have no Scroll method.

Software Development visual-basic
Member Avatar for AndreRet
0
1K
Member Avatar for AWPROGRAMMER

I have multiple projects in the same database that use the same dll code. Currently I have to define in the dll what the project names are and what the unc path is that each particular project needs to reference for it's excel file. The excel file contains notes that …

Software Development file-system open-source visual-basic
Member Avatar for AndreRet
0
158
Member Avatar for DARKSUPR3MACY

Hello, I am new to this site, as well as to C++. I was hoping someone could help me out with my program, I was hoping to incorporate an if, else statement which we have yet to go over to see if I can. I have basic experience in java …

Software Development c++
Member Avatar for Fbody
0
175
Member Avatar for theurbanist

Hey Everyone, How would you go about writing a program that draws an image of an ice cream cone, using JFrame and JComponent classes, with a triangle on bottom and a circle on top?

Software Development java
Member Avatar for Akill10
0
114
Member Avatar for doremon89

i want to convert a fie(document,excel,picture) to binary format using VB.Please how can i achieve this

Software Development visual-basic
Member Avatar for AndreRet
0
213
Member Avatar for RenanLazarotto

Hey! My app has a nice menu strip, with two tool strips, one containing file options, and other contanining options options (oO) The bad part is... the options toolstip has two subitems that should be excluse. Like: I click one, other gets unclicked and become not functional. I've tried it, …

Software Development vb.net
Member Avatar for RenanLazarotto
0
91
Member Avatar for KunalPatel

Hello, I'm a newbie to Objective-C & iPhone development, hence please bear with[ICODE][/ICODE] me. I'm working on an app which loads with UITableView and upon selecting one particular cell called "Address Book" it should load with another UITableView containing all the addresses retrieved from a web request. Using NSXMLParser's delegate …

Software Development c++ ide iphone xml
Member Avatar for KunalPatel
0
153
Member Avatar for Arjun_Sarankulu

I have written the code to read the csv file(which include 4 rows) and the application is running sucessfully, while writting to the file it writes 2nd and 4th row to the file I am not getting why its happening. Can anyone help me for the same. following is the …

Software Development file-system xml
Member Avatar for Ketsuekiame
0
172
Member Avatar for sitajaf

Hi, am trying to use a multicast socket in an application but I constantly get this exception; java.net.SocketException: error setting options. I have failed to find its cause and how to solve it. Pliz help (what could be causing it, and how can i solve it? thanx.

Software Development java
Member Avatar for sitajaf
0
209
Member Avatar for get connected

Hello All. I am having issues with files on a network drive being moved - the file name always remains the same but the location changes. (users move it - much arrrrrrrgggggggg!!) Is it possible to search through all drives and paths to find FILEX ? I hope so as …

Software Development vb.net
Member Avatar for sandeepparekh9
0
135
Member Avatar for zahraT

hello every body code below make directory in an address that is define in data part. ; create c:\emu8086\vdrive\C\test1 mov dx,ah mov ah, 39h int 21h but i want to get address from user. i can do this with macros . anyone know this with intrrupts? best Regard

Software Development assembly
Member Avatar for Ancient Dragon
0
114
Member Avatar for aquamarine_kath

Hi, I got a runtime error 3709. It says "The connection cannot be used to perform this operation. It is either closed or invalid in this context." I can't find what's causing the error.. Here is my code: [CODE] Public Sub S_LOAD_flxUser() Dim strSql As String Dim rsLoad As New …

Software Development visual-basic
Member Avatar for AndreRet
0
796
Member Avatar for p90pts

Hey, I'm currently doing some work on a program i'm creating for Uni, now i'm getting the above error on the following line of code: [CODE] if ((position.X < boundary.Width - 50) && (counter == 0))[/CODE] All the variables are set to Public. The error is within an 'Alien' class …

Software Development visual-basic
Member Avatar for Ketsuekiame
0
107
Member Avatar for aint

Hi, I have many files made by a software. I want to extract some data from those files, and when I open the file with textedit, I see that what i need is on the first line. i have many of these files, and when I run the script, it …

Software Development python
Member Avatar for aint
0
135
Member Avatar for ahmed_fawzy

why when i write this down : [CODE] private Statement getOrders_st=null; public ResultSet getOrders(String UserName) { ResultSet Rs=null; try { getOrders_st = Conn.createStatement(); Rs = getOrders_st.executeQuery("select order_history , ordr_date , ordr_total from orders where ordr_userid = '"+UserName.toLowerCase()+"'"); } catch(SQLException ex) { ex.printStackTrace(); } return Rs; }[/CODE] give NullPointerException at [CODE]getOrders_st …

Software Development java
Member Avatar for ahmed_fawzy
0
152
Member Avatar for JOSheaIV

Okay so about a year ago I took a usual college class on C# and since have been addicted to the language, I love writting in it. But I have been puzzled by an issue that I have never figured out, and I decided it's finally time to ask for …

Software Development microsoft-office
Member Avatar for Ketsuekiame
0
254
Member Avatar for hq1

Hello. I'm supposed to store the two numbers in two int arrays of size 30, one digit per array element. If the number is less than 30 in length, enter enough leading zeroes (to the left) to make number 30 digits long. I will need a loop to add the …

Software Development c++
Member Avatar for danb737
0
1K
Member Avatar for AnkitPasi

Hello. The problem with the following code is that when I read from a file after restarting the program and then try to display the contents, it goes into an endless loop. I hope that someone can point out the logical error hiding there. [CODE]#include <iostream> #include <windows.h> #include <fstream> …

Software Development c++ file-system ios linked-list queue
Member Avatar for thelamb
0
326
Member Avatar for aaronmk2

I am using split to split a string into a int, int, string. When I try int, string, string my program works fine. When I try int, int , string I get a run time error of an input string was not in a correct format. I am leaving a …

Software Development file-stream
Member Avatar for ddanbe
0
102
Member Avatar for george61

There is a working code about a program in which you should create differen Cat objects with name and color parameter and apply method to the objects. The problem is that I get the method working for only the last cat [CODE]public class Cats { public static String name; public …

Software Development java oop
Member Avatar for masijade
0
232
Member Avatar for bensewards

Hey everyone, I need to write a program that reads names and GPA’s from a text file. The file looks like: James 3.9 Margaret 3.5 Charles 1.2 Jennifer 4.0 The program sorts the students ascending by gpa, and prints the sorted list including names. To keep the names with the …

Software Development c++ file-system
Member Avatar for ravenous
0
1K
Member Avatar for JannuBl22t

Hey! I have a problem with my code: [CODE=C] public void UpdateColumn(object stateInformation, int cid = 0, int status = 0) { if (InvokeRequired) { Invoke(new Action(() => UpdateColumn(stateInformation, cid, status))); } else { if (status == 0) { var res = "Failed"; listView1.Items[cid].SubItems.Add(res); } else if (status == 1) …

Software Development
Member Avatar for lolafuertes
0
128
Member Avatar for vasaviam

How to run a command of MS DOS with code through visual basic 6.0 for ex. setting the path, zip and unzip files etc. and also the commands of Visual Foxpro Databasese through VB.

Software Development visual-basic
Member Avatar for VBzambo
0
2K
Member Avatar for RicardoE

Hello, can you guys please sugest a way to have today date substracted 7 days, and have al of this 7 days into one String array? thanks.

Software Development java
Member Avatar for RicardoE
0
168
Member Avatar for adarshcu

I have a property active to indicate status of an employee. Along with all the details, i extract the details from an employee table into a dataset, but however i am not able to get the value present in active as i get an invalid cast exception. This is the …

Software Development dataset sql vb.net
Member Avatar for sandeepparekh9
0
331
Member Avatar for PKW

I'm looking for a tool that can read text on a web page, or within a web-based document viewer, and insert a polling plugin of sorts at the end of each paragraph. More specifically, I would like my website to display documents inside some kind of reader. Then, I'd like …

Software Development perl
Member Avatar for PKW
0
124
Member Avatar for andylbh

Hi all, I've just started learning server and client communication using socket. What I'm doing here is like a Search Engine. Server stores data (from a textfile) , then client search and check it exists or not. Everything works fine, but I can't seem to loop for multiple search. (Meaning …

Software Development c client-server
Member Avatar for kings_mitra
0
105
Member Avatar for ramezan1356

how do i want to save a picture in accsess database?

Software Development vb.net
Member Avatar for ramezan1356
0
122
Member Avatar for RenanLazarotto

Hey guys! How can I invert (or reverse, whatever) a string, but reversing each word? Like: [ICODE]This is a string.[/ICODE] Output: [ICODE]sihT si a gnirts.[/ICODE] and not: [ICODE].gnirts a si sihT[/ICODE] Also, how can I do it to a entire file? Thanks in advance!

Software Development vb.net
Member Avatar for codeorder
0
2K
Member Avatar for RenanLazarotto

Hey people! It's me, AGAIN! =) I'm not sure if I already saw a trackbar inside a menu strip, but there is a way to add it? Or even a numeric dropdown? Thanks =)

Software Development vb.net
Member Avatar for RenanLazarotto
0
541

The End.