Click here to Skip to main content
15,919,613 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to insert lines of text into an existing text file? Pin
MJay8-Mar-04 2:10
MJay8-Mar-04 2:10 
GeneralRe: How to insert lines of text into an existing text file? Pin
Dave Kreskowiak8-Mar-04 2:46
mveDave Kreskowiak8-Mar-04 2:46 
AnswerRe: How to insert lines of text into an existing text file? Pin
Dave Kreskowiak8-Mar-04 2:42
mveDave Kreskowiak8-Mar-04 2:42 
QuestionFormatting a diskette? Pin
KreativeKai3-Mar-04 8:34
professionalKreativeKai3-Mar-04 8:34 
AnswerRe: Formatting a diskette? Pin
Mike Ellison3-Mar-04 10:22
Mike Ellison3-Mar-04 10:22 
AnswerRe: Formatting a diskette? Pin
Dave Kreskowiak3-Mar-04 10:37
mveDave Kreskowiak3-Mar-04 10:37 
GeneralRe: Formatting a diskette? Pin
KreativeKai15-Mar-04 5:50
professionalKreativeKai15-Mar-04 5:50 
GeneralRe: Formatting a diskette? Pin
Dave Kreskowiak15-Mar-04 6:50
mveDave Kreskowiak15-Mar-04 6:50 
You can't pass that information to SHFormatDrive, but you can set the volume label after the disk is successfully formatted. You can use SetVolumeLabel, declared in kernel32, by passing in the root path of the drive, like A:\, and the name you want:
    Private Declare Function SetVolumeLabel Lib "kernel32" _
        Alias "SetVolumeLabelA" ( _
        ByVal rootPath As String, _
        ByVal newLabel As String) _
        As Integer
 
    Dim rc as Integer
 
    rc = SetVolumeLabel( "A:\", "LabelTest" )



RageInTheMachine9532
QuestionHow can i login to yahoo from vb.net??? Pin
drcyrus3d3-Mar-04 6:24
drcyrus3d3-Mar-04 6:24 
Questionwat is subclassing and how is it used? Pin
gpa20003-Mar-04 5:51
gpa20003-Mar-04 5:51 
AnswerRe: wat is subclassing and how is it used? Pin
Mike Ellison3-Mar-04 7:50
Mike Ellison3-Mar-04 7:50 
Questionwhat is hWnd and how is it used Pin
gpa20003-Mar-04 5:49
gpa20003-Mar-04 5:49 
AnswerRe: what is hWnd and how is it used Pin
Dave Kreskowiak3-Mar-04 10:10
mveDave Kreskowiak3-Mar-04 10:10 
GeneralOpening a website when button pressed Pin
GaryKoh3-Mar-04 3:26
GaryKoh3-Mar-04 3:26 
GeneralRe: Opening a website when button pressed Pin
gpa20003-Mar-04 5:45
gpa20003-Mar-04 5:45 
GeneralRe: Opening a website when button pressed Pin
GaryKoh6-Mar-04 16:18
GaryKoh6-Mar-04 16:18 
GeneralPrint at the center Pin
terence20042-Mar-04 21:46
terence20042-Mar-04 21:46 
GeneralRe: Print at the center Pin
Dave Kreskowiak3-Mar-04 2:01
mveDave Kreskowiak3-Mar-04 2:01 
GeneralRe: Print at the center Pin
terence20043-Mar-04 13:53
terence20043-Mar-04 13:53 
GeneralRe: Print at the center Pin
Dave Kreskowiak3-Mar-04 18:14
mveDave Kreskowiak3-Mar-04 18:14 
GeneralSet assignment not supported Pin
Reed Eichner2-Mar-04 19:28
Reed Eichner2-Mar-04 19:28 
GeneralRe: Set assignment not supported Pin
Dave Kreskowiak3-Mar-04 1:32
mveDave Kreskowiak3-Mar-04 1:32 
GeneralCreating Access Database using Code Pin
vister722-Mar-04 10:18
vister722-Mar-04 10:18 
GeneralRe: Creating Access Database using Code Pin
Mike Ellison2-Mar-04 13:51
Mike Ellison2-Mar-04 13:51 
GeneralRe: Creating Access Database using Code Pin
vister722-Mar-04 14:01
vister722-Mar-04 14:01 

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.