local

WebBrowser Control: Is there a good documentation on browsing local files and folders?

I am using the WebBrowser control to browse local files and folders, but the control seems to be designed primarily to browse the Web (as its name implies). I need to be able to do common tasks, like using the "Up one level" button, or put the control in "File Search" mode, get the active item, etc. Is there a way to do these things u...

how to write a program to report the local IP address such as 192.168.1.102?

since my Linksys router doesn't assign a fixed local IP to the computers (PC and Mac and Linux), i'd like to write a script so that every minute, the computers will update to each other so that http://localhost/list.html on each machine will contain a list of names of all PC and Mac and a link to their apache server (pointing to http:/...

iPhone - Loading local images from a local xml file

How come I can load a local xml file from the main bundle, but I can't load images? NSString *path = [[NSBundle mainBundle] resourcePath]; This gets loaded (i know because I can trace it) /Users/me/Library/Application Support/iPhone Simulator/User/Applications/5B888456-40FF-4C72-A2ED-5D5CFA287777/MyApp.app/test.xml This image never lo...

iPhone: How long will it take to search?

Here is a very and straight forward question: How long will it take to search an array of 200-300 strings locally? What about remotely? ...

Eclipse's local history...where are files saved?

Hi Can someone explain how Eclipse's local history works? I accidentally overwrote a file in a project but need to revert to an earlier version. Is there a chance that Eclipse has the older file cached somewhere? ...

*Configurable* local DNS server?

I would like to have a local DNS server which I can configure in some way. Maybe a php script, which gets the requested hostname and returns the IP. I don't want to have an IP/Hostname list, but I want to generate the IPs in code! Do you know how to do this? ...

Phing, SVN and local file control

Like most people there comes a time when your localhost layout just doesnt really do it anymore and you find there are files all over the place. This is what I propose doing and I think that maybe im missing something or doing too many steps! Most of my work is with Joomla and oscommerce. My directory structure is as follows -Clients ...

Is there any use for local function declarations?

Most C++ programmers like me have made the following mistake at some point: class C { /*...*/ }; int main() { C c(); // declares a function c taking no arguments returning a C, // not, as intended by most, an object c of type C initialized // using the default constructor. c.foo(); // compiler compla...

Problem with scoped local variables and conditionals

Hello, I am trying to construct method which returns a boolean: public boolean isStringValid(String s){ boolean isValid; String temp = null; // only combinations of 'A','B','C' are allowed for (int i = 0; i < s.length(); i++) { temp = s.substring(i, i+1); if (temp.equals("A")|temp.equals("B")|temp.equals("C")){ isValid= t...

URL of my java class.

Hello, I am trying to find my java class URL in order to use it in a SWT.Browser component. My goal is to display a page located in the same folder as my .java file. If anyone knows how to do it or has a better solution to display a local page in a SWT.Browser I would be glad to know it to ;p Thanks in advance. ...

need to create an application that will work on the Internet also and local internet also

hi , i need to make a website such that it can be accessed through the internet if internet is available otherwise when there is no internet then it should work properly on the local intranet also can this be achieved , i have built my site on php/mysql if this can be achieved please tell me and direct me to some examples of how to ach...

Generated WCF proxy configuration uses server's local name

We have a service hosted behind our firewall that receives request forwarded through to it by the external router. The service is working fine, however whenever one of our clients adds a service reference using svcutil or Visual Studio, the generated app.config file always contains the endpoint address as https://myserver.myinternaldomai...

Local static variables in Timer.Tick event (Stopping a Timer)

I have a timer on a page in ASP.NET. After a certain period of time elapses, I want to disable the timer. I want to put a static variable in the timers tick event that will track how many seconds have elapsed. My question is, will this work? If user X and Y are viewing the page will they both have separate local static variables? Wh...

Javascript local variable declare

Basically this is a question how to access local scope handler. I trying to achieve something similar for global variable definition like: window['newObject'] = "some string"; alert(newObject); but for local scope. Right now only solution I have is using evals: eval("var newObject='some string'"); But this is really ugly solution.....

Combine two asp.net web site into one.

Hi to everyone, i am new in asp.net i dont know to how to combine two asp.net web site into one like domain and subdomain concept. i know the procedure to host one web application in local iis. Please explain the how to combine two application and how to host in local iis i.e) single url as domain(one web application) and subdomain(anoth...

Add local variable to running generator

Lately, I tried to set local variables from outside of a running generator. The generator code also should access these variables. One trouble was, that when accessing the variables, it seamed that the interpreter was thinking it must be a global since the variable was not set in the local scope. But I don't wanted to change the global ...

How to modify the local namespace in python

How can I modify the local namespace of a function in python? I know that locals() returns the local namespace of the function when called inside it, but I want to do something like this (I have a reason why I want to do this where g is not accessible to f, but it's quicker to give a trivial, stupid example to illustrate the problem): ...

Library for Caching Web Pages on iPhone?

Is there a library or framework that I can use to cache web pages locally for offline viewing on iPhone? If not, what's the best strategy for doing so? Currently what I'm thinking of doing is downloading the HTML, harvesting its URLs, caching those URLs, then rewriting the HTML to point to local files. Is that the best way to do it? Th...

PHP, postfix, sendmail, thunderbird for local dev only

Hey, I'm trying to get php's mail function working on my local dev box in such a way where all mail sent using mail(), regardless of recipient, would stay local and show up in a thunderbird account (pop/imap/etc). I've got php set up to use sendmail and I've got postfix installed. But i'm at a loss where to go next. Any pointers? ...

EJB3 - Session Bean calling method of another bean interface

I have a little question... I search the difference in local access between accessing a method that is only declared in the remote interface of a bean and not in the local interface... does the interface declaration (remote or local) determine the access protocol of the method? or does the ejb container understand that both beans are ru...