Type: Posts; User: Ron Stone
Search took 0.02 seconds.
January 26th, 2005, 12:49 AM
Are you using MsComm or the Windows API?. You will also need to post the code you are using for communication.
October 19th, 2004, 06:28 PM
I forgot to mention that I am using the most current mscomm32.ocx and VB6.0
October 19th, 2004, 06:27 PM
Does anyone know of any problems when using MSCOMM32.ocx with Windows XP or 2000?
I have a couple of applications I wrote years ago and have been working fine on Windows 95 and 98. Now, someone...
December 3rd, 2003, 05:20 PM
Significant digits... I'm an engineer, all digits are significant
I found a possible solution at this thread:
September 29th, 2003, 04:52 AM
"How do i create the INI file"
if the file does not already exist, it will be created when you use the function to write to the file.
"how do i change the information Written to it"
September 27th, 2003, 07:03 AM
yes my second post is a continuation of the first.
i'll try to explain how it works a little better for you. if you copy this and paste it in a module, it will be easier to read.
September 25th, 2003, 07:55 PM
why not just make the form 800x600 fixed size (set scale mode to pixels or use the equivalent twips size) and set it to be centered on the screen?
September 25th, 2003, 07:23 PM
oops! accidentally posted before i was through....
Public Sub SaveSetup()
Dim IniName As String, IniErr As String
IniName = App.Path & "/Setup.ini"
IniError = False
September 25th, 2003, 07:21 PM
the problem with using the Print and LineInput commands for creating a data file are that you have to write to the entire file in a specific sequence, then read the entire file in the same sequence....
September 19th, 2003, 07:50 PM
if you're using win xp (maybe 2000 also) you can use imapi. you'll have to translate the instructions from c to vb
September 12th, 2003, 04:45 AM
do a dependancy check. this will list the files required by your project.
September 10th, 2003, 06:38 PM
You should also make sure your data bits are set correctly on both the pc and magnetometer, usually 8 when using no parity.
Also check that both use the same handshaking, baud rate, etc.
September 7th, 2003, 06:04 AM
If Opr = "^" Then
display = Num1 ^ Num2
Private Sub CmdPosNeg_Click()
display = -Val(TxtDisplay)
September 7th, 2003, 05:36 AM
i think this will work:
Dim DateStart As Date
DateStart = Text1
Dim rightnow, days, years, months
rightnow = Now ' Now returns the current date/time.
September 7th, 2003, 05:06 AM
create a control array by placing the control you want to add at runtime on the form. Set its index to zero and visible to false.
to add the control, use the Load function:
September 7th, 2003, 04:54 AM
Is this what you are trying to do?
For j = 0 To 9
For i = 1 To 10
If List1.List(j) = List2.List(i) Then
July 10th, 2003, 07:12 PM
I don't believe you can change the mscomm settings while the port is open. You have to close the port, change the settings, then open the port.
This may be a problem for your application.
June 26th, 2003, 06:39 PM
Are you suggesting building a generic form, then adding controls, captions, sub-routines, etc at run time? I have thought about this a few times, but always thought it would be too...
June 26th, 2003, 06:34 PM
You can try using this code in the KeyDown event of the control you want (does not work on option Buttons). The form's KeyPreview property can be False.
If KeyCode = vbKeyUp Then SendKeys...
June 25th, 2003, 08:45 PM
You can manually set the positions of the frames to get them to line up. Assuming your form's ScaleMode is set to Twip, place two frames on the form with the same Height and Top values.
February 27th, 2003, 05:08 AM
That's an interesting little problem. I assume you made the user control and have the source.
You first need to know what event(s) occur when the data in the list box is refreshed (probably the...
February 27th, 2003, 04:59 AM
Thr API functions require the "=" sign.
You will have to write your own code to read the file. Luckily, its not that hard.
First, you will need to read data from the file. For this kind of file...
February 21st, 2003, 06:40 PM
Sorry, I used up all my ideas in my first post.
You can try searching this forum for "install" or something like it. I know there have been a lot of posts related to installation problems.
February 21st, 2003, 03:37 AM
I assume you mean you want to use HTML Help. A couple of usefull links are below.
You can also do a search in this forum. There have been a lot of posts on this subject so you will probably find...
February 21st, 2003, 03:29 AM
I'll try to help, but I don't use the installer that ships with VB because it REALLY SUCKS!
When you tried to uninstall your other application it could not find the file ST6UNST.000
Click Here to Expand Forum to Full Width