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
...the lastaccessdate. I need that to stay in tact if possible.
p.s. my current function is below.
Thanks.
CODE:
int getOwnerName(const char* filename, string &rAcctName){
DWORD dwRtnCode = 0;
PSID pSidOwner;
BOOL bRtnBool = TRUE;
LPTSTR AcctName, DomainName;
DWORD dwAcctName = 1...
...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 dwRtnCode = 0;
PSID pSidOwner;
BOOL bRtnBool = TRUE;
LPTSTR AcctName, DomainName;
DWORD dwAcctName =...
...that makes the recursive calls
int FindFile::scanPath(string path)
{
WIN32_FIND_DATA fileData;
FileInformation fi;
int success=0;
char* acctName;
string filename;
int sum = 0;
int filesum = 0;
_ConnectionPtr conn;
HANDLE searchHandle = NULL;
if (m_opts.extendedInsert ==...
...For them i need their total filesize, count of their files, and their owner name
I was trying this query but it wasnt working.
Select Count(*), Sum(FileSize) as Total, Owner,
completesum=(select Sum(FileSize) from FileScanner.dbo.FileInformation)
from FileScanner.dbo.FileInformation...
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.