Archive for July, 2004

VB Access modifier vs. Java Access modifier

I was at a moment when I had to create classes in VB. Usually in simple dynamic web site’s development, you don’t really need to create a class.

Some terms in VB are different from Java or C#. But they have the pretty much same meaning. Here is vb’s access modifier for method:

Public -> Java has the same term and meaning.

Private -> Java has the same term and meaning.

Shared -> This is *static* in java. After a few seconds, got the concept.

Protected ->

Friend ->

Protected Friend ->

XML & XSLT transformation using asp:XML web control

We have a documentation repository system and it has nice feature. It is XML export and XSLT transformation. Basically since its document management system everything has to be *Hierarchy* sturcture and xml is a representative of the strcture.

Lesson on OOP (Joke) :P

I got this one from http://www.samuelwan.com/information/ this site. Anyways here is the joke:

“Object Oriented Code is like sex. More people talk about it than are actually doing it. The few who are doing it are: doing it poorly, sure it will be better next time, and not practicing it safely.” – Anonymous

Wow robot

http://ksyoung.pe.kr/blog/aquamp/index.html?q=no%3D32

Check out the window media movieclip from the link above. The link is from South Korea, so it may take long time to see it. However I’m telling you it’s worth it to wait.

As you can see in the movie clip, wowrobot company, found in South Korea, started selling those robots at only about $1000.

My mouth dropped like a rock while watching that movieclip.

Scite|Flash now supports AS2

http://www.bomberstudios.com/

bomberstudios has posted upgraded Scite|Flash.
I’ve already downloaded it and it’s my first choice of text editor! ;)

accident in NY, bad day…

Let’s just take a look at the damage that I’ve got on last Friday while I was going to NJ through NY heavy traffic…

It’s not that bad but it was just unlucky day.

xml in JScript

I always wondered if there are any ways to load and parse xml document using JavaScript(JScript) for IE.

In flash that’s kinda cake, but performance-wise, it halts sometimes. Also flash supports xslt, but supports are very minimal.

Here it comes again.
I found out ways to load and parse xml document on the fly using JScript only. It’s “MSXML”.

New shinstudio.com with Movabletype 3.0

I wouldn’t say this is a whole new website rather than saying “updates”… As you might have noticed it, the blog’s layout is movabletype ver 3.0′s default’s. YES! I moved to movabletype 3.0 and here I am.

I should have created a new look for the weblog, but as I can’t sit on my chair for long due to my back problem (scoliosis…) I do not have that much time to do extra work.. However, some time soon I will finish my look for the site definitely. Also I’m planning to build my site at www.shinstudio.com which is not re-directing to weblog. It will contain some business aspects of content.

Script Encoder

I found this small application that Microsoft distributed. Until today, I have not used it for my project, but now it’s time to use it.
Here is a quick link to the application.

Once you download the application (its default path is usually c:\Program Files\Windows Script Encoder\ ), go to System properties -> Advanced -> Environment Variables. I prefer to add this path to Environment Variables since it will enable you to use the application any folders. By the way it’s command line application, which means you gotta type application name as well as a file name you want to encode. Anyhow, in the Environment Variables you want to add its path to “PATH” variable.

PATH C:\Program Files\Windows Script Encoder\

This link shows you how to use it.

When you want to encode your javascript source, you can use this way below:

screnc /l javascript /f yourFileName.html

/l javascript means that in a file if javascript attribute is not used, then block them. Meaning only tag with javascript attribute will be encoded.
In the how-to page, it didn’t show javaScript, but it works anyhow. :-)

But there is a problem to use this encoder. Guess what? There is decoder to scripts that are encoded by Windows Script Encoder. I won’t list links here.. If you want to use WindowScriptEncoder anyways, just use it and it will make script stealer to take more steps. ;-)