Type: Posts; User: DataMiser
Search took 0.16 seconds.
September 13th, 2014, 11:54 PM
I don't think you would be able to control the speed of the internet on your computer. You could possibly manipulate the speed of your software related transfers but would likely not be able to...
September 13th, 2014, 11:48 PM
You do not actually save anything to the forms.
A form is just a display not a container for saving data.
If you want to save data you need to use a file to save it to and then you need to load...
September 13th, 2014, 11:42 PM
Thread moved from C++ to C# section
September 7th, 2014, 07:39 PM
No, don't remove the balance var entirely just the second instance of it on that line.
You want the loop to go until Balance is double the starting amount to do this you must use both balance and...
September 7th, 2014, 07:17 PM
Moved from VB6 to VB.Net Code is using VB.Net 2012 not VB6 This is the section of related code from the zip file
Private Sub btnDetermine_Click(sender As Object, e As EventArgs) Handles...
August 23rd, 2014, 01:34 AM
How did you try to do it?
August 23rd, 2014, 01:32 AM
You are using a Type so you can simply get the length of the type
Open Filename for Random as #1 len=Len(g)
a date data type is 8 bytes if I'm not mistaken
August 19th, 2014, 09:55 AM
Here are a couple of simple examples that show how to save data from a textbox to a file with each textbox being written on a separate line and then read the data from the file into those text...
August 19th, 2014, 09:42 AM
Yes though you should use descriptive names for your variables
Dim Qty As Integer
Dim Cost as Currency
Dim PartNumber as String
You can also place more than one on a line...
August 19th, 2014, 12:00 AM
Loop looks ok to me, or sort of anyway. The while part probably should be on the Do rather than the loop so that it does not execute it a>f on the first pass
It assigns a starting value to f and to...
August 18th, 2014, 11:51 PM
Actually Long is a bit faster I think and can hold larger values than an Integer can up to 2 billion as opposed to 32k for an Int. Long does use more memory but is processed faster on 32 bit systems...
August 18th, 2014, 11:49 PM
You should always Dim all variables.
You should also have the little box checked under the editor properties to require variable declaration also known as Option Explicit.
Not dimming your vars...
August 12th, 2014, 04:01 PM
So the learning curve has nothing to do with actually understanding how to write code using the tool? I downloaded it and checked it out a bit. It looks like it has potential but will take a while...
August 12th, 2014, 10:34 AM
Well the only difference between save and save as is the file name selection. Save would save to the existing file should it already exist and save as would let you choose a file name/location to...
August 12th, 2014, 01:25 AM
I'm not sure why that Excel related code is posted? Are you trying to save an Excel worksheet? I did not see anything in the OP about that.
The error message you are getting most likely means that...
August 7th, 2014, 06:01 PM
I was just looking at the link, They claim a learning curve of 8-12 hours for a Novice programmer and 2-4 hours for experienced. Surely they can't be serious. Unless it is almost exactly the same as...
August 7th, 2014, 01:52 PM
Since this is not a VB question I am moving it to the proper location.
August 6th, 2014, 09:04 AM
I advised you to use .Net because it handles this directly, you even found the sample code to do it. VB6 does not.
As for making the DLL can't say for sure as I have not built any Dlls in .Net for...
August 6th, 2014, 01:34 AM
Users would need to d/l what?
August 5th, 2014, 10:07 AM
Yes that is .Net code using a .Net library. You could create a dll in VB.Net and then use that from VB6 but you would be better off just using VB.Net
July 14th, 2014, 12:06 AM
Cells(x, 27).Value = DateDiff("yyyy", fromDate, toDate)
Else maybe you should tell us what problem you are having.
You can place code in the change event of the text boxes or perhaps just the last text box, or use a timer or other depending on what you want to do.
Also note that VB2008 is not VB6.
This thread/question is over 12 years old and has nothing to do with C#. Please do not revive old threads like this and when you do answer try to stay with in the same language as the question.
Moved to VB.Net forum
You really should be using the .SubString method rather than all those VB.Right and VB.Left statements
June 27th, 2014, 01:20 AM
Well as I see it you are making a copy of Form1. I would not expect the name to change, it is assigned in the original Form1 properties.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.