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?
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...
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?
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...
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
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...
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...
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?
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...
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?
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????
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.