All SendKeys.Send like ^C, ^V, ^X work in my form with textboxes but
SendKeys.Send(" ^A") doesn't work ! ??
i have a bip error windows ! ? 6 5326
"ucasesoftw are" <uc***********@ hotmail.fr> schrieb: All SendKeys.Send like ^C, ^V, ^X work in my form with textboxes but SendKeys.Send(" ^A") doesn't work ! ??
The textbox control doesn't support selecting the whole text using a
keyboard shortcut. You may want to use the code below instead:
\\\
If TypeOf Me.ActiveContro l Is TextBox Then
Dim txt As TextBox = DirectCast(Me.A ctiveControl, TextBox)
txt.SelectAll()
End If
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
"ucasesoftw are" <uc***********@ hotmail.fr> schrieb: All SendKeys.Send like ^C, ^V, ^X work in my form with textboxes but SendKeys.Send(" ^A") doesn't work ! ??
The textbox control doesn't support selecting the whole text using a
keyboard shortcut. You may want to use the code below instead:
\\\
If TypeOf Me.ActiveContro l Is TextBox Then
Dim txt As TextBox = DirectCast(Me.A ctiveControl, TextBox)
txt.SelectAll()
End If
///
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
I have a problem with your code cause i have a MDI application
me.activateCont rol is the child :( and not the textbox in the child
form
I have a problem with your code cause i have a MDI application
me.activateCont rol is the child :( and not the textbox in the child
form
Here is the solution for mdi Child
If TypeOf Me.ActiveMdiChi ld.ActiveContro l Is TextBox Then
Dim txt As TextBox =
DirectCast(Me.A ctiveMdiChild.A ctiveControl, TextBox)
txt.SelectAll()
End If
Thx a lot again
Here is the solution for mdi Child
If TypeOf Me.ActiveMdiChi ld.ActiveContro l Is TextBox Then
Dim txt As TextBox =
DirectCast(Me.A ctiveMdiChild.A ctiveControl, TextBox)
txt.SelectAll()
End If
Thx a lot again This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Kurda Yon |
last post by:
Sorry for a very stupid question. Can you tell me what does the
following html source does if I press button "Send"? If I read this
code by Netscaspe from my local file system and then press "Send", I
see in my browser directory where the considered html source is
located. If I publish the given html source, open published page and
again press "Send" nothing changes... What I want to do, is to know
what choice did people who were visiting...
|
by: Gary |
last post by:
I am trying to use the "System.Windows.Forms.SendKeys" class for triggering
the Ctrl+P key.
Syntax:
System.Windows.Forms.SendKeys.Send("^(P)");
This is not working ..what could be the reason..?
Situation:
I have a menu in my form, which is given a short key "Ctrl+P", now when the
|
by: Gary |
last post by:
Hi,
I am trying to use the "System.Windows.Forms.SendKeys" class for triggering
the Ctrl+P key.
Syntax:
System.Windows.Forms.SendKeys.Send("^(P)")
This is not working ..what could be the reason..?
|
by: Rvo |
last post by:
Hi all,
I need to use the Netware "send" function to send messages to some/all
attached netware users on a server. However, I can't find any documentation
on this topic on the Novell site or anywhere else. If any of you has
experience on this topic (or knows of any online documentation about it) I
would realy appreciate your help.
(Which references do I set? Which class to instatiate? What methods do I
need to call, ...)
|
by: ucasesoftware |
last post by:
In my mainMenu i have items Copy, cut, paste...
I have a form with a lot of textbox
In my sub of item copy i have : SendKeys.Send("^c")
but if the user select a text in a textbox... click Copy in the
mainMenu...
it doesn't work
| |
by: ucasesoftware |
last post by:
All SendKeys.Send like ^C, ^V, ^X work in my form with textboxes but
SendKeys.Send("^A") doesn't work ! ??
i have a bip error windows ! ?
|
by: Sweet.mhtrq |
last post by:
I want to use "send" to send a string
like
Code:
send "p" & OutputString
if OutputString is "1234" , "p1234" will be sent.
but it is sent too fast, my robot' cpu cant receive the whole string.
Sometime it
|
by: jabdulius |
last post by:
Hi all, newb to Perl here. I'm trying to use the Net:SNPP package to send a page, and getting the above error when trying to send. Here's my code:
my $host = "snpp.cingular.com:444";
my $snpp = Net::SNPP->new( $host );
$snpp->send( Pager => $to, Message => $message,);
$snpp->quit;
|
by: groupie |
last post by:
Hi,
I'd like to know how to implement the "Forgot Password" feature on
many websites which require a login, exactly like this ebay example:
http://cgi4.ebay.com/ws/eBayISAPI.dll?UserIdRecognizerShow
I've already retrieved the users password from the database - I just
need to send it to the email address entered.
From reading many posts, I need a server-side script and rather not
use form mailto: nor use javascript on the users PC.
|
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: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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: 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...
|
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...
|
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: 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...
| |