Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: norason
  • Content: Threads
  • Order by date
  1. norason

    Two programs controlling one separate device serial port

    Our system has the following equipment: 1 device with 1 serial connection (RS422) 1 PC with a VB6 program that was initially designed to hook up directly to the RS422 device. 1 Pc with a different VB6 program that was initially designed to hook up to the RS422 device. 1 Ethernet to Serial black...
  2. norason

    MSChart Display Row Text

    This code won't display the text I want on the row - it shows a thick black line. It also puts the Millisecond legend about 3 inches below the thick line as if there were another column. What setting am I missing? I copied this code to another progam (even copied the MSChart graphic in order...
  3. norason

    Program terminates

    This code runs fine when I run it in de-bugger, but when I run is as an .EXE it terminates the entire program after about 30 seconds when the comm port is open receiving data. There is no "kill" statement in any of the code. Any thoughts would be appreciated. norason Private Sub...
  4. norason

    Comm Port to Ethernet

    We have a VB6.0 program that communicates with a device via a RS232 comm port. We need to change the program to communicate via Ethernet. At the moment, we are using purchased Serial to Ethernet redirection software, but we can't justify the cost for several PC's, even with their OEM pricing...
  5. norason

    Import csv file into MSChart

    I am trying to import an Excel csv file into MSChart. The file is a single column (A) comprised of general cell data, which are all numbers, like this for 1250 points: A 1 2 2 4 3 17 4 86 5 102 6 125 etc. This code keeps saying iData is subscript out of range. What am I...
  6. norason

    "Not a member of" error

    This is my first effort in vb.net, so please excuse this simplistic question. I get: 'restrictedparamtextbox1' is not a member of 'test8.recipepage1' error. I grabbed this code from my research and I've done something wrong. Here's the code: Public Class RecipePage1 Private Sub...
  7. norason

    Can't Unload Form

    I'm trying to stop a form and go back the form that called it. The calling form is fmMain and the called form is fmStatus. I'd like fmStatus to recognize when it is not visible and automatically return to fmMain. fmStatus has a comm communication where it constantly polls a comm port and...
  8. norason

    .visible problem

    I've had this basic code working for quite some time in a program. I just added it to a new form to know when it was visible, but for some reason, the .visible never works. Here is the same code on a little test program that just toggles back and forth between two forms, but never shows...
  9. norason

    odd mousepointer behavior with MSChart

    I have a problem with MSChart and mouse pointer control. I have a button that creates a chart. When I click the button, I can cause an hourglass to appear while I build the chart. When I'm done building the chart, I can make the pointer revert to normal arrow as long as I don't move the mouse...
  10. norason

    MSChart DataPointLabel LocationType

    Is there a way to change the DataPoint LocationType on an every other point basis? For example, for the first data point, the location type would be above the point, for the second it woul be a below the point, and so on? With .Item(1).DataPoints(-1) .DataPointLabel.LocationType =...
  11. norason

    Knowing when a form is visible

    Every search I've done regarding how to know when a form is visible says basically the same thing: If fmMaintenance.Visible = True Then... but I've tried that and fmMaintenance.Visible is true before it has been called. Also, somehow fmMaintenance is called when I step passed the: If...
  12. norason

    mb scroller by marco bellinaso

    Has anyone tried mb scroller? It looked like an easy addition to allow scrolling my form, but I can't make it work. When I load the demo, it works fine, but if I delete the mb scroller from the demo form, then add it back, the scroll bars don't show up. When I add it to my program, the scroll...
  13. norason

    xor and checksum problem

    I am reading a string file comprised of HEX values followed by a checksum and an EOF string: Note that there is no comma before the ckecksum) 01,03,A3,0A,7C<checksum>ZZ From what I've read, I need to relace the commas with spaces, get the VAL of the data, then perfom a cumulative XOR on the...
  14. norason

    Hex to Decimal

    I have HEX data as a string: String= "00,01,02,03,04,05,06,07,08,09,0A,0B,0C,0D,ZZ" That I can read successfully with: arr(makepoints)=Val(Mid$(Usethis,Start,Qty) My problem is that I need to translate each point of the string into decimal values. I've tried...
  15. norason

    MSChart Data

    I have a string: ChartDataStr = "aa,\21,22,23,34,44,45,55,64,73,82,91,21\" _ & "0,2,4,6,8,10,10,8,6,4,2,0\" _ & "0,4,6,8,10,12,12,10,8,6,4,0\" _ & "0,6,8,10,12,14,14,12,10,8,6,0\" _ & "0,8,10,12,14,16,16,14,12,10,8,0\" _...
  16. norason

    MSChart Graph Problem

    I'm trying to draw a graph that climbs for the first half, and descends for the second. This code climbs just fine, but when I try to descend, it doesn't show anything. If I change the MinusData = MinusData - 1 code to MinusData = MinusData + 1, it keeps climbing. The numbers are...
  17. norason

    MsgBox Problem

    When I invoke this MsgBox it ignores the YesNo and only shows OK. I've tried placing the VbExclamation, "PRINT?" in various places in the MsgBox line, but nothing I've tried works. Why? Dim Rtn If LstPrinters.ListIndex >= 0 Then Rtn = MsgBox("Do you wish to print the graph on " &...
  18. norason

    Call MSChart

    I have an MSChart1 on form fmMain. On it is a button Public Sub cmdDrawGraph_Click() Public Sub cmdDrawGraph_Click() Dim arr(1 To 16, 1 To 7) arr(1, 1) = Val(LblGraphPoint1.Caption) arr(2, 1) = Val(LblGraphPoint2.Caption) arr(3, 1) = Val(LblGraphPoint3.Caption) arr(4, 1) =...
  19. norason

    MSChart Print Problem

    When I print the graph, everything prints ok except the Legend. It shows the style of line, but then prints C1, C2... instead of the text it shows on the screen, .Item(1).LegendText = "Flow Data" for example. Why? Here's the print routine: Private Sub CmdPrint_Click() ' Copy bitmap to...
  20. norason

    MSChart Pen Style Problem

    Why doesn't this: .DataPointLabel.LineStyle = VtPenStyleDashed produce a dashed line for series 5? It doesn't choke on it - it just ignores it. Private Sub cmdDrawGraph_Click() Dim arr(1 To 16, 1 To 6) arr(1, 1) = Val(LblGraphPoint1.Caption) arr(2, 1) = Val(LblGraphPoint2.Caption)...

Part and Inventory Search

Back
Top