Search Results - VBForums

Search:

Type: Posts; User: Peter Swinkels

Page 1 of 12 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    10
    Views
    190

    Re: Account Privileges Help?

    Hi, some coding tips:
    1. Personally, I try avoid using the Microsoft.VisualBasic namespace. You could use System.Windows.Forms.MessageBox instead of MsgBox.
    2. Try to avoid using the "End"...
  2. VS 2010 Re: Autocomplete Cell DatagridView Error

    Hi, please use code brackets when posting code. Also, your code depends on a procedure called "getData", could you post that as well?
  3. Re: Show/Hide window from process handle on Mono

    Hi, I don't know much about Mono, but do you want this to work on both Windows and Linux? I think that showing and hiding windows would depend on how the GUI works.
  4. Replies
    1
    Views
    154

    Re: printing dialog dont print

    Hi,

    To print a form, call its "PrintForm" method. If you want to print the form containing the "cmdPrint_Click" procedure you need to change "Printer.Print ActiveForm" to "Me.PrintForm". Also,...
  5. Replies
    2
    Views
    172

    Re: Update Access Database

    Hi, first of all, you should use code tags when posting code. As to you error, I'm not sure that this will fix your issue, but when I placed brackets ("[" and "]") around the table and field names in...
  6. Re: Reg-Execute the Exe by XML Files creation

    Hi, you provided very few details, a few questions:
    1. What is in the .xml file?
    2. What is your program supposed to do with the .xml file?
    3. Could you post the .xml file and the application's...
  7. VS 2015 Re: VB program only runs on some Win10 machines when compiled

    Go to your project's properties (either through the Project menu or Solution Explorer) and look for a dropdown list under "Startup object:". Select the appropriate module there. "CleanTempModule" in...
  8. VS 2015 Re: VB program only runs on some Win10 machines when compiled

    Hi, I can't help with your specific problem, I however rewrote most of your code in attempt to make it cleaner:



    Option Compare Binary
    Option Explicit On
    Option Infer Off
    Option Strict On
    ...
  9. Replies
    6
    Views
    199

    Re: Converting Random Numbers to ASCII

    Also, there's no need to recreate the random number generator ("Dim r As Random = New Random") each time, you need to place that line outside the loop. And personally, I try not to use the...
  10. Re: Referring to a point on a picturebox

    Hi, what exactly are you trying to write? A game, what sort of game? You need to explain more.
  11. Replies
    7
    Views
    278

    Re: ActiveX Exe problem

    My request to post ALL code isn't that difficult to understand and whether or not the other program is a vb6 program is irrelevant. What is it? Did you write both programs yourself?
  12. Replies
    7
    Views
    332

    Re: vb6 IDE Debug activex exe

    1. Did you upgrade an earlier version of Windows to Windows 10? If so you might want to reinstall Visual Basic.
    2. Try playing with the compatiblility settings and try running Visual Basic with...
  13. Re: Return only the last three characters after a specified phrase in a string

    Dim InputStr As String = "This is a test text. (Code: --- Some more text."
    Dim SearchText As String = "(Code: "
    Dim code As String = InputStr.Substring(InputStr.LastIndexOf(SearchText)...
  14. Replies
    7
    Views
    278

    Re: ActiveX Exe problem

    Hi,

    1. Use "Code" tags when posting code in this forum.
    2. Could you post ALL the code including the forms?
    3. You didn't answer my question, which program does your program depend on?
  15. Re: MSHFlexGrid not scrolling

    Okay, try this link https://visualstudiomagazine.com/articles/2009/08/11/reacting-to-the-mousewheel.aspx
  16. Replies
    7
    Views
    278

    Re: ActiveX Exe problem

    Hi, could you post the code? That would make it a lot easier to help you. And which program is being called by your program any way?
  17. Re: MSHFlexGrid not scrolling

    Perhaps this will help: https://support.microsoft.com/en-us/kb/837910
  18. Replies
    29
    Views
    786

    Re: Visual Basic Versions

    I believe that Microsoft Visual Studio 97 has Visual Basic classic (6.0) and all the others you have mentioned have vb.net, which for the most part isn't compatible with the class Visual Basic. Why...
  19. VS 2015 Re: Checking words against a text file

    See attachment.
  20. Replies
    16
    Views
    270

    Re: Review needed

    "Option Explicit On" and "Option Strict On" are lines of code of which you can either place at the top of your *.vb code files or set in the project's properties. You can also set their default...
  21. Replies
    16
    Views
    270

    Re: Review needed

    He, I used to write tutorials for Qbasic back when I was 16-17: http://web.archive.org/web/20010215032313/http://www.euronet.nl/users/swinkels/tutorial/index.htm. If I ever write another tutorial I...
  22. Replies
    16
    Views
    270

    Re: Review needed

    1. I would recommend a fixed-width font such as Consolas, FixedSys, Lucida Console or Terminal for the code.
    2. Perhaps you should make the chapter titles larger and/or bolder.
    3. You described a...
  23. Replies
    16
    Views
    270

    Re: Review needed

    System.Environment.NewLine

    Let me try to clarify:
    variable1 += variable2 is the same as
    variable1 = variable1 + variable2. The first one is just shorter, that's all. The same goes for:...
  24. Replies
    2
    Views
    155

    Re: Check for Updates [Question]

    There should be an "Updates" button on the "Publish" tab for your project's properties.
  25. Replies
    16
    Views
    270

    Re: Review needed

    Hi, I took a quick look at your tutorial and here are some suggestions:
    1. Use a different font for the code, also your capitalization and indentation is inconsistent.
    2. Personally I try to avoid...
  26. Replies
    20
    Views
    648

    Re: Could someone please test my game?

    I've taken another look, "Label1" is too far to the right in the form's designer window. It should be covering the "X" button. Maybe this is another issue with me using a later version of Visual...
  27. Replies
    12
    Views
    349

    VS 2005 Re: Parsing a string

    Arrays always start with index 0, use GetUpperBound() to get the last index number.
  28. Replies
    12
    Views
    349

    VS 2005 Re: Parsing a string

    Alright, if you're going to send all sorts of different strings (you should've mentioned this earlier), forget about the enumeration and fixed set of delimiters:



    Option Compare Binary
    Option...
  29. Replies
    20
    Views
    648

    Re: Could someone please test my game?

    Hi, your executable works now. The issue with the buttons still persists on my computer. Did you test your game at wide screen resolutions? I'm using 1920 x 1080.

    EDIT:
    -Not even forcing it to...
  30. Replies
    12
    Views
    349

    VS 2005 Re: Parsing a string

    Replace ".Last" with "(IRCData.Count - 1)":



    IRCDataString = IRCDataString.Substring(IRCData(IRCData.Count - 1).Length + Delimiters(Delimiter).Length)


    Why not upgrade to Microsoft Visual...
  31. Replies
    20
    Views
    648

    Re: Could someone please test my game?

    I suspect that Microsoft Visual Basic 6.0 used different names for the constants representing the possible values for a checkbox. The executable that you provided in your download doesn't work. I get...
  32. Re: Getting real-time weather information

    http://www.vbforums.com/showthread.php?503641-RESOLVED-Getting-weather-in-VB?
  33. Replies
    20
    Views
    648

    Re: Could someone please test my game?

    Yes, the "Exit" and "Minimize" buttons on the title screen work. The "New" and "Info" buttons on the game screen work. The "Options" button crashes the game in the "Display_Options_Screen" procedure...
  34. Replies
    20
    Views
    648

    Re: Could someone please test my game?

    Hi, I forgot to mention that the "X" button doesn't work. And no, the game doesn't freeze. Okay, I didn't notice that the "info' button displayed the "readme". Yes, I enabled the AI, it doesn't do...
  35. Replies
    20
    Views
    648

    Re: Could someone please test my game?

    Hi, that's a pretty impressive piece of work. Your game seems to work fine, except that:
    -I have to press Ctrl+Break to exit it.
    -Nothing happens when you win or loose.
    -I had to read the manual...
  36. Replies
    5
    Views
    274

    Re: Pac-man help vb.net

    Hi, I see there's an entire interface that comes with your code, but you didn't post it. Without it, it is impossible to test your code and to properly help you. Could you post the entire project?
  37. VS 2010 Re: Cannot access the file because it's being used by another process?

    Hi,
    Unless that other process that has your file open is a program written by you I don't see any other way to let your program access it than to close that other process.
    What are you trying to...
  38. Re: Find Specific Attached Device by VID and Disable It

    Hi, I can't help you with your specific problem, but I've noticed a few things that I would change because they could be part of the problem:
    1. The "MYVID" variable isn't declared anywhere, do you...
  39. Re: Click button on a toolbar in another program

    Are you specifying the correct process id? Place the following line directly after the "OpenProcess" call: "MsgBox Err.LastDllError". If it returns an error code you can look it up here:...
  40. Re: Which data types are used to store numeric values with and without decimal?

    Hi, have you looked it up yourself first? Try looking at something like this: http://www.tutorialspoint.com/vb.net/vb.net_data_types.htm
Results 1 to 40 of 455
Page 1 of 12 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.