Click here to Skip to main content
15,893,564 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCopy a whole directory with files and subfolders with progressbar in vb Pin
majan116-Mar-10 17:31
majan116-Mar-10 17:31 
AnswerRe: Copy a whole directory with files and subfolders with progressbar in vb Pin
Luc Pattyn6-Mar-10 18:09
sitebuilderLuc Pattyn6-Mar-10 18:09 
GeneralRe: Copy a whole directory with files and subfolders with progressbar in vb Pin
majan117-Mar-10 11:50
majan117-Mar-10 11:50 
AnswerRe: Copy a whole directory with files and subfolders with progressbar in vb Pin
Gregory Gadow8-Mar-10 6:55
Gregory Gadow8-Mar-10 6:55 
Questionstoring input box values? Pin
toyman78516-Mar-10 13:41
toyman78516-Mar-10 13:41 
AnswerRe: storing input box values? Pin
Scott Dorman6-Mar-10 13:59
professionalScott Dorman6-Mar-10 13:59 
AnswerRe: storing input box values? Pin
Luc Pattyn6-Mar-10 14:39
sitebuilderLuc Pattyn6-Mar-10 14:39 
Questionprinting from file Pin
Daniel Engelkes6-Mar-10 11:35
Daniel Engelkes6-Mar-10 11:35 
trying to print from a file but nothing prints. here is the code.

    Private Sub document_PrintPage(ByVal sender As Object, _<br />
       ByVal e As System.Drawing.Printing.PrintPageEventArgs) _<br />
           Handles docToPrint.PrintPage<br />
<br />
        Dim printFont As New System.Drawing.Font _<br />
     ("Arial", 12, System.Drawing.FontStyle.Regular)<br />
        ' Insert code to render the page here.<br />
        ' This code will be called when the control is drawn.<br />
<br />
        ' The following code will render a simple<br />
        ' message on the printed document.<br />
<br />
<br />
        If System.IO.File.Exists(SaveFileDialog1.FileName) Then<br />
            count = 0<br />
            menu2 = File.OpenText(SaveFileDialog1.FileName)<br />
            menu2 = System.IO.File.OpenText(SaveFileDialog1.FileName)<br />
            Do Until menu2.Peek = -1<br />
                menuitem(count) = menu2.ReadLine<br />
                'e.Graphics.DrawString(menuitem(count), printFont, _<br />
                'System.Drawing.Brushes.Black, 10, 10)<br />
                'e.Graphics.DrawString(writeline(count), printFont, _<br />
                'System.Drawing.Brushes.Black, 10, 10)<br />
                count = count + 1<br />
            Loop<br />
            For counter = 0 To count<br />
                e.Graphics.DrawString(menuitem(count), printFont, _<br />
                System.Drawing.Brushes.Black, 10, 10)<br />
                e.Graphics.DrawString(writeline(count), printFont, _<br />
                System.Drawing.Brushes.Black, 10, 10)<br />
            Next counter<br />
            menu2.Close()<br />
<br />
<br />
        End If<br />
<br />
<br />
<br />
        ' Draw the content.<br />
<br />
    End Sub

QuestionRecognize Multiple keys being pressed Pin
Pugman8126-Mar-10 9:57
Pugman8126-Mar-10 9:57 
AnswerRe: Recognize Multiple keys being pressed Pin
Luc Pattyn6-Mar-10 10:14
sitebuilderLuc Pattyn6-Mar-10 10:14 
Questiontab spacing Pin
Daniel Engelkes6-Mar-10 9:34
Daniel Engelkes6-Mar-10 9:34 
AnswerRe: tab spacing Pin
Luc Pattyn6-Mar-10 10:18
sitebuilderLuc Pattyn6-Mar-10 10:18 
AnswerRe: tab spacing Pin
Dave Doknjas6-Mar-10 10:53
Dave Doknjas6-Mar-10 10:53 
QuestionURGENT--setting width of column in excel throgh code+vb Pin
chetan_agarwal5-Mar-10 22:57
chetan_agarwal5-Mar-10 22:57 
AnswerRe: URGENT--setting width of column in excel throgh code+vb Pin
Dalek Dave5-Mar-10 23:35
professionalDalek Dave5-Mar-10 23:35 
Questiontext box in VB application Pin
chetan_agarwal5-Mar-10 19:46
chetan_agarwal5-Mar-10 19:46 
AnswerRe: text box in VB application Pin
DaveAuld5-Mar-10 20:35
professionalDaveAuld5-Mar-10 20:35 
Questiondynamically writing text into word document using vb.net Pin
vijaylumar5-Mar-10 18:46
vijaylumar5-Mar-10 18:46 
AnswerRe: dynamically writing text into word document using vb.net Pin
Paramu19736-Mar-10 2:57
Paramu19736-Mar-10 2:57 
Questionstoring xml in database [solved] Pin
TremaHD5-Mar-10 5:53
TremaHD5-Mar-10 5:53 
AnswerRe: storing xml in database Pin
Dave Kreskowiak5-Mar-10 7:34
mveDave Kreskowiak5-Mar-10 7:34 
GeneralRe: storing xml in database Pin
TremaHD5-Mar-10 9:41
TremaHD5-Mar-10 9:41 
GeneralRe: storing xml in database Pin
Dave Kreskowiak5-Mar-10 12:00
mveDave Kreskowiak5-Mar-10 12:00 
GeneralRe: storing xml in database Pin
TremaHD6-Mar-10 4:27
TremaHD6-Mar-10 4:27 
GeneralRe: storing xml in database Pin
Dave Kreskowiak6-Mar-10 18:03
mveDave Kreskowiak6-Mar-10 18: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.