Click to See Complete Forum and Search --> : Where is the Code Behind? (Newbie!)


Evie
03-26-2007, 10:51 AM
Hi!

I am using a free app that I downloaded and installed. It is under the GNU license so I can change the code if I want.

Problem is: I can't find the code. For example: Each page has a login box or logout link, depending on if you are logged in or not.

I want to use a 'main' page to login with and only show the logout for admins. Seems simple, right? Well, I cannot find the code to make the adjustments. I am using VS2005 to edit and every page says it cannot find the 'code behind' page listed at the top.

If there isn't any code running this... how is it... working?

Thanks in advance,

Evie

Evie
03-26-2007, 11:38 AM
Ok, the application provides a separate download with source code.

Of course, it is full of classes, which I am not used to using, unfortunatly.

1) how do I 'auto assign' a variable in a class (I am not sure how to put that statement)

2) how do I recomplie and upload it to the existing code?

PeOfEo
03-26-2007, 12:33 PM
I am not quite sure what you mean by auto assign a variable. Do you mean give it a default value? That can always be done in a default constructor like any other oop language.

As for recompilation, you can do this with the visual studio build option. If you have configured this it can do a variety of things including FTP it back to the server, or start a local testing server after compilation. I'd walk you through the exact settings but I won't be in the office this week and I don't have visual studio on my home machines (VS is for work! I also use linux at home).