Search Results - VBForums

Search:

Type: Posts; User: DataMiser

Page 1 of 13 1 2 3 4

Search: Search took 0.22 seconds.

  1. Re: Select Filtered Data from Excel to VB6 code

    You need to


    Set rs= New ADODB.Recordset

    Then you need to use the Open method of the recordset with your query.
    You can either use a query that selects all records and then use the filter...
  2. Re: Adding More Space Between Lines Of TextBox

    You can use replace() to double up the line feeds assuming that there are line feeds. If it is a case of word wrapping that is another story.
  3. Re: Vb6 app on windows 7 using sql server 2000

    The code required is no different on 7 than it would be on XP.

    What line does the error actually occur on?
    What is the actual error message?
    What connection string is being used at the time the...
  4. Replies
    7
    Views
    220

    Re: 32bit or 64 bit ? (2)

    I have some controls I bought several years called PowerTCP. I bought them mainly for the FTP but the Web tool seems pretty good also.
  5. Replies
    7
    Views
    220

    Re: 32bit or 64 bit ? (2)

    Could be that MSINet.OCX requires a dll that is not being included as part of your install
    I personally do not use the INet control in any of my projects. Last time I used it was in VB5 and found...
  6. Replies
    7
    Views
    128

    Re: can not open SQL Server

    What error? You still have not said what the actual error message is

    I would suspect your connection string but can't tell what it is from what you posted.

    What is the content of SCR_CON_STR ?
  7. Replies
    7
    Views
    128

    Re: can not open SQL Server

    You still did not tell us what the error is nor which line is throwing it.
  8. Re: Vb6 app on windows 7 using sql server 2000

    If you are using an Access database and that database is being installed under program files then that is most likely your problem. That will work on a basic XP system but will not work from Vista on...
  9. Replies
    7
    Views
    220

    Re: 32bit or 64 bit ? (2)

    What problem and how are you doing it? Normally the installer would do this.
  10. Re: Vb6 app on windows 7 using sql server 2000

    Which connection string is actually being used when you have the issue?
  11. Re: Runtime Error 5941 The Requested Member of the Collection Does Not Exist

    Well the first thing you should do is comment out the on error statement or set the IDE to break on all errors so you can see which line is throwing the error, assuming you haven't already.
    Then...
  12. Re: [RESOLVED] Difficulty with SEEK comand using PrimaryKey

    I would guess a date, user id and product number

    The design of the index does seem a bit odd. In many cases 10 units [buildings? Aisles?] may be enough and 10 shelves each may be enough but there...
  13. Re: MsFlexGrid with Footer or Freeze Last Row ??

    I would suggest a second flex grid directly below the main one and place your totals in that one. This way you can scroll up or down through the data in the top grid and the totals will stay visible...
  14. Replies
    7
    Views
    256

    Re: 32 bit or 64 bit ?!

    VB6 is 32 bit as are all of its activex components and any software that you create with it.

    Remember VB6 came out in 1998. A 64 bit OS was very rare bird back then. I think there was a version of...
  15. Re: Difficulty with SEEK comand using PrimaryKey

    So you have two fields but you are only passing one value and you expect it to magically figure out that you mean a value of 1 in one field and a value of 1 in the other?

    You must tell it which...
  16. Replies
    11
    Views
    223

    Re: [Visual Basic 6] Form

    Yes it is possible
  17. Replies
    3
    Views
    143

    Re: Controls are not showing properly

    This happens on Windows 7 also unless you either turn off the aero theme or turn off desktop composition via the VB shortcut properties. It should work fine when configured properly.

    As for the...
  18. Re: Program to Copy Files from Files from 2 DVDs

    Yeah you said that already but why do you think it would be a problem to do so from two more so than one? Have you ever installed software that uses more than one disk? An installer can handle this...
  19. Re: Program to Copy Files from Files from 2 DVDs

    It is your program that you are copying from the DVD? If so then a proper installer for it is the way to go. Put it on the 1st DVD, you can even use autorun to have it execute when the DVD is...
  20. Replies
    11
    Views
    273

    Re: Program that read each line?

    In a manner of speaking it is, just as I described but that was not the point. The point is that you should not use + in such a case you should use &
  21. Replies
    11
    Views
    273

    Re: Program that read each line?

    Yes definitely looks like VB.Net code

    This would be a problem

    Label1.Text = TempS + Label1.Text.Replace(",", " - ")
    First of all you use & to concatenate strings rather than +

    Secondly...
  22. Replies
    11
    Views
    273

    Re: Program that read each line?

    It is a bit unclear what the OP is even working with. He says scripting so either that is just a mistake and he is actually using VB6 or he is using some scripting and is posting in the wrong place....
  23. Re: Program to Copy Files from Files from 2 DVDs

    You can use the package and deployment wizard that is included with VB
  24. Replies
    11
    Views
    277

    Re: Timer Control Not Turning Off

    The timer event will not fire again until the timer event has completed even if you have a loop with doevents in te timer or call a routine that does so.

    Private Sub Timer1_Timer()
    ...
  25. Re: How to retrieve boolean value from access mdb field into radio button.

    Assuming that these radio buttons are in two different groups/containers then you can set them easy enough though I agree that this is not the way to go.
    As stated above you must read the value...
  26. Re: display Caller Id using Mscomm dosnt Work

    You do not need to use a timer.

    You use the oncomm event of the MSComm control.

    You also do not need to use the inbuffer count. On Comm can tell you why it fired be it an incoming call or...
  27. Replies
    12
    Views
    243

    Re: label with hyperlink

    It would be a lot easier if you used a control array. You create one label on your form and set its index property to 0
    To add more labels you simply use the load method and the next index number...
  28. Re: CreateObject works for Outlook in one vb6 app but not another on the same machine

    That is probably why you are having a problem with the code. Outlook != Outlook Express
  29. Replies
    5
    Views
    176

    Re: no duplicates/clones

    You really should be using ADO rather than the old outdated DAO stuff.

    You also should not be looping through the recordset to find the name, instead you should use a select query and a where...
  30. Re: Program to Copy Files from Files from 2 DVDs

    Why not just create a proper installer?
  31. Re: 2 questions about adding a label by using code

    You would be better off using a control array, adding just one label to the form in the designer and then using the load method to add additional labels at runtime as part of that same control array....
  32. Replies
    15
    Views
    313

    Re: Reading TEXT FILE

    I think this is your problem

    Label7.Caption = Namn

    You are reading a line from the file and setting the caption = to that line. You then read another line and reset the caption to that line....
  33. Re: FileReader and FileWriter: File already in use

    Do not use yellow highlighting, can't read any of it.

    That is also VB.Net code so is posted in the wrong area.

    I see where you are trying to read and I see where you close the filereader. Same...
  34. Re: CreateObject works for Outlook in one vb6 app but not another on the same machine

    Do you have Outlook installed on yoru system?

    That little piece of code was working for the OP also. It was in another application that he said it was a problem but on the same PC which is why I...
  35. Re: Question Regarding End Game in $ale of the Century (VB6 Related)

    Kind of hard to tell you how to be more efficient when you have shown no code at all.
  36. Replies
    11
    Views
    277

    Re: Timer Control Not Turning Off

    I've never tried setting the interval to 0. I always use the enabled property and have not once saw a problem dating all the way back to before VB6 was released.

    Most likely you have something...
  37. Re: CreateObject works for Outlook in one vb6 app but not another on the same machine

    Are you sure it is that line that is throwing the error?
  38. Re: DataGrid cannot show all entries from Access!!

    You would have to show some code. A picture tells us nothing about what is going on in the code. How many records are you expecting? What query are you using, how are you getting the data into the...
  39. Replies
    4
    Views
    231

    Re: How can I sell my software

    I don't think that question really belongs here but one of the first things you need to consider is who is your market and then you can determine how to reach that group of potential end users.
    You...
  40. Re: dataenvironment with Access database password protected, is it posible or not

    I do not use the data environment either but based on the error message I would think that maybe the mdb is currently open in Access. Access has a habit of wanting to grab the DB for exclusive access...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width