Forum: Visual Basic 4 / 5 / 6 Aug 17th, 2008 |
| Replies: 22 Views: 7,481 |
Forum: VB.NET Aug 1st, 2008 |
| Replies: 10 Views: 2,304 Hi,
Just use it
System.Diagonistics.Process.Start("c:\first.html?var1=value&var2=value")
Hope it helps. |
Forum: Visual Basic 4 / 5 / 6 Jul 26th, 2008 |
| Replies: 3 Views: 1,894 Hi,
Can you give us more details about it? |
Forum: Visual Basic 4 / 5 / 6 Jul 26th, 2008 |
| Replies: 6 Views: 4,157 Hi,
Use the Replace function.
The syntax is Replace(string, find, replace)
Doing it in your code:
Private Sub Command1_Click()
Dim dText As String, dNextLine As String, lLineCount As Long... |
Forum: Visual Basic 4 / 5 / 6 Jul 26th, 2008 |
| Replies: 4 Views: 1,318 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 =... |
Forum: Visual Basic 4 / 5 / 6 Jul 26th, 2008 |
| Replies: 12 Views: 2,174 I see. I'll change it. Thanks.
If you think that your problem is solved, please, mark as solved this thread.
Regards |
Forum: Visual Basic 4 / 5 / 6 Jul 25th, 2008 |
| Replies: 12 Views: 2,174 HI,
I see your point. But what he need is to separate some bits from a word. To do this, the easy way is to use masks. The mask thing is not an invention of mine.
Take a look here:... |
Forum: C Jul 25th, 2008 |
| Replies: 15 Views: 1,396 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: 2,174 And it is nice too, but as he say, he don't have string binary values. All that I know is the existence of two bytes. I've coded taking account of these.
As you said... Have fun ;) |
Forum: VB.NET Jul 25th, 2008 |
| Replies: 6 Views: 1,415 Hi,
Take a look on this library DotNetZip (http://www.codeplex.com/DotNetZip).
Hope it helps. |
Forum: Visual Basic 4 / 5 / 6 Jul 25th, 2008 |
| Replies: 2 Views: 482 Sorry,
But it is not VB code.
And please, use the [ CODE][/CODE ] tags. |
Forum: Visual Basic 4 / 5 / 6 Jul 25th, 2008 |
| Replies: 12 Views: 2,174 Hi,
Well, I guess you have to shift right the variable fourBits 12 positions.
Try this (I am not really sure it will work, because I have not VB here)
Dim byteA As Long
Dim byteB As... |
Forum: Visual Basic 4 / 5 / 6 Jul 25th, 2008 |
| Replies: 12 Views: 2,174 Hi,
Try this
Dim byteA As Long
Dim byteB As Long
Dim sumBytes As Long
Dim fourBits As Long
Dim twelveBits As Long
byteA = 32 ' 00100000b = 32d |
Forum: VB.NET Jul 24th, 2008 |
| Replies: 10 Views: 2,304 Hi,
Is your problem solved? |
Forum: VB.NET Jul 24th, 2008 |
| Replies: 7 Views: 624 Hi,
Then, mark this thread solved. |
Forum: VB.NET Jul 24th, 2008 |
| Replies: 6 Views: 4,705 Hi,
Is your problem solved? |
Forum: VB.NET Jul 24th, 2008 |
| Replies: 7 Views: 566 Hi,
Is your problem solved? |
Forum: VB.NET Jul 24th, 2008 |
| Replies: 7 Views: 624 Hi,
Is your problem solved? |
Forum: Visual Basic 4 / 5 / 6 Jul 24th, 2008 |
| Replies: 3 Views: 1,997 Hi,
Is your problem solved? |
Forum: Visual Basic 4 / 5 / 6 Jul 24th, 2008 |
| Replies: 4 Views: 1,573 Hi,
Think of a property just as if it were a regular variable. You can get or assign only one value at once.
If you need to pass more than one parameter to a property, instead use a regular Sub... |
Forum: Geeks' Lounge Jul 23rd, 2008 |
| Replies: 14 Views: 1,605 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?... |
Forum: VB.NET Jul 22nd, 2008 |
| Replies: 3 Views: 700 Hi,
Then, please, mark this post as solved. |
Forum: VB.NET Jul 22nd, 2008 |
| Replies: 3 Views: 1,927 Hi,
Try this
Dim folderInfo As New IO.DirectoryInfo("c:\windows")
Dim arrFilesInFolder() As IO.FileInfo
Dim fileInFolder As IO.FileInfo
arrFilesInFolder =... |
Forum: VB.NET Jul 22nd, 2008 |
| Replies: 7 Views: 624 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
... |
Forum: VB.NET Jul 22nd, 2008 |
| Replies: 7 Views: 624 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: 1,997 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
... |
Forum: Visual Basic 4 / 5 / 6 Jul 21st, 2008 |
| Replies: 4 Views: 1,409 I think so!
Come on boy, sit and code by yourself! :icon_cheesygrin: |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 12 Views: 1,295 Sandeep,
Let me ask you a question:
For what, we as programmers, write code?
For the computer to process it?
To minimize the clock cycles of the processor?
To make the users of our... |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 7 Views: 566 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... |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 12 Views: 1,295 Thanks Bill,
Good luck. It won`t be easy. ;)
Maybe this helps you http://www.coryborrow.com/2008/07/05/notificationbar-free-net-control/ |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 12 Views: 1,295 One more thing about modal message box.
Joel Spolsky in the chapter 1 of his book "User Interface Design for Programmers (http://www.joelonsoftware.com/uibook/chapters/fog0000000057.html)" says:
... |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 7 Views: 566 Hi,
Can you show us the code? |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 12 Views: 1,295 A modal message box is one that need to be closed before continue working in the application. That means that you can`t access any menus, button, or any other control in the application until you... |
Forum: VB.NET Jul 21st, 2008 |
| Replies: 6 Views: 4,705 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... |
Forum: VB.NET Jul 20th, 2008 |
| Replies: 8 Views: 1,625 |
Forum: VB.NET Jul 20th, 2008 |
| Replies: 10 Views: 2,304 Hi,
I will show you how to do this using PHP. I dont know if it works using HTML files (maybe using JavaScript to catch the values?)
Dim sUrl As String = ""
sUrl =... |
Forum: VB.NET Jul 20th, 2008 |
| Replies: 12 Views: 1,295 I am with you Wayne. In addition, the messagebox interrupts the user, and also, it is modal. |
Forum: VB.NET Jul 20th, 2008 |
| Replies: 0 Views: 641 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: 2,024 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: 2,024 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... |