PC Review


Reply
Thread Tools Rate Thread

breaking lines

 
 
sophie
Guest
Posts: n/a
 
      14th Jan 2004
hello,

im using this code to open a new outlook msg from my vb
prog:

i declare this:

Declare Function ShellExecute Lib "shell32.dll"
Alias "ShellExecuteA" _
(ByVal hwnd As Long, ByVal lpOperation As String,
_
ByVal lpFile As String, ByVal lpParameters As
String, _
ByVal lpDirectory As String, ByVal nShowCmd As
Long) As Long

and this the command to open the program:

Private Sub Command1_Click()
Dim R As Long
R = ShellExecute
(Me.hwnd, "Open", "private.php?do=newpm&u=?
subject=Broken% 0Link&body=Check%
20your%20Links,vbNullString, App.Path,
vbNormalFocus)
End Sub

this code works great but my simple question is: how do i
change things in the text like:breaking lines, right
alignment, font styles and so...
i know that one way to break lines is:"%0a%0d"
i would like to get a list describing all the things i
can do in the outlook text and how i do them in vb
(like in my example:"%0a%0d")

hope you can help me, it's very very important
thanks ( :


 
Reply With Quote
 
 
 
 
Dave Patrick
Guest
Posts: n/a
 
      14th Jan 2004
Not sure why you would ask here. Ask in outlook.program_vba

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]
http://www.microsoft.com/protect.

"sophie" wrote:
| hello,
|
| im using this code to open a new outlook msg from my vb
| prog:
|
| i declare this:
|
| Declare Function ShellExecute Lib "shell32.dll"
| Alias "ShellExecuteA" _
| (ByVal hwnd As Long, ByVal lpOperation As String,
| _
| ByVal lpFile As String, ByVal lpParameters As
| String, _
| ByVal lpDirectory As String, ByVal nShowCmd As
| Long) As Long
|
| and this the command to open the program:
|
| Private Sub Command1_Click()
| Dim R As Long
| R = ShellExecute
| (Me.hwnd, "Open", "private.php?do=newpm&u=?
| subject=Broken% 0Link&body=Check%
| 20your%20Links,vbNullString, App.Path,
| vbNormalFocus)
| End Sub
|
| this code works great but my simple question is: how do i
| change things in the text like:breaking lines, right
| alignment, font styles and so...
| i know that one way to break lines is:"%0a%0d"
| i would like to get a list describing all the things i
| can do in the outlook text and how i do them in vb
| (like in my example:"%0a%0d")
|
| hope you can help me, it's very very important
| thanks ( :
|
|


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I stop lines of text breaking where I don't want them to? Diet Simon Microsoft Word New Users 4 12th Mar 2010 02:41 PM
How do I stop Word from breaking words apart at the end of lines? Charlie Microsoft Word Document Management 1 23rd Jan 2009 01:57 AM
Breaking Long Lines in Batch moleskyca1@yahoo.com Microsoft Windows 2000 CMD Promt 2 16th Jul 2007 04:24 PM
Breaking text into two parts in a report after 13 lines. =?Utf-8?B?Tnl4Mzc=?= Microsoft Access VBA Modules 4 21st Sep 2006 02:12 PM
Breaking Lines Into Pieces BR Microsoft Access 3 18th Nov 2004 09:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:09 PM.