Hi,
I'm developing a website that has modular section. I would like it that when a new aspx (and aspx.cs) file is placed in a subdirectory of the application that I can ask the class some information...
The idea is that when the file is placed in the directory a new menu item is added to the menu. To do that I need to "ask the class" f...
Specifically with ie 7 & 8 I have a case that I don't fully understand in which I have a setTimeout function call that is getting added to the the call stack before the current call stack is unrolled.
For me this appears to only take place when I incorperate 2+ calls to communicate through javascript to a java applet just after my setTi...
Hi,
I wonder how to make my apache2 server public?
I mean, I have a static ip and someone who knew that ip can access my website from out-world.
I already install apache2. I test it from http://localhost, I mean its working.
My OS is ubuntu by the way.
Thanks
...
I've been following this Symfony tutorial. In some sections it just tells me to add a public function inside a class but it doesn't say if I should add it at the beginning or at the end of the class.
For instance:
/**
* JobeetCategory
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @package jobeet
* @s...
Hey I have a really simple question that needs more of just an explanation than a debug, but I have seen in the interface definitions for many class objects the keywords "@package", "@private", "@public", and then even weirder "struct {...}". I have been able to make complete programs without using any of the aforementioned, so I was hop...
I am building a windows application to store backups of sensitive files. The purpose of my application is to store a copy of a file with its hash. The program or user will then display the hash publicly in case the user needs to prove they had the backup of the sensitive file at a certain time.
Motivation:
Some situations where this m...
I am trying to import a CSV file containing many contacts to a public folder in exchange 2007 installed on SBS2008 for use by outlook users.
I have this script that I am trying to run through powershell 1.0 (there seems to be no powershell 2.0 installable for SBS2008).
I have created a folder in the Public Folder area called pub_contac...
How do declare a public variable .aspx web page that can be used in all the pages within my web application?
And/or create a Public Sub?
...
In my namespace I can have public classes which are accessible to all other pages in my namespace. How do I go about having public functions? Do I have to create a class with the functions in it? Or is there an easier way?
...
Hi all, my Grails app generates files in a folder (e.g. "output").
How can I make that folder public, in order to expose the output files through URLs like:
http://localhost:8080/MyGrailsApp/output/myOutputFile1.xml
http://localhost:8080/MyGrailsApp/output/myOutputFile2.xml
Cheers!
...
I am working on a offline C# application that can find bus routes.
I can extract the timetable/bus/route data. I am searching for the most simple solution that will work with basic data.
What algorithm can be used to find a route from bus stop "A" to bus stop "B"? Is there a open-source solution ready for C#/Java?
Is the google GTFS ...
I've got two android apps, one with a public void. How would the other app call this function?
...
I'm looking for advice/experience on using public variables vs private variables with accessor methods in php.
eg
$obj->foo = 'a';
echo $obj->foo;
vs
$obj->setFoo('a');
echo $obj->getFoo();
What I like about public variables is the shorter syntax - just seems less work to use. I understand that it could make refactoring more diffic...
hi, here's my question.
What are valid reasons NOT to use keywords public, private, protected in php?
The story: I've started a project with a team that actively uses access modifiers in their code (even "public" explicitly) and wants to convince me to do the same. I always find this kind of stuff totally useless in a dynamic language ...
There's an error: "The type being set is not compatible with the value representation of the tag."
string fi = null;
public void reading(object sender, EventArgs e)
{
read_from_folder = folderBrowserDialog1.ShowDialog();
if (read_from_folder == DialogResult.OK)
{
files_in_folder = Di...
I am using the XNA framework to make one of my first games. In it's main game class (Breakout.cs), I put this:
public int screenHeight;
public int screenWidth;
And in the Initialize method:
this.screenHeight = GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height;
this.screenWidth = GraphicsAdapter.DefaultAdapter.CurrentDisplayMod...
As asked in title, can I make a 'common' public Class and some public static foo() in it? Thanks!
...