Click here to Skip to main content
15,916,527 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionWindows Genuine Advantage (WGA) check in my own app Pin
sereby@gmail.com29-Apr-07 6:12
sereby@gmail.com29-Apr-07 6:12 
AnswerRe: Windows Genuine Advantage (WGA) check in my own app Pin
Dave Kreskowiak29-Apr-07 7:17
mveDave Kreskowiak29-Apr-07 7:17 
QuestionFunction does not return value on all code paths [modified] Pin
Pradeep Shamarao29-Apr-07 4:44
Pradeep Shamarao29-Apr-07 4:44 
AnswerRe: Function does not return value on all code paths Pin
kubben29-Apr-07 5:37
kubben29-Apr-07 5:37 
GeneralRe: Function does not return value on all code paths Pin
Pradeep Shamarao29-Apr-07 20:01
Pradeep Shamarao29-Apr-07 20:01 
AnswerRe: Function does not return value on all code paths Pin
Guffa29-Apr-07 8:03
Guffa29-Apr-07 8:03 
QuestionTooltip with a close button. Pin
udaykatakam28-Apr-07 19:34
udaykatakam28-Apr-07 19:34 
AnswerRe: Tooltip with a close button. Pin
kubben29-Apr-07 2:28
kubben29-Apr-07 2:28 
Are you taking about a web application? If you are the LinkButton has a property called ToolTip. Just set that property to the correct ToolTip. If you want the browser to close you have to do it in javascript.

Here's some vb code for .net 1.1
Private Sub closeWindow()
        Dim myScript As New StringBuilder
        With myScript
            .Append("<script>")
            .Append(Environment.NewLine)
            'Close the  window
            .Append("self.close()")
            .Append(Environment.NewLine)
            .Append("</script>")
            Page.RegisterStartupScript("close window", .ToString())
        End With
    End Sub


If you are using .net 2.0 the registerstartupscript is a little different.

HOpe that helps.
Ben
GeneralRe: Tooltip with a close button. Pin
udaykatakam29-Apr-07 17:27
udaykatakam29-Apr-07 17:27 
GeneralRe: Tooltip with a close button. Pin
Christian Graus29-Apr-07 18:03
protectorChristian Graus29-Apr-07 18:03 
AnswerRe: Tooltip with a close button. Pin
Arun.Immanuel29-Apr-07 4:45
Arun.Immanuel29-Apr-07 4:45 
GeneralRe: Tooltip with a close button. Pin
udaykatakam29-Apr-07 17:25
udaykatakam29-Apr-07 17:25 
GeneralRe: Tooltip with a close button. Pin
Arun.Immanuel29-Apr-07 18:02
Arun.Immanuel29-Apr-07 18:02 
QuestionCompile and Execute C/C++ using vb.net Pin
Senthil S28-Apr-07 16:49
Senthil S28-Apr-07 16:49 
AnswerRe: Compile and Execute C/C++ using vb.net Pin
Dave Kreskowiak28-Apr-07 17:02
mveDave Kreskowiak28-Apr-07 17:02 
AnswerRe: Compile and Execute C/C++ using vb.net Pin
Christian Graus28-Apr-07 17:03
protectorChristian Graus28-Apr-07 17:03 
QuestionCheck the Activation Status of Windows? Pin
GNX-Viper28-Apr-07 11:14
GNX-Viper28-Apr-07 11:14 
AnswerRe: Check the Activation Status of Windows? Pin
Dave Kreskowiak28-Apr-07 12:48
mveDave Kreskowiak28-Apr-07 12:48 
GeneralRe: Check the Activation Status of Windows? Pin
GNX-Viper28-Apr-07 13:16
GNX-Viper28-Apr-07 13:16 
QuestionWorking with the PDF OCX Pin
Nasty_p28-Apr-07 6:58
Nasty_p28-Apr-07 6:58 
QuestionMS Access Pin
parvej0128-Apr-07 6:13
parvej0128-Apr-07 6:13 
AnswerRe: MS Access Pin
Tarakeshwar Reddy28-Apr-07 9:46
professionalTarakeshwar Reddy28-Apr-07 9:46 
Questionregex Pin
balakpn28-Apr-07 3:43
balakpn28-Apr-07 3:43 
AnswerRe: regex Pin
Dave Kreskowiak28-Apr-07 5:25
mveDave Kreskowiak28-Apr-07 5:25 
GeneralRe: regex Pin
balakpn30-Apr-07 2:30
balakpn30-Apr-07 2: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.