Search Results - VBForums

Search:

Type: Posts; User: DataMiser

Page 1 of 13 1 2 3 4

Search: Search took 0.16 seconds.

  1. Re: VB6 program cannot print from certain computers (suddenly), works fine elsewhere

    No, there is nothing lucky about it. ZPL is plain text and the plain text driver works beautifully for it. I've never ran into an issue in the 10+ years I have been using that method for ZPL and EPL...
  2. Re: VB6 program cannot print from certain computers (suddenly), works fine elsewhere

    Can you print to the zebra printer on these trouble pcs from notepad?
  3. Re: Select a line of a simple text file item search, to delete.

    How would that have anything to do with XP? He is talking about the content of an email and it definitely is not normal behavior for XP to change the content of an email.

    More likely the title to...
  4. Replies
    7
    Views
    126

    Re: Runtime Error

    The best solution is to use parametrized queries but if you must use a string like that then you have to double up the 's when they appear

    so Premier's

    Would need to be Premier''s

    You could...
  5. Re: Compile error: Pemission Denied while making exe in VB6

    Obviously it is having an issue writing the exe file. This is generally caused by not having permissions to write the file. Could be that the target folder is read only or the file already exists and...
  6. Re: why listview first item automatically selectes

    Is there only one item in the listview? If so that would do it but then it also would not make sense to use a listview for only one item.
    If you have multiple items in the listview then I would...
  7. Re: Get Index of a simple text file item search.

    btw Your filename looks invalid as you are using C: but no backslash. You should not try to write to the root of C drive or any drive for that matter.

    Something like this will do what you want
    ...
  8. Re: Select a line of a simple text file item search, to delete.

    You do not delete a line from a text file. What you would do is read the file and write out a new file leaving out the data you want removed.

    You can either create a new file and write to it as...
  9. Replies
    8
    Views
    250

    Re: Listbox Control help

    I take it that is a typo in your post as that should throw an error in the IDE unless perhaps if you are also using on error resume next which of course you should not use and also should always use...
  10. Replies
    8
    Views
    250

    Re: Listbox Control help

    Did you try the flexgrid? namely the MSHFlexGrid. This control allows you to have quite a few display options.
    Listview should work fine also.
  11. Replies
    5
    Views
    162

    Re: Method Open of Object_Recordset failed

    You need to change that studentid field to numeric in your database. Any field that is meant to contain numeric data should never be defined as a text field.
    Rather than trying to code around...
  12. Replies
    8
    Views
    250

    Re: Listbox Control help

    You should use a listview or flexgrid
  13. Re: Inter-process communication with C# application

    I would probably use the TCP or UDP methods if I were doing it.
  14. Re: Compare string1 to string2 and identify differences

    Well another thing that must be considered is what counts as a difference. For example

    ABCDEFG
    AHBCDEFG

    Is the difference there just the H in position 2 or everything after the A?
  15. Replies
    6
    Views
    200

    Re: Listbox multiple items drag&drop

    If you have multiselect set to none then it is not going to allow you to select multiple items.
    Set it to simple as mentioned in post #2
  16. Re: share same procedure or function on multiple forms in vb6

    Is it a class or a module?

    Why not have the code in the timer event on the form, that way when you create a new instance of the form you are creating a new instance of the timer code as well....
  17. Replies
    2
    Views
    124

    Re: How to make a loop with date validation

    You may want to have a look at the docs for Do Until Loop and DateAdd()
  18. Replies
    2
    Views
    115

    Re: Overflow problem with Currency variable

    Well as a guess I would think that it may be because it is trying to evaluate it as a boolean and failing

    Have you tried

    If s_rgbn(ihashk).hashk =0 Then
  19. Poll: Re: How can a project only respond a truth keyboard?

    It is also the second thread with the same question
  20. Re: [RESOLVED] Strange Situation Related to Run-time Error 5!

    I started to suggest that but wasn't sure which OS you were using.

    You really should not be putting exes into c:\ anyway
  21. Re: share same procedure or function on multiple forms in vb6

    Rather than attaching the entire project you should show us just the little bit of code that is of interest.
    Are you using a timer on the form that is created?
    Are you using a local variable for...
  22. Re: Strange Situation Related to Run-time Error 5!

    Well you said something about downloading this exe you are trying to shell to. If you are doing this in the IDE and it is working but not working in the exe then the only thing I can think of is that...
  23. Replies
    9
    Views
    168

    Re: Enter & Tab Key

    To the best of my knowledge the tab key does not fire the keypress event in a normal senario, instead it is caught by windows and moves to the next control.

    The enter key trapping should work...
  24. Re: Compile error: Pemission Denied while making exe in VB6

    That error usually means that you can not create the file in the choosen location either because a file by name already exists and is read only or the folder is read only.

    I don't know why it...
  25. Re: Visual Basic - Code Syntax Speed

    You should read the forum rules, Binaries are not allowed, Source code only.
  26. Replies
    5
    Views
    200

    Re: Hex value expression

    Remove the & off the end

    &Hxxxx
  27. Re: Positioning a form right above the taskbar, but in the right corner?

    I also think that the mention of "projectors" does not mean that he has more than one connected at once but rather a general statement about the projectors used at the school. Of course it is...
  28. Re: Visual Basic - Code Syntax Speed

    Exe files are not allowed as attachments
  29. Replies
    4
    Views
    139

    Re: No of Records

    So if you recreated the field and it works now then more than likely the answer to the question in post #2 was no and that was the problem.

    That said if you student_ID is numeric as is shown in...
  30. Replies
    4
    Views
    147

    Re: How to get Quotient & Remainder

    duh... senior moment I guess :(
  31. Replies
    6
    Views
    196

    Re: Background Image on MDI Form

    One option I have used in the past is to use a WMF file for the background. If memory serves these will auto scale when used as the background image.
  32. Replies
    4
    Views
    147

    Re: How to get Quotient & Remainder

    I don't think that would work in all cases. The OP said 3\5 which would be 0 3-(0*5) =-3

    Instead of using the formula for the remainder would be better to use the Mod operator

    Remainder =...
  33. Re: Need Help With Survey Program!

    Well that is kind of what I thought you were saying but it was not clear. To use multiple files like that then of course you would have to read all the the files and keep track of all the answers.
    A...
  34. Re: Need Help With Survey Program!

    Well you said you wanted to see that a percentage of users said yes and no, sounds like one file for each user but perhaps it is one file per question or one file per survey. Can't really tell from...
  35. Re: Need Help With Survey Program!

    Well that depends on how many of these text files we are talking about and where they are coming from.
    There are lots of ways to do it, the easiest may be to use a DB
  36. Re: Multi Tabbed Web Browser using webBrowser

    The point was that the tabbed type browsing that we see in web browsers today did not exist in the 90s so one should not expect direct support for that in the old 90s web browser control. Nothing...
  37. Re: Multi Tabbed Web Browser using webBrowser

    As far as I know there is no such functionality in the web browser control. I would say you would either need to use a control array of web browser controls and a tabbed dialog or tab strip or try to...
  38. Replies
    5
    Views
    182

    Re: VB6 How can I find library references?

    Did you remove the reference from project references? If not then that may be why it is complaining.
    Trying to remove it will also let you know if it is in use anywhere in the project as it will...
  39. Replies
    12
    Views
    240

    Re: Restart Pc - Personalize

    Why do you want the PC to restart the first time they run your app?
    Personally I would not want anything on my computer that forces it to restart.
  40. Replies
    5
    Views
    182

    Re: VB6 How can I find library references?

    You really should not use that upgrade wizard anyway. Best to rewrite in VB.Net

    These are the various controls that are related to that ocx

    TreeView

    ListView

    ProgressBar
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.