I'm having trouble pasting a VLS into a textbox
control on FormB. FormB is open in form view.
I'm trying to do it from a procedure running in
FormA. I'm up against 2048-Char limits no matter
how hard I try.
Funny thing is, I can easily hilite, cut 'n paste
into the control manually - no problem. I just
can't accomplish it from within code.
Ideas? 3 2846
So does
Forms("FormB"). Text0 = "VLS Over 2048 Characters ..."
Not work?
(You'll need to replace Text0 with the appropriatecont rol name)
Terry
"MLH" <CR**@NorthStat e.net> wrote in message
news:qu******** *************** *********@4ax.c om... I'm having trouble pasting a VLS into a textbox control on FormB. FormB is open in form view. I'm trying to do it from a procedure running in FormA. I'm up against 2048-Char limits no matter how hard I try.
Funny thing is, I can easily hilite, cut 'n paste into the control manually - no problem. I just can't accomplish it from within code.
Ideas?
On Wed, 24 Sep 2003 14:22:09 -0400 in comp.databases. ms-access, MLH
<CR**@NorthStat e.net> wrote: I'm having trouble pasting a VLS into a textbox control on FormB. FormB is open in form view. I'm trying to do it from a procedure running in FormA. I'm up against 2048-Char limits no matter how hard I try.
Funny thing is, I can easily hilite, cut 'n paste into the control manually - no problem. I just can't accomplish it from within code.
According to the help, the .Text property is limited to 2048
characters, something I hit a while back and was unable to resolve. I
had no problem setting the .Value property, which got the text into
the textbox but would not fire off any event procedures.
It appears to be a limitation of VBA.
--
A)bort, R)etry, I)nfluence with large hammer.
Thx, guys... but my problem turned out
to be related to something else entirely.
Sorry about that - I'm easily confused. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: David Gray |
last post by:
Greetings all,
Quick newbie type question:
I would like to be able to trap non-numerical data entered into a
textbox via CTRL+C and/or Shift+Insert.
I realise that this data can be validated using the TEXTn_validate
event but I would like to stop the user before it gets that far.
|
by: John |
last post by:
Hi
How can I implement cut or copy or paste in code?
Thanks
Regards
|
by: Howard Minor |
last post by:
Not sure why this is an issue, but apparently when you paste a string into a
textbox that is bound to a dataset/datasource, it does not save into the
dataset. I've tried several things including moving the
BindingContext.Position but I haven't found an easy way short of handling
updating the dataset manually.
Anyone have any experience with this and how to get around it?
-Howard
|
by: lgbjr |
last post by:
Hello All,
I¡¯m using a context menu associated with some pictureboxes to provide
copy/paste functionality. Copying the image to the clipboard was easy. But
pasting an image from the clipboard is proving to be more difficult. These
pictureboxes are bound to an AccessDB. If the user wants to add an image,
they select an image using an OpenFileDialog:
Dim result As DialogResult = Pic_Sel.ShowDialog()
If (result = DialogResult.OK) Then
|
by: guy |
last post by:
VB2005
i need to implement cut/copy/paste as menu options
using th clipboard is ok, that works however how do i find the active
control and assuming it is a text box the portion of text selected?
I can not use Form.ActiveControl as that may be a user control which
contains the active TextBox
the ony way i can see is to iterate through the ActiveControl properties
| |
by: Ben R. |
last post by:
Hi,
I've got a vb.net winforms app. Out of the box, I can use Ctrl X, C and V as
expected in controls like textboxes. I've got a menustrip, and if I click the
link "Add standard items" which adds Cut copy and paste commands, this
functionality no longer works. It seems now I need to implement handlers for
these functions. I tried to do so, but say the paste handler, I need to call
paste on a specific control and that isn't necessarily...
|
by: Steve |
last post by:
I'm trying to code cut, copy, and paste in vb 2005 so that when the user
clicks on a toolbar button, the cut/copy/paste will work with whatever
textbox the cursor is current located in (I have about 20 textboxes on the
form). Also to ensure that the button can't get used if the cursor isn't in
a textbox field. And to ensure the contents of the clipboard are "text"
contents that have been cut/copied from one of the textboxes on the form.
...
|
by: Flyzone |
last post by:
Hello, i'm trying to paste copied text from word into an input box.
This text is saved into a oracle db and then used as text in another
javascript.
The problem is that using the saved text (encoded and decoded in the
db to avoid sql injection) have some special char that block the
javascript execution (i think is unicode char).
So i would like to detect and delete this char with a javascript
function (i can't disable copy and paste),...
|
by: jh |
last post by:
I'd like to copy/paste into a listbox during runtime. I can do this for a
textbox but can't figure out how to accomplish this for a listbox. Any
help? Thanks.
|
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: 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: 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: 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: 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();...
|
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: 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...
| |