|
Hello Everybody,
I have a plan to develop an application for URL Monitoring.
I want to monitor All Browsers (IE,Mozila,Google Croma,etc..). and All Pages (Home page + Internal Page Also (if Visit))
It is same like as proxy server for local machine. But i have not exect idea to develop this type of application.
So please help and Suggestion are welcome here.
Thanks
If you can think then I Can.
|
|
|
|
|
One way to do this would be to have your user(s) install a BHO[^].
/ravi
|
|
|
|
|
That doesn't work with all browsers. His only option is using a proxy server, or writing one himself.
|
|
|
|
|
if you want to monitor all network traffic you could write a windows service that either hooks into a system component like winsock.dll, or see if there's something that can monitor network interfaces => would save you having to write an application for every browser you want to monitor I suppose.
|
|
|
|
|
Dear Sir,
Thanks for reply.
I am trying to add Winsock Dll with Application. But it is not adding.
So please explain me how to use it.
Thanks
If you can think then I Can.
|
|
|
|
|
Using a generic definition of "monitoring", any off-the-shelf proxy server will do this already. No code required...
|
|
|
|
|
Dear Sir,
I want to add it with my code so i think code is required.
Can u please describe something regarding Port Monitoring. and Is it fixed IE or Mozila or opera alwase access 8081 port.
If you can think then I Can.
|
|
|
|
|
OK, then you're going ot have to write a proxy server that the browsers will have to use to get to outside web sites. I hope you're up on your TCP/IP programming skills.
eg_Anubhava wrote: Is it fixed IE or Mozila or opera alwase access 8081 port.
I have no idea what you're trying to say here. Port 80 is the normal HTTP port a browser makes requests on (non-secured). 8081 is not assigned to anything.
|
|
|
|
|
Hello everybody,
wininet.dll Provides api(FindFirstUrlCacheGroup etc..) for getting information.But it is only working with Internet explorer. Now Same as I want the information for Mozialla ,Opera, Google Croma.
Help required.
Thanks
If you can think then I Can.
|
|
|
|
|
Yeah. I already told you what your only option is if you want to support all browsers. You must write a proxy server, or get one off-the-shelf that does what you want.
|
|
|
|
|
|
A good while back I started a program to read csv files, classify the lines to separate the chaff from the wheat, then convert the text fields to proper types and save the records to a remote SQL Server database. As usual, I did it half in the bag, late at night after very long days at work, that being the only time I have available. I had to drop it for a couple of months, but I'm now back into it and trying to figure out what I was doing. Predictably, it's a mess - spaghetti code, for lack of a better term. It works, that part that I managed to finish back then, but the major hurdle lies ahead and I'm refactoring the monster before I begin again. But I digress...
I had no trouble using the StreamReader to read the data, and at your collective suggestion, implemented ugly, nasty little Regexes to classify the text lines into keepers and crap. I asked about creating a new database on the remote SQL Server instance, and after being told that it can't be done, did it anyway. All that works great, jumbled mishmash though it is. What's stumping me is this:
On first run, I want to create the database and save all the neccesary connection information in the AppConfig file so I won't have to enter it manually. I can't figure out how to do that, despite searching MSDN for articles on the subject. I believe that there exists a whole class devoted to manipulating the AppConfig file, but I'm stumped and have little time available to search through all the irrelevant links MSDN returns. Can someone give me a quick clue? I know this is trivial stuff, as every program that accesses a database uses it, but I'm not having much luck with it for some reason.
Thanks a bunch in advance. If I didn't have this crowd to assist with the sticky bits, I'd probably quit programming at all, even as a hobby - it so easily becomes incredibly frustrating. I'm unspeakably grateful...
Will Rogers never met me.
|
|
|
|
|
Is the ConnectionStringSettings class[^] what you are looking for?
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Digital man: "You are, in short, an idiot with the IQ of an ant and the intellectual capacity of a hose pipe."
|
|
|
|
|
Excellent! Thanks a bunch!
Will Rogers never met me.
|
|
|
|
|
|
Thanks!
The previous answer adressed the specific problem, and yours the more general one. I appreciate it!
Will Rogers never met me.
|
|
|
|
|
Roger Wright wrote: as every program that accesses a database uses it
Mine don't.
Roger Wright wrote: the sticky bits
Most developers here don't have to worry about those; just we in the desert.
|
|
|
|
|
PIEBALDconsult wrote: we in the desert.
It wouldn't be such a problem if they'd let us wear our birthday suits at work. A little breeze goes a long way.
OT - Are you getting the frigid winds there, too? Brrrrr....
Will Rogers never met me.
|
|
|
|
|
Roger Wright wrote: wear our birthday suits at work
Way, way, way, TMI...
Now I have to get that image out of my mind. Naked developers.
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Digital man: "You are, in short, an idiot with the IQ of an ant and the intellectual capacity of a hose pipe."
|
|
|
|
|
Fear not - I'm not a developer. Imagine, instead, naked engineers!
Will Rogers never met me.
|
|
|
|
|
Sounds like a Dilbert episode...
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.
Digital man: "You are, in short, an idiot with the IQ of an ant and the intellectual capacity of a hose pipe."
|
|
|
|
|
Roger Wright wrote: frigid winds
Yes.
|
|
|
|
|
Hi there !
I start to developing a hotel managment system C# + MySQL database.
I have to make some like graph schedule (it's only for view)
It should looks like:
for example on some month...
is 3 persons in room2 from 2 to sixth day of month and the color of this line...
1 2 3 4 5 6 7.... 31 (days for months)
room1
room2 3 3 3 3 3
room3
it will download the data_from and data_to of reservation some of specified room, the type of residence which is declarated in specified color and then at last how many persons are in this room
and now it will draw lines of a given color from the day-to-date and in the middle of this line in each row of the color line the number of people in this room
I wonder how to do it ... First what control should i use dg, lvor ..?
And how to declare this all months with days...
Plz help how to start it?
|
|
|
|
|
I'd use a DataGrid and to keep it simple stupid have a class that represents the room and every day of the month. Then write some code which returns a collection of the class. There would be a lot smarter ways to approach this but sometimes keeping it simple is the most maintainable.
You may also look at your database structure because sometime guests may stay in one room for 2 nights and a luxury room for 1 night. You may want to store this data night by night and not from-to date.
Good luck with it. Micros Fidelio are one of the most fierce competitors your every likely to bump into.
Architecture is extensible, code is minimal.
|
|
|
|
|
i will have a data_from, data_to in, number_of_people register table the colors will declare in other one i think and the room in other and buildings in other :/
In C# i will have .cs files which represents entities and mapping classes for this entities .
But could u write some example how it could be? I Will really happy I heard somewhere that lv will be better than dg...
BTW if I will use Flunet NHibernate and LINQ NH + mapping should I make in My MySQL Server relations on Entities (i mean in MySQL Server) or just make entities and PK's but in VS Entities .cs files and mapping it will be enough ?:
for example:
public class ClientMap : ClassMap<Client>
{
public ClientMap()
{
Id(x => x.Id).Column("client_id");
Map(x => x.FirstName).Column("imie");
Map(x => x.LastName).Column("nazwisko");
Map(x => x.Created).Column("utworzony").Not.Nullable();
Map(x => x.Updated).Column("aktualizacja");
Map(x => x.Deleted).Column("Usuniety");
HasMany(x => x.Rooms)
.Access.Property()
.Cascade.All()
.LazyLoad()
.KeyColumn("client_id");
Table("klient");
}}
modified on Tuesday, February 1, 2011 6:45 PM
|
|
|
|