Forum: Visual Basic 4 / 5 / 6 19 Days Ago |
| Replies: 22 Views: 3,832 |
Forum: VB.NET Aug 1st, 2008 |
| Replies: 10 Views: 582 |
Forum: Visual Basic 4 / 5 / 6 Jul 26th, 2008 |
| Replies: 3 Views: 496 |
Forum: Visual Basic 4 / 5 / 6 Jul 26th, 2008 |
| Replies: 6 Views: 759 |
Forum: Visual Basic 4 / 5 / 6 Jul 26th, 2008 |
| Replies: 4 Views: 378 Re: string handling Hi,
Try this code:
Private Function SeparateString(str As String) As String
Dim x As Integer
Dim retStr As String
retStr = ""
For x = 1 To Len(str)
retStr = retStr &... |
Forum: Visual Basic 4 / 5 / 6 Jul 26th, 2008 |
| Replies: 12 Views: 607 |
Forum: Visual Basic 4 / 5 / 6 Jul 25th, 2008 |
| Replies: 12 Views: 607 |
Forum: C Jul 25th, 2008 |
| Replies: 15 Views: 549 Re: Quadratic Formula The only thing that don't make me feel good having read this thread is the sign of plike:
COBOL was designed so that managers could read code.
BASIC was designed for people who are not... |
Forum: Visual Basic 4 / 5 / 6 Jul 25th, 2008 |
| Replies: 12 Views: 607 |
Forum: VB.NET Jul 25th, 2008 |
| Replies: 6 Views: 448 |
Forum: Visual Basic 4 / 5 / 6 Jul 25th, 2008 |
| Replies: 2 Views: 160 |
Forum: Visual Basic 4 / 5 / 6 Jul 25th, 2008 |
| Replies: 12 Views: 607 |
Forum: Visual Basic 4 / 5 / 6 Jul 25th, 2008 |
| Replies: 12 Views: 607 |
Forum: VB.NET Jul 24th, 2008 |
| Replies: 10 Views: 582 |
Forum: VB.NET Jul 24th, 2008 |
| Replies: 7 Views: 244 |
Forum: VB.NET Jul 24th, 2008 |
| Replies: 6 Views: 787 |
Forum: VB.NET Jul 24th, 2008 |
| Replies: 7 Views: 239 |
Forum: VB.NET Jul 24th, 2008 |
| Replies: 7 Views: 244 |
Forum: Visual Basic 4 / 5 / 6 Jul 24th, 2008 |
| Replies: 3 Views: 616 |
Forum: Visual Basic 4 / 5 / 6 Jul 24th, 2008 |
| Replies: 4 Views: 394 |
Forum: Geeks' Lounge Jul 23rd, 2008 |
| Replies: 14 Views: 628 Re: Vista source code ;) HI,
I have a question...
The code given doesn't compile.
Borland Turbo C++ v3.0 says something like RunWindowsXP() is not defined...
Maybe do I need the winxp.h header which is not included?
Please,... |
Forum: VB.NET Jul 22nd, 2008 |
| Replies: 3 Views: 164 |
Forum: VB.NET Jul 22nd, 2008 |
| Replies: 3 Views: 295 |
Forum: VB.NET Jul 22nd, 2008 |
| Replies: 7 Views: 244 Re: Is this correct Well...
That is what I've answered...
Your code have *at least* one nested "If". Actually, yours has four "If" statements.
If you need the pseudo-code, you can write:
X = 0
WHILE X <= 45
IF (X... |
Forum: VB.NET Jul 22nd, 2008 |
| Replies: 7 Views: 244 Re: Is this correct Hi,
Your code is doing well.
Just in case, I have added the while loop in yours:
Dim x As Integer
Do While x <= 45
If x >= 20 Then
If x <= 25 Then... |
Forum: Visual Basic 4 / 5 / 6 Jul 21st, 2008 |
| Replies: 3 Views: 616 Re: Upload picture from file Hi,
First, this is not VB6 code. It is VB.Net.
To load an image, you must code:
Dim coinImage As Image
Dim imagePath As String = ""
If choice = 0 Then
headCount =... |
Forum: Visual Basic 4 / 5 / 6 Jul 21st, 2008 |
| Replies: 3 Views: 348 Re: challange I think so!
Come on boy, sit and code by yourself! :icon_cheesygrin: |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 12 Views: 349 |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 7 Views: 239 Re: Life and Death Well, I see syntax errors in your code.
When you compare the text in the ComboBox you must put "Trinidad and Tobago" enclosed with "
MessageBox.Show ("Please ensure that countries are different.",... |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 12 Views: 349 |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 12 Views: 349 |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 7 Views: 239 |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 12 Views: 349 |
Forum: VB.NET Jul 20th, 2008 |
| Replies: 6 Views: 787 Re: Delete From String array Hi,
I see you have the contents of the text file in the array arrlines.
Then, guess that you have the value you want to delete in the valueToDel variable:
...
Dim c As Integer = 0
... |
Forum: VB.NET Jul 20th, 2008 |
| Replies: 8 Views: 451 |
Forum: VB.NET Jul 20th, 2008 |
| Replies: 10 Views: 582 |
Forum: VB.NET Jul 20th, 2008 |
| Replies: 12 Views: 349 |
Forum: VB.NET Jul 20th, 2008 |
| Replies: 0 Views: 175 Saving a file with an image thumbnail Hi friends,
I'm coding an application using VB.Net 2008 Express which work with images. It can save the results of this work in a file using an own format (not a regular image file) for future... |
Forum: Visual Basic 4 / 5 / 6 Mar 16th, 2008 |
| Replies: 2 Views: 465 Re: Determining type of control Thanks!
I was using something like this:
If TypeOf (ctl) Is TextBox Then
...
End If
The problem is with "(" and ")". It doesnt work in VB6. |
Forum: Visual Basic 4 / 5 / 6 Mar 16th, 2008 |
| Replies: 2 Views: 465 Determining type of control Hi,
I am working in an application that uses Drag & Drop in VB6, and I need to determine which type of control is the user dragging.
I have in the form several controls: PictureBox, TextBox and... |