Click here to Skip to main content
15,897,968 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: About API call Pin
Christian Graus15-Dec-08 10:09
protectorChristian Graus15-Dec-08 10:09 
GeneralRe: About API call Pin
Colin Angus Mackay14-Dec-08 23:10
Colin Angus Mackay14-Dec-08 23:10 
GeneralRe: About API call Pin
Christian Graus15-Dec-08 10:10
protectorChristian Graus15-Dec-08 10:10 
GeneralRe: About API call Pin
Luc Pattyn15-Dec-08 1:29
sitebuilderLuc Pattyn15-Dec-08 1:29 
QuestionAPI call from VB.net Pin
hribek2514-Dec-08 21:37
hribek2514-Dec-08 21:37 
AnswerRe: API call from VB.net Pin
Ben Fair15-Dec-08 2:02
Ben Fair15-Dec-08 2:02 
AnswerRe: API call from VB.net Pin
Thomas Stockwell17-Dec-08 5:39
professionalThomas Stockwell17-Dec-08 5:39 
QuestionConvert HTML into RTF Pin
JR21214-Dec-08 21:22
JR21214-Dec-08 21:22 
Hi I need to convert HTML into RTF.
becourse I did not find a nice solution I let word do it
Sub HTML2RTF(ByVal oWord As Microsoft.Office.Interop.Word.Application, ByVal sHTMLFileName As String)
  Const wdStory = 6
  Const wdLine = 5
  Const wdExtend = 1
  Const wdCharacter = 1
  Const wdFormatRTF = 6
  With oWord
    .Documents.Open(FileName:=sHTMLFileName)
    .Selection.EndKey(Unit:=wdStory)
    .Selection.MoveUp(Unit:=wdLine, Count:=2, Extend:=wdExtend)
    .Selection.EndKey(Unit:=wdLine, Extend:=wdExtend)
    .Selection.Delete(Unit:=wdCharacter, Count:=1)
    Dim fi As New IO.FileInfo(sHTMLFileName)
    Dim sRTFFileName As String = fi.FullName.Substring(0, fi.FullName.Length - fi.Extension.Length) & ".rtf"
    .ActiveDocument.SaveAs(FileName:=sRTFFileName, FileFormat:=wdFormatRTF)
    .ActiveWindow.Close()
  End With
End Sub


However this in not the way to do it! Has someone a good idee
AnswerRe: Convert HTML into RTF Pin
Christian Graus14-Dec-08 21:49
protectorChristian Graus14-Dec-08 21:49 
GeneralRe: Convert HTML into RTF Pin
JR21214-Dec-08 23:11
JR21214-Dec-08 23:11 
GeneralRe: Convert HTML into RTF Pin
Dave Kreskowiak15-Dec-08 4:20
mveDave Kreskowiak15-Dec-08 4:20 
QuestionCalling webservice with forms authentication Pin
AlexeiXX314-Dec-08 16:25
AlexeiXX314-Dec-08 16:25 
Questionsend email Pin
angels77714-Dec-08 2:33
angels77714-Dec-08 2:33 
AnswerRe: send email Pin
Colin Angus Mackay14-Dec-08 4:20
Colin Angus Mackay14-Dec-08 4:20 
AnswerRe: send email Pin
LloydA11114-Dec-08 6:55
LloydA11114-Dec-08 6:55 
AnswerRe: send email Pin
Christian Graus14-Dec-08 8:29
protectorChristian Graus14-Dec-08 8:29 
GeneralRe: send email Pin
astanton197815-Dec-08 8:08
astanton197815-Dec-08 8:08 
Questionsend email Pin
angels77714-Dec-08 2:19
angels77714-Dec-08 2:19 
AnswerRe: send email Pin
Christian Graus14-Dec-08 8:29
protectorChristian Graus14-Dec-08 8:29 
AnswerRe: send email Pin
Charl14-Dec-08 20:57
Charl14-Dec-08 20:57 
QuestionEnable/Disable Modem Pin
Member 216783614-Dec-08 1:53
Member 216783614-Dec-08 1:53 
Question[Message Deleted] Pin
njote13-Dec-08 19:36
njote13-Dec-08 19:36 
AnswerRe: help me Pin
Christian Graus13-Dec-08 22:30
protectorChristian Graus13-Dec-08 22:30 
QuestionHow to open an existing excel spreadsheet using vb.net Pin
samsonx12-Dec-08 22:15
samsonx12-Dec-08 22:15 
AnswerRe: How to open an existing excel spreadsheet using vb.net Pin
Mycroft Holmes12-Dec-08 22:47
professionalMycroft Holmes12-Dec-08 22:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.