dcsimg

Search:

Type: Posts; User: TnTinMN

Page 1 of 13 1 2 3 4

Search: Search took 0.56 seconds.

  1. Replies
    3
    Views
    2,332

    Re: How to get ActiveCell>Row Number in .Net?

    I've never heard of a .Net interpreter before, but a quick search indicates that at least one exists. Anyways, I would investigate its ability to add external references further as the inability to...
  2. Replies
    3
    Views
    2,332

    Re: How to get ActiveCell>Row Number in .Net?

    You sure do manage to make make your life difficult. :rolleyes:



    Why not? Even if you choose to ultimately use late-binding, there is no reason not to add the Excel reference to your project...
  3. Replies
    13
    Views
    1,623

    VS 2015 Re: Automatic parenthesis

    It is not just an issue of old habit. That auto parenthesis wrapping is very nice feature when prototyping Office Automation code in VBA to copy over to VB.Net code.
  4. Replies
    3
    Views
    424

    Re: Advice on Binding Data to Chart

    Just some info.

    The MS DataVisualization.Charting.Chart's data binding mechanism is not a true binding system as there is no automatic updating of the DataPoints to reflect changes in the...
  5. VS 2015 Re: Textbox built in vscrollbar, no LargeChange option?

    The API function you are seeking is the SetScrollInfo function. However, I have never had any luck with it by changing the nPage argument. It appears as though the value is reset when the TB...
  6. Re: Get Excel Object From Windows Handle

    This implies that you know the path to where the WorkBook is stored. If this is correct, then you can obtain an Excel automation COM reference to the Workbook using either: 1)...
  7. Replies
    5
    Views
    599

    Re: Abusing A Constructor

    For the logic flow you have described, I think some sort Factory pattern would be applicable.

    You mentioned that you are using a plugin mechanism to register (define?) the tests that can be run. ...
  8. Replies
    2
    Views
    427

    Re: Why does this simple UDF fail?

    Because CountValues takes only a Range argument.
  9. VS 2013 Re: Simplest way to show a random image in a pictureBox ?

    Your statement like so many of your posts is factually incorrect as I did not attack the OP. Yet you feel entitled to personally attacked me which is something that is against the forum rules. I...
  10. VS 2013 Re: Simplest way to show a random image in a pictureBox ?

    Wait for someone with no self respect and in need of a perceived validation of their worth to do it for you in hopes of earning a forum cookie?
  11. Replies
    7
    Views
    4,208

    VS 2015 Re: Check if Listbox contains item

    I typed that in wrong, but you really should have been able to figure it out.


    If Not lstQueue.Items.Contains(detail) Then lstQueue.Items.Add(detail)
  12. Replies
    7
    Views
    4,208

    VS 2015 Re: Check if Listbox contains item

    Then why are you treating the listbox items as text?

    This:
    For Each detail As FileDetail In lstSelectDetail.SelectedItemsindicates that you know the items is of type FileDetail. It also...
  13. Replies
    6
    Views
    443

    Re: Threading issue

    A simplistic approach would be something like this:

    Class Game
    Public frm As frmClient
    Public Sub Run()
    End Sub
    Sub ReceiveData()
    frm.Invoke(New Action(Of String)(AddressOf...
  14. Replies
    6
    Views
    443

    Re: Threading issue

    Pass a reference of the form to the thread when you start it and store it for local consumption.

    If you do not know how to do this, please show the code you are using to to start your game...
  15. Replies
    6
    Views
    443

    Re: Threading issue

    Is frmClient the default instance of the form?

    If so, that is likely the issue as accessing the default instance creates a unique instance for each thread context that accesses it.
  16. Replies
    6
    Views
    767

    Re: Detect application quit

    You have not indicated what events you are currently handling, so here are two basic ones you can use.

    1. Application.ApplicationExit.
    2. Microsoft.Win32.SystemEvents.SessionEnding. Pay heed...
  17. Replies
    36
    Views
    2,021

    Re: Button edges and font size

    Peekay,

    I'm glad to see that you are making progress. :)

    One thing that I wish to bring up is the handling of Disposable objects. These are objects that internally allocate native resources...
  18. Replies
    16
    Views
    1,344

    VS 2008 Re: Any way to speed up compile time?

    Do you have any anti-virus running? I have had issues in the past with the AV occasionally causing problems. Avast was the worst offender for preventing the final copying of the executable the obj...
  19. Replies
    5
    Views
    582

    Re: String (case insensitive)

    Use the overload of either String.Equals or String.Compare that takes a StringComparison argument and use one of the ignorecase values.
  20. Replies
    16
    Views
    1,344

    VS 2008 Re: Any way to speed up compile time?

    Have you installed SP1 for VS2008? It has been a long time, but I seem to remember all sorts of issues that were corrected by SP1.
  21. Replies
    36
    Views
    2,021

    Re: Button edges and font size

    I believe that you may be having an issue due to the Default Property syntax differences between VB6 and VB.Net. I believe the default property on a VB6 PictureBox is its Picture property and the...
  22. Re: [RESOLVED] Adding an image to my picturebox throws an error

    So my writing needs a a translator to fix my propensity to use the wrong word/leave words out/leave partial thoughts in/and the miscellaneous spelling/grammar mistakes...nothing new there! :eek2:
  23. Re: Adding an image to my picturebox throws an error

    [/QUOTE]
    A simplistic explanation is that the Dispose method on the object has been called.

    The Dispose method (if an object sports one) is intended to release native resources...
  24. Re: Adding an image to my picturebox throws an error

    You will get that error is the particular image has been Disposed. I'm not saying that is that cause of your problem, but it is at least one way to reproduce that particular error.

    A general...
  25. Replies
    15
    Views
    1,368

    Re: Why is my Form1 shrinking ?

    The file is in XML format. A pretty standard format that is widely used in .Net.

    If making a simple one time change to a text file makes you unhappy, while you have no problem editing a designer...
  26. Replies
    15
    Views
    1,368

    Re: Why is my Form1 shrinking ?

    There is no need for you to issue any command to declare your application as DPI Aware. All you need to do is un-comment that that section of the app.manifest.

    I.E. change:
    <!--
    ...
  27. Replies
    6
    Views
    3,898

    Re: Splitcontainer 3 panels

    Have you set the SplitContainer.BorderStyle property?

    If that is not a desirable effect, on Win 10 (possibly Win 8.X as well) you can get the older look by setting the form's region property.
    ...
  28. Replies
    1
    Views
    500

    VS 2015 Re: Delegate with Multiple Signature Options

    If I'm understanding you correctly, you have a default function definition, but want to allow the user to define a custom function definition. Is that correct? If so, then you could do something...
  29. Re: how to inspect a generated object.

    You can use the PropertyGrid Control to view/modify a control's properties. Here is a quick example. Just create a new WinForm project and use this for the code.

    Public Class Form1
    Private...
  30. Replies
    15
    Views
    1,719

    Re: The Loss of a VBForum Member

    DDay,

    Thank you for the closure.

    I've been dreading the worst for a while now. My last correspondence with Tom had been Sept 2 and he had indicated that he was going in for a another 3 days...
  31. Replies
    5
    Views
    657

    Re: Excel hangs in task manager

    Can you clarify the duration of "Excel hangs in task manager". Is it only while your application is running, or does it remain after your code exits? Also, is this an issue when running without the...
  32. MsOf10 Re: Outlook 2010 - Append text to body of email - without erasing email

    Then I misunderstood the issue as I interpreted it as the OP's as each run added the text twice.

    If prevention of reprocessing an item is necessary, then it is easy to add a boolean UserProperty...
  33. MsOf10 Re: Outlook 2010 - Append text to body of email - without erasing email

    This piqued my interest, so I thought that I give it a go. I tried various mechanisms including the one recommended by Bryce (except I used SenderEmailAddress instead of Sender; Sender does not...
  34. MsOf10 Re: Outlook 2010 - Append text to body of email - without erasing email

    Just a guess, but won't you need to call MailItem.Save after making any changes?
  35. Replies
    15
    Views
    1,368

    Re: Why is my Form1 shrinking ?

    Poppa,

    Have you inadvertently set the Form's AutoSize property to True and the AutoSizeMode to GrowAndShrink?
  36. Replies
    15
    Views
    1,368

    Re: Why is my Form1 shrinking ?

    Me always refers to the type containing the code.
  37. Re: [Excel] Please, help to optimize VBA code

    That is a great improvement over referring to range variable for those in the loop. It prevents the VBA code from having to interop with Excel each time it needs the value. In a quick test, it is...
  38. Replies
    2
    Views
    581

    MsOf13 Re: Turn Off AutoCorrect in Custom Style

    Assuming you mean for MS Word, take a look at the following link for direction on how to configure the Style.

    Turning off Proofing and Autocorrect in Word 2007
  39. Replies
    16
    Views
    1,756

    Re: Faster Teradata Recordset vb.net

    Your title states Teradata, yet everything else you have shown indicates Oracle.

    I'm a bit confused, so feel free to ignore any or all of the following.

    A quick search indicates that Teradata...
  40. Replies
    11
    Views
    906

    Re: How to deal with predictable errors?

    I question the information you are exchanging between the client and server. Presumably the client sends its location and direction of fire to the server. Why can not this location info be returned...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width