Học tập của Hani

March 1, 2011

“Open each folder in the same window” not working after installing w7 Ultimate

Filed under: kiến thức,thủ thuật — hanismile @ 12:57 pm

With 32-bit computer:

From a command-line prompt with admin privileges run these commands:

regsvr32 “%SystemRoot%\System32\actxprxy.dll”
regsvr32 “%ProgramFiles%\Internet Explorer\ieproxy.dll”

Then reboot your computer

May 27, 2009

20 Time-Saving Tips to Improve Designer’s Workflow

Filed under: thủ thuật — hanismile @ 3:29 am
Tags:

Want to save some time? Of course you do! You are probably always looking for ways to do this faster and make that easier, it’s human nature! One of the best ways to save time is experience. The more experience you have, the more comfortable you are working, the more you have developed your own best methods, and with experience you know how to better avoid mistakes and disasters. So always stay hard at what you do and you will definitely save more than “just” time!

However, regardless of your experience level, there are ways to speed up the common design tasks. You should find some of these not-so-well-known tips and strategies listed below very helpful for your workflow. And please feel free to suggest more ideas in the comments to this post!

General Workflow and Customization

1. Customize your workspace in design applications

When working, it is important to have all necessary tools and panels readily available to speed up your workflow. However, the tools and panels needed, fluctuate based on the project at hand. Adobe design programs provide several standard default workspace settings, such as Type, Web, Video, etc.

These are beneficial for a start, but customizing workspaces to fit personal and project needs can further speed your workflow. Experiment with different set-ups to find the best settings. It is best to save a workspace after working within a document for a while rather than at the beginning.

  1. While working in a document: Open, close, and reorganize panels, window layout and interface to optimal conditions
  2. Go to: Window > Workspace > Save Workspace (In Dreamweaver, the menu option is listed as Workspace layout)
  3. Give the workspace a name (ex. Mike’s Logo Project); In some cases, you will be asked to select which settings to save, if so select the appropriate items
  4. To use the layout in the future, Go to: Window > Workspace > title of your workspace

2. Customize your preferences in design applications

Numerous program settings are stored in the Adobe applications, including general display options, file-saving options, performance options, cursor options, transparency options, type options, and options for plug‑ins and scratch disks. These preferences are just that, preferences. It is no surprise that not everyone agrees with the same preferences, so for an optimal design experience, you should customize these preferences in each of your design programs to best suit your needs.

Edit Preferences

  • Choose Edit > Preferences > General (Windows) OR choose Program Name (ex. Photoshop) > Preferences > General (MAC)
  • Preference settings are saved each time you quit the application.

Suggested Preferences to Change

  • Photoshop: number of history states, interface display, unit measure default
  • Illustrator: keyboard increment, selection tolerance, baseline shift default, tracking default, unit measure default, grid layout, appearance of black
  • Dreamweaver: code format, code hint, copy/paste, css, css shorthand, new document, browser preview defaults, validator
  • Flash: on launch default, actionscript, drawing, text, warnings, PSD & AI file import
  • InDesign: drag-and-drop text editing, dynamic spelling, auto-correct, leading, unit measure default, keyboard increment, dictionary, display performance, appearance of black

3. Combine common graphics from past projects into one document for easy use in the future

Design should never repeat itself, however there are certain elements that are often repeated out of necessity, such as icons, logos, symbols, etc. (particularly when you are creating a wireframe). Combine all of these common elements into one Photoshop or Illustrator document for future use. This will eliminate the search through past design documents for an icon or symbol you have already created.

File with common graphic elements

4. Learn and practice using keyboard shortcuts, then create your own

Sure command-C and command-V are helpful for copying and pasting, but don’t stop there. A keyboard shortcut exists for most of the common commands and if there is not one, you can create your own. The time saving ability of keyboard shortcuts is priceless.

To create your own select Edit > Keyboard Shortcuts (Windows) or Program Name (ex. Photoshop) > Keyboard Shortcuts (Mac OS). You can create different sets of shortcuts for different tasks
if desired. Browse to the command that you would like to edit and enter a new shortcut combination. Note: To enter the key combination, press the keys on the keyboard. You do not need to spell out the key names, such as Control, Option, and so on.

Resources for finding and learning shortcuts:

Photoshop

5. Create reusable files or templates with commonly used settings

In general, when beginning a website mockup/design in Photoshop, there are several things you do (or should do) automatically before you begin, such as set the size and dimensions, create guides, and create common layer folders (see Always organize layers into several folders below). Instead of creating these generic settings each time, create a template file with these settings already created.

Next time you begin to design a website mockup, set up your basics, then stop and save a version labeled “webtemplate.psd,” or any other relevant filename. Then begin every future design with that template file. You will appreciate eliminating this repetitive task the next time you design!

Photoshop template file

6. Record and use actions for repeated tasks

One of Photoshop’s most effective time-savers is the actions panel. It allows you to record a task or series of tasks to be used later for similar projects. As with many Adobe tools, there are a number of helpful default actions already set-up, however, the actions panel is best used when recording custom actions, many of which are project specific.

For example, if you had a series of filters and adjustments applied to an image within a design and you needed to apply the same effects to several other images, then recording the steps would allow for an exact and quick replication of the effect.

The actions panel can be very dynamic or it can be very simple, depending on your needs and experience. Follow the steps below for the basic functions of the actions panel. Then check out the additional resources listed here for further learning.

  1. Open the Actions Panel: Window > Actions OR use the keyboard shortcut, Option-F9 (MAC) Alt-F9 (WINDOWS).
  2. Create a new action by clicking the New Action button, located at the bottom right of the actions panel.Click New Action
  3. Once a new action is created, it automatically begins recording. If not, click the round record button, located at the bottom of the actions panel. Photoshop Actions Panel
  4. Proceed with applying any adjustments, filters, size changes, etc. until the desired effect has been reached.
  5. Once finished, click the Stop Playing/Recording button, located next to the record button at the bottom of the actions panel
  6. If a specific task was recorded during the action that is undesired, that specific task can be deleted without re-recording the action by selecting the task, then clicking the delete button.
  7. To play an action, select the appropriate layer to apply the action to, then click Play. Photoshop will perform the actions live on the screen, but should only take a few seconds.

Helpful Resources for Photoshop Actions

7. Use batch actions for repeating a task on a group of files

When using basic Photoshop actions, you must click play each time to apply the action. This isn’t convenient when the same action needs to be applied to a large group of files. This is where batch actions becomes very helpful. The batch automation panel allows for the application of an action to a folder of images or files. For example, if you had a folder of 50 images that need to be resized to 500×500px and rotated 90 degrees, it would be time consuming to apply the action individually to each file.

Rather, configure the batch actions dialog box to apply the action to all files in the folder, then Photoshop will do the grunt work and spit out all 50 images, rotated and resized.

To access the batch actions panel, select File > Automate > Batch.

Photoshop batch actions

8. Use the image processor for resizing a group of images

Similar to the batch actions panel, the image processor selects a folder of images or all open images and resizes and saves them to a desired location. The image processor is better for resizing images than the batch actions panel, though the same action can be performed in both.

To access the image processor, select File > Scripts > Image Processor.

Photoshop image processor

9. Make history snapshots to create comparable versions of a file

Photoshop’s history panel is a life-saver sometimes, however it is even more convenient to create multiple instances of the same file to be compared later. The Snapshot command lets you make a temporary copy (or snapshot) of any state of the file. The new snapshot is added to the list of snapshots at the top of the History palette. Selecting a snapshot lets you work from that version of the image.

Photoshop history snapshots

Create a Snapshot

  1. Select a state and do one of the following:
    • To automatically create a snapshot, click the Create New Snapshot button on the History panel, or if Automatically Create New Snapshot When Saving is selected in the history options, choose New Snapshot from the History panel menu.
    • To set options when creating a snapshot, choose New Snapshot from the History panel menu, or Alt-click (Windows) or Option-click (Mac OS) the Create New Snapshot button.
  2. Enter the name of the Snapshot in the Name text box.
  3. Choose the snapshot contents from the From menu:
    • Full Document – Makes a snapshot of all layers in the image at that state
    • Merged Layers – Makes a snapshot that merges all layers in the image at that state
    • Current Layer – Makes a snapshot of only the currently selected layer at that state

10. Always organize layers into several folders or groups

It is best practice to always label layers and organize them into manageable folders/groups. It allows for quick navigation of layers and the movement of groups of layers. For example, when designing for the web, it is helpful to have several folders, such as header, sidebar, footer, etc. If the sidebar needed to be relocated within the file, select the folder and drag the entire group to the desired location.

To create a layer folder, click the create a new group icon, located to the left of the create new layer button inside the layers panel.

Organize Photoshop layers into folders

11. Create adjustment layers instead of directly editing a layer

When editing images, using Photoshop’s adjustment features is a life-saver because of the expansive amount of control you have over the appearance. However, it isn’t always an exact science and you may not like the final outcome. This is where adjustment layers come in handy.

Without harming the original layer, Photoshop will apply the adjustment as a clipping mask to the previous layer or the entire document. You may apply as many adjustment layers to one layer as would like and the beauty of them is the ability to hide them with the click of a button, just like any other layer.

To create a new adjustment layer, select Layer > New Adjustment Layer > the desired adjustment

Photoshop adjustment layer

12. Right-click to select a layer

Simple as it sounds, a right-click or control-click (Mac), can save a lot of headache when trying to locate layers. Within a document, to select a layer without scrolling through the layers panel, hover over the object to be selected and right click. Several layers will be displayed, click on the desired layer to move to that layer.

Illustrator

13. Record and use actions for repeated tasks

Recording and using actions is common to Photoshop users, however little-known is that Illustrator possesses the same capability of recording and playing actions.

  1. Open the Actions Panel: Window > Actions
  2. Create a new action by click the New Action button, located at the bottom right of the actions panel
  3. Once a new action is created, it automatically begins recording. If not, click the round record button, located at the bottom of the actions panel
  4. Proceed with applying any transformations, adjustments, effects, etc. until the desired outcome has been reached
  5. Once finished, click the Stop Playing/Recording button, located next to the record button at the bottom of the actions panel
  6. If a specific task was recorded during the action that is undesired, that specific task can be deleted without re-recording the action by selecting the task, then clicking the delete button
  7. To play an action, select the appropriate object to apply the action to, then click Play. Illustrator will perform the actions live on the screen

14. Create custom swatch libraries

Color is important to the success or failure of a design. Therefore, choosing colors can be a difficult task. So why not simplify the process by only browsing through colors that are worthy of being selected? Adobe provides a number of excellent swatch books that are a good start, but even those can be overwhelming. Creating custom swatch libraries, organized by project or client, allows for better color management.

  1. Open the swatches panel: Window > Swatches
  2. Locate and create the desired swatches. Create a new swatch by clicking New Swatch, located at the bottom of the swatches panel.
  3. To add a swatch from another swatch book, click and drag the swatch into the swatches panel.
  4. Optionally, organize swatches into color groups for easier browsing. For example, group all reds and browns together. To create a color group: Select swatches to be included by holding the Command key (Control key on Windows) and clicking. Then, click the New Color Group button, located at the bottom of swatches panel. Give it a name, and click OK. Add additional swatches to the color group by clicking and dragging them into the group.Illustrator swatches
  5. Once the swatch panel has been organized and the desired swatches have been added (you can delete undesired swatches also), click the swatch panel options button, located in the upper right corner of the swatches panel. Select Save Swatch Library as ASE or Save Swatch Library as AI. ASE stands for Adobe Swatch Exchange and should be chosen if you would like to use the swatch library in other Adobe programs, like Photoshop or Indesign. If not, choose save swatch library as AI and the swatch library will only be available in Illustrator.
  6. To open a swatch library: Click the swatch panel options button, located in the upper right corner of the swatches panel. Then select Open Swatch Library and find the category, User Defined. The swatch library you created will be listed under its given name.

15. Use the “same” command to select like elements

A small but mighty time-saving feature, the “same” command in Illustrator allows the selection of all like elements, such as all objects with a red fill color or all objects with a 5pt stroke.

  1. To use the “same” command: Select the object with the desired characteristic. For example, if you want to select all objects with a red fill color, then select any object with a red fill color within the document.
  2. Go to Select > Same > the desired command

Also, check out the “object” command for similar options. The “object” command will select all common elements, such as all brush strokes rather than all red brush strokes.

  1. To use the “object” command: Go to Select > Object > the desired command

16. Organize elements into layers for easier management

Layers, another common photoshop feature, also exists in Illustrator, however it is not as widely used. The layers function similarly to those in Photoshop. Unlike Photoshop, Illustrator does not automatically place new objects into separate layers, but rather places them into sub-layers. Click the arrow next to the layer to access the sub-layers. It is important to keep in mind that Illustrator and Photoshop are different programs and each have their own purposes.

The biggest time-saving advantage of layers, is the ability to lock them, which allows for easier selection and editing. Also, layers add the ability to create clipping masks.

  1. To access the layers panel: Window > Layers
  2. To create a new layer, click Create New Layer, located at the bottom right of the layers panel. To create a sub-layer, which functions similarly to layers within layer groups in Photoshop, click Create New Sub-layer, located next to the new layers button.Illustrator layers panel

17. Use common symbols from the Glyphs panel

Anybody need a copyright symbol, some arrows, or a email symbol? If so, utilize the Glyphs panel in Illustrator. Many common symbols and some uncommon ones too, are listed there. Each font has its own set of glyphs, however symbol fonts such as Wingdings, Webdings, and Zapf Dingbats are the best to browse through for symbols from anything such as mail and phone symbols to arrows and circles.

  1. To access the glyphs panel, select Type > Glyphs
  2. To change the font family, browse through the drop down menu, located at the bottom of the Glyphs panel

Illustrator glyphs panel

InDesign

18. Create stylesheets for quick formatting

Stylesheets in a web designer’s mind usually means only one thing, CSS stylesheets. However, if you are working on a print project in InDesign, stylesheets will also save you hours of time formatting, just as CSS stylesheets do. You can set them up as you work, saving individual styles to be applied to other similar areas.

Styles are handled in four separate panels: character styles, paragraph styles, table styles, and object styles. To add a new style, create the desired effect, then highlight/select the style and click the Create A New Style button. To apply the style, select the text/object to be formatted and click on the new style you created in the styles panel.

To access the styles panels, select Window > Type & Tables > Paragraph Styles OR Character Styles OR Table Styles. The object styles are located under Window > Object Styles.

19. Use Data-Merge for automatically personalizing stationary, invitations, etc.

500 personalized invitations to be completed by tomorrow? Not a problem, if you use the data merge feature in InDesign, also commonly referred to as mail merge. You merge a data source file with your current document and InDesign automatically produces each personalized version of the file. Use data merge for letters, envelopes, invitations, mailing labels, post cards, etc.

To access the data merge panel, select Window > Automation > Data Merge.

Additional Resources for Using Data Merge

20. Vow to learn and use one time-saving tip per day

You can’t commit all of these tips to memory in one day, so pick one to learn everyday, or at least one per week. Do something once, ok. Do something twice, great! Do something 10 times, now that’s dedication. You can also make a note or even a full-color PDF document, if you wish, that contains some of these time-saving tips for quick reference.

May 12, 2009

Flash vs. Silverlight: What Suits Your Needs Best?

Filed under: kiến thức — hanismile @ 9:49 am

With the release of Silverlight 1.0 and its subsequent versions, a debate started among designers and developers regarding choosing between Flash and Silverlight. Silverlight faces difficulties in capturing the market because of the maturity of Flash. However, Silverlight has managed to keep up by including certain features that designers and developers have always wanted to see in Flash, such as search engine optimization. In this article, we will discuss some of the technical differences between Flash and Silverlight to help you choose the technology that best suits your needs.

Animation

Flash uses the frame-based animation model. In frame-by-frame animation, we create an object for each frame to produce an animation sequence. For example, if you want to move something across the screen in 3 seconds, calculate how many frames 3 seconds will take, then calculate the matrices required for each frame along the way. Keep in mind that the player won’t actually maintain a frame rate unless you embed a blank audio track; otherwise, 3 seconds might turn out to be 2 or 6 or 5.

Adobe Flash Animation

Silverlight is based on the WPF animation model, which is time-based instead of frame-based, so you define the start and end conditions, and it figures out how to do it. No need to deal with matrices like with Flash. Also, no need to calculate the positions of objects in various frames.

Microsoft Silverlight Animation

File Size

Flash uses a compressed format, and text and images are embedded in the movie, hence the file size of a Flash component is relatively small.

Text representation in Adobe Flash

Silverlight uses XAML for its description language, and it is non-compressed, so the size of a Silverlight component is usually larger.

Text representation in Microsoft Silverlight

Scripting

ActionScript is used to program Flash objects. ActionScript is an object-oriented language with a full range of controls for designing user interfaces. And it can be integrated with back-end technologies that use other languages and frameworks, such as PHP, ASP and Ruby On Rails. It comes with a huge, powerful class library for developing online browser-hosted applications and stand-alone desktop applications.

Action Script

For Silverlight scripting, you can choose from among a number of programming languages such as Visual C#.Net and Visual Basic.Net, including client-side scripting with JavaScript. C# and VB.NET can be used to write managed code that runs on and uses all of the enhancements and capabilities of Microsoft’s .NET framework.

Visual Basic

Video And Audio

Flash supports multiple video formats. The latest codec is very high quality, and the bandwidth usage is nice. There is one problem, though: if you create a tool that outputs Flash content, the formats it supports aren’t really used by anyone else. The original video codec, Sorenson’s proprietary H.263 implementation, is a mutant version of H.263. The compression follows the spec fairly closely, but a bunch of features were left out, and you can’t exactly just go find complete specs on how to build your own encoder.

Video Codec

Silverlight implements the industry-standard VC-1 codec for video, and supports WMV and WMA. Just about everyone already has Windows Movie Maker, but if someone doesn’t, it’s not a big deal because Microsoft makes available a free SDK encoder for producing WMA and WMV. So, not only would you be using formats that people would more likely be able to encode themselves, but Microsoft provides your product with SDKs if you want to do the encoding yourself.

Sound Processing

ActionScript offers a set of sound classes that can be used to generate and control sound in a movie. You can add sounds from the library while the movie clip is playing and control those sounds. If you do not specify a target when you create a new sound object, there are methods to control sound for the whole movie.

Sound Processing

Silverlight doesn’t have the low-level audio APIs you would need to write an audio application in the browser. It doesn’t even support playback of WAV files because .NET has very little audio playback support.

Accessibility

Flash provides rich accessibility features for those who have hearing and vision problems or who rely on keyboard shortcuts. Providing captions for video solves accessibility challenges for people who are deaf and hard of hearing, but people who are blind or have low vision or other physical disabilities need the video playback controls to be keyboard-accessible and to function properly with assistive technologies such as screen readers and screen magnifiers. Users who rely on keyboard access can use a variety of familiar shortcuts to control video. Buttons such as “Play/Pause,” “Stop,” “Rewind,” “Mute” and “Closed Captions” can be tabbed to and activated with the spacebar. Slider controls such as for volume and playhead position controls can be accessed via the arrow keys, and the “Home” and “End” keys can be used to skip directly to the beginning or end of a range. The volume slider also accepts numeric keys to set playback audio levels in one quick step.

Accessibility

Accessibility

Accessibility

Silverlight 3 is the first browser plug-in to provide access to all system colors, allowing people with partial vision to use familiar operating system controls to make changes, such as switching to high-contrast color schemes for ease of readability. These features are far fewer than those provided by Flash.

Platform Compatibility

Flash supports Windows Vista/XP/2000, Windows Server 2003/2008, Mac OS 10.1/10.5 (PowerPC), Mac OS 10.1/10.5 (Intel), Linux 5, openSUSE 11, Ubuntu 7.10 or later and Solaris 10.

Silverlight supports only Windows Vista/XP/2000, Windows Server 2003/2008, Windows Mobile 6, Mac OS 10.1/10.5 (PowerPC) and Mac OS 10.1/10.5 (Intel). Because Linux and Solaris support is missing, users of those operating systems won’t be able to experience Silverlight on their machines.

Text Representation/SEO

Flash stores fonts using shape definitions and the player doesn’t understand TTF, hence we cannot separate the text layer from the movie. Typically the text written on a flash component was not SEO friendly however Adobe has made the modifications to Flash so that it will be indexable, and the search engines have begun to index Flash.

Currently Google is the only search engine that is noticeably reading Flash files. They have worked closely with Adobe to develop the right toolset for the Googlebot in order to read the files for indexing. Yahoo is working on it and MSN is working with their own format, Silverlight, so they probably won’t be developing the toolset necessary to read Flash files.

To read more about how to make Flash SEO friendly, please read the following articles:

In Silverlight applications, user interfaces are declared in XAML and programmed using a subset of the .NET Framework. XAML can be used for marking up the vector graphics and animations. Text is deployed on web server as separate entity and can be read and accessed separately. Textual content created with Silverlight is searchable and indexable by search engines as it is not compiled, but represented as text (XAML).

Supported Image Formats

Flash supports almost all image formats.

Silverlight supports only PNG and JPEG file formats. Some other file formats are supported by Silverlight but in a limited way. A full list can be found here.

Socket Programming

The XMLSocket object implements client sockets that allow computers running the Flash player to communicate with a server computer identified by an IP address or domain name.

To use the XMLSocket object, the server computer must run a daemon that understands the protocol used by the XMLSocket object. The protocol is as follows:

  • XML messages are sent over a full-duplex TCP/IP stream socket connection.
  • Each XML message is a complete XML document, terminated by a zero byte.
  • An unlimited number of XML messages can be sent and received over a single XMLSocket connection.

Socket Programming with Flash

Silverlight doesn’t support socket programming. Silverlight supports sockets programming through the System.Net.Sockets namespace. Silverlight supports asynchronously sending data back and forth across a socket over ports ranging from 4502 to 4534. Silverlight supports cross-domain socket communications between a Silverlight application and any server, provided that a special security policy file is in place on the server.

Webcam Support

Flash has webcam and microphone support for live video and audio transmission, and using them is really easy in Flash. It takes only a few lines of ActionScript code to invoke the camera object.

Camera.get Returns a default or specified camera object, or null if the camera is not available.
Camera.setMode Sets aspects of the camera capture mode, including height, width and frames per second.
Camera.setMotionLevel Specifies how much motion is required to invoke Camera.onActivity(true) and how much time should elapse without motion before Camera.onActivity(false) is invoked.

Silverlight doesn’t support webcam or microphone.

Deployment

The Flash deployment package contains only a single Shockwave (SWF) file, and all images, text and animations are incorporated in this file. Because of the compressed nature of a Flash component, its images and text are not indexed by search engines, and thus not searchable.

The deployment process of Silverlight is far more complex; all individual components need to be deployed separately. The following components typically get sent to the client for each Web request of Silverlight:

  • XML files,
  • DLL files (if necessary),
  • Silverlight.js file,
  • Any other JavaScript file,
  • Resources (images, audio, video).

Silverlight Deployment

Read the full documentation on Silverlight deployment.

Windows Application

A Flash movie can be compiled into a Windows application and run as a standalone EXE file. It can also be played on a desktop that has an appropriate Flash player.

Flash EXE Builder

Silverlight doesn’t support playing the movie as a Windows application.

Media Streaming

Flash provides no such service to host the content and application with them. Thus, building a video website with Flash is not as cost-effective as building one with Silverlight.

Microsoft Silverlight Streaming by Windows Live is a companion service for Silverlight that makes it easy for developers and designers to deliver rich media as part of their Silverlight applications. The service allows Web designers and developers to host and stream cross-browser media and interactive applications that run on both Windows and Mac. This service can be combined with Microsoft Expression Studio and other third-party tools to create and develop interactive contents.

Silverlight Streaming by Windows Live is currently in beta testing and offers 10 GB of free hosting for rich-media applications.

Microsoft Silverlight Streaming

Conclusion

Selecting the right technology for rich Internet applications is often critical, and choosing between Flash and Silverlight depends entirely on your requirements. If you expect that some of your users will be on Linux or Solaris, then you should go with Flash. If you want your website to be indexed by search engines, then Silverlight may be better.

Besides, as Doug S. is points out in the comments, it’s worth noticing that a minority of web users actually have a Silverlight plugin installed on their machine, while most users do have Flash-support. The Flash Player 9 and higher support streaming of the H.264 video codec which means anyone with a video program that can output an MP4 can stream to Flash. There are literally hundreds of free apps on Mac, PC and Linux that can do this. It’s also important to mention that the latest version of Flash Player supports 3D rendering while Silverlight does not and that SWF, FLA, FLV, and AS are all open-standard formats, while Silverlight is 100% proprietary.

The following table summarizes the features discussed above. Rather than including arrows to indicate whether each platform has a particular feature, we’ve simply marked “better” to show the areas in which each technology beats out the other.

Features Flash Silverlight
Animation better
File size better
Scripting better
Video/Audio better
Sound processing better
Accessibility better
Platform compatibility better
Text representation/SEO better
Supported image formats better
Socket programming better
Webcam support better
Deployment better
Windows application better
Media streaming better
Sưu tầm từ smashingmagazine

March 12, 2009

Buổi học lập trình nhúng

Filed under: Thông báo — hanismile @ 3:34 pm

Development Tools for


Micro-Computer Products

Seminar Author:

Shinya Kanda, Microcomputer Tool Department, Renesas Solution Corp.

Seminar Speaker:

Pham Tuong Hai, Training Center, Renesas Design Vietnam Co., Ltd

Date and Time: 20 March 2009, 8:30 AM – 11:30 AM

Venue: College of Engineering Technology

Campus II, 3/2 Street, Cantho City, Vietnam

March 6, 2009

Kết nối máy tính trong mạng Lan

Filed under: thủ thuật — hanismile @ 10:12 am

Bước 1: kiểm tra kết nối giữa các máy có ổn không
Vd: máy a ip: 192.168.1.7, máy b ip: 192.168.1.15. Vào cmd máy a, gõ: ping 192.168.1.15, chạy được là kết nối ok

Bước 2: Vào Network connection, vào Set up a home or small office network. Và tiến hành như hướng dẫn cho tất cả các máy, đặt cùng 1 tên workgroup cho các máy nha. Chú ý: (hình cuối bên phải)

Bước 3: Tạo thư mục sharing trong mạng.

Hiển thị show desktop

Filed under: thủ thuật — hanismile @ 10:11 am

Máy tính của bạn không có show desktop? Thực hiện theo những cách sau đây:

  1. Mở Notepad, và điền vào các dòng sau:
    [Shell]
    Command=2
    IconFile=explorer.exe,3
    [Taskbar]
    Command=ToggleDesktop
  2. Save file đó với tên: Show Desktop.scf. Ghi chú: chọn save as type: all file

Để sử dụng cái show Desktop này trong quick launch, có 2 cách:

Cách 1: kéo cái icon Show Desktop.scf vào Quick Launch toolbar
Cách 2:

  1. Sử Windows explorer
    Microsoft Windows 95 và Microsoft Windows 98
    Windows\Application Data\Microsoft\Internet Explorer\Quick Launch

    Microsoft Windows NT, Microsoft Windows 2000, và Microsoft Windows XP
    C:\Documents and Settings\Username\Application Data\Microsoft\Internet Explorer\Quick Launch

    Với Username là tên tài khoản của bạn

  2. Kéo icon vào thư mục Quick Launch

(Theo Microsoft)

Cách loại bỏ quảng cáo của Yahoo Messenger

Filed under: Yahoo — hanismile @ 10:10 am

Nhiều người không thích thú gì với các đoạn quảng cáo của Yahoo! Messenger vì chúng chiếm dụng một phần diện tích đáng kể và làm chậm chương trình. Nếu bạn thích sự thông thoáng, thủ thuật sau sẽ giúp bạn loại bỏ chúng.

Đối với Yahoo Messenger 9

Yahoo! Messenger 9 lấy quảng cáo từ từ tệp tin cache\urls.xml nằm trong thư mục cài đặt. Vì thế muốn vô hiệu hoá các đoạn quảng cáo bạn chỉ cần xoá trắng file này và đặt thuộc tính sao cho chương trình không thể thay đổi được nội dung của nó. Cụ thể, các bước thực hiện như sau:

Bước 1: Tắt hẳn chương trình bằng cách nhắp phải vào biểu tượng của YM trên thanh Task Bar và chọn Exit.

Bước 2: Giả sử thư mục cài đặt của Yahoo Messenger 9 nằm trong ổ đĩa C. Hãy vào C:\Program Files\Yahoo!\Messenger\cache, nhắp chuột phải vào tệp tin file urls.xml chọn Open With, chọn Notepad và sau đó xoá trắng toàn bộ nội dung tệp tin này và đóng lại.

Bước 3: Khoá file urls.xml đã được xoá nội dung. Để làm điều này ổ C cần phải ở định dạng NTFS. Để biết ổ C có ở dạng NTFS hay không bạn hãy nhắp chuột phải vào biểu tượng ổ C trong My Computer và chọn Properties. Ở dòng File System nếu để là NTFS thì có nghĩa ổ C đã ở dạng NTFS. Nếu để là FAT32 thì bạn cần phải thực hiện tiếp bước sau đây.

Bấm tổ hợp phím Windows + R hoặc vào Start chọn Run để mở cửa sổ Command Line. Trong cửa sổ này bạn nhập lệnh convert C: /fs:ntfs để chuyển định dạng ổ C sang NTFS.

Di chuyển vào thư mục cache bằng dòng lệnh cd C:\Program Files\Yahoo!\Messenger\cache, sau đó nhập lệnh cacls urls.xml /D Everyone để khoá tệp tin urls.xml. Chương trình sẽ hỏi lại xem bạn có chắc chắn muốn khoá file urls.xml không, gõ Y và Enter để xác nhận.

Sau khi thực hiện các bước trên, mở lại Yahoo! Messenger sẽ thấy quảng cáo biến mất.

Đối với Yahoo! Messenger 8

- Đóng cửa sổ Yahoo Messenger.

- Vào Start chọn Run (Nút Windows+R), gõ regedit và nhấn Enter.

- Vào khóa HKEY_CURRENT_USER\Software\ Yahoo\pager\YUrl và thay đổi các giá trị sau thành dấu hoa thị (*):

Messenger Ad
Webcam Upload Ad
Webcam Viewer Ad
Webcam Viewer Ad Big
Webcam Viewer Ad Medium
Change Room Banner
Conf Adurl
Chat Adurl

Nếu những khóa trên không có trong đường dẫn đó, bạn chỉ cần tạo những khóa đó và đặt giá trị của nó là *. Cách tạo: Kích chuột phải vào nền trắng, chọn New -> String Value.

- Đóng cửa sổ Registry Editor và mở Windows Explorer.

- Tìm tới đường dẫn C:\Program Files\Yahoo!\Messenger\Cache\

- Mở file urls.xml

- Xóa sạch nội dung của file urls.xml

- Lưu lại file đã xóa trắng

- Thay đổi thuộc tính của file urls.xml thành Read-Only bằng cách kích chuột phải vào nó và chọn Properties -> Read-only.

Chú ý: Cách trên đây chỉ áp dụng với Yahoo Messenger chạy trên Windows XP. Đối với Windows Vista thì đường dẫn thư mục Cache đã được chuyển vào C:\Users\Tên đăng nhập\AppData\Local\VirtualStore\Program Files\Yahoo!\Messenger\Cache. Trong đó “Tên đăng nhập” là tên User mà người dùng đang sử dụng.

Theo Thông tin Công nghệ

December 13, 2008

Le petit Larousse 2009

Filed under: phần mềm học — hanismile @ 5:17 am

Down về, ghi ra là một cd. Cài vào máy ta được một phần mềm từ điển pháp pháp của  Larousse ^_^

Xài cũng tạm được thôi. Phần mềm không hỗ trợ nói của từ.

Viết cũng khá được và chi tiết.

Nói chung, viết công phu, nhưng xài thì tạm thui

Đánh giá: 3 sao

http://ifile.it/zgoc6mq/larousse_2009.part1.rar

http://ifile.it/np4sw3g/larousse_2009.part2.rar

http://ifile.it/23za1wn/larousse_2009.part3.rar

December 9, 2008

Enterprise java beans (ejb)

Filed under: kiến thức — hanismile @ 1:28 am

Nghiên cứu thì cái này giúp lập trình theo server component. Nhưng cụ thể thì không rõ lắm, hihi ^_^

Mình chỉ làm phần giao dịch và bảo mật, huhu

Đọc thì dễ hiểu, nhưng để ứng dụng được thực tế thì phải xem lại :D

Có một cuốn sách thấy rằng nó rất hay, đọc lại rất dễ hiểu. Dù gì, nắm kiến thức cơ bản vẫn tốt cơ mà. Đọc qua một lượt thôi

Tham khảo:

File 1

File 2

Bài làm:

word

ppt

May 6, 2008

Thấy thấy vật phẩm trong boom, thay vì hình đồng hồ cát

Filed under: thủ thuật — hanismile @ 3:50 pm
Tags: ,

Khách đang chơi server HCM ? Khách kg thy đc nhng món đ mi trong game khi nó ch hin ra hình đng h cát ? Khách mun thy nó ? Rt đơn gin

Khách qua SV HN vào Siêu Th hoc Ch Tri ( khuyên Khách nên vào ch tri vì trong đó coi đc đ ca Mt Biếc mà ko cn Mua Mt Biếc ) nhn vào đ mà Khách mun thy ( nhn 2 , 3 ln vào nó mi hin ra , nếu ko nhn wa 1 món đ khác rùi nhn li ) .Sau đó out ra vào li sever Hcm , món đ Khách mun thy s hin ra bình thường , chúc Khách thành công

Next Page »

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.