dcsimg

Search:

Type: Posts; User: MrGTI

Page 1 of 13 1 2 3 4

Search: Search took 0.61 seconds.

  1. Re: [2005] DataGridView - AllowUserToResizeColumns property

    Excellent solution fatbloke to a problem that still exists 6 years later. :thumb:
  2. Re: Creating a MessageBox in a Windows 8 Store app - Sample

    Hi 4x2y.

    I tried my revised Windows 10 (UWP) version, and yes, you can only use 2 buttons on Windows 10 Phone. I'm guessing it's a limitation built into the MessageDialog class for mobile devices....
  3. Re: How to pass values into a running program?

    I have been reviewing everything, and there is more than enough to keep me busy. I am sure I can use one of these methods. Thanks.

    I will mark the thread as resolved, but feel free to continue...
  4. Re: How to pass values into a running program?

    Wow. Thanks!

    I had a busy day and was in meetings for most of it. I will have to try to download and try all of these. There are certainly way more options than I expected!

    I'll check it out...
  5. Re: How to pass values into a running program?

    TheTrick - I am not familiar with the DDE, MAPI, FileMapping methods. I will have to do a little research to learn about it to see if I can use any of those methods.

    jmsrickland - I have the code...
  6. [RESOLVED] How to pass values into a running program?

    Hello.

    I'd like to pass some values into a VB6 application. I know how to do this via the command line, but what if the program is already running?

    Is there a way to send command line arguments...
  7. Creating a MessageBox in a Windows 8 Store app - Sample

    Hello.

    Once I figured out how to create a message box in a Windows 8 Store app, I made myself a new class that allowed me to easily create message boxes using the way I had always done so in all...
  8. Replies
    0
    Views
    5,887

    Creating a Windows 8 (Store) app tutorial

    Microsoft has a tutorial on how to build a Windows 8 app located here: http://msdn.microsoft.com/en-us/library/windows/apps/Hh974581.aspx

    Before you start, I want to let you know 2 things:

    1)...
  9. Replies
    9
    Views
    2,514

    VS 2012 Re: Open the wireless network manager

    Hi HanneShEGreaT.

    Thanks for all your hard work. It seems that Microsoft has changed a few things. I look forward to a new article! I'm sure it will be as good (or better) than the last one! :)
  10. Replies
    9
    Views
    2,514

    VS 2012 Re: Open the wireless network manager

    Hi HanneShEGreaT.

    The revised search results works, but the wireless and scanner versions still don't when I do it your way.

    I have gone into the registry (at location HKEY_CLASSES_ROOT\CLSID...
  11. Replies
    9
    Views
    2,514

    VS 2012 Re: Open the wireless network manager

    dunfiddlin - yes, it works when I remove the path to explorer. Thank you.

    HanneShEGreaT - Thanks. I read your article. Very nice. I tried using the examples for "Scanners & Cameras" and "Results...
  12. Replies
    9
    Views
    2,514

    VS 2012 Re: Open the wireless network manager

    Sorry dunfiddlin,.... but doing it that way doesn't change anything; it still throws the exact same error:

    "The system cannot find the file specified"

    :(
  13. Replies
    9
    Views
    2,514

    VS 2012 Open the wireless network manager

    Hello.

    Windows already has a nice tool to manage and connect to various wireless networks - the wireless network manager. I don't want to re-invent the wheel. I'd rather just give the users a...
  14. Replies
    6
    Views
    3,092

    VS 2010 Re: Getting the number from the string

    Thanks for that shove in the right direction Grimfort. The MSDN page proved usefull. I was able to build a function the get the Employee number in just a few simple lines of code.


    Private...
  15. Replies
    6
    Views
    3,092

    VS 2010 Re: Getting the number from the string

    I went back and looked at all my RegEx examples, and none of them have anything about extracting anything from the string - they're all comparison checks, like if an email address is valid. So i...
  16. Replies
    6
    Views
    3,092

    VS 2010 [RESOLVED] Getting the number from the string

    Hi Guys.

    I am looking for a little advice on how I can do something. Please give me your suggestions.

    Pretend I have some string values like this:

    Document1_789123456.docx
    ...
  17. Replies
    4
    Views
    838

    Re: Datagrid to Excel

    Hi nickwrs.

    I'm unable to figure out where you used the GetExcelColumnName function. Could you explain where you used it?
    .
  18. VS 2010 Re: [RESOLVED] How to detect when the user stops typing

    Yep, i caught that. ;)
  19. VS 2010 Re: How to detect when the user stops typing

    Interesting. I figured it would require a timer, but i keep thinking i would need to do fancy math to count the interval between keydown events or something in order to figure out when the user...
  20. VS 2010 [RESOLVED] How to detect when the user stops typing

    Hello.

    I'd like you filter some results in a grid, and i want the user to be able to type a value into a textbox, and then the grid will be filtered by that value.

    I don't need help with the...
  21. Replies
    2
    Views
    4,492

    VS 2010 Re: Email address validation with RegEx

    That works!

    I still can't figure out the RegEx, but all the tests i ran came back valid when it should, and invalid when i entered bad email addresses.

    Thank you.
  22. Replies
    2
    Views
    4,492

    VS 2010 [RESOLVED] Email address validation with RegEx

    Hello.

    I have been using a function to validate email addresses for awhile now. Yesterday i discovered that the code indicates that 2 different email addresses are invalid when in reality they are...
  23. Replies
    7
    Views
    20,963

    Re: Detect if cancel is clicked on inputbox

    Actually, the InputBox returns a string with a length of zero if you don't type in a value, but click the OK button.

    It looks like you'll need to build your own InputBox.
  24. Replies
    7
    Views
    20,963

    Re: Detect if cancel is clicked on inputbox

    Clicking the X or the Cancel button on an InputBox returns a string with a length of 0.
  25. Replies
    4
    Views
    14,291

    VS 2010 Re: Getting the real IP address

    That makes a lot more sense. I cleaned up your code a little bit (completed the variable declarations), but otherwise it works. Thanks. :thumb:
    .
  26. Replies
    4
    Views
    14,291

    VS 2010 [RESOLVED] Getting the real IP address

    Hello.

    In a WinForm application, if you want to get the IP address of the machine the code is running on (for instance, to log in the database what the IP address is when a user deletes a record),...
  27. Replies
    6
    Views
    49,733

    VS 2010 Re: [RESOLVED] Format Textbox to 2 decimal places

    That's a really great solution JuggaloBrotha. :thumb:
  28. VS 2010 Re: Adding a new line into a cell of a DataGridView

    The problem wasn't the use of vbCrLf vs your Environment.NewLine. It actually came down to a line line of code that you mentioned.


    grdRented.DefaultCellStyle.WrapMode = DataGridViewTriState.True...
  29. VS 2010 [RESOLVED] Adding a new line into a cell of a DataGridView

    Hello.

    I have searched for this, and not been able to find any examples where someone has done this. I'm trying to add a new line into the cell of a DataGridView so the text appears on 2 lines (of...
  30. VS 2010 Re: How do i get the VALUE of a MaskedTextBox?

    Thanks for the help. That solves it.


    And for anyone that is searching and looking for the solution,...

    In your Form Load event:

    With mtbHomePhone
    .TextMaskFormat =...
  31. VS 2010 [RESOLVED] How do i get the VALUE of a MaskedTextBox?

    How do I get just the value that is typed into a MaskedTextBox?

    For instance, if I have a MaskedTextBox with the mask of “(999) 000-0000 x000000”, and the user typed in a phone number, like (905)...
  32. VS 2010 Re: Displaying search results - What control to use?

    I looked at both, but in the end the video for the DataRepeater sold me on it. I'll give it a try. Thanks!
    .
  33. VS 2010 [RESOLVED] Displaying search results - What control to use?

    Hello.

    I’d like to add a generic search feature to my WinForm application (Visual Studio 2010). I want the users to type in a value (for instance “john”), and then display a list of any company,...
  34. Replies
    8
    Views
    8,591

    VS 2010 Re: Inherited form and button position

    This seemed like a reasonable work-around for this annoying issue. So i went ahead and coded up a little something to move the OK and Close buttons in the Form.Load like you suggested:


    ...
  35. Replies
    8
    Views
    8,591

    VS 2010 Re: Inherited form and button position

    Yeah,... i totally get where you're coming from, but in this case i have complete forms that are being re-used.

    So i have a "base" form that contains a title, image, email button, save button,...
  36. Replies
    8
    Views
    8,591

    VS 2010 [RESOLVED] Inherited form and button position

    Hello.

    I have noticed something odd when i use inherited forms, and while i realize this is probably normal, i'd like to know if there is a way around this behavour.

    To replicate, create a new...
  37. Replies
    2
    Views
    2,447

    VS 2008 Re: Gradient PictureBox not displaying

    Interesting. So i was just using the wrong object. That certainly solved it.

    I streamlined it so that now i can re-use the function on other forms.



    Dim xFormTopColour As Color =...
  38. Replies
    2
    Views
    2,447

    VS 2008 [RESOLVED] Gradient PictureBox not displaying

    Hello.

    I've got all the code figured out to make a picture box appear with a gradient inside of it. My problem is that the gradient doesn't appear in the picture box when the form loads, paints,...
  39. Replies
    6
    Views
    655

    VS 2008 Re: How do i do this in my class?

    After a bit of searching, i was able to come up with this,...


    For Each xSingleCar As KeyValuePair(Of String, Automobile) In autoDict
    Dim sName As String = xSingleCar.Key
    Dim b4Door As...
  40. Replies
    6
    Views
    655

    VS 2008 Re: How do i do this in my class?

    I'm starting to see how they can be very useful. I'm impressed.

    Any idea how i would loop through the "array" of cars? For example, if i wanted to save the data, how would i get it out of the...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width