I may be overlooking a simple concept, but I seem to be stuck on this. I need to retrieve the 8 bits from a given byte. How do you do this? I am currently using Asc() and Chr(). However, I don't think this is correct.
Any information that I can find simply says that there ARE 8 bits in a given...
Does anyone know how to access the file summary for a particular file? I am aware of the function GetAttr, which retrieves the attributes such as read-only, normal, etc. However, I would like to take that a step further and actually get into the file summary tab.
I found the following code for...
Nothing on my IIS server seems to run in IE. I keep getting 502 Bad Gateway when I use my computer name, and 500 Server error when I use localhost.
However, I have a feeling it isn't a setting in IIS because it works like a peach in Netscape 7.
I just freshly reformatted my computer with...
I am using Crystal Reports v4.6, and I need to connect to SQL Server via logonserver. I am also trying to use logoninfo. I have done something like this:
intServer = .LogOnServer("P2soledb.dll", "server", "database", "username", "password")
(I...
I am try to execute a simple update stored query (using Access with VB). One of the fields happens to be a memo datatype. What TYPE (DatatypeEnum) can I use for creating the parameter? Do I need to specify a field size? I haven't been able to find examples using memo fields.
I've tried...
I am having trouble bringing back records based on a selection formula. I have my main report, and my subreport. The divisions and programs are in the subreport. How do I use a selection formula to check against my subreport? Right now I am getting nothing returned. I am using VB to bring back...
My selection formula that I am testing in Crystal Reports (6) is:
ToText({Employee.EmpNo}) like "1234*"
which works great. I ended up needing to adjust the number formats under Options for this to work properly, because there was no field that I could just format in my report, as it...
How do you go about using a DLL on the web? All this time I have been using it for my IIS application..but now I would like to move it to the web. Of course I am getting an error saying that server.createobject didn't work. What do I have to do to make it work? I've uploaded the dlls, but I'm...
How do you go about using a DLL on the web? All this time I have been using it for my IIS application..but now I would like to move it to the web. Of course I am getting an error saying that server.createobject didn't work. What do I have to do to make it work? I've uploaded the dlls, but I'm...
Using the onkeyup event (or any of the key events), where is the key that is pressed stored? I need to know which key is pressed...what variable/property is it stored in? In VB its all in the parameters..but with vbscript, it's more difficult to figure this out.
Thanks. - Karen
Is there a way to get just the name of the file of the page you are on? Rather than just the values passed to the page (querystring), I want the actual asp page name. I don't want to have to pass the name of the file as a value, because that would be a hassle.
Even if I could get the entire...
Is there a way to launch an application using javascript? (such as a different browser)
In VBScript I can do this with the run method...but I need to do this in javascript.
Thanks. - Karen
I am trying to add new options to a combo box, but the add method is not doing me any good. How do you use the add method for the combo boxes, and is it the right way to add?
For example, in the HTML code, I simply have:
<select name="cboCustomers size=5>
</select>
because based on what...
I'm very new to ASP, and am still learning. I have created a Visual Basic ActiveX DLL, and I know that it works, because I tested it using VB.
How do you go about using it for ASP? I am using MS Visual InterDev. I have tried inserting it (the compiled DLL file) into the project (I am using...
I'm very new to ASP, and am still learning. I have created a Visual Basic ActiveX DLL, and I know that it works, because I tested it using VB.
How do you go about using it for ASP? I am using MS Visual InterDev. I have tried inserting it (the compiled DLL file) into the project (I am using...
I am having some trouble actually making the connection. It worked fine when I was using a DSN, but I would like to use a connection string. Here is what I have:
With cryPrint
.ReportFileName = App.Path & "\DonationTotals.rpt"
.SelectionFormula = "{Donors.DonorID} = "...
I am trying to use BETWEEN in my sql where clause, for my dates. However, my date field is a text datatype, to get around entering nothing into the field.
Is there an easy to get the proper data back?
SELECT * FROM ASB WHERE DateEst BETWEEN '08/24/1994' AND '07/17/2001'
is bringing back...
I am having a problem with getting the RecordsRead property.
I am using Crystal Reports through a Visual Basic interface. I am always getting -1 rather than the true recordset. Is there something that I am missing? Is anything else required besides setting the SQLQuery property?
Thanks in...
I am having a problem with getting the RecordsRead and Status properties.
I am using Crystal Reports through a Visual Basic interface. I am always getting -1 rather than the true recordset. Is there something that I am missing? Is anything else required besides setting the SQLQuery property...
I am trying to query an Access database through a VB interface.
I am getting this error:
Data provider or other service returned an E-FAIL status.
I am trying to get records that don't have a null field.
ie.
select * from table where field is not null
I also tried
select * from table...
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.