Search:

Type: Posts; User: Jon_G

Page 1 of 4 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    22
    Views
    1,574

    Re: Shift string data

    Billy,

    Thanks a bunch! It works perfectly!!!



    Dim YourRep as Reputation

    Public_Sub Level_Up()
    YourRep = YourRep + 1
  2. Replies
    22
    Views
    1,574

    Re: Shift string data

    ahh ok isee about the *8 thing, sorry for the delay.. my internet just went out and im using my phone to reply with lol
  3. Replies
    22
    Views
    1,574

    Re: Shift string data

    ya the array will only use one dimension (0) because I am only graphing one line, if I had 2 lines then it would be myarray(599,1)
    can you show me how to incorperate this change into your code?
    ...
  4. Replies
    22
    Views
    1,574

    Re: Shift string data

    Billy,

    I have tried your code and it works very well.

    Can you update it for 2d arrays? is that possible?

    the mschart takes a 2d array myarray(599,0), where the 0 is the line on the chart...
  5. Replies
    22
    Views
    1,574

    Re: Shift string data

    ya I did try out your code, and like you said the circular approach wont work, as my order needs to be fed in from 0 to 599. So if my data is myarray(599) then in the mschart control, i just update...
  6. Replies
    22
    Views
    1,574

    Re: Shift string data

    im confused, it seems that your example adds the item to the beginning of the array, and I need to
    1) remove the first item of the array myarray(0)
    2) shift the array up, so the number that was...
  7. Replies
    22
    Views
    1,574

    Re: Shift string data

    the RMChart control is the one that only accepts string delimited data, not the MSChart. MSChart accepts array data, which is why im re-coding for an array.

    erasing - but in your code your erasing...
  8. Replies
    22
    Views
    1,574

    Re: Shift string data

    so lets assume that I have gotten rid of my string idea, (where all my data was in a * separated string) and replaced it with an array.

    In your command.click code, the first thing that happens is...
  9. Replies
    22
    Views
    1,574

    Re: Shift string data

    LaVolpe,

    thanks for the code, I will incorporate it and get back to ya.

    thanks again,
  10. Replies
    22
    Views
    1,574

    Re: Shift string data

    I actually have 3 strings (each containing 600 numbers) which are all data points on 3 separate graphs, updating once per second...

    (Im using it as a trend chart)

    I was hoping for something...
  11. Replies
    22
    Views
    1,574

    [RESOLVED] Shift string data

    Hi all,

    I have a string that is comprised of 600 numbers separated by the "*" character.
    For simplicity lets reduce the string to five numbers.

    mystring = "500*400*300*200*250"

    What i need...
  12. Replies
    4
    Views
    589

    Re: Sort textbox array alphabeticaly

    Thanks guys

    This is exactly what i needed. Once I start to get into arrays upon arrays i get very confused!

    Your help is much appreciated. Rep Points for all!
  13. Replies
    4
    Views
    589

    [RESOLVED] Sort textbox array alphabeticaly

    Hi all,

    I have an array of 10 textboxes, the textboxes will contain a single letter from A to Z (capitalized) or be blank.

    so if my array of text boxes looks like this:

    textbox(0) = ""...
  14. Replies
    8
    Views
    1,286

    Re: Hard Drive Sleep ???!!

    that could just be a case of near sightedness on your part

    Im building a PVR with multiple disks, the OS is on a 10Gb flash drive, and there are also 3 1Tb disks for data. I am looking for a way...
  15. Re: BitBlt problem saving comdlg32 as well

    If I solve my own problem, can i rate my own post?? lol

    This fixed it:
    frmMain.Picture1.SetFocus
  16. [RESOLVED] BitBlt problem saving comdlg32 as well

    hey all,

    I am trying to save a graph that is inside a picture box. Everytime I save the image, the comdlg32 dialog box causes there to be a blank square on my saved picture, where it was on the...
  17. Replies
    7
    Views
    1,040

    Re: Tilde Sendkey wont Execute

    Just because your trying to run a games console doesn't mean your cheating.
    I have been trying to find a way to automate weapon selection on a game for some time. The game (America's Army) uses the...
  18. Replies
    10
    Views
    767

    Re: Tidy Up Code

    You could use a "select case statement"

    Select Case Examples
  19. Replies
    6
    Views
    531

    Re: menu editor problem

    Thats how it works. If you need to use the keyboard to navigate press Alt key, and the shortcuts show up, of course if you click something with your mouse...you have a mouse...and you dont need the...
  20. Replies
    10
    Views
    932

    Re: How to add a progress bar?

    When your uploading,downloading,or updating do you know file sizes? or number of records?

    If you know you have to process 50 records then you can set the progress bar max property to 100 then,
    ...
  21. Replies
    8
    Views
    3,095

    Re: VB skips code lines

    Maybe #2 is already in use?? I dont know just guessing.

    Try:


    Dim iFileNo As Integer

    iFileNo = FreeFile

    Open "C:\YourFileHere.txt" For Input As #iFileNo
  22. Thread: [RESOLVED] Graph

    by Jon_G
    Replies
    2
    Views
    388

    Re: Graph

    RMCHART

    This is the best FREE graphing dev tool that ive found.
  23. Replies
    2
    Views
    8,768

    [RESOLVED] Return nth character in string

    Cant seem to figure this out, shoulda had my wheaties this mornin.

    I have a string in data(0)

    the value of the string is "TYE-601"

    I need to return the value of the 7th character (the 1) and...
  24. Replies
    3
    Views
    1,031

    Re: plotting data graph in VB

    I have used this ocx with great success in a realtime data acquisition prog. that I wrote.

    It works great and its freeware

    http://www.rmchart.com/
  25. Thread: I need some help

    by Jon_G
    Replies
    7
    Views
    484

    Re: I need some help

    Im no expert...so I might be able to help :lol:

    The example that your teach gave you is actually called a NESTED LOOP ( I think)

    So lets break a loop down so its easier to understand
    In this...
  26. Replies
    3
    Views
    501

    Re: Can't Use Common Controls 5

    I followed the instructions from your first link and it worked great
    I had ro reinstall vb6 from add\remove programs
    Thanks for the help
  27. Replies
    3
    Views
    501

    [RESOLVED] Can't Use Common Controls 5

    Im getting an error when i try to add Commont controls 5 to my project

    Im running win xp sp2
    VB6 pro


    I have tried to unregister and reregister the comctl32 ocx and dll, when i try the dll...
  28. Replies
    2
    Views
    469

    Re: Calling Control Arrays

    Thank you soooooo much :)

    I was about to take a hammer to my comp lol
  29. Replies
    2
    Views
    469

    [RESOLVED] Calling Control Arrays

    I need to be able to call a control array from a loop so lets say that I have 2 Textbox arrays.

    Text1 and Text2 , and they both have 3 textboxes in their array

    How do I call the seperate...
  30. Replies
    4
    Views
    573

    Re: Writing to hard disk every 1 sec.

    ya that should work...thanks dude
  31. Replies
    4
    Views
    573

    Re: Writing to hard disk every 1 sec.

    I thought about using an array and then adding to the array everysecond using preserve, but i read somewhere that that was resource intensive.

    Maybe a defined array could be used like MyArray(60)...
  32. Replies
    4
    Views
    573

    Writing to hard disk every 1 sec.

    I have a data acquisition program that takes in data from the com port and then gives the user the option of saving this data in real time

    right now i take in the data and write it to the hard...
  33. Replies
    21
    Views
    3,158

    Re: Get serial number of a flash USB hard drive.

    lol oh I see. Good to know :blush:
  34. Replies
    21
    Views
    3,158

    Re: Get serial number of a flash USB hard drive.

    I have a kingston usb flash drive and it returns a serial number when i do this.



    Private Sub Form_Load()

    Dim myfso As New FileSystemObject

    Text1.Text =...
  35. Replies
    7
    Views
    567

    Re: creating an apps using ir..

    i think he means infra red ...
  36. Replies
    4
    Views
    590

    Re: Problem with maximizing window

    a search returned this

    try the new and improved forum search function!
  37. Thread: writing ini file

    by Jon_G
    Replies
    16
    Views
    1,892

    Re: writing ini file

    I have been using .ini files ever since the first time I tried to use the registry :D

    While ini files are "out of date" I think they are the best solution because they are easy to use, and alot...
  38. Replies
    1
    Views
    483

    Re: move xlDialogPrint

    Anyone??

    I have multiple screens so I need control the position of the print dialog so it comes up on 2nd screen when called.

    Is there a way to get around this??
  39. Replies
    1
    Views
    483

    move xlDialogPrint

    Is it possible to control the position of the excel print dialog box?

    I want to be able to set its position on the screen when it pops up.
  40. Replies
    2
    Views
    502

    Re: Position Excel

    Thanks pieter, but heres what I finally found out... you have to set the app to xlnormal then move it


    myExcelApp.WindowState = xlNormal
    myExcelApp.Top = 0
    myExcelApp.Left =...
Results 1 to 40 of 138
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width