This is the code that I use to enable the proxy. It has worked fine on all versions of windows up until Server 2008 R2 (Windows 7 Kernal). Now it only works the fist time. I start my application and enable the proxy and that works fine. I then try disabling it using code similar to the code below. It never gets disabled. If I manua...
Hi all..
I have a doubt regarding Internet explorer handling in VC++.
I need to get the URL entered in address bar of Internet Explorer and the value of textboxes in the webpage. How is it possible? and how can i get them?
I'm using FindWindow() to do this, but unable to get around this. Specifically in MFC.
Any sort of help is grea...
If you have total control of both ends of the wire (client and server), why do people suggest using Comet or HTTP long polling? I understand when you only have a browser as it can only communicate over HTTP.
People say you need to do this to beat firewalls because port 80 will be open. But why not just communicate directly over port 80 ...
I was just wondering if anyone solved this problem. Googling gives tons of posts having this question but not one with a proper reply. I tried literally every combination of the following two pieces of code with and without proxy:
/*********** URL METHOD ***************/
//URLConnection conn = aURL.openConnection();
//conn.connect(); ...
Hello.. basically, I am needing to execute a program on the viewers computer through a website. This program must be capable of talking to device drivers however, which makes it an unlikely candidate for activex. The website will only be used by clients(as in, it's not a public site) so having to change security settings isn't too big of...
I need to distribute a flash-based application to end users. I have a very simple index page to launch another window:
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
function popUp(URL, w, h) {
win=window.open(URL,"window","menubar=no,width=" + w + ",height=" + h + ",toolbar=no,resizable=no;titlebar=no");
self.close();
}
</script>
<BODY o...
What are your experiences with CDNs regarding ease of development, support, performance, pricing, etc?
I am planning to use it to host a big number of images.
...
I know the path for Firefox's cache is as follows on Mac OS X Leopard:
~/Library/Caches/Firefox/Profiles/COMPUTER_CODE.default/Cache
How is the variable "COMPUTER_CODE" above created? I assume it is different from computer to computer. I want to be able to programmatically delete this cache if it exists.
...
I have just started writing socket programs. Came to know that single UDP packet has source port destination port and some MAC address representing router..etc. I wonder why anybody cannot create custom packets with a fake information in and send it over internet. I would like to know how safe are our PCs. What should be done to secure i...
Suppose I want my C code to fetch the headline from a website, like www.example.com
How to do that?
Can I write a program in C to do this?
give me a start...
...
I have a method that searches for movies in IMDB. Problem is, I only take into account if the site returns a page with movie OPTIONS. If the site automatically finds the movie in question, my program breaks.
Is there a way for me to check the URL of source code in C#?
...
I use Javascript and Mootools for creating a particular HTML page, which includes a javascript file that checks the opacity of an element for a certain operation.
However, on IE, I face this issue of elem.style.opacity giving out a undefined value.
Here is the operation I am doing,
var elem = $('login');
alert(elem.style.opacity);
i...
I'm trying to download the source HTML of a website using the WebClient.DownloadData() method.
My method is supposed to give me the source:
public string GetSite(string URL)
{
Uri Site = new Uri(URL);
byte[] lol = Client.DownloadData(Site);
SiteSource = Encoding.ASCII.GetString(lol);
return SiteSourc...
I'm trying to webscrape a website and it appears to be feeding me bogus HTML with the WebClient.DownloadData() method.
Is there a way for me to "fool" the website that I'm a browser of sorts?
Edit:
Adding this header still doesn't fix the issue:
Client.Headers.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET...
Is there any profiler sort of tool which can debug which javascript/object in the DOM is causing the Internet Explorer to hang/crash. The CPU usage is going to more than 60% and I want to know the reason behind it, which script/Flash Object is causing that.
Thanks for the help.
...
Hello
I am using moz-boder-radius(-webkit-border-top-left-radius) to add rounded divs to my website.
these work fine in Mozilla, chrome and safari but as usual Internet explorer have to have some problem.
Is there any such property to add rounded divs in Internet explorer.
...
On my joomla website the joomla poll extension (down,right) or any other joomla poll only works in Firefox,Safari and all the other browser but not in IE8 or lower versions.
I need a poll on my site and 95% of my site visitors use IE8, its frustrating.
How can i get any joomla poll to work in IE8 ?
Its strange but IE8 displays the poll...
I've read some of the articles on MSDN but they're not quite what I need right now.
Could you show me a simple application that downloads a website asyncchronously (WebClient.DownloadDataAsync) and then filters the TITLE tag of the site?
I can't do this for the life of me, and I'm just trying to see a clear cut model.
...
Hi everyone,
i got my jquery slideToggle working for Firefox.
Ok it's not perfect, because when it slides down the performance is somehow jumpy.
I tried different workarounds, but noone helped that right.
So first question is, what could cause this little jumpiness in my code.
And then the bigger problem is the display in IE. IE6 and I...
Hi dose any one know hoe to expose the project web access to the internet or at least where should i start from ?
...