Click here to Skip to main content
15,892,161 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalserver connection hung Pin
shee_dee8624-Apr-08 16:29
shee_dee8624-Apr-08 16:29 
GeneralRe: server connection hung Pin
Zaegra27-Apr-08 3:40
Zaegra27-Apr-08 3:40 
GeneralRe: server connection hung Pin
shee_dee8627-Apr-08 16:14
shee_dee8627-Apr-08 16:14 
GeneralIs it possible? Splash/login as seperate application Pin
ziperzappper24-Apr-08 12:05
ziperzappper24-Apr-08 12:05 
GeneralRe: Is it possible? Splash/login as seperate application Pin
Christian Graus24-Apr-08 12:26
protectorChristian Graus24-Apr-08 12:26 
GeneralRe: Is it possible? Splash/login as seperate application Pin
Mycroft Holmes24-Apr-08 17:05
professionalMycroft Holmes24-Apr-08 17:05 
Generalwriting data to word document Pin
Dwood24-Apr-08 6:33
Dwood24-Apr-08 6:33 
QuestionSetting RichTextBox.Rtf problem Pin
Justin Arnold24-Apr-08 4:50
Justin Arnold24-Apr-08 4:50 
Hey, I am trying to load an rtf document into a RichTextBox control from a file but nothing I do seems to work. I have tried the LoadFile method with no results as well as reading the file into a string and setting the Rtf property. Originally I thought there could be a problem with document so went into Word, created a new one, and saved it as an rtf. That still didn't work though no errors are being thrown. The Rtf property just returns to its default value and the Text property stays "". Anyone have an idea on what I am missing? Thanks!

This is one way I tried it...

Dim FSI As New FileStream("C:\RTFtest.rtf", FileMode.Open)<br />
        Dim SR As New StreamReader(FSI)<br />
        Dim strRTF As String<br />
        <br />
        strRTF = SR.ReadToEnd()<br />
        strRTF.Trim(vbCrLf)<br />
        rtbBox.Rtf = strRTF


And the 2nd way...

rtbBox.LoadFile("C:\RTFtest.rtf")
GeneralRe: Setting RichTextBox.Rtf problem Pin
John_Adams24-Apr-08 20:57
John_Adams24-Apr-08 20:57 
Generaltextbox.focus - won't listen Pin
nlarson1124-Apr-08 4:23
nlarson1124-Apr-08 4:23 
GeneralRe: textbox.focus - won't listen Pin
C1AllenS24-Apr-08 4:48
C1AllenS24-Apr-08 4:48 
GeneralRe: textbox.focus - won't listen Pin
nlarson1124-Apr-08 4:53
nlarson1124-Apr-08 4:53 
GeneralRe: textbox.focus - won't listen Pin
nlarson1124-Apr-08 11:21
nlarson1124-Apr-08 11:21 
GeneralRe: textbox.focus - won't listen Pin
Werries27-Apr-08 10:22
Werries27-Apr-08 10:22 
GeneralData Report Error Paramater ?_1 has no default value Pin
Vignesh Krishnan24-Apr-08 3:36
Vignesh Krishnan24-Apr-08 3:36 
GeneralRe: Data Report Error Paramater ?_1 has no default value Pin
darkelv24-Apr-08 20:11
darkelv24-Apr-08 20:11 
GeneralShell.Run Pin
mihai12324-Apr-08 2:52
mihai12324-Apr-08 2:52 
GeneralRe: Shell.Run Pin
Steven J Jowett24-Apr-08 4:56
Steven J Jowett24-Apr-08 4:56 
GeneralRe: Shell.Run Pin
mihai12324-Apr-08 7:27
mihai12324-Apr-08 7:27 
GeneralRe: Shell.Run Pin
Thomas Stockwell25-Apr-08 14:11
professionalThomas Stockwell25-Apr-08 14:11 
Generali am using this code in installer class . Pin
Piyush Vardhan Singh24-Apr-08 2:05
Piyush Vardhan Singh24-Apr-08 2:05 
GeneralRe: i am using this code in installer class . Pin
Christian Graus24-Apr-08 2:31
protectorChristian Graus24-Apr-08 2:31 
GeneralRe: i am using this code in installer class . Pin
Piyush Vardhan Singh24-Apr-08 2:46
Piyush Vardhan Singh24-Apr-08 2:46 
GeneralUsing VB.NET dll in VB Pin
ritz123424-Apr-08 0:41
ritz123424-Apr-08 0:41 
AnswerRe: Using VB.NET dll in VB Pin
Arjun Marwaha24-Apr-08 2:03
Arjun Marwaha24-Apr-08 2:03 

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.