CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Thread1

Page 1 of 80 1 2 3 4

Search: Search took 0.63 seconds.

  1. Thread: process dieng

    by Thread1
    Replies
    2
    Views
    793

    Re: process dieng

    Have you tried the System.Management (WMI)?

    Event handler:


    private void EventArrived(object source, EventArrivedEventArgs e)
    {
    // TODO
    }
  2. Replies
    34
    Views
    4,994

    Re: Basic inheritance question

    i don't see any problem. by the way, if you have different kinds of objects in a layer you can group them into different base class. so it is okay to have more than one base class in a layer.
  3. Re: How to get a constructor by reflection

    i think it is a ByRef-parameter in the abstract Mother class constructor. since the argument is a reference type, specifying ByRef as pass type will make it a pointer to pointer to MotherParameters....
  4. Replies
    4
    Views
    1,105

    Re: Get the link text

    ^lol



    echo "<a href=\"delete.php?file=$filename&folder=$folder\">$filename</a>";
  5. Re: Enable/Disable asp.net radio by javascript

    :D i think you should test it for different browser (i.e., firefox, opera, etc) though for i had encounter such thing that just because of an extra whitespace the "nextSibling" was affected.
  6. Re: Enable/Disable asp.net radio by javascript

    the ID of the element in your aspx file is not necessarily the ID in javascript, but rather the ID of your server control. ASP.NET assigns its own ID for every element in the page, and this ID which...
  7. Re: Enable/Disable asp.net radio by javascript

    you may use the control's ClientID property when in client-side..

    document.getElementById('<%=myTextBox.ClientID%>').disabled = true;

    hth
  8. Replies
    1
    Views
    1,221

    Re: A question regarding stored procedure.

    yes, just specify the column name in your SELECt statement.
  9. Replies
    1
    Views
    877

    Re: tree view search

    you may use treeView1.Nodes.Find()

    hth
  10. Re: Process monitoring using PsSetCreateProcessNotifyRoutine

    you can always use WMI, it is in the System.Management..
  11. Replies
    15
    Views
    2,512

    Re: text box and password

    private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
    {
    e.Handled = ((TextBox)sender).Text.IndexOf(e.KeyChar) != -1;
    }


    however you may...
  12. Replies
    9
    Views
    7,942

    Re: TreeView node - how to re-select?

    i think that's a normal behavior of the TreeView control. anyway, you can cheat it like this :D



    private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
    {
    ...
  13. Replies
    4
    Views
    1,580

    Re: Need help on concept (getting row numbers)

    sample vb code:


    Dim dt As New DataTable()

    Using cn As New OleDbConnection("<Connection string>")
    cn.Open()
    Using cm As OleDbCommand =...
  14. Replies
    4
    Views
    1,580

    Re: Need help on concept (getting row numbers)

    the node has a Tag property to store some information, you may use that to store the corresponding ID from your MDB.

    hth
  15. Replies
    11
    Views
    2,259

    Re: Problem retrieving (and using) POST vars

    you may use either of the following to persist your variables over submissions

    1) Session object
    2) Cache object
    3) Hidden fields
    4) Database
    5) etc

    but like what @cjard have said, it would...
  16. Replies
    3
    Views
    1,319

    Re: [vb.net 2008] client - server

    the registry thing sounds malicious to me. if you don't mind, where you going to use this app?
  17. Replies
    17
    Views
    3,178

    Re: Datagridview, Saving data in many Excel rows

    try to run your application in debug mode and then step through each line of your code in the loop. you may use the watch window to inspect the variable contents when the error triggers.

    i also...
  18. Replies
    2
    Views
    953

    Re: problem with sql update statement

    do you have primary keys on your tables? i would suggest to add primary keys to your tables. a primary key is a column or group of columns that uniquely identifies a record in a table. it will make...
  19. Replies
    6
    Views
    2,003

    Re: Removing Rows from DataGridView

    where are those empty records come from? anyway, instead of for-each try to use an index in a loop, don't increment the index if a record has been deleted inside the loop..



    dim i as...
  20. Thread: AutoNumber

    by Thread1
    Replies
    4
    Views
    1,538

    Re: AutoNumber

    there must be an error, it just doesn't show up because there is nothing in the catch block. try to put something in there, a message box i guess..
  21. Replies
    11
    Views
    2,259

    Re: Problem retrieving (and using) POST vars

    welcome to the forum! :wave:

    how does your previous script call this page?
  22. Replies
    1
    Views
    1,509

    Re: DataView - Disable automatic sorting?

    you may post some codes :)
  23. Replies
    6
    Views
    1,622

    Re: Simple beginners problem

    there is no SQL command that lets you create an empty database in MS Acess, unlike with the other databases. so I always include a blank MDB whenever my application needs to created a new Access...
  24. Thread: AutoNumber

    by Thread1
    Replies
    4
    Views
    1,538

    Re: AutoNumber

    try to add IDENTITY to field's description:

    ALTER TABLE [<table name>] ADD COLUMN [<column name>] INT IDENTITY;




    string strDatabase = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source= " +...
  25. Re: can you pass a string value within msgbox control?

    i think the "basic" now is different from the past.. It evolved :D

    MessageBox.Show(String.Format("Hello your name is : My name is {0}. I am {1} year(s) old.", name, age))
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured