|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
what is a static property and a cursor questionSystem.Windows.Forms.Cursor.Current = Cursors.WaitCursor there is no need to reset the cursor to Default. So I made all the reset statements into comments (placed an ' in front) And everything works OK. Now I'm wondering why. Is it true that I do not need to reset the cursor or does leaving the sub do that - or why is mine working? Also, what is a static property. Is there only one value saved for the entire application, for all Cursors, or what? thanks for any clarifications to awnser the static property question. You might actually mean a staic
variable. The static keyword meand that the variable will keep it's value when the sub or function exits. This is used to declare at the sub level, and not at the class level. And yes for the cursor question. You have to set the cursor back to default :). -- Thiele Enterprises - The Power Is In Your Hands Now! -- " Franky" <frankyNOSPAM@a-znet.com> wrote in message I think I misread a post and understood that if I do:news:OFBj%236YEHHA.4680@TK2MSFTNGP04.phx.gbl... System.Windows.Forms.Cursor.Current = Cursors.WaitCursor there is no need to reset the cursor to Default. So I made all the reset statements into comments (placed an ' in front) And everything works OK. Now I'm wondering why. Is it true that I do not need to reset the cursor or does leaving the sub do that - or why is mine working? Also, what is a static property. Is there only one value saved for the entire application, for all Cursors, or what? thanks for any clarifications "Ryan S. Thiele" <mali***@verizon.net> wrote in message news:5rpah.8374$gJ1.4362@trndny09...> to awnser the static property question. You might actually mean a staic System.Windows.Forms.Cursor.Current is a Static property - whatever that > variable. > > The static keyword meand that the variable will keep it's value when the > sub > or function exits. This is used to declare at the sub level, and not at > the > class level. means! > But I don't - in many places - and it works OK - I wonder why> And yes for the cursor question. You have to set the cursor back to > default > :). Thanks for the reply Show quoteHide quote > > -- > Thiele Enterprises - The Power Is In Your Hands Now! > > -- > " Franky" <frankyNOSPAM@a-znet.com> wrote in message > news:OFBj%236YEHHA.4680@TK2MSFTNGP04.phx.gbl... > I think I misread a post and understood that if I do: > > System.Windows.Forms.Cursor.Current = Cursors.WaitCursor > > there is no need to reset the cursor to Default. > > > > So I made all the reset statements into comments (placed an ' in front) > > And everything works OK. > > > > Now I'm wondering why. > > Is it true that I do not need to reset the cursor or does leaving the sub > do > that - or why is mine working? > > > > Also, what is a static property. Is there only one value saved for the > entire application, for all Cursors, or what? > > > > thanks for any clarifications > > > > > > > > > Static means just that. For example
Public Sub DoWork() Static i as integer = 0 i += 1 'You can also use i = i + 1 End Sub Now, when oyu run the method. It will add one to i, making it 1. When you run the method again, it will again add 1 to i, making it 2. See how it keeps the value after the method has executed. The static variable stays in the memory. -- Thiele Enterprises - The Power Is In Your Hands Now! -- " Franky" <frankyNOSPAM@a-znet.com> wrote in message ews:eKu$BcbEHHA.4***@TK2MSFTNGP03.phx.gbl..."Ryan S. Thiele" <mali***@verizon.net> wrote in message news:5rpah.8374$gJ1.4362@trndny09...> to awnser the static property question. You might actually mean a staic System.Windows.Forms.Cursor.Current is a Static property - whatever that> variable. > > The static keyword meand that the variable will keep it's value when the > sub > or function exits. This is used to declare at the sub level, and not at > the > class level. means! > But I don't - in many places - and it works OK - I wonder why> And yes for the cursor question. You have to set the cursor back to > default > :). Thanks for the reply Show quoteHide quote > > -- > Thiele Enterprises - The Power Is In Your Hands Now! > > -- > " Franky" <frankyNOSPAM@a-znet.com> wrote in message > news:OFBj%236YEHHA.4680@TK2MSFTNGP04.phx.gbl... > I think I misread a post and understood that if I do: > > System.Windows.Forms.Cursor.Current = Cursors.WaitCursor > > there is no need to reset the cursor to Default. > > > > So I made all the reset statements into comments (placed an ' in front) > > And everything works OK. > > > > Now I'm wondering why. > > Is it true that I do not need to reset the cursor or does leaving the sub > do > that - or why is mine working? > > > > Also, what is a static property. Is there only one value saved for the > entire application, for all Cursors, or what? > > > > thanks for any clarifications > > > > > > > > > I see what the problem is. I'm asking what the static property means and
that can be taken two ways. I understand the static property of a variable. What I wanted to ask is what does Static Property zzz.... mean System.Windows.Forms.Cursor.Current the property Current is Static what does that mean? Thanks "Ryan S. Thiele" <mali***@verizon.net> wrote in message news:RVAah.8082$IW2.1403@trndny03...Show quoteHide quote > Static means just that. For example > > Public Sub DoWork() > Static i as integer = 0 > i += 1 'You can also use i = i + 1 > End Sub > > Now, when oyu run the method. It will add one to i, making it 1. When you > run the method again, it will again add 1 to i, making it 2. > > See how it keeps the value after the method has executed. The static > variable stays in the memory. > > -- > Thiele Enterprises - The Power Is In Your Hands Now! > > -- > " Franky" <frankyNOSPAM@a-znet.com> wrote in message > ews:eKu$BcbEHHA.4***@TK2MSFTNGP03.phx.gbl... > > > "Ryan S. Thiele" <mali***@verizon.net> wrote in message > news:5rpah.8374$gJ1.4362@trndny09... >> to awnser the static property question. You might actually mean a staic >> variable. >> >> The static keyword meand that the variable will keep it's value when the >> sub >> or function exits. This is used to declare at the sub level, and not at >> the >> class level. > > System.Windows.Forms.Cursor.Current is a Static property - whatever that > means! > >> >> And yes for the cursor question. You have to set the cursor back to >> default >> :). > > But I don't - in many places - and it works OK - I wonder why > > > Thanks for the reply > > >> >> -- >> Thiele Enterprises - The Power Is In Your Hands Now! >> >> -- >> " Franky" <frankyNOSPAM@a-znet.com> wrote in message >> news:OFBj%236YEHHA.4680@TK2MSFTNGP04.phx.gbl... >> I think I misread a post and understood that if I do: >> >> System.Windows.Forms.Cursor.Current = Cursors.WaitCursor >> >> there is no need to reset the cursor to Default. >> >> >> >> So I made all the reset statements into comments (placed an ' in front) >> >> And everything works OK. >> >> >> >> Now I'm wondering why. >> >> Is it true that I do not need to reset the cursor or does leaving the sub >> do >> that - or why is mine working? >> >> >> >> Also, what is a static property. Is there only one value saved for the >> entire application, for all Cursors, or what? >> >> >> >> thanks for any clarifications >> >> >> >> >> >> >> >> >> > > > It means you can change or access it anywhere in the program. It is help in
the memory at a global level. -- Thiele Enterprises - The Power Is In Your Hands Now! -- " Franky" <frankyNOSPAM@a-znet.com> wrote in message I see what the problem is. I'm asking what the static property means andnews:eC176ziEHHA.3768@TK2MSFTNGP06.phx.gbl... that can be taken two ways. I understand the static property of a variable. What I wanted to ask is what does Static Property zzz.... mean System.Windows.Forms.Cursor.Current the property Current is Static what does that mean? Thanks "Ryan S. Thiele" <mali***@verizon.net> wrote in message news:RVAah.8082$IW2.1403@trndny03...Show quoteHide quote > Static means just that. For example > > Public Sub DoWork() > Static i as integer = 0 > i += 1 'You can also use i = i + 1 > End Sub > > Now, when oyu run the method. It will add one to i, making it 1. When you > run the method again, it will again add 1 to i, making it 2. > > See how it keeps the value after the method has executed. The static > variable stays in the memory. > > -- > Thiele Enterprises - The Power Is In Your Hands Now! > > -- > " Franky" <frankyNOSPAM@a-znet.com> wrote in message > ews:eKu$BcbEHHA.4***@TK2MSFTNGP03.phx.gbl... > > > "Ryan S. Thiele" <mali***@verizon.net> wrote in message > news:5rpah.8374$gJ1.4362@trndny09... >> to awnser the static property question. You might actually mean a staic >> variable. >> >> The static keyword meand that the variable will keep it's value when the >> sub >> or function exits. This is used to declare at the sub level, and not at >> the >> class level. > > System.Windows.Forms.Cursor.Current is a Static property - whatever that > means! > >> >> And yes for the cursor question. You have to set the cursor back to >> default >> :). > > But I don't - in many places - and it works OK - I wonder why > > > Thanks for the reply > > >> >> -- >> Thiele Enterprises - The Power Is In Your Hands Now! >> >> -- >> " Franky" <frankyNOSPAM@a-znet.com> wrote in message >> news:OFBj%236YEHHA.4680@TK2MSFTNGP04.phx.gbl... >> I think I misread a post and understood that if I do: >> >> System.Windows.Forms.Cursor.Current = Cursors.WaitCursor >> >> there is no need to reset the cursor to Default. >> >> >> >> So I made all the reset statements into comments (placed an ' in front) >> >> And everything works OK. >> >> >> >> Now I'm wondering why. >> >> Is it true that I do not need to reset the cursor or does leaving the sub >> do >> that - or why is mine working? >> >> >> >> Also, what is a static property. Is there only one value saved for the >> entire application, for all Cursors, or what? >> >> >> >> thanks for any clarifications >> >> >> >> >> >> >> >> >> > > > "Ryan S. Thiele" <mali***@verizon.net> wrote in message news:LlCah.10135$d42.2107@trndny07...> It means you can change or access it anywhere in the program. It is help In contrast to having to create an instance of the class first. It must > in > the memory at a global level. > apply to all instances (I guess). thanks Franky,
Don't mix up the use of the old C++ keyword static what is used in C# as well. In VB.Net this is "Shared" the declared word can be used shared and exactly as that means by all classes in your program. The static keyword is as declared above it is static inside a method. Cor Show quoteHide quote " Franky" <frankyNOSPAM@a-znet.com> schreef in bericht news:eC176ziEHHA.3768@TK2MSFTNGP06.phx.gbl... >I see what the problem is. I'm asking what the static property means and >that can be taken two ways. > I understand the static property of a variable. > > What I wanted to ask is what does > > Static Property zzz.... > > mean > > > System.Windows.Forms.Cursor.Current > > the property Current is Static > > what does that mean? > > > > Thanks > > > > > "Ryan S. Thiele" <mali***@verizon.net> wrote in message > news:RVAah.8082$IW2.1403@trndny03... >> Static means just that. For example >> >> Public Sub DoWork() >> Static i as integer = 0 >> i += 1 'You can also use i = i + 1 >> End Sub >> >> Now, when oyu run the method. It will add one to i, making it 1. When you >> run the method again, it will again add 1 to i, making it 2. >> >> See how it keeps the value after the method has executed. The static >> variable stays in the memory. >> >> -- >> Thiele Enterprises - The Power Is In Your Hands Now! >> >> -- >> " Franky" <frankyNOSPAM@a-znet.com> wrote in message >> ews:eKu$BcbEHHA.4***@TK2MSFTNGP03.phx.gbl... >> >> >> "Ryan S. Thiele" <mali***@verizon.net> wrote in message >> news:5rpah.8374$gJ1.4362@trndny09... >>> to awnser the static property question. You might actually mean a staic >>> variable. >>> >>> The static keyword meand that the variable will keep it's value when the >>> sub >>> or function exits. This is used to declare at the sub level, and not at >>> the >>> class level. >> >> System.Windows.Forms.Cursor.Current is a Static property - whatever that >> means! >> >>> >>> And yes for the cursor question. You have to set the cursor back to >>> default >>> :). >> >> But I don't - in many places - and it works OK - I wonder why >> >> >> Thanks for the reply >> >> >>> >>> -- >>> Thiele Enterprises - The Power Is In Your Hands Now! >>> >>> -- >>> " Franky" <frankyNOSPAM@a-znet.com> wrote in message >>> news:OFBj%236YEHHA.4680@TK2MSFTNGP04.phx.gbl... >>> I think I misread a post and understood that if I do: >>> >>> System.Windows.Forms.Cursor.Current = Cursors.WaitCursor >>> >>> there is no need to reset the cursor to Default. >>> >>> >>> >>> So I made all the reset statements into comments (placed an ' in front) >>> >>> And everything works OK. >>> >>> >>> >>> Now I'm wondering why. >>> >>> Is it true that I do not need to reset the cursor or does leaving the >>> sub >>> do >>> that - or why is mine working? >>> >>> >>> >>> Also, what is a static property. Is there only one value saved for the >>> entire application, for all Cursors, or what? >>> >>> >>> >>> thanks for any clarifications >>> >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> > > Thanks Cor
Didn't you mean Show quoteHide quote > as that means by all objects in your program "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:Oc6IqTxEHHA.4120@TK2MSFTNGP02.phx.gbl... > Franky, > > Don't mix up the use of the old C++ keyword static what is used in C# as > well. > > In VB.Net this is "Shared" the declared word can be used shared and > exactly as that means by all classes in your program. The static keyword > is as declared above it is static inside a method. > > Cor > > " Franky" <frankyNOSPAM@a-znet.com> schreef in bericht > news:eC176ziEHHA.3768@TK2MSFTNGP06.phx.gbl... >>I see what the problem is. I'm asking what the static property means and >>that can be taken two ways. >> I understand the static property of a variable. >> >> What I wanted to ask is what does >> >> Static Property zzz.... >> >> mean >> >> >> System.Windows.Forms.Cursor.Current >> >> the property Current is Static >> >> what does that mean? >> >> >> >> Thanks >> >> >> >> >> "Ryan S. Thiele" <mali***@verizon.net> wrote in message >> news:RVAah.8082$IW2.1403@trndny03... >>> Static means just that. For example >>> >>> Public Sub DoWork() >>> Static i as integer = 0 >>> i += 1 'You can also use i = i + 1 >>> End Sub >>> >>> Now, when oyu run the method. It will add one to i, making it 1. When >>> you >>> run the method again, it will again add 1 to i, making it 2. >>> >>> See how it keeps the value after the method has executed. The static >>> variable stays in the memory. >>> >>> -- >>> Thiele Enterprises - The Power Is In Your Hands Now! >>> >>> -- >>> " Franky" <frankyNOSPAM@a-znet.com> wrote in message >>> ews:eKu$BcbEHHA.4***@TK2MSFTNGP03.phx.gbl... >>> >>> >>> "Ryan S. Thiele" <mali***@verizon.net> wrote in message >>> news:5rpah.8374$gJ1.4362@trndny09... >>>> to awnser the static property question. You might actually mean a staic >>>> variable. >>>> >>>> The static keyword meand that the variable will keep it's value when >>>> the >>>> sub >>>> or function exits. This is used to declare at the sub level, and not at >>>> the >>>> class level. >>> >>> System.Windows.Forms.Cursor.Current is a Static property - whatever that >>> means! >>> >>>> >>>> And yes for the cursor question. You have to set the cursor back to >>>> default >>>> :). >>> >>> But I don't - in many places - and it works OK - I wonder why >>> >>> >>> Thanks for the reply >>> >>> >>>> >>>> -- >>>> Thiele Enterprises - The Power Is In Your Hands Now! >>>> >>>> -- >>>> " Franky" <frankyNOSPAM@a-znet.com> wrote in message >>>> news:OFBj%236YEHHA.4680@TK2MSFTNGP04.phx.gbl... >>>> I think I misread a post and understood that if I do: >>>> >>>> System.Windows.Forms.Cursor.Current = Cursors.WaitCursor >>>> >>>> there is no need to reset the cursor to Default. >>>> >>>> >>>> >>>> So I made all the reset statements into comments (placed an ' in front) >>>> >>>> And everything works OK. >>>> >>>> >>>> >>>> Now I'm wondering why. >>>> >>>> Is it true that I do not need to reset the cursor or does leaving the >>>> sub >>>> do >>>> that - or why is mine working? >>>> >>>> >>>> >>>> Also, what is a static property. Is there only one value saved for the >>>> entire application, for all Cursors, or what? >>>> >>>> >>>> >>>> thanks for any clarifications >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >> >> > > Exactly I took the popular tongue.
Although it is as well for all "shared classes" and modules (which are in fact the same). :-) CorShow quoteHide quote " Franky" <frankyNOSPAM@a-znet.com> schreef in bericht news:ehRE6r1EHHA.4404@TK2MSFTNGP06.phx.gbl... > Thanks Cor > > Didn't you mean > >> as that means by all objects in your program > > "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message > news:Oc6IqTxEHHA.4120@TK2MSFTNGP02.phx.gbl... >> Franky, >> >> Don't mix up the use of the old C++ keyword static what is used in C# as >> well. >> >> In VB.Net this is "Shared" the declared word can be used shared and >> exactly as that means by all classes in your program. The static keyword >> is as declared above it is static inside a method. >> >> Cor >> >> " Franky" <frankyNOSPAM@a-znet.com> schreef in bericht >> news:eC176ziEHHA.3768@TK2MSFTNGP06.phx.gbl... >>>I see what the problem is. I'm asking what the static property means and >>>that can be taken two ways. >>> I understand the static property of a variable. >>> >>> What I wanted to ask is what does >>> >>> Static Property zzz.... >>> >>> mean >>> >>> >>> System.Windows.Forms.Cursor.Current >>> >>> the property Current is Static >>> >>> what does that mean? >>> >>> >>> >>> Thanks >>> >>> >>> >>> >>> "Ryan S. Thiele" <mali***@verizon.net> wrote in message >>> news:RVAah.8082$IW2.1403@trndny03... >>>> Static means just that. For example >>>> >>>> Public Sub DoWork() >>>> Static i as integer = 0 >>>> i += 1 'You can also use i = i + 1 >>>> End Sub >>>> >>>> Now, when oyu run the method. It will add one to i, making it 1. When >>>> you >>>> run the method again, it will again add 1 to i, making it 2. >>>> >>>> See how it keeps the value after the method has executed. The static >>>> variable stays in the memory. >>>> >>>> -- >>>> Thiele Enterprises - The Power Is In Your Hands Now! >>>> >>>> -- >>>> " Franky" <frankyNOSPAM@a-znet.com> wrote in message >>>> ews:eKu$BcbEHHA.4***@TK2MSFTNGP03.phx.gbl... >>>> >>>> >>>> "Ryan S. Thiele" <mali***@verizon.net> wrote in message >>>> news:5rpah.8374$gJ1.4362@trndny09... >>>>> to awnser the static property question. You might actually mean a >>>>> staic >>>>> variable. >>>>> >>>>> The static keyword meand that the variable will keep it's value when >>>>> the >>>>> sub >>>>> or function exits. This is used to declare at the sub level, and not >>>>> at >>>>> the >>>>> class level. >>>> >>>> System.Windows.Forms.Cursor.Current is a Static property - whatever >>>> that >>>> means! >>>> >>>>> >>>>> And yes for the cursor question. You have to set the cursor back to >>>>> default >>>>> :). >>>> >>>> But I don't - in many places - and it works OK - I wonder why >>>> >>>> >>>> Thanks for the reply >>>> >>>> >>>>> >>>>> -- >>>>> Thiele Enterprises - The Power Is In Your Hands Now! >>>>> >>>>> -- >>>>> " Franky" <frankyNOSPAM@a-znet.com> wrote in message >>>>> news:OFBj%236YEHHA.4680@TK2MSFTNGP04.phx.gbl... >>>>> I think I misread a post and understood that if I do: >>>>> >>>>> System.Windows.Forms.Cursor.Current = Cursors.WaitCursor >>>>> >>>>> there is no need to reset the cursor to Default. >>>>> >>>>> >>>>> >>>>> So I made all the reset statements into comments (placed an ' in >>>>> front) >>>>> >>>>> And everything works OK. >>>>> >>>>> >>>>> >>>>> Now I'm wondering why. >>>>> >>>>> Is it true that I do not need to reset the cursor or does leaving the >>>>> sub >>>>> do >>>>> that - or why is mine working? >>>>> >>>>> >>>>> >>>>> Also, what is a static property. Is there only one value saved for the >>>>> entire application, for all Cursors, or what? >>>>> >>>>> >>>>> >>>>> thanks for any clarifications >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >> >> > > I think we took care of that.
Now if I can find some doc on MSScriptControl.ScriptControlClass I'd feel like I'm moving on. THANKS Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:uW0id52EHHA.4208@TK2MSFTNGP03.phx.gbl... > Exactly I took the popular tongue. > > Although it is as well for all "shared classes" and modules (which are in > fact the same). > > :-) > > Cor > > " Franky" <frankyNOSPAM@a-znet.com> schreef in bericht > news:ehRE6r1EHHA.4404@TK2MSFTNGP06.phx.gbl... >> Thanks Cor >> >> Didn't you mean >> >>> as that means by all objects in your program >> >> "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message >> news:Oc6IqTxEHHA.4120@TK2MSFTNGP02.phx.gbl... >>> Franky, >>> >>> Don't mix up the use of the old C++ keyword static what is used in C# as >>> well. >>> >>> In VB.Net this is "Shared" the declared word can be used shared and >>> exactly as that means by all classes in your program. The static keyword >>> is as declared above it is static inside a method. >>> >>> Cor >>> >>> " Franky" <frankyNOSPAM@a-znet.com> schreef in bericht >>> news:eC176ziEHHA.3768@TK2MSFTNGP06.phx.gbl... >>>>I see what the problem is. I'm asking what the static property means and >>>>that can be taken two ways. >>>> I understand the static property of a variable. >>>> >>>> What I wanted to ask is what does >>>> >>>> Static Property zzz.... >>>> >>>> mean >>>> >>>> >>>> System.Windows.Forms.Cursor.Current >>>> >>>> the property Current is Static >>>> >>>> what does that mean? >>>> >>>> >>>> >>>> Thanks >>>> >>>> >>>> >>>> >>>> "Ryan S. Thiele" <mali***@verizon.net> wrote in message >>>> news:RVAah.8082$IW2.1403@trndny03... >>>>> Static means just that. For example >>>>> >>>>> Public Sub DoWork() >>>>> Static i as integer = 0 >>>>> i += 1 'You can also use i = i + 1 >>>>> End Sub >>>>> >>>>> Now, when oyu run the method. It will add one to i, making it 1. When >>>>> you >>>>> run the method again, it will again add 1 to i, making it 2. >>>>> >>>>> See how it keeps the value after the method has executed. The static >>>>> variable stays in the memory. >>>>> >>>>> -- >>>>> Thiele Enterprises - The Power Is In Your Hands Now! >>>>> >>>>> -- >>>>> " Franky" <frankyNOSPAM@a-znet.com> wrote in message >>>>> ews:eKu$BcbEHHA.4***@TK2MSFTNGP03.phx.gbl... >>>>> >>>>> >>>>> "Ryan S. Thiele" <mali***@verizon.net> wrote in message >>>>> news:5rpah.8374$gJ1.4362@trndny09... >>>>>> to awnser the static property question. You might actually mean a >>>>>> staic >>>>>> variable. >>>>>> >>>>>> The static keyword meand that the variable will keep it's value when >>>>>> the >>>>>> sub >>>>>> or function exits. This is used to declare at the sub level, and not >>>>>> at >>>>>> the >>>>>> class level. >>>>> >>>>> System.Windows.Forms.Cursor.Current is a Static property - whatever >>>>> that >>>>> means! >>>>> >>>>>> >>>>>> And yes for the cursor question. You have to set the cursor back to >>>>>> default >>>>>> :). >>>>> >>>>> But I don't - in many places - and it works OK - I wonder why >>>>> >>>>> >>>>> Thanks for the reply >>>>> >>>>> >>>>>> >>>>>> -- >>>>>> Thiele Enterprises - The Power Is In Your Hands Now! >>>>>> >>>>>> -- >>>>>> " Franky" <frankyNOSPAM@a-znet.com> wrote in message >>>>>> news:OFBj%236YEHHA.4680@TK2MSFTNGP04.phx.gbl... >>>>>> I think I misread a post and understood that if I do: >>>>>> >>>>>> System.Windows.Forms.Cursor.Current = Cursors.WaitCursor >>>>>> >>>>>> there is no need to reset the cursor to Default. >>>>>> >>>>>> >>>>>> >>>>>> So I made all the reset statements into comments (placed an ' in >>>>>> front) >>>>>> >>>>>> And everything works OK. >>>>>> >>>>>> >>>>>> >>>>>> Now I'm wondering why. >>>>>> >>>>>> Is it true that I do not need to reset the cursor or does leaving the >>>>>> sub >>>>>> do >>>>>> that - or why is mine working? >>>>>> >>>>>> >>>>>> >>>>>> Also, what is a static property. Is there only one value saved for >>>>>> the >>>>>> entire application, for all Cursors, or what? >>>>>> >>>>>> >>>>>> >>>>>> thanks for any clarifications >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> >> > >
Why is this simple addition throwing an overflow exception?
calling math functions at run time Delete Directory not working Data entry into ComboBox Create Serial Number VS 2005 baffled at step 1 Problem saving txt box with enter key Can someone please translate this to VB.Net How to run and communicate a DOS program file in a VB.NET program? Opening...Closing Forms |
|||||||||||||||||||||||