Search results for query: *

  1. J

    For each dtRow in dt.Row reference previous row

    A "You cannot access a previous row with a For Each Loop" would have sufficed.
  2. J

    For each dtRow in dt.Row reference previous row

    Hi: Yes, I know that using an external counter defeats the purpose. I was in the process of rewriting my code to eliminate the counter altogether and so to my question: I would like to use the For Each looping structure, as with For Each dtRow in dt.Row, but for each iteration save for the...
  3. J

    For each dtRow in dt.Row reference previous row

    I have the following routine embedded in a For each loop, and I have a counter which keeps track of which row Dim CurrentDate = Date.Parse(dtRow.Item("Date-Time")) If count > 0 Then 'Cannot generate data on very first datapoint Dim LastDate =...
  4. J

    TableLayoutPanel - Controls disappeared

    Here is the quandry I have. I am generating a series of drill down charts, 4 levels in all, and depending upon the Level, will occur in different parts of the screen and in different proportions. For the first two levels, the charts will be roughly in the center of the screen and the second...
  5. J

    TableLayoutPanel - Controls disappeared

    OK. After closing My MS Studio and Reopening the objects are appearing but the rendering is all screwed up now. This is where things should be placed relatively: This is where they are ending up. Why is this happening?
  6. J

    TableLayoutPanel - Controls disappeared

    I'm nearing the end of Rev 0 of a project but have stumbled over the form resizing issue. I understand that to resize based upon a screens resolution you should add a TableLayoutPanel. Well, I did so, basically creating a one row-one column table - (best I can do with this design is one...
  7. J

    Closing forms. Multi-Threading

    This is what I did to resolve the Form3 closing issue. Previously I declared Form3 on Form2: Public Form3 As New ThumbnailForm. I moved this declaration to Form1 and simply employed Form3.Close() from Form1 where the button resides. Not certain why I could not close it the other way, but...
  8. J

    Closing forms. Multi-Threading

    It appears that I was able to close one of the forms, Form2, without resorting to multi-threading. The problem with that one was that not only did I have Form2.Show() declared on Form1, but I also declared Me.Show() on form2 itself. Its closing form2 when I comment out Form2.Show() on Form1...
  9. J

    Closing forms. Multi-Threading

    I have a main form (form1) and when I press a Load Button, it executes a bunch of code on the main page and then ultimately spawns a new Form (i.e. Form2). However, control ultimately stays with form1, as I am operating in an infinite loop on Form 1. From Form1 Dim Form2 = New ChartingForm...
  10. J

    Coloring X-Axis Zones

    OK, it's Striplines. I got it
  11. J

    Coloring X-Axis Zones

    The Charting demo gives an example of color zones on the chart area, this case 3 rows of colors associated with different custom labels, High, Medium and Low. Unfortunately, they don't tell you how to implement this in code. I would like to break up my graph into 5 zones of color...
  12. J

    Calendar Control: Highlighting specific not nessarily consecuitve days in a month

    Yes, I dropped it under General but it doesn't show up. I am trying a different calendar. It's not open source and costs a few bucks to use: an Active X based Calendar solution, but at least its showing up in the toolbox. Not certain why the other is invisible.
  13. J

    Calendar Control: Highlighting specific not nessarily consecuitve days in a month

    All the above is true, though I still don't see it. What tab should it occur under? Is the name Calendar.Net or is it referred to as something else in the toolbar.
  14. J

    Calendar Control: Highlighting specific not nessarily consecuitve days in a month

    Calendar.Net I drag the .dll over but don't see it in the toolbox anywhere. That said, if I try to add a reference to the .dll, it can't because it says the reference already exists. I am seeing the component under the Object Browser. Why do you think I can't see it in the toolbox. I added...
  15. J

    Calendar Control: Highlighting specific not nessarily consecuitve days in a month

    I added the .dll as a Reference but that did not work. I'll give your suggestion a try. Thanks
  16. J

    Y-axis not redrawing

    I think what was tripping me up here was that I am using a dual Y-axis system, primary and secondary. On one axis I was expecting the scale to auto-generate while on the other axis, I was fixing the min and max values. Maybe VB.net has a problem with this schitzophrinic approach. I worked...
  17. J

    Calendar Control: Highlighting specific not nessarily consecuitve days in a month

    I did see someone create a configurable calendar app (probably more functionality than I need) for VB.net at Calendar.NET - CodeProject I just haven't figured out how to embed it just yet
  18. J

    Calendar Control: Highlighting specific not nessarily consecuitve days in a month

    I haven't been able to figure out how to highlight (provide background color to cell) or circle specific dates on a calendar. It appears that there is a way to do this with ASP.net but have not seen any mechanism to do this with VB.net. I will be highlighting usually not necessarily a single...
  19. J

    Y-axis not redrawing

    I have a series of charts which I generate dynamically, and I am able to drill down and drill back up. Instead of disposing of charts and then recreating them (Chart1 = New Chart()) as this created all sorts of problems for me (i.e., broken object references), I create all charts once at the...
Back
Top