Search results for query: *

  1. J

    RichTextBox vbLF problems

    Didn't help Please note that I said "as if there were a vbLF there". Whether WordWrap is true or false doesn't fix the problem. I need each line of the RTB to be 100 characters. I can acineve this by inserting my own vbLF, but that makes obtaining a cursor position (SelectionStart)...
  2. J

    RichTextBox vbLF problems

    I am trying to create a viewer for files with large (sometimes over 2,000 characters) records. I want to use the rich text box control and show a given record in rows of 100 characters each. I have set the font to Courier New and sized the RTB appropriately to show the records correctly...
  3. J

    VBEx .net use of .dll

    Great article! Sure wish I had seen it before reading those other 9,265,129 (or was it 9,265,128?) articles on the web. I think that my problem was not creating an instance of my class. Thanks for the help.
  4. J

    VBEx .net use of .dll

    I tried that and the compiler told me that classes can't be shared. Any other ideas? I'm desperate!!!
  5. J

    VBEx .net use of .dll

    I'm trying to create a .dll in VB Express with multiple functions and subs. For the .dll program, I create a class module with: Public Class Class1 Public Function ReturnOne(ByRef MyVar As Integer) As Integer MyVar = 1 End Function Public Sub ReturnString(ByRef MyVar As...
  6. J

    Timeout when executing SQL

    Set the command timeout parm Use this: cmd.CommandText = "DELETE FROM ... cmd.CommandTimeout = 240 Try RowsDeleted = cmd.ExecuteNonQuery Catch ex As Exception
  7. J

    Is file currently being used?

    Don't know if this is correct forum. Please advise if not. I have a program used by a number of people. I store the program .exe on the LAN and have them point a shortcut to it. Works well except when I need to update the file. If I try to move the new version into the directory when...
  8. J

    I keep losing Find/Change box

    I don't know why my Find/Change dialog keeps getting lost, but this article allows one to find and move them back to the viewable area: I can’t find my Find Dialog in Visual Studio - Rick Strahl's Web Log
  9. J

    I keep losing Find/Change box

    I don't know why it happens, but my Find/Change box becomes unavailable. By unavailable, I mean that (I think) it gets moved to a location that I can't see. If I go to full-screen mode, there is no problem, but I've tried getting the box in full screen mode and switching modes, hoping it would...
  10. J

    I keep losing Find/Change box

    Never mind. I found that the problem was that somehow the Find/Change dialog box was almost hidden at the bottom of the screen. Don't know how that happened, but I could see just the top pixel or so and was able to drag it up into the screen. Thanks for any efforts.
  11. J

    I keep losing Find/Change box

    Lost the Find and Change functions Not sure if this is the right forum, but . . . After using VB 2008 Express for many months, suddenly the Find (Cntl F) and change (Cntl H) functions no longer work. If I highlight a series of lines and press Cntl H, both the blue bar at the top of the page...
  12. J

    Invoke a SUB named in a string

    I need to invoke a SUB that is named in a string object. Is this possible? ' Delcare the return code variable DIM strReturnCode as string ' Declare the sub name DIM strSubName as string = "MySubName" ' Invoke the sub, passing a return code parameter strSubName(strReturnCode) the SUB is in a...
  13. J

    Multiple form paths don't return correctly

    .Activate worked! Thanks guys.
  14. J

    Multiple form paths don't return correctly

    I have FormA, FormB, and FormC. FormA has a button that takes me to FormB, and FormB has a button that takes me to FormC. When I end FormC (me.hide), I would like it to show FormB, and when I end FormB, I would like it to show FormA. This works fine unless I am at FormC and decide to go...
Back
Top