473,840 Members | 1,420 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Couple of easy questions

I just have a couple of easy questions:
1. In Asp.net using Vb is there a way to list all the possible characters
without listing them all like Char() = "abc..."?
2. I was trying to set the focus to a text and was not able to by using
txtEmp.setfocus (). I read somewhere that this may not be possible, is that
true?
3. When you sign on to my web page that I am making and go to type something
into the textboxes, dropdown boxes with information from previous entries pop
up. Is there a way to make sure that the information is not kept?

Any help would be great. Sccr18 Thanks
Nov 19 '05 #1
4 1199
You can set focus to a particular control with the Javascript "focus"
method.
Here's more info:
http://SteveOrr.net/faq/2in1.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Sccr18" <Sc****@discuss ions.microsoft. com> wrote in message
news:EF******** *************** ***********@mic rosoft.com...
I just have a couple of easy questions:
1. In Asp.net using Vb is there a way to list all the possible characters
without listing them all like Char() = "abc..."?
2. I was trying to set the focus to a text and was not able to by using
txtEmp.setfocus (). I read somewhere that this may not be possible, is
that
true?
3. When you sign on to my web page that I am making and go to type
something
into the textboxes, dropdown boxes with information from previous entries
pop
up. Is there a way to make sure that the information is not kept?

Any help would be great. Sccr18 Thanks

Nov 19 '05 #2
Thanks, but I have all my code in VB. I went to the site you provided and it
had something for VB: SetFocus(textbo x), but when I place it in my ASP.net
app code it does not work. If I use the Javascript with my program would I
need to have more than on apsx page?
"Steve C. Orr [MVP, MCSD]" wrote:
You can set focus to a particular control with the Javascript "focus"
method.
Here's more info:
http://SteveOrr.net/faq/2in1.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Sccr18" <Sc****@discuss ions.microsoft. com> wrote in message
news:EF******** *************** ***********@mic rosoft.com...
I just have a couple of easy questions:
1. In Asp.net using Vb is there a way to list all the possible characters
without listing them all like Char() = "abc..."?
2. I was trying to set the focus to a text and was not able to by using
txtEmp.setfocus (). I read somewhere that this may not be possible, is
that
true?
3. When you sign on to my web page that I am making and go to type
something
into the textboxes, dropdown boxes with information from previous entries
pop
up. Is there a way to make sure that the information is not kept?

Any help would be great. Sccr18 Thanks


Nov 19 '05 #3
re:
when I place it in my ASP.net
app code it does not work.
Did you include the line

SetFocus(TextBo x1)

?

( If the textbox is named "Textbox1" ...)


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"Sccr18" <Sc****@discuss ions.microsoft. com> wrote in message
news:71******** *************** ***********@mic rosoft.com... Thanks, but I have all my code in VB. I went to the site you provided and it
had something for VB: SetFocus(textbo x), but when I place it in my ASP.net
app code it does not work. If I use the Javascript with my program would I
need to have more than on apsx page?
"Steve C. Orr [MVP, MCSD]" wrote:
You can set focus to a particular control with the Javascript "focus"
method.
Here's more info:
http://SteveOrr.net/faq/2in1.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Sccr18" <Sc****@discuss ions.microsoft. com> wrote in message
news:EF******** *************** ***********@mic rosoft.com...
>I just have a couple of easy questions:
> 1. In Asp.net using Vb is there a way to list all the possible characters
> without listing them all like Char() = "abc..."?
> 2. I was trying to set the focus to a text and was not able to by using
> txtEmp.setfocus (). I read somewhere that this may not be possible, is
> that
> true?
> 3. When you sign on to my web page that I am making and go to type
> something
> into the textboxes, dropdown boxes with information from previous entries
> pop
> up. Is there a way to make sure that the information is not kept?
>
> Any help would be great. Sccr18 Thanks


Nov 19 '05 #4
I typed the line SetFocus(txtEmp ID).

"Juan T. Llibre" wrote:
re:
when I place it in my ASP.net
app code it does not work.


Did you include the line

SetFocus(TextBo x1)

?

( If the textbox is named "Textbox1" ...)


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
=============== =======

"Sccr18" <Sc****@discuss ions.microsoft. com> wrote in message
news:71******** *************** ***********@mic rosoft.com...
Thanks, but I have all my code in VB. I went to the site you provided and it
had something for VB: SetFocus(textbo x), but when I place it in my ASP.net
app code it does not work. If I use the Javascript with my program would I
need to have more than on apsx page?
"Steve C. Orr [MVP, MCSD]" wrote:
You can set focus to a particular control with the Javascript "focus"
method.
Here's more info:
http://SteveOrr.net/faq/2in1.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Sccr18" <Sc****@discuss ions.microsoft. com> wrote in message
news:EF******** *************** ***********@mic rosoft.com...
>I just have a couple of easy questions:
> 1. In Asp.net using Vb is there a way to list all the possible characters
> without listing them all like Char() = "abc..."?
> 2. I was trying to set the focus to a text and was not able to by using
> txtEmp.setfocus (). I read somewhere that this may not be possible, is
> that
> true?
> 3. When you sign on to my web page that I am making and go to type
> something
> into the textboxes, dropdown boxes with information from previous entries
> pop
> up. Is there a way to make sure that the information is not kept?
>
> Any help would be great. Sccr18 Thanks


Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3073
by: bjs | last post by:
I hope I've got the right group here and apologies if I haven't. I'm a hobby programmer and have just upgraded to Visual Basic.net and have a couple of questions if anybody can help. In VB 6 you could print using a print command that included Print, Line, CurrentX, CurrentY etc etc. I am SURE there will be a way in VB.net yet can find no trace - can somebody help? Secondly, I know this is old tech but using DAO I could write programs...
1
3927
by: Novice | last post by:
Hi all, I'm afraid this is the second posting of this information as I didn't get a response on the previous post. I will try to shorten my message (i.e. be more concise) in the hopes that it will make it easier for someone (i.e. a Microsoft person) to digest the information and respond to it. I am a C++ and Java developer with over 3 years of industry experience. I've written low level C++ code, in addition to web clients that use web...
3
3104
by: WindAndWaves | last post by:
I am writing error handling procedures at the moment. Here are some questions: 1. Can you write a procedure that picks up any error and deals with it no matter where it happens in the database? 2. Does Access keep a list of errors in a "secret" table? 3. Is there a way to handle common errors (such as - "you need to choose from the list" or "a related record is required in ....") with just one
9
1504
by: Mantorok Redgormor | last post by:
7.19.3p7 "At program startup, three text streams are predefined and need not be opened explicitly — standard input (for reading conventional input), standard output (for writing conventional output), and standard error (for writing diagnostic output). As initially opened, the standard error stream is not fully buffered; the standard input and standard output streams are fully buffered if and only if the stream can be determined not to...
14
1353
by: Daniel Billingsley | last post by:
I'm always curious on some of these style issues if there seem to actually be objective reasons for doing things one way or the other, so here goes for a little lighter discussion. 1) Default constructors. Do you always write a constructor for every class, even when it doesn't do anything special, or do you "trust" the default one that will be generated? 2) Regions. I really really like the region feature for organizing code and...
3
1599
by: Ron | last post by:
Hello everyone, I have a couple of questions really quick questions. I am creating a dispatch database. What I would really like to do is have to option of automatically inserting the time when I hit the "]" button. Is this possble? Also I am trying to create a form that has the standard boxes contained within it and I would also like to add a subform or something simular in
3
1119
by: melton9 | last post by:
I'm just getting into using datagrid and have a couple of questions. 1.)How do you get the grid to show the values of a datatable automatically? Currently I have to hit the + sign and then select "getNews"(the datatable) to show my data. 2.) I have this set up to a loop. So after I view my grid any updates in the loop causes the datagrid to go blank(ie gray box). Anybody know what I should add to make the datagrid correctly
0
1272
by: Newish | last post by:
Hi Couple of questions on datagrid 1) Is there a performance issue when using datagrid to display data from a datatable. 2) Is there a security issue when using datagrid to display data from a datatable and enable it to allow edits as well.
2
1763
by: Hugh | last post by:
The PyGUI website specified this place as the place for general discussion about it, so here goes.... First off - thanks for something that is so straightforward to get running on OSX... I've been migrating some relatively straight-forward scripts-with-GUIs from Linux to OSX, and, while I used FLTK on Linux, I could not get pyfltk to install on OSX. PyGUI was so straightforward, though. Made me a very happy bunny. Fortunately, I wrote...
0
9698
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,...
0
10916
Oralloy
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...
0
10299
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9436
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7836
isladogs
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...
0
7022
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5684
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...
1
4495
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
3
3136
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.