I am a beginner programmer in VB and need help. If I have a string with a
return, how do I exchange the return with a return and tab?
Currently I am entering a string with EnterKeyBehavio r enabled so I get text
and returns within the text string. However, I need to replace the return
string with return plus tab. How do I do this?
Thanks 3 1355
Toby,
There are different ways, I mostly do this kind of things just replacing the
standard ASCI code what is used for that.
By instance chr(13) is the Cariage return CR http://msdn.microsoft.com/library/de...es_chart_1.asp
I hope this helps,
Cor
"TobyD" <To***@discussi ons.microsoft.c om> schreef in bericht
news:99******** *************** ***********@mic rosoft.com... I am a beginner programmer in VB and need help. If I have a string with a return, how do I exchange the return with a return and tab?
Currently I am entering a string with EnterKeyBehavio r enabled so I get text and returns within the text string. However, I need to replace the return string with return plus tab. How do I do this?
Thanks
Great but what vb command do I use to actually pull apart the text to do
this?
Thanks for your help
"Cor Ligthert [MVP]" <no************ @planet.nl> wrote in message
news:OD******** ******@TK2MSFTN GP09.phx.gbl... Toby,
There are different ways, I mostly do this kind of things just replacing the standard ASCI code what is used for that.
By instance chr(13) is the Cariage return CR
http://msdn.microsoft.com/library/de...es_chart_1.asp
I hope this helps,
Cor
"TobyD" <To***@discussi ons.microsoft.c om> schreef in bericht news:99******** *************** ***********@mic rosoft.com...I am a beginner programmer in VB and need help. If I have a string with a return, how do I exchange the return with a return and tab?
Currently I am entering a string with EnterKeyBehavio r enabled so I get text and returns within the text string. However, I need to replace the return string with return plus tab. How do I do this?
Thanks
Great but what vb command do I use to actually pull apart the text to do
this?
"Cor Ligthert [MVP]" <no************ @planet.nl> wrote in message
news:OD******** ******@TK2MSFTN GP09.phx.gbl... Toby,
There are different ways, I mostly do this kind of things just replacing the standard ASCI code what is used for that.
By instance chr(13) is the Cariage return CR
http://msdn.microsoft.com/library/de...es_chart_1.asp
I hope this helps,
Cor
"TobyD" <To***@discussi ons.microsoft.c om> schreef in bericht news:99******** *************** ***********@mic rosoft.com...I am a beginner programmer in VB and need help. If I have a string with a return, how do I exchange the return with a return and tab?
Currently I am entering a string with EnterKeyBehavio r enabled so I get text and returns within the text string. However, I need to replace the return string with return plus tab. How do I do this?
Thanks
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Jerry Werner |
last post by:
I need to replace my email address on hundreds of web pages with a new
address (in a graphic, not a mailto) in order to thwart the email
harvesters that spammers are using. Ideally, I'd like to do so while
maintaining the same file dates.
My web site is currently hosted on a Sun/Solaris/Apache platform.
Does anyone know of a reliable way to recursively replace one text
string with another, either using unix commands, a proven perl...
|
by: tmb |
last post by:
I need to search a folder & sub-folders for key words in ASP files...
I can open the files with Notepad and see the text string there...
But when I try to navigate to the folder with Windows Explorer, right click
and 'search for word in file' ... it reports back that the text string was
not found.
I've fooled around with the 'advanced' settings but can't seem to make it
work... even when I'm searching a single folder with a single...
|
by: charlie_M |
last post by:
I have the following code:
<script type=text/javascript>
function hide_tooltip(){
var hp = document.getElementById("tooltipper");
hp.style.left=0;
hp.style.top=0;
hp.style.width=1;
hp.style.height=1;
hp.style.padding=0;
|
by: UJ |
last post by:
I have need to convert a text string (with formatting) to an image. This is
so that I can resize the image to different sizes and the formatting stays
exactly the same regardless of the size. I actually want the font size to
increase/decrease as the image grows/shrinks much the way text does in a
flash object. Is there an easy way to do this programmatically? It needs to
be done behind the scenes on my web site - user enters some text - I...
|
by: contact |
last post by:
Hi, I'm trying to use the following to replace a text string in all the
links on a page:
var arrLinks = document.links;
for(var LinkIterator = 0; LinkIterator < arrLinks.length;
LinkIterator++) {
if(arrLinks.firstChild.nodeValue == "More
Information"){
arrLinks.firstChild.nodeValue = "More";
};
| |
by: electrixnow |
last post by:
in MS VC++ Express I need to know how to get from one comma delimited
text string to many strings.
from this:
main_string = "onE,Two,Three , fouR,five, six "
to these:
string1 = "one"
|
by: geotso |
last post by:
Here is the scenario:
1. I have a table (tblCalendar) with the following fields:
caldID
caldDate
caldTitle
caldInfo
nWinW
nWinH
|
by: baxy77bax |
last post by:
hi,
i have a question about replacing text after a defined string.
for example :
the text goes.
##|######|#######_##| ########...
##|######|#######_##|########...
...
|
by: wildman |
last post by:
RE: Replacing Text without changing case??
This code works great, but case has to be exact.
Research.Text = Research.Text.Replace(textboxSearch.Text, "<b>" +
textboxSearch.Text + "</b>")
I found some c# code, but I can't make it work in vb.net:
|
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: 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: 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...
| |