473,396 Members | 1,884 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Borland C++ Help Please

ok I have a web site , made a program that i want to put on my website. but first i have to fix one thing and have not been able to get it to work.

I am going to try and explain this the best I can.

ok I have a listbox (ListBox1) i also have a edit box (Edit1) and one button (Button1)

Then 2 more buttons Save(Button2) and upload(Button3)


Now i want when i open this program to beable to click on Upload and it takes info from a log file and places that info into the listbox. Also i need when i hit save it takes the info inside the list box and places it back onto the log.

This is pretty much the procedure. person x opens the website and see's the form. clicks on upload and names appare in the listbox. Person x now types in his/her name and click enter there name is now in the listbox. They hit save so the next person that comes alone will now see person x name when they hit upload.

What i am doing is alot more detail but in a small example this answer should help me along the way.

Also do i need the upload button or can i make it so when it starts it automaticly loads the log file into the listbox?

iam sure ill have more questions but for now these are my major ones.
Thanks
Squills
Feb 20 '07 #1
12 2402
AdrianH
1,251 Expert 1GB
Sorry squills, but this question sounds like a web app. Where do you get the idea that it has to do with Borland C++?


Adrian
Feb 21 '07 #2
well i all ready made most of the form. just not the saving part..

and i just plan to post it on my website when i do finish it?
see iam only having problems with how to read in from a log file and save to a log file the info inside the list box.
thanks
squills
Feb 21 '07 #3
Also upload and save are just the names of the buttons.
Feb 21 '07 #4
Ganon11
3,652 Expert 2GB
Borland C++ probably has some plug-in type extras that allow buttons and labels to created like VB - but this is just a guess, as I've never used Borland before.
Feb 21 '07 #5
ahhh i see ... I am using Borland Builder C++ not just regular borland C++
This does have the buttons and ect just like VB. ill have to change to title i guess?

so any ideal on how to read and write to a log file using Borland Builder?
squills
Feb 21 '07 #6
AdrianH
1,251 Expert 1GB
ahhh i see ... I am using Borland Builder C++ not just regular borland C++
This does have the buttons and ect just like VB. ill have to change to title i guess?

so any ideal on how to read and write to a log file using Borland Builder?
squills
So what you are making is a server application?


Adrian
Feb 21 '07 #7
So what you are making is a server application?


Adrian

well i dont know much about servers. but pretty much this is my program.

i have a web site that i want to put this program onto. once the program is on there i will have a log file also stored on the program.

so when someone visits this page in my website they can add there name to the listbox. and i want the list box to keep eveyones name

so i thought i had to have a way of saving the info...kind of like a database

i wish we could attach pictures i would show you what i have would make it alot easier...

ok let me try this way of explaining it.

i have a list box the names mike bob and carol are in it
ex. Mike
Bob
Carol


ed visits the page and wants to put his name init so when he visits he should see the other 3 names all ready in the list box. he enters his name ED
so next person that comes to that page will see
mike
bob
carol
ed

ill see if i can get a link to my picture it might help explain things
squills
Feb 21 '07 #8
ok i have picture up so let me explain my whole program just so your not confused.

This is a program for my online game i play. I what to record who has certin keys.
I have all the programming working just it wont save.



if that dont work go to http://img136.imageshack.us/img136/459/programrl5.png

OK you come to my page and the form1 pops up. from there you will put in your name and check marks next to what keys you have and press enter. On the right there is 7 buttons each button has a list box. EX. if you press button called The Eye it will hide all other list box but the one called listbox for The Eye.

Now when you press enter your name will go into what ever listbox you placed a check next to EX. you checked The Eye and The Arcatraz then your name would be placed in listbox for The Eye and for The Arcatraz.

The problem iam having is once the name is in the box and you leave everything in the listboxes are gone. what i want is when hte next person after you comes to this they will see your name in the list box for what ever key you have..

Does this help any... can you tell what i need or should have?
thanks
squills
Feb 21 '07 #9
Any ideal?
cheers
squills
Feb 21 '07 #10
AdrianH
1,251 Expert 1GB
Ok, I understand. It is like a .NET web server app aka ASP .NET Web Forms. However, if it is a web app, you've got more problems then what you are asking. Synchroniation is a biggie, (you have two people hit the site when a third has just submitted, depending on timing, you will get the name and stuff from the previous submitter, the current submitter or garbage as the submition is in progress) though if you use a database, this isn't so bad as that can make access to the information atomic.

After the sync problem, it is a cake walk (that means a good thing right? :)). You access the information when the onload event occurs, and setup the page accordingly. Now, how that is done in the Borland framework is something I don't know. But if Borland C++ is using the .NET framework, then try adding the Page_Load() event and setting the stuff up from there.

Hope this helps.


Adrian
Feb 21 '07 #11
yes you are correct. and i can see what you mean buy 2 or 3 people on at same time..

so any ideal on how i can make a database using Borland Builder?
Feb 22 '07 #12
AdrianH
1,251 Expert 1GB
You can do it without a database, but it could get messy. It would require some thought in design.

You could get MySQL, but you will need to learn the SQL interface. Are you using .NET under Borland C++?


Adrian
Feb 22 '07 #13

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Developwebsites | last post by:
do they have 5.5 with an IDE? I've used 3.1 and 4.52, so why should i go back to command line with 5.5? are there any other C++ compilers with an IDE? ...
5
by: Steven O. | last post by:
First, sorry if by some chance I am not posting to the correct newsgroups, these seemed to be the most applicable to my question (see disclaimer at end of post for further comments....). Started...
0
by: Kenneth Gomez | last post by:
Hello, I have tried many avenues (web search, borland website, libxml website) before deciding to post here. I'm trying to install libxml2 on windows ME to work with my Borland C++ 5 Compiler...
1
by: MikeS | last post by:
im currently developing an app using borland c++ which uses the fastnet component . but i am having problems with computers behind a network that dont have a direct ip address to conect to the...
17
by: Ziggi | last post by:
Hi. I want to get a C++ IDE, but I dont know whether to go for Bill Gate's solution or Borland's. Could any kind folks detail the relative strength and weaknesses of both, and also tell me which...
2
by: kikotores | last post by:
I am going back home for the summer but I have this big project to submit for one of my classes. It is written in Visual C++ 7.0 . Hoever the only C++ compiler I have at home is the free Borland...
22
by: smartwolf agassi via DotNetMonster.com | last post by:
I'm a C# language learner. I want to know which IDE is better for C# programing, Borland C#Builder or VS.net 2003? -- Message posted via http://www.dotnetmonster.com
17
by: Fabry | last post by:
Hi All, I'm new of this group and I do not know if this is the correct group for my question. I have a DLL with its export library (.lib) wrote in Borland C++ 6. In borland everything is OK and...
1
by: Ricardo | last post by:
Hello, I have just happened on a nice Borland C++ 5.5 tutorial at http://www.webnotes.org/bcc55eng.htm, meant for the very novice like myself :) I got stuck at creation of .res file needed to...
7
by: Henry | last post by:
I am looking for a copy of Borland C++ 5.0.1. I have a project at work that was written using this version, and cannot open the project files with a later (or an earlier) version. If you know...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.