Click here to Skip to main content
15,886,362 members
Home / Discussions / C#
   

C#

 
GeneralRe: DirectShow and C# Pin
Brian JR15-Jul-03 8:57
Brian JR15-Jul-03 8:57 
GeneralRe: DirectShow and C# Pin
Brian JR17-Jul-03 9:03
Brian JR17-Jul-03 9:03 
GeneralRe: DirectShow and C# Pin
Brian JR15-Jul-03 8:04
Brian JR15-Jul-03 8:04 
GeneralRe: DirectShow and C# Pin
Brian JR15-Jul-03 8:50
Brian JR15-Jul-03 8:50 
QuestionHow can I Set a Key in a ImageList?? Pin
Acid197814-Jul-03 11:13
Acid197814-Jul-03 11:13 
GeneralPassing data through tiers with collections Pin
haezeban14-Jul-03 10:33
haezeban14-Jul-03 10:33 
GeneralOpera Browser - GetClassName! Pin
jesus4u14-Jul-03 10:18
jesus4u14-Jul-03 10:18 
GeneralRe: Opera Browser - GetClassName! Pin
dynamic14-Jul-03 11:04
dynamic14-Jul-03 11:04 
i think you got my answer to your question on the dotnet forum , but here it is anyway Smile | :)
btw it's vb.net ( this is a C# section ) Wink | ;)



VB:




<font color="blue">Private</font> <font color="blue">Declare</font> <font color="blue">Function</font> FindWindow <font color="blue">Lib</font> "user32.dll" <font color="blue">Alias</font> "FindWindowA" (<font color="blue">ByVal</font> lpClassName <font color="blue">As String</font>, <font color="blue">ByVal</font> lpWindowName <font color="blue">As String</font>) <font color="blue">As Integer</font>
    <font color="blue">Private</font> <font color="blue">Declare</font> <font color="blue">Function</font> GetClassName <font color="blue">Lib</font> "user32.dll" <font color="blue">Alias</font> "GetClassNameA" (<font color="blue">ByVal</font> hwnd <font color="blue">As Integer</font>, <font color="blue">ByVal</font> lpClassName <font color="blue">As</font> System.Text.StringBuilder, <font color="blue">ByVal</font> nMaxCount <font color="blue">As Integer</font>) <font color="blue">As Integer</font>


    <font color="blue">Private</font> <font color="blue">Sub</font> Button1_Click(<font color="blue">ByVal</font> sender <font color="blue">As</font> System.Object, <font color="blue">ByVal</font> e <font color="blue">As</font> System.EventArgs) <font color="blue">Handles</font> Button1.Click
        <font color="blue">Dim</font> x <font color="blue">As Integer</font> = FindWindow("OpWindow", vbNullString)
        <font color="blue">Dim</font> s <font color="blue">As</font> System.Text.StringBuilder = <font color="blue">New</font> System.Text.StringBuilder(255)
        GetClassName(x, s, s.Capacity)
        MessageBox.Show("the opera browser's hwnd is: " & x & Chr(13) _
        & "the window name is: " & s.ToString)
    <font color="blue">End</font> <font color="blue">Sub</font>










Vb:
<font color="blue">Public Function</font> TwinsOnWay(<font color="blue">ByVal</font> twins <font color="blue">As String</font>) <font color="blue">As String <br>     Select Case</font> twins<br>         <font color="blue">Case</font> "Gender" <br>             <font color="blue">Return</font> "Two Girls" <br>     <font color="blue">End Select <br> End Function</font> <br> 


Generalxml comment tags Pin
stonee7414-Jul-03 9:06
stonee7414-Jul-03 9:06 
GeneralRe: xml comment tags Pin
Daniel Turini14-Jul-03 9:36
Daniel Turini14-Jul-03 9:36 
GeneralRe: xml comment tags Pin
Eric Gunnerson (msft)14-Jul-03 11:27
Eric Gunnerson (msft)14-Jul-03 11:27 
GeneralWebBrowser bug- application won't die. Pin
Bog14-Jul-03 8:59
Bog14-Jul-03 8:59 
QuestionHow can I make one Form show another? Pin
Anonymous14-Jul-03 8:26
Anonymous14-Jul-03 8:26 
AnswerRe: How can I make one Form show another? Pin
J. Dunlap14-Jul-03 8:34
J. Dunlap14-Jul-03 8:34 
GeneralRe: How can I make one Form show another? Pin
Anonymous14-Jul-03 8:36
Anonymous14-Jul-03 8:36 
GeneralRe: How can I make one Form show another? Pin
J. Dunlap14-Jul-03 8:44
J. Dunlap14-Jul-03 8:44 
GeneralActually I do have one more question Pin
Anonymous14-Jul-03 8:46
Anonymous14-Jul-03 8:46 
GeneralRe: Actually I do have one more question Pin
J. Dunlap14-Jul-03 8:48
J. Dunlap14-Jul-03 8:48 
GeneralNope, no love. Pin
Anonymous14-Jul-03 8:53
Anonymous14-Jul-03 8:53 
GeneralFixed it, kinda Pin
frogb0x14-Jul-03 8:57
frogb0x14-Jul-03 8:57 
GeneralRe: Fixed it, kinda Pin
J. Dunlap14-Jul-03 8:59
J. Dunlap14-Jul-03 8:59 
GeneralRe: Fixed it, kinda Pin
frogb0x14-Jul-03 9:00
frogb0x14-Jul-03 9:00 
GeneralDirectShow .NET HELP!!! Pin
Brian JR14-Jul-03 8:17
Brian JR14-Jul-03 8:17 
GeneralRe: DirectShow .NET HELP!!! Pin
Mazdak14-Jul-03 9:30
Mazdak14-Jul-03 9:30 
GeneralNavigating to a new page and Communicating with C++ Pin
pdunn14-Jul-03 7:48
pdunn14-Jul-03 7:48 

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.