Click here to Skip to main content
15,924,828 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: how we hide destop and task Bar in asp.net and vb.net Pin
Sathesh Sakthivel25-Apr-07 0:23
Sathesh Sakthivel25-Apr-07 0:23 
GeneralRe: how we hide destop and task Bar in asp.net and vb.net Pin
Suhail Shahab25-Apr-07 19:27
Suhail Shahab25-Apr-07 19:27 
AnswerRe: how we hide destop and task Bar in asp.net and vb.net Pin
Dave Kreskowiak25-Apr-07 3:49
mveDave Kreskowiak25-Apr-07 3:49 
GeneralRe: how we hide destop and task Bar in asp.net and vb.net Pin
Suhail Shahab25-Apr-07 19:20
Suhail Shahab25-Apr-07 19:20 
GeneralRe: how we hide destop and task Bar in asp.net and vb.net Pin
Dave Kreskowiak26-Apr-07 13:42
mveDave Kreskowiak26-Apr-07 13:42 
QuestionReports to EXCEL Pin
venkata lakshmi prasanna24-Apr-07 20:04
venkata lakshmi prasanna24-Apr-07 20:04 
QuestionSetting Wrap text for a label in VB.Net Pin
venkata lakshmi prasanna24-Apr-07 20:02
venkata lakshmi prasanna24-Apr-07 20:02 
AnswerRe: Setting Wrap text for a label in VB.Net Pin
MatrixCoder24-Apr-07 20:23
MatrixCoder24-Apr-07 20:23 
This probably isn't the best example, but it's the only thing I could think of:

Dim StartVar As Integer = 5
Dim EndVar As Integer = Label1.Text.Length
Dim Tempstring As String

While Not StartVar < 5
  Tempstring = Label1.Text.Insert(StartVar, ControlChars.NewLine)
  Label1.Text = Tempstring
  StartVar += 5
  If StartVar >= EndVar Then
    Exit While
  End If
End While

This example inserts a new line every 5 characters, and then stops if it runs out of characters. Just replace StartVar with the number of characters you want to have on each line of your label.

Hope this helps!




Trinity: Neo... nobody has ever done this before.
Neo: That's why it's going to work.

AnswerRe: Setting Wrap text for a label in VB.Net Pin
Dave Kreskowiak25-Apr-07 3:46
mveDave Kreskowiak25-Apr-07 3:46 
QuestionSerial port configuration dialog [modified] Pin
Nick Alexeev24-Apr-07 16:22
professionalNick Alexeev24-Apr-07 16:22 
AnswerRe: Serial port configuration dialog Pin
Dave Kreskowiak24-Apr-07 18:02
mveDave Kreskowiak24-Apr-07 18:02 
NewsRe: Serial port configuration dialog Pin
Nick Alexeev5-Jun-07 10:22
professionalNick Alexeev5-Jun-07 10:22 
QuestionAdding proxies to my internet browser Pin
itsryan24-Apr-07 15:59
itsryan24-Apr-07 15:59 
AnswerRe: Adding proxies to my internet browser Pin
Dave Kreskowiak24-Apr-07 18:01
mveDave Kreskowiak24-Apr-07 18:01 
QuestionNeed help with datagridview problem! Pin
Hansduncan24-Apr-07 10:54
Hansduncan24-Apr-07 10:54 
QuestionUn-Zipping Pin
TheFoZ24-Apr-07 10:06
TheFoZ24-Apr-07 10:06 
AnswerRe: Un-Zipping Pin
Dave Kreskowiak24-Apr-07 18:05
mveDave Kreskowiak24-Apr-07 18:05 
GeneralRe: Un-Zipping Pin
TheFoZ24-Apr-07 20:21
TheFoZ24-Apr-07 20:21 
Questionemulate keyboard. Pin
WorkingAcc24-Apr-07 5:15
WorkingAcc24-Apr-07 5:15 
AnswerRe: emulate keyboard. Pin
Dave Sexton24-Apr-07 22:32
Dave Sexton24-Apr-07 22:32 
GeneralRe: emulate keyboard. Pin
WorkingAcc3-May-07 0:35
WorkingAcc3-May-07 0:35 
QuestionRemove the focus from the form Pin
chakor12324-Apr-07 4:05
chakor12324-Apr-07 4:05 
AnswerRe: Remove the focus from the form Pin
Dave Kreskowiak24-Apr-07 18:11
mveDave Kreskowiak24-Apr-07 18:11 
QuestionReading detached digital signature(p7s) file Pin
priyank8524-Apr-07 3:53
priyank8524-Apr-07 3:53 
QuestionMaking a Phone Call through PC Using Modem Pin
S.Rajeshwar24-Apr-07 3:43
S.Rajeshwar24-Apr-07 3:43 

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.