|
How can i Automate a usercontrol using UIAutomation class
please advice
thnks in advance
|
|
|
|
|
You can start your research by reading this[^]. Then just follow the links and keep reading. You've got a lot of work to do.
|
|
|
|
|
Hi,
I will need to write a C# program that will show the user has access https webpage.
What I mean is that when a user type something at the URL.
The program will do a check.
Check whether is it https url.
If yes, the program will do a output.
Then pipe out to a txt file.
Output will be something like :
URL: https://www.gmail.com/
Time: 0100hrs 20-Nov-2010
If not then the program will skip it.
|
|
|
|
|
Okay, you have your program specification. What was your question?
|
|
|
|
|
How to code it?
I am a newbie.
|
|
|
|
|
If you really have no idea how to write such a program I suggest you get a book on C# or try some of the online resources, this[^] is an excellent primer, and start form there.
Just say 'NO' to evaluated arguments for diadic functions! Ash
|
|
|
|
|
I'm sorry, but that's not the way Code Project works. We don't write applications for people - we're all volunteers here and we don't have time to write full apps for others. If this is a personal project, I'd take a look at doing something simpler for a start.
I will say that you are missing several key pieces of information here - how do you intend to interact with the browser? Is it going to be an add-in? Are you intending to hook into the browser instance from a service? Which browser are you intending to target? You need to answer these questions before you can even begin to code this task.
|
|
|
|
|
Right now only Firefox.
But if i can interact with all browser would be better.
I just wanna get the URL address that is HTTPS thats all.
|
|
|
|
|
Why? What are you trying to accomplish? How are you trying to run it - in the browser or out of the browser? If you're trying to run it in the browser then you can't use C# for it - Firefox runs on different platforms, so you need to write the extension in a manner that would run on multiple platforms.
|
|
|
|
|
I want to run outside the browser.
I just wanna check whether is the user access https pages.
if yes output into a txt file.
how to do it?
|
|
|
|
|
Again, I ask why do you want to do this? You still haven't clarified that.
|
|
|
|
|
My task? School project. lolx.
|
|
|
|
|
So you want somebody to help write your homework for you. Isn't that, wait I'm sure I can find a word for it, cheating?
|
|
|
|
|
No? Is finding assistance. Cos this is self.
and I am seriously out of clue.
For some personal reason. But really not the cheating as you know. ...
|
|
|
|
|
OK - you could always intercept the request stream (by default it will be running on port 443 for HTTPS). Alternatively, you could write something that hooks into Firefox and listens to the messages it's firing off - I find it hard to believe that this is an assignment though; this is quite advanced coding and not one you'd typically give to students, especially as it is in such a sensitive area as internet security.
I will say, accomplishing a task like this is normally achieved using a language like C or C++.
|
|
|
|
|
Sure, you'd have to write your own proxy server. If you have no idea what a proxy server is or how Socket communication over TCP/IP works, then you have no hope of completeing this project.
wenlong88 wrote: I am a newbie.
Of course you are. See above.
|
|
|
|
|
Pete take it easy on him
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
This is me taking it easy with him. What I was trying to do was find out what his requirements really were, and make sure that he wasn't after this for nefarious purposes.
|
|
|
|
|
Hi all,
Curently, I have a big solution (include C#, VB, C++ projects).
LOC of this solution is about 1000 KLOC.
I want to create a tool to get all information in source file as below: class, method, enum, parameter of method, all place in source code where use class or method, ...
Can you help me to find the best algorithm to get these information?
Thanks for your support.
|
|
|
|
|
Visual Studio already has a tool like that: is the Object Browser (you can show it from the View menu). IT shows a hierachical view of all the assemblies in your solution, with namespaces, classes, fields, properties, methods, etc. (if you provided XML comments for the shown items, the informations you have provided through them are shown too).
To show informations about places in source code where a class or method is used, you can right-click on the item in the Object Browser and select Find All References.
|
|
|
|
|
Thanks for your answer.
But I still want to build my own tool .
Beside, I also have a solution2 that reference to solution1 (location of them in different folder).
And this tool can be search in both solution (just give it the location, and it will return the result)
|
|
|
|
|
Have VS produce XML documentation and read that.
|
|
|
|
|
Just in case my code is fully documented with XML comments.
Beside, with XML comment, I can't find reference of classes or methods that are using somewhere in source code.
|
|
|
|
|
Hello Everybody,
I want to know that How many Compilers are used in C#.
Thanks
If you can think then I Can.
|
|
|
|
|
Do you mean how many C# compilers exist?
there is one in each version of the .NET FrameWork for Windows, it is called csc.exe
I expect there are a few others that are popular, e.g. in the Mono environment.
And there must be a couple around in research and university environments.
or do you mean how many compilers (for whatever input language) have been created using C#?
that, I don't know at all. I see no major obstacle for writing a compiler in C#, although the majority will be in C++, mainly for historical reasons.
|
|
|
|