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 1.74 seconds.

  1. Re: Adding a record to an SQL database error 'no mapping exists"

    When adding you parameters, change txtcomments and txtDescriptionAARClass to txtcomments.text and txtDescriptionAARClass.text
  2. Replies
    11
    Views
    2,605

    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
  3. 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...
  4. Replies
    5
    Views
    6,753

    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,...
  5. Replies
    13
    Views
    5,236

    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...
  6. Replies
    2
    Views
    3,121

    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...
  7. 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...
  8. Replies
    2
    Views
    1,090

    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...
  9. 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...
  10. 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...
  11. 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
  12. 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?
  13. Replies
    7
    Views
    11,976

    Re: vb.net access SQL joins

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

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

    by sotoasty
    Replies
    1
    Views
    1,599

    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...
  16. Replies
    4
    Views
    3,346

    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]
  17. Replies
    2
    Views
    1,144

    Re: Qutoes for HTML

    Use a "\" instead of double quotes.

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

    Re: Qutoes for HTML

    Use a "\" instead of double quotes.

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

    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...
  20. Replies
    4
    Views
    2,090

    Re: Unloading Forms.

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


    30599
  21. Replies
    4
    Views
    2,090

    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...
  22. Replies
    9
    Views
    2,593

    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...
  23. Thread: Send Email -

    by sotoasty
    Replies
    3
    Views
    1,518

    Re: Send Email -

    Private Function findauthoremail(ByVal name As String) As String

    Dim ConString As String = (ConfigurationManager.ConnectionStrings("CCMSConnectionString").ConnectionString)
    Dim...
  24. Replies
    2
    Views
    1,899

    Re: Printing from a windows service. Problem.

    Have you tried the setting allow service to interact with the desktop?
  25. Replies
    2
    Views
    1,186

    Re: Checkbox value

    .Text is not the value for the checkbox.

    Use the .Checked or .Value property
Results 1 to 25 of 1461
Page 1 of 59 1 2 3 4





Click Here to Expand Forum to Full Width

Featured