473,474 Members | 1,324 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

adding a text box in visio

2 New Member
Hi. sorry im new in using vb in microsoft applications such as visio.

i would like to ask how to add a text box in visio using a command button in visual basic editor without making a new stencil. i can do it by making a new stencil made from a rectangle and by just removing its corners. but i would like to know how to add a text box w/o using such way.

also, in the text box, i would like the caption to be something like for example:

text
text

how to make some part of it go to the next line instead of continuing in one line like for example:
text text..

Thanks for the help
Jan 26 '12 #1
2 2624
supreme1832
2 New Member
Hi again. i already know how to make a text box but i still cant get the text to go to the next line. any help would be appreciated.
Feb 14 '12 #2
MrMancunian
569 Recognized Expert Contributor
Have you tried this?

Expand|Select|Wrap|Line Numbers
  1. "Text" & vbCrLf & "Text"
Feb 15 '12 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: charlesh3 | last post by:
Hi - I'd like to write a VB6 program to add a couple of text based clocks (for different time zones) to the systray so they'll always be visible. I can add an icon to the systray, but the API's...
32
by: Ed Jay | last post by:
A complete js newbie is asking this question: I have a form comprised of several questions, each answered with a radio button. I'd like to use onClick to bring up additional text at the end of...
4
by: VM | last post by:
Can I add text of different colors to a listview? Let's say I want to add, on one line, the text "This is my message" on my listview. Would it be possible to add this sentence to the listview...
2
by: Rachel Suddeth | last post by:
It seems that when I programattically add to the Text property (something like RichText1.Text += string1), I lose the formatting that was previously applied to the original Text. Is that how it's...
2
by: source | last post by:
I have a few hundered pages, where there is one particular text which needs to be formatted in a proper way. Currently the text comes from all different souces(regex files, database and the text is...
2
by: Daves | last post by:
I'm dynamically adding Hyperlink controls to a Label control. Can I somehow add " : " string after each hyperlink control so that the links appear like Link1 :: Link2 :: Link 3
6
by: monomaniac21 | last post by:
Hi all Is there a way to insert text into a mysql text field that already has text into it; without having first to extract the existing data and append the new text to that string variable and...
3
by: Metalzed | last post by:
Hi I want to have a log so in my table i got a TEXT field called LOGG. I want to update this field with new data by adding more text to field. I am using MS SQL 'test' + 'test' doesn't...
3
by: ziycon | last post by:
I'm using the below function to add in a <br/> tag to the cusrors current position when the button is clicked, its adding in the <br/> at the begining everytime and not where the cursor is, I'm...
5
by: Alex Dransfield | last post by:
I am trying to add text to a shape but I can't figure out how to do it.. I am using the method public void DrawOnDoc(object oMissing, Microsoft.Office.Interop.Word._Document oDoc) { ...
0
marktang
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,...
1
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...
0
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...
1
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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...

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.