132,726 Archived Topics
Remove Filter ![]() | |
Hey guys, is there any way to read and write an object to a text file? For example in java i can open a ObjecOutputStream and just write an object. What about in vb? Thanks M Software Development visual-basic | |
Mini- Project of Dates Your program should allow the user to enter day, month and year of any date after 1 Jan 1900. The program should allow user to enter two dates. The program should then determine whether two dates are in a leap year, whether the first date is … Software Development c++ oop visual-basic visual-studio ![]() | |
[COLOR="Red"][U][I]hi, every body..[/COLOR] [COLOR="Green"]I have two program I couldn’t solve them So, can any body help me. please!![/I][/U][/COLOR] 1-Write a program that accepts a character and count number of occurrences in a file. The file should have some text, and the program count how many times the inputted character repeated … Software Development c++ file-system | |
hi guys i am new to this site...hope you all will provide me the required information.... here is what i wanted to ask.... i created a cricket game in C using some basic graphics functions.... what i did is i created some frames of bowler -bowling & batsman batting... first … Software Development c | |
hi everyone; in my program I need to sort the recordset according to specific field, however it gives an error like "Run-time error 3251: Current provider does not support the neccessary interfaces for sorting or filtering" rs_data.sort = "k_baslangic" 'is not working.. btw my connection code is Set conn = … Software Development open-source visual-basic | |
I am currently working on a project and need to allow the user to create tabs. This I have managed to do although the solution (to copy from another hidden tab). The problem I have is that I need the tabs being displayed to change between records (something that does … Software Development vb.net | |
hello to every one! have a nice day! pls help me how to arrange data alphabetically in the data report which came from the data environment designer.. i want to keep records in ascending form such as last name. i am creating a students record and i want that their … Software Development visual-basic | |
Hello VB experts how to select a perticular cell in mSHFlex Grid Control in VB at run time? Whats the property or coding i need to add? anyone help me please? Software Development visual-basic | |
hi, i want to create a setup file of my project.... while loading package and deployment wizard itz throwing the error "error in loading the PDWIZARD.OCX" i tried to load that OCX file manually.. but throwing the same error can u plz help me in this regard Software Development visual-basic | |
I am importing data from access file to a spreadsheet. One of the input field is a "comment" field with a full paragraph of comments. Some of the target cells in the spreadsheet displays "##########". But when I click on the cell, the Menu bar on top of the spreadsheet … Software Development display visual-basic | |
When I open my VB6 project file(i.e .Prj), an error is encountered saying "The instruction at "0x77fcca36" reference memory at "0x006f0067" . The Memory could not be written". Can any one explain me why this err comes and what must be the solution of this problem...... Software Development visual-basic | |
hi all, I am a VB.net beginner, I am developing a VB.net project now. I would like to ask a few questions. Thanks. I am using VB studio 2003 to develop the project. It automatically generated the codes for establishing some connections to the server. But there were some problems … Software Development vb.net | |
[code=c] #include <stdio.h> #include <string.h> struct courses{ char coursenumber[10]; float credit; float grade; }; struct courses list[2]; main() { int i; int count; printf("Enter number of courses to input: "); scanf("%d", &count); for (i=0; i<2; i++) { printf("Course number: "); scanf("%s", list[i].coursenumber ); printf("Credit: "); scanf("%f", list[i].credit); printf("Grade: "); scanf("%f", … | |
Hi I'm playing with a simple class. Looks like everething is fine, my compiler doesn't give me any error but there is no display on the screen. Can anyone tell me what did I miss? thanks [CODE] #include <iostream> #include <conio.h> using namespace std; class BankAccount { public: BankAccount(int dollar,int … | |
“Write a C++ program (use multi-dimensional arrays) that uses an array structures (size 8) to store the following information on a company’s 8 divisions: Division name (such as East, West, North, South, Northeast, Northwest, Southeast, and Southwest) First Quarter sales Second quarter sales Third quarter sales Fourth Quarter Sales Fourth … Software Development c++ ![]() | |
I'm using visual studio for the program. When i prompt the user for date like is this format -dd/mm/yyyy . For the program how do i use the data for just the year only not the whole input? Software Development c++ visual-studio ![]() | |
There is a task: Imagine you have been asked by the Physics department to create a Java program to help them record information about experiments they are running on a particle accelerator. Each type of particle is uniquely identified by name, and has a mass (a decimal number between 0 … Software Development java | |
Hi, everybody. I've made a code of a "for" loop. Once i exceeds 4, the loop must stop. The input is in a JTextField. The problem is that the loop never stops although it exceeds 4. Can anybody help me? The problem is here : public void compare(int x) { … Software Development java | |
[code=cplusplus] #include <iostream> #include <string> using namespace std; enum SquareState { (blank = 's', X = 'X', 0 ='0') }; class gameBoard { private: const int WIDTH; const int HEIGHT; int* GameBoard; public: gameBoard(): WIDTH(3), HEIGHT(3) { GameBoard = new int [9]; for (int i = 0; i < 9; … Software Development c++ | |
I'm using wxDev-C++ to write an auto-clicker program that I'm hoping to release as FOSS one day. I wrote some really neat algorithms that I tested in Java to be implemented my project so it can be used in games and such as that. (It's not school work, just something … | |
hi i've been trying to parse the argument using getopt i need to have it to be able to handle argv[0] logfile (i ment to take the following argument after argv and put it in variable - like listed in the usage part) but i coudnt get it to work … Software Development python | |
I want to create new table in Access database during the runtime of my VB code. I am developing a "Library Management System" using VB6. At first i have used SQL statement to do the job. But it worked for once & then it stopped working. No error message was … Software Development microsoft microsoft-access sql visual-basic | |
any one can help me hw to write tic tac toe program using visual studio... Software Development c++ visual-studio | |
[B][I][U][B][I]i am looking for a java project . i am in final year .[/I][/B][/U][/I][/B] Software Development java | |
Hi i just started learning C++ & we were given homework to write code that will show names numbered to six and display the longest name entered. i have managed to show the names going in numeric order just can't display the longest one. Thanks for any future help... (Also … | |
hi, im using msaccess as database. can u plz tel me how to delete records using vb (it should serch nad delete) tkx Software Development visual-basic | |
I have defined some classes which are giving a linker error like the one in the subject. could anyone provide some info on the error, I have understood it has something to do with the virtual table but am not able to figure out what. what makes it more harder … Software Development c++ | |
Here is a code I have been trying to finish but can't. I'm very new to this as you probably know by my other post but this program has been giving me a fit. I feel like I have hit a brick wall and it bothers me because I know … Software Development c | |
hello all, I am trying to compile this canned example in QT4 , but the compiler spews out an error messagethat I have never seen before. The *.cpp file: [code] #include <QtGui> #include "finddialog.h" FindDialog::FindDialog(QWidget *parent) : QDialog(parent) { label = new QLabel(tr("Find &what:")); lineEdit = new QLineEdit; label->setBuddy(lineEdit); caseCheckBox … | |
Hi, I am having a strange problem with a simple process. Heres the code. [CODE] bool areNumbers = true; bool Anything = true; int numBytes = 1; long inCrem = 0; while(gPlacerID != tgPlacers[inCrem]->GetPlacerTypeID()) { inCrem++; if(inCrem == tgPlacers.size()); { Anything = false; break; } }[/CODE] This code is part … | |
Hi, I have been trying to learn java on my own on Linux from command line. Can any one please give me a few very basic samples of code that ask the user for an input (interger/double/float/string all possible data types)? I have downloaded the official Sun Java tutorials but … Software Development java | |
hi, i'm supposed to create a very simple address program in C & not in C++. my program works but my problem is how to "search & edit a record" and how to "search & delete a record", that is what i lack. this program is really giving me a … | |
Hello all, I got problem to write program concerning in money deposit into bank. i.e : money = 100$, month = 3, interest = 3%/month here we got : 1- Enter money into bank = 100 2- Enter month = 3 3- Total amount = 109.27 4- Total interest = … Software Development c++ | |
Hi guys, i am new to java so i started of with basics, but now im stuck at a little problem. I will paste the code and error's below, hoping that some1 could sort em out [code=java] import java.lang.*; import java.io.*; class Sphere{ float radius; int cXcord; int cYcord; int … Software Development java | |
Dear all Could you tell me what is it-atomic type in Java? I explored internet and book Java in 21 days,but nothing about it. The question was about difference between object reference and atomic type. I found that object reference is an address that indicates where an object's variable and … Software Development java | |
Hi, just wondering if anyone knows where I could get a tutorial or even just sample code of a delphi application writing an XML file? I've tried google (obviously) but had no luck. Thanks! | |
Hi, I want to update the database from a flexgrid. Is it possible in VB 6.0? I came across an article where it said.. its not possible. But there was a way to do it ... by placing text boxes on the cells of the grid and making those text … Software Development visual-basic | |
Hi I'm very new to this world of programming and am having several difficulties. I'm trying to practice a lot and become more accustomed to everything but I've only been doing this for about five weeks so I'm sure know it's usually a slow start. I would like to build … Software Development c | |
Hello everybody! I am a beginner in Java and computing at all. I need to make some tasks if you help me,please. So, the first taks is: Write down what is stored in s2 after the following Java code has been executed: String s1= new String("Hello"); String s2= new String("The … Software Development java | |
I was reading through my java book which is called Introduction To Java Programming Sixth Edition by Y.Daniel Liang and I was reading about databases. I just wondered if java is used in webdesign for the purpose of creating databases and if that was instead of MySql and what the … | |
[code] /* One file can be hundreds of MBs. So, 640 MB in maximum*/ int nMaxByteCount = 64000000; [/code] I read files to get binary info in it. But I don't know the exact sizes before reading. So, I allocate nMaxByteCount for large files first and get support from fread … Software Development c | |
Dim conn As New SqlConnection(connstr1) Dim sql As String sql = "Select * from address1" 'Dim da As SqlDataAdapter Dim cmd As New SqlCommand(sql, conn) conn.Open() Dim ds As New DataSet() da = New SqlDataAdapter(sql, conn) da.Fill(ds, "Address1") maxrows = ds.Tables("Address1").Rows.Count inc = -1 conn.Close() 'If next_record <= maxrows - … | |
hi Friends! i need to open a pdf documents from MsAccess. Please send me the code. Then i need to create a BROWSE button such that BROWSE_BUTTON Text_box When i click the browse button it should work as ordinary windows browse button and when i select some files, the "File-Path" … Software Development pdf visual-basic | |
Any one who can give me some algorithms about image deblur? thanks in advance! | |
I have no problems connecting strings but if I follow the same procedure for chars then the program blows. [CODE]void Input_Code(char *d1_p, char *d2_p, char *d3_p, char *d4_p, char *d5_p, char *d6_p, char *d7_p, char *d8_p, char *d9_p, char *d10_p, char *full_code_p) { char buffer[12]; printf("Please enter 10 character account … Software Development c | |
Can someone assist me on creating this program? Thank you. create a program that will allow you to calculate the following: 1) The average gas mileage of a car 2) The range of a given car 3) The cost of a given trip 1) Create a Car.py file that will … Software Development python | |
This is the last thing I am doing to my app, and I saved the hardest for last. I have been out here all week beating you guys to death with questions, so if I do not get any replies at all I will understand. I do not need this … Software Development java user-interface | |
I have code that looks like: mov dl, 05 mov dh, 05 I can combine these 2 commands into: mov dx, 0505H What I don't understand is why is it necessary for '0505' to be in hex. If I make the command: mov dx, 0505 it does not work right. … Software Development assembly |
The End.