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

Search:

Type: Posts; User: jmcilhinney

Page 1 of 44 1 2 3 4

Search: Search took 0.04 seconds.

  1. Re: UpGrade issue with Timer and toolStripMenuItem Help needed

    Very much so. Your form's Controls collection cannot possibly contain a Timer or a ToolStripMenuItem because neither of them are controls.
  2. Replies
    10
    Views
    915

    Re: Get the average of points

    There isn't really that much to it. Consider boolean logic. You know how to perform an AND, OR or XOR on two boolean values and what the expected results would be, yes? Bitwise logic is exactly...
  3. Re: UpGrade issue with Timer and toolStripMenuItem Help needed

    If 'cnt' is declared a type Control and you assigned a Timer or ToolStripMenuItem object to the variable then your app would crash before it made it to your Else block anyway.

    Where is this...
  4. Re: Dim objDecrpt As New Encoder.cEncoder : Upgrade Issue

    Um... define it.
  5. Re: UpGrade issue with Timer and toolStripMenuItem Help needed

    Presumably your 'cnt' variable is declared as type Control. As the error messages state, a variable of type Control can never refer to a Timer or a ToolStripMenuItem because neither are controls. ...
  6. Replies
    1
    Views
    686

    Re: play audio file Visual Basic.net

    The code to play a sound is no different with or without a UI. Whether or not the code is placed in the Click event handler of a Button or somewhere else makes no difference. It's still the same...
  7. Replies
    2
    Views
    4,858

    Re: docking/floating windows

    http://www.codeproject.com/KB/vb/DockPanelSkin.aspx
  8. Replies
    10
    Views
    915

    Re: Get the average of points

    That ampersand is not an address operator. A double ampersand is a logical AND operator while a single ampersand is a bitwise AND operator. A bitwsie AND will create a result where each bit is set...
  9. Replies
    20
    Views
    3,056

    Re: Add milliseconds to DataTable

    The OP keeps telling us that the original data only goes to two decimal places, so the greatest resolution needed will be 10 ms!!! Thus 3.333333 ms will be ample!!! The problem here is that the OP...
  10. Replies
    20
    Views
    3,056

    Re: Add milliseconds to DataTable

    That still tells us nothing useful. Where are you getting the value from in the first place, how are you reading it and how are you adding it to the DataRow?
  11. Replies
    20
    Views
    3,056

    Re: Add milliseconds to DataTable

    That's adding the DataColumn to the DataTable. We don't care about that. We want to know how you're reading the data and adding it to a DataRow that is then added to the DataTable.
  12. Replies
    20
    Views
    3,056

    Re: Add milliseconds to DataTable

    If your original data contains partial seconds and the data in the Datatable doesn't then you're obviously reading the data incorrectly. As you are yet to show us how you are reading the data it...
  13. Replies
    20
    Views
    3,056

    Re: Add milliseconds to DataTable

    You're asking the wrong question. If you're saving a DateTime value to a database then it already "contains" milliseconds, as every DateTime value does. If you aren't seeing the milliseconds then...
  14. Re: The 'MySQLProv' provider is not registered on the local machine

    An ODBC driver is not an OLEDB provider. It's an ODBC driver. It would allow you to create an OdbcConnection, not an OleDbConnection.

    Also, this was on the first page of results when I Googled...
  15. Replies
    10
    Views
    915

    Re: Get the average of points

    It's C# alright. Note the "unsafe" key word in the method declaration.

    That said, JP is quite correct in saying that, if you want us to help, you should state clearly what the issue is. That's...
  16. Re: MYSQL problem "Column 'PickUpDateTime' cannot be null"

    Yeah, "@" is Microsoft-specific. You should also note that this:
    insertCmd.Parameters.AddWithValue("@PickUpDateTime", "2008-09-01 14:00:00")is creating a text parameter containing a string. ...
  17. Replies
    7
    Views
    741

    Re: Read/Write from another Thread

    Am I being punk'd here? Using the InvokeRequired property and the Invoke method IS using delegation, which is exactly what I said needed to be done. The InvokeRequired property tells you whether...
  18. Replies
    9
    Views
    947

    Re: Regarding Process execution

    I have no idea what you mean.
  19. Replies
    7
    Views
    741

    Re: Read/Write from another Thread

    The key to this is delegation. This suggestion is useless without it because the event will be raised on the worker thread so accessing any UI elements, i.e. controls, from the event handler will...
  20. Replies
    9
    Views
    947

    Re: Regarding Process execution

    http://www.vbforums.com/showthread.php?t=381405
  21. Replies
    3
    Views
    547

    Re: PictureBox grows

    You don't need to ask a question when you can simply test it for yourself. Try referring to the pixel at 0,0 and see what happens.
  22. Replies
    3
    Views
    547

    Re: PictureBox grows

    Let me guess. The SizeMode is AutoSize and the BorderStyle is Fixed3D, correct? You're making a Bitmap the size of the PictureBox and then displaying it in the PictureBox. The PictureBox has to...
  23. Replies
    1
    Views
    6,858

    Re: TableLayoutPanel

    There is no property for that. Unless you want to use GDI+ you'd have to add a Panel and Dock it in that cell, set its BackColor property, then add your child control to that.
  24. Replies
    17
    Views
    1,360

    Re: Syntax Question

    Doing it that way makes those directives local to that namespace block only. That said, if you more than one namespace block in the one code file then you need style check. I think it's clearer...
  25. Replies
    17
    Views
    1,360

    Re: Syntax Question

    You can use a 'using' directive within a namespace block as long as it's at the top, but it's not valid anywhere inside a type definition.
Results 1 to 25 of 1087
Page 1 of 44 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center