Re: VC# 2005 Express Windows Forms: Replacing parameters in a text file with values from textboxes

Tech-Archive recommends: Speed Up your PC by fixing your registry



"Jon Skeet [C# MVP]" <skeet@xxxxxxxxx> wrote in message
news:MPG.1d756498ab917a3398c5e9@xxxxxxxxxxxxxxxxxxxxxxx
> Form1 is the name of a class, not an instance. When you say:
>
> foreach (object o in Form1.Controls)
>
> which *instance* of Form1 are you talking about? Solve that and I think
> you'll find the answer...

I have only one Form1 in my application but you are probably referring to
something else.

J.S.


.



Relevant Pages

  • Access a form, using a string literal?
    ... So we're able to access all the properties and methods of Form1 and not ... just the methods and properties of the base class "Form". ... Gerrit ... Prev by Date: ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: What is Me?
    ... Me is a shortcut way of referring to the current form, in VBA code. ... For example, if the form is called Form1, then: ...
    (microsoft.public.access.formscoding)
  • VB 2005 Express: Replacing parameters in a text file with TextBox values
    ... my Windows Form called Form1. ... @@ComboBox1@@ with value of ComboBox1, ... I'd appreciate any pointers. ... Prev by Date: ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Communicating Between Two Forms
    ... cannot find Form1 is (it is in your Main.h and you need to import it in ... Regards, ... Philip Hristov. ... Prev by Date: ...
    (microsoft.public.dotnet.general)
  • error message about form1
    ... I was developing a form and had not saved it when my power went out, ... Access it's holding this form1 and I can't seem to do anything to fix it. ... Tom ... Prev by Date: ...
    (microsoft.public.access.forms)