Let me start off by saying I have VB working model which means no help. I
have searched MSDN. It seems that I get "Read the help" instead of answers
which is totally useless to me. With that said can someone please help me
understand why this does not work?
Dim x As String
Private Sub cmdlogin_Click( )
Do Until x = "Corey"
If txtlogin = "Corey" Then
frmcorey.Show
Unload frmlogin
End If
lbllogin = "Please login"
Loop
End Sub
Private Sub Form_Load()
lbllogin = ("Please login")
End Sub
Thank you
Eric in Tampa 8 15681
You have nothing changing the value of "x"... this Do/Loop will
likely loop perpetually.
Try adding AFTER the Do Until: x = txtlogin.Text
"Eric" <ep******@tampa bay.rr.com> wrote in message
news:uZ******** ***********@twi ster.tampabay.r r.com... Let me start off by saying I have VB working model which means no help. I have searched MSDN. It seems that I get "Read the help" instead of
answers which is totally useless to me. With that said can someone please help me understand why this does not work?
Dim x As String
Private Sub cmdlogin_Click( ) Do Until x = "Corey" If txtlogin = "Corey" Then frmcorey.Show Unload frmlogin End If lbllogin = "Please login" Loop End Sub
Private Sub Form_Load() lbllogin = ("Please login") End Sub
Thank you Eric in Tampa
Eric <ep******@tampa bay.rr.com> schreef in berichtnieuws
uZ************* ******@twister. tampabay.rr.com ... It seems that I get "Read the help" instead of answers which is totally useless to me.
Are you going to appologize to me here too ?
For anyone who want's to know what Eric is (or I am) talking about, take a
look in "comp.lang.basi c.visual" , at the thread "intAge = Val(strAge) ???
Say what"
( OS************* ******@twister. tampabay.rr.com ... )
By the way : What's the problem ? With your code I mean.
I can *guess* what it is, but why didn't you just *tell* us ?
It "does not work" does not really qualify as a problem-description ...
By the way : the answer is that the problem is your Do-until loop Remove
it.
Regards,
Rudy Wieser
P.s.
Maybe you should try to obtain a VB Help-file, so you can check for yourself
what the commands mean & do ...
Now that was uncalled for, No I will not appologize to you for that reason.
I will keep posting and hope not to hear from you again.
Eric
"R.Wieser" <rw************ ***@xs4all.nl> wrote in message
news:3f******** *************@d reader5.news.xs 4all.nl... Eric <ep******@tampa bay.rr.com> schreef in berichtnieuws uZ************* ******@twister. tampabay.rr.com ...
It seems that I get "Read the help" instead of answers which is totally useless to me. Are you going to appologize to me here too ?
For anyone who want's to know what Eric is (or I am) talking about, take a look in "comp.lang.basi c.visual" , at the thread "intAge = Val(strAge) ??? Say what" ( OS************* ******@twister. tampabay.rr.com ... )
By the way : What's the problem ? With your code I mean.
I can *guess* what it is, but why didn't you just *tell* us ? It "does not work" does not really qualify as a problem-description ...
By the way : the answer is that the problem is your Do-until loop Remove it.
Regards, Rudy Wieser
P.s. Maybe you should try to obtain a VB Help-file, so you can check for
yourself what the commands mean & do ...
Rudy, you are so intent at me looking at the help file that my working model
visual basic does not have. May I ask that you pass your copy of help along
to me. If I had the help file for visual Basic 6 then I who have less need
to ask for help.
Thank you
Eric in Tampa
"R.Wieser" <rw************ ***@xs4all.nl> wrote in message
news:3f******** *************@d reader5.news.xs 4all.nl... Eric <ep******@tampa bay.rr.com> schreef in berichtnieuws uZ************* ******@twister. tampabay.rr.com ...
It seems that I get "Read the help" instead of answers which is totally useless to me. Are you going to appologize to me here too ?
For anyone who want's to know what Eric is (or I am) talking about, take a look in "comp.lang.basi c.visual" , at the thread "intAge = Val(strAge) ??? Say what" ( OS************* ******@twister. tampabay.rr.com ... )
By the way : What's the problem ? With your code I mean.
I can *guess* what it is, but why didn't you just *tell* us ? It "does not work" does not really qualify as a problem-description ...
By the way : the answer is that the problem is your Do-until loop Remove it.
Regards, Rudy Wieser
P.s. Maybe you should try to obtain a VB Help-file, so you can check for
yourself what the commands mean & do ...
Eric <ep******@tampa bay.rr.com> schreef in berichtnieuws
5E************* ******@twister. tampabay.rr.com ...
Hello Eric, Now that was uncalled for,
Really ? You're bad-mouthing me, but I'm not permitted to respond to it ?
No I will not appologize to you for that reason.
You where not going to in the first place, and now you've found a reason to
your refusal. Nicely done. But also quite childish ...
I will keep posting and hope not to hear from you again.
And that's why you posted another message (to me), about 5 hours later ?
You're *funny* !
Regards,
Rudy Wieser
P.s.
Did my suggestion (removing the Do-Until -loop work) ? Or didn't you see
that piece of my message either ?
Eric <ep******@tampa bay.rr.com> schreef in berichtnieuws
WT************* ******@twister. tampabay.rr.com ...
Hello Eric, Rudy, you are so intent at me looking at the help file that my working
model visual basic does not have.
Why should I be so intent upon it ? It doesn't bring me fame or fortune if
you do, and doesn't cost me anything if you don't.
The only thing that would actually happen, is that *you* would benefit from
it ... And ofcourse I would be left with a happy feeling that I could,
again, help someone.
May I ask that you pass your copy of help along to me.
Yes, you may. And you get the same answer you gave me, and several others
when you where pointed to your mistake (of me, in my first response, not
helping you) : Dead silence.
Don't you think you're quite arrogant, when you behaved the way you did, and
afterwards think you can ask a favour ?
If I had the help file for visual Basic 6 then I who have less need to ask for help.
Yes, I think you're right there. Now if only you would have thought of
that earlier ...
Regards,
Rudy Wieser
R.Wieser wrote: Yes, you may. And you get the same answer you gave me, and several others when you where pointed to your mistake (of me, in my first response, not helping you) : Dead silence.
I think we would all be pleased if you would do as you say and give dead
silence instead of your continued whining.
Although it is somewhat cumbersome to use, you can view the entire MSDN Help
Files online at this link... http://msdn.microsoft.com/library/default.asp
Specifically, open the "tree" to this...
Visual Tools and Languages
Visual Studio 6.0
Visual Basic 6.0
Product Documentation
Reference
Language Reference
Rick - MVP
"Eric" <ep******@tampa bay.rr.com> wrote in message
news:WT******** ***********@twi ster.tampabay.r r.com... Rudy, you are so intent at me looking at the help file that my working
model visual basic does not have. May I ask that you pass your copy of help
along to me. If I had the help file for visual Basic 6 then I who have less
need to ask for help.
Thank you Eric in Tampa
"R.Wieser" <rw************ ***@xs4all.nl> wrote in message news:3f******** *************@d reader5.news.xs 4all.nl... Eric <ep******@tampa bay.rr.com> schreef in berichtnieuws uZ************* ******@twister. tampabay.rr.com ...
It seems that I get "Read the help" instead of answers which is totally useless to me.
Are you going to appologize to me here too ?
For anyone who want's to know what Eric is (or I am) talking about, take
a look in "comp.lang.basi c.visual" , at the thread "intAge = Val(strAge)
??? Say what" ( OS************* ******@twister. tampabay.rr.com ... )
By the way : What's the problem ? With your code I mean.
I can *guess* what it is, but why didn't you just *tell* us ? It "does not work" does not really qualify as a problem-description ...
By the way : the answer is that the problem is your Do-until loop
Remove it.
Regards, Rudy Wieser
P.s. Maybe you should try to obtain a VB Help-file, so you can check for yourself what the commands mean & do ...
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Remi Villatel |
last post by:
Hi there,
There is always a "nice" way to do things in Python but this time I can't
find one.
What I'm trying to achieve is a conditionnal loop of which the condition
test would be done at the end so the loop is executed at least once. It's
some way the opposite of "while".
So far, all I got is:
|
by: .Net Sports |
last post by:
I am trying to display records from a recordset after sql statement:
<% sqlstr ="SELECT horsename FROM tblhorseentry WHERE trackname = '" &
request.querystring("trackname") & "' and racedate = '" &
request.querystring("racedate");"
Set rs1 = Server.CreateObject("ADODB.Recordset")
rs1.Open sqlstr,pConn,3
|
by: MLH |
last post by:
Take a look at the code that follows. Line 110 is the beginning
of Do-Loop. Regarding line #220, I find that I'm getting Error #3021
(No Current Record) during execution of line #230. It puzzles me
as to Why? I thought if I was on last valid record of RecSet when
line #220 executes, I would be sent to process lines after line #400.
Am I wrong about that?
==> BEGIN CODE SNIPPET <===
110 Do Until RecSet.EOF
StartAnew:
|
by: deko |
last post by:
When doing a mail merge with Word, I can't seem to get the below
(abbreviated) routine to iterate strBookmark01 -- it just uses the first
name in the recordset for all 10 (or whatever) documents...
Is there some other code I need to get the string to iterate with each name?
Thanks in advance...
Set rstOutput = db.OpenRecordset("qryMailMerge")
Do Until rstOutput.EOF
strBookmark01 = rstData!Name
|
by: Madhavi |
last post by:
Hi
Is there any Do Until Loop in C#
Maadhavi
| |
by: Thomas Nelson |
last post by:
Occasionally someone posts to this group complaining about the lack of
"repeat ... until" in python. I too have occasionally wished for such
a construct, and after some thinking, I came up with the class below.
I'm hoping to get some feedback here, and if people besides me think
they might use it someday, I can put it on the python cookbook. I'm
pretty happy with it, the only ugly thing is you have to use a
lambda. Ideally i'd like to...
|
by: Grayzag |
last post by:
Hi there,
As part of my Software course, i have to create a game. Since I originally started out with python, I was used to it being really easy to create a main loop to control the game with a simple while statement, pausing where input is needed from the user.
Now that I have moved on to VB, I can seem to find a way to pause the while statements until the user does something (e.g. clicks a button). When i start my app, if just throws...
|
by: shogot99 |
last post by:
Till here the info gotten is ok
Loop Until strainfo = ""
ScreenMNS.WaitHostQuiet (400)
Second process
Copy "B" & paste in "E"
Range("B2:B600").Select
|
by: SyGC |
last post by:
Hi People,
Im trying to do a simple Loop where by an IP address is pinged (Using My.computer.network.ping) and the results, true or false, are used to invoke another line of code.
Basically if the IP is pingable (true) image A is displayed if it is not (false) then image B is.
The code i am using is as follows
Dim IPAddress As String = "192.168.1.122"
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |