132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nschessnerd

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
Member Avatar for nschessnerd
0
124
Member Avatar for pokemon123

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
Member Avatar for iamthwee
0
87
Member Avatar for rosemary

[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
Member Avatar for vijayan121
0
335
Member Avatar for chota

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
Member Avatar for TkTkorrovi
0
100
Member Avatar for t_yalthis

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
Member Avatar for t_yalthis
0
210
Member Avatar for TaoistTotty

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
Member Avatar for TaoistTotty
0
420
Member Avatar for arvin2006

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
Member Avatar for QVeen72
0
128
Member Avatar for deviii

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
Member Avatar for QVeen72
0
88
Member Avatar for guru511

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
Member Avatar for debasisdas
0
91
Member Avatar for tgifgemini

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
Member Avatar for QVeen72
0
102
Member Avatar for khanayub_chand

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
Member Avatar for debasisdas
0
116
Member Avatar for djemba-djemba

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
Member Avatar for djemba-djemba
0
113
Member Avatar for pranay500866

how to develop an exe file in C language

Software Development c
Member Avatar for TkTkorrovi
0
98
Member Avatar for mona1nine

[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", …

Software Development c c++
Member Avatar for Aia
0
92
Member Avatar for mauro21pl

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 …

Software Development c++ ios
Member Avatar for mauro21pl
0
101
Member Avatar for zandiago

“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++
Member Avatar for iamthwee
0
355
Member Avatar for pokemon123

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
Member Avatar for iamthwee
0
238
Member Avatar for Ainur

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
Member Avatar for Ainur
0
132
Member Avatar for lamees

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
Member Avatar for Ezzaral
0
138
Member Avatar for mastan

[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++
Member Avatar for Salem
0
114
Member Avatar for TheGathering

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 …

Software Development c++ gui
Member Avatar for TheGathering
0
131
Member Avatar for bergy_nj

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
Member Avatar for BearofNH
0
219
Member Avatar for shuvo

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 …

Member Avatar for dalwadijayen30
0
1K
Member Avatar for mastan

any one can help me hw to write tic tac toe program using visual studio...

Software Development c++ visual-studio
Member Avatar for mastan
0
103
Member Avatar for mayur_kulkarni

[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
Member Avatar for masijade
0
97
Member Avatar for Ta1da

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 …

Software Development c++ display
Member Avatar for Salem
0
1K
Member Avatar for dmotah

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
Member Avatar for epok13hart
0
127
Member Avatar for ankitrai

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++
Member Avatar for ankitrai
0
60
Member Avatar for NewbieTJ

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
Member Avatar for Aia
0
99
Member Avatar for JRM

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 …

Software Development c++ qt
Member Avatar for vijayan121
0
205
Member Avatar for seanw

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 …

Software Development algorithm c++
Member Avatar for seanw
0
110
Member Avatar for tech291083

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
Member Avatar for indienick
0
372
Member Avatar for ellenski

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 …

Software Development c c++
Member Avatar for Aia
0
167
Member Avatar for pop007

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++
Member Avatar for Bench
0
100
Member Avatar for ultra vires

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
Member Avatar for ultra vires
0
88
Member Avatar for Ainur

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
Member Avatar for jwenting
0
158
Member Avatar for lollerskates

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!

Software Development delphi pascal xml
Member Avatar for lollerskates
0
170
Member Avatar for stackOverflow

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
Member Avatar for stackOverflow
0
75
Member Avatar for NewbieTJ

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
Member Avatar for Aia
0
145
Member Avatar for Ainur

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
Member Avatar for ~s.o.s~
0
149
Member Avatar for piers

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 …

Software Development java mysql
Member Avatar for jwenting
0
101
Member Avatar for kodiak

I would like to make a MUD in C++. So...=) I need to know how i would program it so that other players could attack, see, and trade with each other. I'm gonna host it on my computer, or maybe a remote shell account, so my friends and i can …

Software Development c++
Member Avatar for Bench
0
141
Member Avatar for asilter

[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
Member Avatar for Salem
0
104
Member Avatar for kishorJagtap

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 - …

Software Development dataset display vb.net
Member Avatar for manal
0
172
Member Avatar for elanch

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
Member Avatar for AV Manoharan
0
292
Member Avatar for danielbasten

Any one who can give me some algorithms about image deblur? thanks in advance!

Software Development c image
Member Avatar for Salem
0
62
Member Avatar for DeathEvil

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
Member Avatar for Aia
0
97
Member Avatar for irotsenmar

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
Member Avatar for jrcagle
0
113
Member Avatar for no1zson

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
Member Avatar for no1zson
0
109
Member Avatar for youngstorm

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
Member Avatar for youngstorm
0
80

The End.