Hey All,
I have no idea if this is the right forumn for this buy im trying to use the Office Chart Web Compnent to make a graph. The catch is when you define the component in frontpage it makes you tell it the table or query you want it to pull data from. I was wondering if its possible for me...
ok.... so how do i fix it.
Ive been looking at all the documentation i can find on this Format function and it deffinatly returns a string
even when i use to variables
MyDate = Now()
and
TheDate = Format(MyDate, "mmyy")
it still type mismatches.
I need to be able to append whatever the...
im getting a type mismatch on this
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'Format'
/pcorder/ShoppingCart/checkout.asp, line 99
DO i need to generate MyDate somehow
maybe
i tried
Dim MyDate
MyDate = date()
MyDate=Format(MyDate, "mmyy")
i also tried just...
Hey all,
Im trying to get a date in the format "MMYY"
I NEED leading 0's so for july of 2004 i need it to report 0704.
Can i do this in ASP and if so how?
thanks
Hey all,
Im trying to recursively scan a file system obtaining information like file name, file size, access dates, etc. Im using windows api to do this using the FindFirstFile and FindNextFile functions to scan through directories.
These functions open a file handle which acts like an open...
Hey everyone,
I posted a thread earlier called Opening Files, doesnt matter anymore cause i found the problem. But i have a new question for you all.
Im trying to identify the Owner of a file based on NT Permissions. The code that i have (taken of MSDN) opens the file to do this. I was...
So i realized after i submitted this that its a terribly name for the post. Unbeliveable undescriptive. Sorry everyone.
For those of you that are interested though my GetOwnerName function is off MSDN and looks like this:
int getOwnerName(const char* filename, string &rAcctName){
DWORD...
Ive tried asking this stuff before but unfortunatly i havent quite found a solution yet so i figured id post a bit of an update. Im using MFC to scan a LARGE network storage device, talking 3TB highly nested. I recently changed my scanning algorithm to this.
void scanPath(string path...
The directory tree is highly nested. It is the global team storage for a fairly large company so at points it could go 20-30 folders deep.
At the root theres only about 40 folders but they represent the different units of the company and from there it divides into divisions, teams, etc.
Here...
Hey all,
Sorry for the low points on this, kinda used most of them up. Hopefully someone will still have the answer.
Anyway im trying to run a recursive file scan of a file server. The Server has about 3TB of data so its pretty big. Anyway im using Windows API calls and using FindFirstFile...
Hey everyone,
Im trying to do some math in a query in order to limit my asp work.
What im trying to come up with is the top 20% of file owners based on a table that contains individual records of every file on a server.
THis table contains Owner (file owner), FileSize, and other records i...
Hey everyone,
I was wondering is anyone knew how i can set up some sort of job or trigger based on an event that occurs in my db.
Basically i have a db that takes periodic entrys. I want to make a script that will fire off an email to a list of people whenever an entry is made. I could write...
hmm i cant edit my previous post apparently so just change one thing. In the connection function the line that reads
sTempConn += "FileScanner";
should read
sTempConn += "DATABASE_NAME";
i took a very similar Faq and broke it down into functions. I dont have the select statement function done yet but the following two are a connection function and a function to support linear queries (update, insert, delete)
void DbConnect(_ConnectionPtr& conn){
string sTempConn;
string...
thanks alot everyone, ill try out regex++ and see what its like. I ported that function above to string class strings and it works pretty well so thanks.
Hey all,
Im trying to do a C++ program that checks a string to match a pattern. Namely im looking for it to record the string if it matches
AA###### where A is any alphabetic char (a-z, A-Z) and # os any number 0-9.
I know i can do this in regular expressions as a web based front end im...
Hey everyone,
I have a database which is storing some information about files. Amoung that information is the full path to the file in the format \\servername\directory
If i have a file in that format that i want to delete how can i do this? Do i use some sort of system call or is there an...
Hey everyone, Im trying to make a listbox that will list an id, subject, and content for a group of items. Id prefer for content and ID to be hidden but accessable. I.E. I can use id for passing to other functions.
That said i know this was easier in VB 6 but how do i make a listbox and then...
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.