Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Ron Stone

Page 1 of 8 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    409

    Re: Serial Communication Problem

    Are you using MsComm or the Windows API?. You will also need to post the code you are using for communication.
  2. Replies
    2
    Views
    552

    Re: MsComm32 problem with XP?

    I forgot to mention that I am using the most current mscomm32.ocx and VB6.0
  3. Replies
    2
    Views
    552

    MsComm32 problem with XP?

    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...
  4. Replies
    8
    Views
    674

    Significant digits... I'm an engineer, all digits...

    Significant digits... I'm an engineer, all digits are significant

    I found a possible solution at this thread:
    http://www.codeguru.com/forum/showthread.php?s=&threadid=17970


    slightly modified...
  5. "How do i create the INI file" if the file...

    "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"

    use...
  6. hi squak, yes my second post is a continuation...

    hi squak,

    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.

    ...
  7. why not just make the form 800x600 fixed size...

    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?
  8. oops! accidentally posted before i was...

    oops! accidentally posted before i was through....


    Public Sub SaveSetup()
    Dim IniName As String, IniErr As String
    IniName = App.Path & "/Setup.ini"
    IniError = False

    '...
  9. the problem with using the Print and LineInput...

    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....
  10. if you're using win xp (maybe 2000 also) you can...

    if you're using win xp (maybe 2000 also) you can use imapi. you'll have to translate the instructions from c to vb
    ...
  11. do a dependancy check. this will list the files...

    do a dependancy check. this will list the files required by your project.
  12. Replies
    7
    Views
    554

    You should also make sure your data bits are set...

    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.

    I have...
  13. Replies
    1
    Views
    391

    For Exponent: If Opr = "^" Then display =...

    For Exponent:

    If Opr = "^" Then
    display = Num1 ^ Num2
    End If

    For +/-:

    Private Sub CmdPosNeg_Click()
    display = -Val(TxtDisplay)
  14. Replies
    3
    Views
    1,845

    i think this will work: Dim DateStart As...

    i think this will work:

    Dim DateStart As Date
    DateStart = Text1

    Dim rightnow, days, years, months
    rightnow = Now ' Now returns the current date/time.
    years =...
  15. Replies
    1
    Views
    412

    create a control array by placing the control you...

    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:

    Load Command1(i)...
  16. Replies
    6
    Views
    631

    Is this what you are trying to do? For j = 0...

    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
    List2.RemoveItem i
    End If
    Next i
    Next j
  17. Replies
    5
    Views
    1,069

    I don't believe you can change the mscomm...

    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.
  18. Replies
    7
    Views
    545

    Cimperiali, Are you suggesting building a...

    Cimperiali,

    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...
  19. Replies
    5
    Views
    481

    You can try using this code in the KeyDown event...

    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...
  20. You can manually set the positions of the frames...

    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.

    Set the...
  21. Replies
    1
    Views
    410

    That's an interesting little problem. I assume...

    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...
  22. Replies
    2
    Views
    509

    Thr API functions require the "=" sign. You...

    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...
  23. Sorry, I used up all my ideas in my first post. ...

    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.

    I...
  24. Thread: Help File

    by Ron Stone
    Replies
    1
    Views
    354

    I assume you mean you want to use HTML Help. A...

    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...
  25. I'll try to help, but I don't use the installer...

    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

    Have you...
Results 1 to 25 of 200
Page 1 of 8 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center