Forum: C++ Jun 4th, 2005 |
| Replies: 2 Views: 2,044 |
Forum: C++ Jun 3rd, 2005 |
| Replies: 2 Views: 2,044 Pressing Enter on an empty string - Help Hi all, I'm completly useless at C++ and was wondering if anyone can tell me how to tell a program that when I have pressed Enter, if the string is empty do nothing.
Its for updating details. I'm... |
Forum: Visual Basic 4 / 5 / 6 May 29th, 2005 |
| Replies: 4 Views: 13,507 Re: Remove Double Quotes " From A String Hi, dont know if you are interested or not but i finished my program.
Its a small program that opens the Firefox browser advert blocking filter file and converts the text into a format the the... |
Forum: Visual Basic 4 / 5 / 6 May 28th, 2005 |
| Replies: 4 Views: 13,507 |
Forum: Visual Basic 4 / 5 / 6 May 28th, 2005 |
| Replies: 4 Views: 13,507 Remove Double Quotes " From A String Hi can anyone tell me if i can write a string to a text file without it having the " Quotes at either side of the text "?
I'm trying to input a line of text from a text file, change it and rewrite... |
Forum: Visual Basic 4 / 5 / 6 Feb 21st, 2005 |
| Replies: 8 Views: 9,946 Me Again :P Yes i know i'm talking to myself but what the hell.
For anyone interested, the above method i showed is bad. Here is a better way.
Call BubbleSort(CustomerArray) 'To call the procedure
Private... |
Forum: Visual Basic 4 / 5 / 6 Feb 20th, 2005 |
| Replies: 8 Views: 9,946 Re: Sort a dynamic array of structs Solution.
I got my dad to help me, and he found a way to do it.
Here is the code.
Private Sub SortCustomers() 'Bubble Sort
Dim Pass As Integer
Dim Compare As Integer |
Forum: Visual Basic 4 / 5 / 6 Feb 19th, 2005 |
| Replies: 8 Views: 9,946 Re: Sort a dynamic array of structs Right, this is my last plea for help. I've made another example of what i want sorted. This time i've included a few customer records and displayed them out in a list box. I've deliberately put the... |
Forum: Visual Basic 4 / 5 / 6 Feb 18th, 2005 |
| Replies: 8 Views: 9,946 |
Forum: Visual Basic 4 / 5 / 6 Feb 18th, 2005 |
| Replies: 8 Views: 9,946 Re: Sort a dynamic array of structs Nope , Like i said i'm a begginer programmer and thats too complicated for me.
I can't believe there are no tutorials on the internet. I've looked at hundreds of web pages about sorting.
It must be... |
Forum: Visual Basic 4 / 5 / 6 Feb 17th, 2005 |
| Replies: 8 Views: 9,946 |
Forum: Visual Basic 4 / 5 / 6 Feb 16th, 2005 |
| Replies: 8 Views: 9,946 Sort a dynamic array of structs Please help me !!!!!
I want to know how to sort a list of records in a text file.
I want to sort them by customer number.
Here's whats in my module
Public CustomerArray() As CustomerRecord |
Forum: Visual Basic 4 / 5 / 6 Jan 28th, 2005 |
| Replies: 4 Views: 5,742 Re: Display Autonumber ok, thanks for your help. I am just going to leave it. Is there any way to just display the text "Autonumber" in the text box without causing validation errors as its set as a long in the database. |
Forum: Visual Basic 4 / 5 / 6 Jan 27th, 2005 |
| Replies: 4 Views: 5,742 Re: Display Autonumber I thought i was pretty clear, i'll try again. I have created a database.
The database creates a customer record.
When i press the add new button. I would like the program to display the next new... |
Forum: Visual Basic 4 / 5 / 6 Jan 27th, 2005 |
| Replies: 4 Views: 5,742 Display Autonumber Hello, Can someone please tell me how to display an autonumber in a text box. I am using the ado control to connect to my database.
I am doing a small project for college in which i have to create... |