Tuesday, October 23, 2007

Info Mjakmiloscodcinki Pl

Questions from readers

readers may pose very interesting questions. We'll put here some case already has done and not know the answer. If you have a question do it adding a comment.

I can not save an image in JPEG

can be that is in color mode RGB/16 Bits. To fix press Image> Mode> check in 8 Bits / Channel.

How I can restore the factory settings of Photoshop?
If you want Photoshop to run as it does from the factory, start the execution of Photoshop and immediately after and before it gets to run, hold down the CONTROL , CAPS S and ALT .
This maneuver is useful when you have misconfigured and do not know how to recover normal operation.

Can I use graphics tablets with Cs3? What size is the most effective?
graphics tablets are particularly useful for digital artists, that is, whenever you want to make natural-looking strokes and fluid.
It is best to start with an economic model based on the result and it is put to use, jump to a higher model in the future. All sizes are valid is a matter of getting used to.
can use mouse and tablet at the same time depending on the type of work being performed.

() Beware buy tablets with a stylus that needs batteries. The problem is that they are joined by glue and when opened for battery replacement, no longer becomes rigid. Wacon uses a technology that needs no battery in the pen.

My recommendation is Wacon. For more information click here .


How I can change the appearance of the pointer?

The pointer may take several forms to facilitate the work. To change the way click Edit> Preferences> Cursors and select the preferred look.

can also share how you have chosen with a simple cross by pressing the CAPS LOCK key. The cross-shaped pointer used to precisely position the pointer at a particular point. Although it is a very useful, sometimes accidentally press the CAPS LOCK key and lost the standard configuration, creating users who are unaware of this function, a logical confusion.

How I can get an image of nxn pixels?
1 Select the Crop tool.


2 Type in the options bar (box width) pixels must be added to the figure and the expression px. For example: 15px. Repeat to specify the HEIGHT.


3 Draw a crop marquee by clicking and dragging until the rectangle encompassed favorite image. You can drag and size the crop frame once route.


4 Confirm by pressing ENTER trimming and save the image in the format you prefer. For example, press File> Save As and select FORMAT the JPEG option.

Tuesday, October 9, 2007

What's The Difference With Graboid Pearl And Onyx

management roles with the WAT (Website Administration Tool) - ASP.NET 2.0 with ASP.NET AJAX

This post will describe the use of WAT to manage and create roles for users, thanks to a question that arose in http://www.forosdelweb.com on the subject.

First, create a new web site, to our project in the Solution Explorer add 3 new folders, named, User, Admin and Student and defaul.aspx page that is in the main directory (the web site created ) we add 3 LinkButtons to which they will change the Text property to the name of one of the folders you created .. so we have something like this ( NOTE: In Windows Vista we run our visual studio or the express version with administrator ):
After the menu "Web Site" go to "ASP.NET Configuration", where it will appear in our browser (use Firefox).
Now, let the Security tab, where we find it.
The only difference will be that the part that says existing functions will be 0, not 3 .. it is a little below me XD; keeping with the theme, we click where the red arrow points to open the security configuration wizard of the application, where we see something like this.
Ok, so now we will follow the wizard steps, this step will have to choose the access method of the application, in this case would be an Intranet or through Internet access, here is used through internet access.
Our next step of the wizard will serve to shape our data provider, in my case would sqlserver express (if so be that the application is currently configured for use: Advanced provider settings) .. if required otherwise we set it on the tab WAT provider (this is not covered here), so we will continue our step 4 .. here we decide whether our application will use roles or not .. so in this case obviously will qualify.
In this step we will add our roles, in this case we only need 3. Manager, Student, User; when we get to add roles we click Next
then be on the user creation step, for this example'll add two, one called crassr3cords which is then asiganara the administrator role, and July, which will not be anything , and therefore may not access what is in the Admin.
Step 6: here we will add our rules of access, for example "only users who are within the administrator role can access the files in the Admin" (with the WAT is so simple xD .. like magic ajajja ) here we stand in the camp assistants (in the directory tree that looks to the left), select who is going to apply the rule ( if we choose function are saying that this rule will apply to all users that belong to the role we choose, if we choose to let user apply the rule to a single user, for example a user with nick MRX, if we choose all user as deduction is taken for who is going to apply the rule if it chose anonymous users apply it to the users that are not authenticated or logged in), and then choose if you allow access to the directory you choose or deny it, we add rule and ready .. keep in mind that if for example I want to put it to the Admin folder can only enter the Manager role I make 2 rules, the first would have to say that user Allow Manager role or function to enter the Admin folder, and the second would have to say that all users Deny entry to this folder, thus, only the users, except those with Manager role will not be able to enter these files.

Finally after making the rules for our wallets (in this example only the first is told in the Admin deny all users, and edspues in the same folder there is another instruction, enabling administrators , so there is no problem in our hierarchy of permissions ..)

We just our security settings, now put to our user crassr3cords role or function within the "Administrator." security tab the WAT, we go where the red arrow points in our next picture.
Then we will see all registered users as shown in the image below, where we can manage that role or function belongs to (these translations are very bad XD), we will enroll crassr3cords.

After clicking on "edit" Select the box on the role to which it belongs, in this case Administrator and ready, we can close the WAT when reload the page.
Now, our project will add a page called login.aspx (at the directory), and it will add a Login control.
our browser will now create a page default.aspx solutions for the 3 folders that we had created, User, Admin and Student .. your solution explorer should look like mine xD.

Now, in the Default.aspx page of our website .. Home Page .. which is neither in Admin, Student or User, we give the path of our LinkButton PostBackUrl property to its proper default page (if the button with Text property as admin .. PostBackUrl be assigned to the Default page. aspx Admin folder and so on ...)
Now we run our Defaul.aspx and click on the link Admin.
This will lead to the login.aspx page as we are not yet logged in, so we log in !!!!! (Come at once with our manager).
By clicking on the login button this will take us to the default.aspx page of our admin folder (you can see clearly in the url that we are in the admin directory) .. so we'll see who will run our exercise.

Now, let's start a session as July (our user without permissions) obviously trying to enter our exclusive default.aspx page
administrators As we shall see .. the application works we do not! xC. ajajaja. no lies .. perfect !!!.. This sends us back to log .. not let us go to our admin folder .. just what we wanted.


Well, obviously, tap links and therefore put more control to create users (CreateUserWizard), but the basics are this .. I hope to serve.

Monday, October 1, 2007

Memphis Cruising Spots

Home

First, here's the definition of AJAX ( A synchronous J avaScript A nd X ML) fundamental part of the RIA (Rich Internet Applications) .

This post will try to install the ASP.NET AJAX extension specifically for the Visual Web Developer Express Edition and the basic use of the Update Panel.


To add AJAX functionality within our IDE, we must go to this page http://www.microsoft.com/downloads/details.aspx?FamilyID=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&displaylang = in where to download and then install the ASP.NET AJAX Extensions 2.0.

Once installed open the Visual Web Developer and create a Web site enabled AJAX-style Web Site .... to see in design view the default page, we will see a control called ScriptManager, this control handles the basic script for an AJAX application, simply by the implementations AJAX can be used, otherwise we could not use AJAX site or were going to do the script manually.

If we go to the toolbox will see that there is a new tab (AJAX Extensions), now we use the UpdatePanel, the UpdatePanel is a control container, such as a normal GroupBox or a Panel, but it has the ability to execute instructions asynchronous, avoiding the postback (sending information to the server) each time the user performs an action, updating only the part that you say, not the page completely. Let the control action to better understand the concept.

Add 2 labels and a dropdownlist.

one of the labels will be used just to see the impact of AJAX on the label2 put in the text 0 (number zero).

the DropDownList filled it with several elements (properties, we Items, click on the box next to "Collection ()" and begin to add items) .. and we put the AutoPostBack to true (in the properties, we AutoPostBack and change it to true), then we double-click the DropDownList to schedule in the SelectedIndexChanged event which will
  • Me.Label1.Text = Me.DropDownList1 . Text
And in the form load we


  • Me.Label2.Text = CStr (CInt (Me.Label2.Text) + 1)
  • Running
see that by choosing an item from the list on our label text changes, but the entire page is sent to the server ( you can check to see that the label2 is updated) in a large application this would be bad for us, it would have to refresh items were updated at any time, foolishly wasting resources, so that, as we do to send only the items you need to update?. Let's add an UpdatePanel

our webform, add in our label1 and our DropDownList, and run our application .. to select an item from the list we see that our label1 change .. but no .. 2 forwards only necessary, not every page in full, save valuable resources, but then the DropDownList necessarily be inside the UpdatePanel?, No.

we get the DDL of the UpdatePanel and change to HTML editing view, where see our UpdatePanel, which is a tag "< ContentTemplate> where the elements belonging to this (should be in our label1), after the closure of " ContentTemplate < > add a "Triggers < > (triggers) within which we will add this:


<
asp: AsyncPostBackTrigger control = "DropDownList1" EventName = "SelectedIndexChanged" />


we are adding an asynchronous call to the SelectedIndexChanged event DropDownList1 control .. what caused it, but not inside the UpdatePanel that can update our label1 without causing a PostBack not necessary. Execute

and see that everything works perfectly, we use only what you need and understand how the UpdatePanel and the usefulness of AJAX in our web site.

This was the first tutorial in ASP.NET 2.0 AJAX .. then see the AjaxControlToolkit
Any questions, comments or whatever then do it haha.