My son goes beyond his alloted time to play games online. I'm looking for advice on how to write an app (in VB,C#,suggestions?) that tracks the amount of time spent on a given web site. If he exceeds his time I'll display something to mess with his mind or maybe scare the #*&#$*& out of him...
Basically, I just want a way to know what URL is being accessed at a given time and am looking for way's to determine that. Could you elaborate? How do I create a port 80 sniffer?
I'd like to create an application (C# console app, vbs, suggestions?) that is launched through Windows Scheduler which simply looks for an existing instance of Internet Explorer and if found, reads the URL entered in the address bar. It will run on a single machine. Any suggestions on how to...
I have an xml document containing a list of 'Events' which ultimately gets presented to end users. How can I filter out data whose date is in the past?
<Events>
<Event>
<Date>08/24/06</Date>
</Event>
<Event>
<Date>09/24/06</Date>
</Event>
</Events>
When running the following query against Access I get the "Item cannot be found in the collection corresponding to the requested name or ordinal" error.
SELECT u.id, u.name, u.active, ut.descr FROM tblUsers AS u LEFT OUTER JOIN tblUserTypes AS ut ON ut.userType = u.userType
Using the same...
When running the following query against Access I get the "Item cannot be found in the collection corresponding to the requested name or ordinal" error.
SELECT u.id, u.name, u.active, ut.descr FROM tblUsers AS u LEFT OUTER JOIN tblUserTypes AS ut ON ut.userType = u.userType
Using the same...
No, I'm talking about the flash file itself. I'll be embedding the file in an existing web page with dimensions of 480x360 (the dimensions of a series of .bmp files I attempt to import into a flash file).
The first thing I do is open a new flash file, resize the screen to 480x360, then import...
I open a new flash file and resize it to the dimensions of a series of .bmp files that I'm going to import. When I import the files they are not centered on the stage - there seems to be about a 40px pad on the left and top. How can I move the images in all the frames to remove this space? I've...
I created and published a movie. When I open the generated html file the movie plays fine. When I copy the code into an existing web page and copy the .fla file into the same directory as the web page the flash file does not load. I did not change any of the existing code, simply copied it into...
Works like a charm (except I had to use FIELDTERMINATOR = ',', instead of FIELDTERMINATOR = ''',''', otherwise no rows were being inserted - but no errors either).
I appreciate the help!
DotNetGnat - the datatype for WorkDt is datetime.
gmmastros - I do have control over the format of the data file. What should be changed to avoid the error when inserting the date field?
I'm trying to load data from a .txt file into SQL Server using the following:
BULK INSERT tblHours
FROM 'c:\test.txt'
WITH
(
FIRSTROW = 2,
FIELDTERMINATOR = ',',
ROWTERMINATOR = '\n'
)
My text file contains:
HourId,HourCnt,WorkDt,ProjId,TypeCd
1,2,'2005-07-30',3,'COMP'...
The site is session-less so that's not an option. Any other ideas? OnInit() takes System.EventArgs as an argument but it appears to be empty all the time. Are there any properties of this object that would tell me the control that caused postback?
I have a dropdown list and button that cause postback, each with events that are getting fired correctly after Page_Load. How can I determine which control caused the postback in OnInit()?
All my aspx pages have public properties that control the display of menus. These properties are part of my BasePage class that overrides the Page class. When an unhandled exception is thrown I'm executing (Server.Execute) my error page. What I'm trying to do is maintain the properties of the...
I thought of that but being fairly new to .net figured that there must be a better solution. The thing I don't understand about my code above is that since I'm doing a response.clear why would I be getting run time errors about loading controls in my error page with the same id as controls in...
All my aspx pages are overridden with my own BasePage class. It handles logging and display of errors, among other things. I've also implemented a page template approach using custom controls that contain nested controls to paint header, menus, footer etc. The BasePage class has properties to...
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.