Click here to Skip to main content
15,889,403 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Marshalling Variable-Size Array Pin
Dave Kreskowiak15-May-07 10:12
mveDave Kreskowiak15-May-07 10:12 
QuestionNotifyIcon and ContextMenuStrip Pin
viperbyte65015-May-07 5:54
viperbyte65015-May-07 5:54 
AnswerRe: NotifyIcon and ContextMenuStrip Pin
Dave Kreskowiak15-May-07 9:54
mveDave Kreskowiak15-May-07 9:54 
GeneralRe: NotifyIcon and ContextMenuStrip Pin
viperbyte65015-May-07 10:39
viperbyte65015-May-07 10:39 
GeneralRe: NotifyIcon and ContextMenuStrip Pin
Dave Kreskowiak15-May-07 12:51
mveDave Kreskowiak15-May-07 12:51 
QuestionDetermine Path of Windows Folder Pin
Rupesh Kumar Swami15-May-07 4:14
Rupesh Kumar Swami15-May-07 4:14 
AnswerRe: Determine Path of Windows Folder Pin
Dave Kreskowiak15-May-07 4:37
mveDave Kreskowiak15-May-07 4:37 
QuestionRe: Determine Path of Windows Folder Pin
Rupesh Kumar Swami15-May-07 6:08
Rupesh Kumar Swami15-May-07 6:08 
Thanks . one more question
i create some label with font type "Kristen ITC.TTF". i want to copy this font to Client system at run time if font is missing.

Following are the code
 Dim str As String<br />
        Try<br />
            Dim systemPath As String = Path.GetDirectoryName(Environment.GetFolderPath(Environment.SpecialFolder.System))<br />
            str = systemPath & "\fonts"<br />
            systemPath = systemPath & "\Fonts\ITCKRIST.TTF"<br />
            If File.Exists(systemPath) Then<br />
<br />
            Else<br />
                File.Copy(Application.StartupPath & "\ITCKRIST.TTF", str & "\ITCKRIST.TTF", True)<br />
            End If<br />
        Catch ex As Exception<br />
            MsgBox(ex.Message)<br />
        End Try


however this code copy the specified font to client system but there r no effect on my app.
Label are generated with Microsoft scan serief font.
i have no idea where i m wrong?
any idea or clue ?

thanks in advance

Rupesh Kumar Swami
Software Engineer,
Integrated Solution,
Bikaner (India)

AnswerRe: Determine Path of Windows Folder Pin
Dave Kreskowiak15-May-07 6:12
mveDave Kreskowiak15-May-07 6:12 
AnswerRe: Determine Path of Windows Folder Pin
The ANZAC15-May-07 13:14
The ANZAC15-May-07 13:14 
QuestionAccess verses SQL Server [modified] Pin
Werries15-May-07 3:56
Werries15-May-07 3:56 
AnswerRe: Access verses SQL Server Pin
Dave Kreskowiak15-May-07 4:25
mveDave Kreskowiak15-May-07 4:25 
AnswerRe: Access verses SQL Server Pin
Polymorpher15-May-07 17:53
Polymorpher15-May-07 17:53 
QuestionSelect all of the text in a textbox Pin
Marcus J. Smith15-May-07 3:36
professionalMarcus J. Smith15-May-07 3:36 
AnswerRe: Select all of the text in a textbox Pin
Dave Kreskowiak15-May-07 4:17
mveDave Kreskowiak15-May-07 4:17 
GeneralRe: Select all of the text in a textbox Pin
Marcus J. Smith15-May-07 5:45
professionalMarcus J. Smith15-May-07 5:45 
AnswerRe: Select all of the text in a textbox Pin
TwoFaced15-May-07 4:22
TwoFaced15-May-07 4:22 
GeneralRe: Select all of the text in a textbox Pin
Dave Kreskowiak15-May-07 4:30
mveDave Kreskowiak15-May-07 4:30 
GeneralRe: Select all of the text in a textbox Pin
Marcus J. Smith15-May-07 5:44
professionalMarcus J. Smith15-May-07 5:44 
GeneralRe: Select all of the text in a textbox Pin
TwoFaced15-May-07 5:55
TwoFaced15-May-07 5:55 
GeneralRe: Select all of the text in a textbox Pin
Dave Kreskowiak15-May-07 6:01
mveDave Kreskowiak15-May-07 6:01 
GeneralRe: Select all of the text in a textbox [modified] Pin
TwoFaced15-May-07 5:53
TwoFaced15-May-07 5:53 
GeneralRe: Select all of the text in a textbox Pin
Dave Kreskowiak15-May-07 6:08
mveDave Kreskowiak15-May-07 6:08 
GeneralRe: Select all of the text in a textbox Pin
TwoFaced15-May-07 6:28
TwoFaced15-May-07 6:28 
GeneralRe: Select all of the text in a textbox Pin
Dave Kreskowiak15-May-07 6:30
mveDave Kreskowiak15-May-07 6:30 

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.