Search Results

Showing results 1 to 40 of 51
Search took 0.01 seconds.
Search: Posts Made By: dmf1978
Forum: Visual Basic 4 / 5 / 6 Aug 17th, 2008
Replies: 22
Views: 7,481
Posted By dmf1978
Hey, thanks :)
Forum: VB.NET Aug 1st, 2008
Replies: 10
Views: 2,304
Posted By dmf1978
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
Posted By dmf1978
Forum: Visual Basic 4 / 5 / 6 Jul 26th, 2008
Replies: 6
Views: 4,157
Posted By dmf1978
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
Solved: string handling
Views: 1,318
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
Forum: VB.NET Jul 24th, 2008
Replies: 7
Views: 624
Posted By dmf1978
Hi,
Then, mark this thread solved.
Forum: VB.NET Jul 24th, 2008
Replies: 6
Views: 4,705
Posted By dmf1978
Hi,
Is your problem solved?
Forum: VB.NET Jul 24th, 2008
Replies: 7
Views: 566
Posted By dmf1978
Hi,
Is your problem solved?
Forum: VB.NET Jul 24th, 2008
Replies: 7
Views: 624
Posted By dmf1978
Hi,
Is your problem solved?
Forum: Visual Basic 4 / 5 / 6 Jul 24th, 2008
Replies: 3
Views: 1,997
Posted By dmf1978
Hi,
Is your problem solved?
Forum: Visual Basic 4 / 5 / 6 Jul 24th, 2008
Replies: 4
Views: 1,573
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
Hi,
Then, please, mark this post as solved.
Forum: VB.NET Jul 22nd, 2008
Replies: 3
Views: 1,927
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
I think so!
Come on boy, sit and code by yourself! :icon_cheesygrin:
Forum: VB.NET Jul 21st, 2008
Replies: 12
Views: 1,295
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
Hi,
Can you show us the code?
Forum: VB.NET Jul 21st, 2008
Replies: 12
Views: 1,295
Posted By dmf1978
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
Posted By dmf1978
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
Solved: Extract icons
Views: 1,625
Posted By dmf1978
Forum: VB.NET Jul 20th, 2008
Replies: 10
Views: 2,304
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
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
Posted By dmf1978
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...
Showing results 1 to 40 of 51

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC