Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Kori

  1. Kori

    VBLAYOUT.OCX

    The thing is I never built the ocx in the first place. What do I do? Kori
  2. Kori

    VBLAYOUT.OCX

    For some reason after moving my computer to my new desk, when opening a old project I had worked on like 3 month's ago says when opening it that it can't find the "VBLAYOUT.OCX" It still opens the project I work on every day. Any idea's?
  3. Kori

    Visual C++

    I am very very new at Visual C++. How do you grab a variable from another dialog box? If a dialog box is what it is called? I am familiar with Visual basic so I will tell you what I am after in VB terms. I have a two forms called frm1 and frm2. I am now in frm2 but want to grab a variable...
  4. Kori

    msgbox

    Well actually I have taken out the ret = and just put in MsgBox "******", vbOkOnly But it is still not working. I have this in a *.bas file. Could there be something in this causing the error?
  5. Kori

    msgbox

    I took out the failsafe code to shorten this god awful procedure. The code line I am having trouble on is on line 1440 Sub PrepareToPrint(l_s_report As String) 'MS ACCESS WILL NOT WORK WITH CRYSTAL AND SETSQLQUERY PROPERTY!!! 100 Dim sngTPP As Single 110 Dim...
  6. Kori

    msgbox

    My message box causes a error that says: 'invalid procedure call or argument'. Does anyone know what the cause of this could be from? my msgbox line is like this: MsgBox "No records found with the selections made.", vbOKOnly
  7. Kori

    msgbox

    My message box causes a error that says: 'invalid procedure call or argument'. Does anyone know what the cause of this could be from?
  8. Kori

    sql text and visual basic

    I have a part of code that calls a routine that sets up a sql text. If the data I am looking for is not in the database it crashes. Here is the line I open the data base with: Set sn = g_cmwdb.OpenRecordset(sqltext, dbOpenSnapshot, dbReadOnly) How do I know there isn't any data in the...
  9. Kori

    invalid argument when using a global variable

    I know I know it is not good programming rules to use global variables but I do. Few that is. My delima is I am getting a error when I try to read that global variable from another procedure after I have set it. It says it is a "invalid procedure call or argument" Any ideas? I...
  10. Kori

    Nextday/Previousday

    Thanks everyone I have it working now. I was being ignorant on my last post and figured it out. Kori
  11. Kori

    Nextday/Previousday

    ReturnedDate = DateSerial(DatePart("yyyy", year), DatePart("mm", month), DatePart("dd", day) - 1) is what I have typed in but I get a invalid call? ReturnDate is the variable I want to pass back too. Can anyone see something I am missing?
  12. Kori

    Nextday/Previousday

    Does anyone know a easy way to write some code that will find the next day and the previous day? I have a date but I want to know the day in advance and the day previous to that date. I figured this would be easy but it gets complicated when you are on the 31st or 30th or 1st...
  13. Kori

    How do I find the Type of my drive

    I am in the need of finding out what Drive I am currently on. For example if you go to the properties of your hard disk it says Type: Local Disk Or for the network: Type: Network Connection Anyone know how to go get these?
  14. Kori

    Writing to Access Using ADO

    Can anyone give me insight on how to write to a Access database using ADO. I know you use the rst.addnew 'do the writing rst.update commands but it gives me errors. I think I need to make the database a read/write db but how??? and where????
  15. Kori

    Commondialog box

    I am wanting to grap multiple files in a directory. Well I was trying to use the commondialog box and it will not allow me to grab all the files. I have a total of 15,000 files and it only grabs half of them. I have uped the maxfile size to its max of 32727 and it still grabs half. Does...

Part and Inventory Search

Back
Top