I have a form that has many controls on it. How, at runtime, can I work out which of the controls on the form is currently in focus? All help appreciated.
How do you test that a crystal report (that is embedded in vb) has been successfully printed using the 'ptintout' method? To my knowledge it does not return a value to indicate if it was succesful or not. I have many users printing from a network printer and ,upon printing, a message box...
I am running a Crystal Report from VB6 which produces a financial report. I wish to return the final grand total back from the report to VB and then stuff it in a variable. Is this possible? In other words, can Crystal return values. I am populating Crystal by linking it to a stored...
I am using VB6 to talk to exchange and do all the usual stuff such as setup appointments on calendars etc. Does anyone know if it is possible to obtain a list of all available profiles for a user, rather than having to input a profile name and then 'resolve' that name?
I am making the...
How on earth (using Crystal Syntax) do you achieve the most mundane task of having multiple lines of logic within each section of an IF statement? I always seem to get the error:
The remaining test does not appear to be part of the formula.
I am attempting to add a formula with an IF...
Could anyone tell me how to reference the dll Eztw32.dll from within VB? I try to register the dll but get the error:
The Dll was loaded, but the DLLRegisterServer entry point was not found. File could not be registered.
When trying to reference the dll by chooing references from the project...
I am running Crystal Reports 8.5 from VB 6. I need to be able to open a report (which I can do no problem) and then be able to save that report (with data) and store it within a Folder on the local hard drive somewhere. Does anyone know how this can be done from VB?
Cheers
P.S. I have...
I am running Crystal Reports 8.5 from VB 6. I need to be able to open a report (which I can do no problem) and then be able to save that report (with data) and store it within a Folder on the local hard drive somewhere. Does anyone know how this can be done from VB?
Cheers
For some reason my inputboxes are being ignored by VB. I step over the code and the inputbox line is executed but it never appears on the computer screen. Code is
Dim response as string
response = InputBox("<some string>")
Does anyone know why this occurs?
When using a refresh:
<META HTTP-EQUIV=REFRESH CONTENT='0;URL=start.asp'>
is it possible to use TARGET to force the page to load into a certain frame? Such as:
<META HTTP-EQUIV=REFRESH CONTENT='0;URL=start.asp' TARGET=BOB>
I have trouble getting this to work. I have correctly set up the...
I have a page that calls another page upon submitting a form (page1 and page2). Within the called page (page2), there is a line of logic to redirect back to the calling page, i.e.
<%
Response.Redirect 'page1.asp'
%>
I would then expect that the value within the HTTP_REFERER server variable...
I wish to add a record to a DB table using ASP. I know you can create a recordset and then use the AddNew method, .i.e.
rs.AddNew
rs("field") = "some value"
rs.update
but I wish to insert records by using INSERT sql statements. I can't seem to get this to work as ASP...
If I run some SQL to generate a recordset within a called function, how can I return the recordset back to the calling function/procedure?
Example:
--------------------------------------
<%
Dim recordset
GetRecordset recordset 'calling procedure
'would like to be able to manipulate...
Any ideas how a Calendar Control in VB6 can be disabled?
Unfortunately there is not an enabled property associated with the Calendar control and so :
Calendar1.Enabled = False
is not possible
I am using the reference 'Microsoft CDO 1.21 Library' to allocate an appointment to myself within my Outlook Calendar. How can I send an appointment to another Outlook Account so that it only appears within the other Outlook Account and not my own? The code I am using to assign an appointment...
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.