Re: How to assign a very long string to a variable ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



> I just want to paste the string out of a text editor with Ctrl_V into
the
> source. In case this is not possible I will search for a control for
wich a
> text property can be assigned with Ctrl_V in design mode. This would
enable
> to retrieve the long string in run time.

I may have misunderstood what you were after in your first message. You
can do what you have asked above using the Text property field in the
Properties window at design time. IF your text is properly formatted
before you copy it to the Clipboard, and if your TextBox is set to
MultiLine=True, then click on the Text property field and an entry box
will come up... just remove the default text that is alread there and
Paste (Cntrl+V) your new text into the box... it will retain the
original formatting.

Rick


.



Relevant Pages

  • Re: Uninitialized objects Q
    ... Chances are, you have entered a space in the text property of Text1, ... when in Design mode on the form. ... A string, whether a local variable or a property of something, will ...
    (microsoft.public.vb.general.discussion)
  • Re: If Statemet
    ... > something simple and it is becomming a pain. ... > I then created a Query (all using the Design mode not quite ... You should be deriving field1 from the value in field2. ... You need to put quotes around the resulting string after the LIKE: ...
    (comp.databases.ms-access)
  • RE: Excel ActiveX TextBox Question
    ... You don't need a change event for a cell to change if you use the LinkedCell ... You need to get into design mode and set the linkedCell property ... process the full string after the user hits "Enter". ...
    (microsoft.public.excel.misc)
  • Re: Property is loosing value
    ... This property is only set at design time. ... > the property would need to utilize ViewState ... > Property As String ... >> that when I add the component the following code is added to the webform: ...
    (microsoft.public.dotnet.framework.aspnet.webcontrols)
  • RE: Excel ActiveX TextBox Question
    ... So what is the syntax for a string array? ... code a loop - put the characters in the array - and do a string compare. ... You need to get into design mode and set the linkedCell property ... View - Toolbars - Control toolbox. ...
    (microsoft.public.excel.misc)