Jump to content
Xtreme .Net Talk

quwiltw

Leaders
  • Posts

    493
  • Joined

  • Last visited

Everything posted by quwiltw

  1. what are you trying to log in to? I've got ~40GB worth of files, any preferences:)
  2. could you *please* just post the relevant code exactly as it is in your IDE. I'm confident it'll save us both a lot of time:)
  3. What's your reference to the mdiparent? Are you setting that before you call for your changes?
  4. Did you see in my other post how the declaration of the form is at the Class level. It can't be inside the subroutine itself. Who knows perhaps my suspicions were wrong but it'd be easier to diagnose if I could see the relevant code.
  5. Pls post the relevant code for showing frm.
  6. Ummm... are you double posting for fun or what? Obviously I'm reading both threads:)
  7. I suspect scoping issues have gotten the best of you see if my last post to this guy helps. http://www.xtremedotnettalk.com/showthread.php?s=&threadid=49478 hurry up if not because I'm about to leave work:)
  8. My guess is that you're declaring it and creating your instance in the same method/event handler. If that's the case, just declare the variable for form2 outside the routine you create the instance with. Sounds like your pointer to form2 is out of scope when that routine completes. Something like this... Class form1 Inherits Form Private frm2 As Form2 Sub CreateForm2() frm2 = New Form2 End Sub Sub ChangeForm2() frm2.Picture1.Picture = LoadPicture("c:\my.jpg") End Sub End Class
  9. You could add Friend methods on Form 1 like Friend Function SetHeight(x as int) and just call if from form2. EDIT: Or you could just use it's public size property directly:) f.Size = New Size(200, 200)
  10. How are you creating them? If in the designer can't you just edit the items collection and set selected = true for the first item? Otherwise the same items collection should allow you to do it in code as well.
  11. If UOM is at the order level, why give the users the option of selecting it at the lineItem level? Am I missing something? To answer the actual question I'm not sure what what you mean by multiple order lines, is this all in a grid/listbox/ or series of textboxes/comboboxes stacked on top of each other?
  12. Have you seen this article? Does it answer your question? Between it and some of the references at the bottom it should give you some good ideas of how to approach it the xml way. http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q307029
  13. Names is reserved. Learn something new everyday. Now I wonder if the dataadapter wizard just isn't smart enough to bracket it? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wp/htm/wpmigratingappendixd.asp
  14. Trimmed a bit (hopefully I didn't snip any of the important stuff) but.... Public Class Form1 Inherits System.Windows.Forms.Form Public Sub New() MyBase.New() InitializeComponent() End Sub Private components As System.ComponentModel.IContainer Friend WithEvents TextBox1 As System.Windows.Forms.TextBox <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent() Me.TextBox1 = New System.Windows.Forms.TextBox() Me.TextBox1.Location = New System.Drawing.Point(80, 16) Me.TextBox1.Name = "TextBox1" Me.TextBox1.Text = "TextBox1" Me.ClientSize = New System.Drawing.Size(624, 502) Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.TextBox1}) Me.Name = "Form1" Me.Text = "Form1" End Sub End Class Public Class Form2 Inherits Form1 Public Sub New() MyBase.New() InitializeComponent() End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click MsgBox(Me.TextBox1.Text) End Sub End Class
  15. You've given us limited insight into what is exactly going on here. Why don't you attach the entire code for both classes?
  16. in the constructor you just need to call the base classes new ie. MyBase.New() but Visual Studio.NET takes care of this setup stuff for you if you're using it.
  17. he's inheriting the first in the second, so he does have access to it without passing references. are these hand-coded inherited forms or are you using visual studio?
  18. Did you just leave out the constructor for simplification or is there no constructor where you explicitly call the parent forms constructor as in MyBase.New()? Edit: ok so maybe I was on the wrong path....:(
  19. strange. no chance you can isolate it further? were column names the only differences?
  20. That's what I suspect his problem is but it's strange because the DataAdapter wizard on my box properly brackets the reserved word.
  21. I tried your column names on my box and it worked fine with Access XP, but perhaps if you either created a new test table or renamed Key to something else temporarily, maybe it isn't properly bracketing the Key column name (though it did on my box)?
  22. Strange. Do you have any problems with any other databases? Maybe try connecting to Northwind or something and see if it works?
  23. If I understand it right, you could probably do a decent job of displaying it with a ListView control in details mode. I've got the Infragistics Suite so I'd probably use there UltraDayView control.
  24. yes. there are quite a few folks here who can help, do you have a specific question?
  25. Thanks Robby, I was hoping to see an example that used BeginRead/Write and EndRead/Write to reduce the need to load the entire file into memory in order to read it. For example, if you had a B+Tree and knew the size of every node and want to only load one specific subtree into memory and not the entire file.
×
×
  • Create New...