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

Search:

Type: Posts; User: sotoasty

Page 1 of 59 1 2 3 4

Search: Search took 0.08 seconds.

  1. Replies
    11
    Views
    846

    Re: C++ callback to C#

    did you try changing the definition of...



    public static extern Int32 DVR_GetCameraInfo(UIntPtr hServer, ref ST_CAMERA_INFO lpstCameraInfo);


    to
  2. Re: C# Foreach statement not working on datagrid

    The count of cells you have defined is called CellCount. This is the variable you are trying to display. However, in your foreach, you are incrementing the variable RowCount. Also, in the...
  3. Replies
    5
    Views
    804

    Re: Column pulling of a database

    What do you do with the datatable? Does it have to be in a data table? If not, create an entity class that mimics the database table, and use a reader to populate the class. Create a collection,...
  4. Replies
    13
    Views
    1,400

    Re: Building a test - Basic C#

    I had a few strange things happen. On one of the missed answers the correct answer didn't show up like on others. At some points during the quiz, I was not able to select an answer and have to...
  5. Replies
    2
    Views
    653

    Re: ow to get local time from internet?

    First, look here.

    Internet Time

    Since you already have an application to stop the game, put a time function in that application to check the internet time and re-set the system clock. That way...
  6. Re: Try Catch , is it enough to prevent crash and error messages ?

    You really need to think about what you want to do. For example. In you first bit of code, if an error occurs in "function1" then function 2 gets skipped. Thinking about it using your e-mail...
  7. Replies
    2
    Views
    367

    Re: Retrieve information pro command prompt

    Not sure but it sounds like it is waiting on input again. So your help text was displayed and now it is looking for maybe the "Exit command?

    Try adding

    input.WriteLine("exit");

    After...
  8. Re: VB6 - Need help w SendMessage to pass credentials to textbox on another applicati

    You will probably want to use the "SENDMESSAGE" api. If you use Spy++, there is an option to show the Messages that the window is receiving. So if you click on a Menu, you will see what message is...
  9. Re: VB6 - Need help w SendMessage to pass credentials to textbox on another applicati

    Well in this case, it will most definitely be much more difficult. This will have to be a multi-step process. You will need to use the FindWindowEX function that allows you to limit the search for...
  10. Re: VB6 - Need help w SendMessage to pass credentials to textbox on another applicati

    change....


    Dim strItems(1, 1) As Long

    to .....


    Dim strItems(2, 1) As Long
  11. Re: VB6 - Need help w SendMessage to pass credentials to textbox on another applicati

    You don't tell us what the error is, but it could be that you have 3 edit boxes, but you strItems is defined as 1,1 so you could be getting errors trying to add the 3rd box?
  12. Replies
    7
    Views
    1,938

    Re: vb.net access SQL joins

    Try using an INNER join if you only want those rows were xx.colb = 8
  13. Re: Windows 2008 service Office automation cant find printer.

    Possibly, "Allow service to interact with desktop"?
  14. Thread: exit on menu

    by sotoasty
    Replies
    1
    Views
    617

    Re: exit on menu

    Handles ExitToolStripMenuItem.Click


    You have two functions that Handle this event. So each of them runs their own set of code.

    In this case, both your



    Private Sub...
  15. Replies
    4
    Views
    1,030

    Re: C# strings and char arrays

    Try it this way.


    [code]
    string strout = new string(temp).TrimEnd('\0'); // create string from array of 0's
    strout += "12345";
    [\code]

    Or this
    [code]
  16. Replies
    2
    Views
    368

    Re: Qutoes for HTML

    Use a "\" instead of double quotes.

    sb.Append("Signature: <img src=\"http://mail:81/_Bookshare/Signatures/SignatureMaria.JPG>\"");
  17. Replies
    2
    Views
    368

    Re: Qutoes for HTML

    Use a "\" instead of double quotes.

    sb.Append("Signature: <img src=\"http://mail:81/_Bookshare/Signatures/SignatureMaria.JPG>\"");
  18. Replies
    9
    Views
    972

    Re: setting a var problem

    If you initialize your instronProgram class there, once again, this is a NEW instance of the class, and will go out of scope and be destroyed in this particular method. If this is going to be used...
  19. Replies
    4
    Views
    627

    Re: Unloading Forms.

    To me, this is the correct way to do it.


    30599
  20. Replies
    4
    Views
    627

    Re: Unloading Forms.

    When do you show the "Login" form.? Post some code please.

    Normally, I would do it like this in the main form Initialization code, or in a controlling class.

    dim fLogin as new frmLogin...
  21. Replies
    9
    Views
    972

    Re: setting a var problem

    Stevish,
    That has to do with the scope of the variable you are using. You might have declared it in a different .cs file, but the location this function is in, does not have access to that...
  22. Thread: Send Email -

    by sotoasty
    Replies
    3
    Views
    705

    Re: Send Email -

    Private Function findauthoremail(ByVal name As String) As String

    Dim ConString As String = (ConfigurationManager.ConnectionStrings("CCMSConnectionString").ConnectionString)
    Dim...
  23. Re: Printing from a windows service. Problem.

    Have you tried the setting allow service to interact with the desktop?
  24. Replies
    2
    Views
    563

    Re: Checkbox value

    .Text is not the value for the checkbox.

    Use the .Checked or .Value property
  25. Replies
    1
    Views
    626

    Re: Filling Property data into DataGridView

    In your original code, You have the .Tostring in the wrong place. The way you have it, you are trying to ".ToString" the .ADD method of the columns collection of the datagridview. I assume you what...
Results 1 to 25 of 1460
Page 1 of 59 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center