2007년 06월 02일
방화벽 등의 이유로 원격데스크탑(터미널 서비스)의 디폴트 포트(3389)로 외부에서 원격데스크탑 연결을 열수 없을 경우 아래와 같이 포트 번호를 바꾸면 지정한 포트번호로 연결할 수 있습니다.
1. registry edit 실행.
2. HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminalServerWinStati
onsRDP-TcpPortNumber
3.HKEY_LOCAL_MACHINESystemCurrentControlSetControlTerminalServerWdsRepwdTdsTcpPortNumber의 포트번호 값을 변경한다.
4. registry edit 종료.
이렇게 포트가 변경된 원격 데스크탑에 연결할 경우 aaa.bbb.ccc:8080 과 같이
컴퓨터 주소 뒤에 포트번호를 쓰시고 접속하면 됩니다.
레지스트리 변경후 리부팅해야 적용되는 것 같습니다.
(아니면 터미널 서비스를 restart해도 될 것 같습니다
출처 :
http://blog.naver.com/sungabi.do
# by 둔네오 | 2007/06/02 09:11 | Tips | 트랙백 | 덧글(0)
2007년 05월 30일
담아가실땐 흔적 꼬옥 남겨주시는거 아시죠?!!
자~! 지금부터 도라에몽을 접어봅시다.~!!
접기는 간단하게 접을 수 있으니까
색종이의 색깔만 확인하면 금방 접을 수 있답니다.~!!
단.. 접는게 좀 많으네요...ㅡㅜ;
도전~!!

파랑색 색종이로 방석접기를 한번 접고
네모난 부분은 조금씩 접으세요.~
(3분의 1정도를 접으면 예쁘답니다.^^)

이번엔 하얀색 종이로 안쪽 얼굴을 접을게요~
(연한 단면을 뒤집어서 사용해도 되겠죠?)
방석 접기를 한번 접고 뒤집지 않은 상태에서 다시 방석 접기를 접어요.
그리고 다시 한번 네모난 부분을 조금씩 접어주세요~!
파랑색 단면 색종이로 네모를 한번 접고밑부분을 한쪽만 조금 접어 올려주세요. 발이 될거예요.(흰부분)다시 네모를 접은 선에 맞추어 문접기를 해주세요(그림처럼)윗부분은 산처럼 양쪽으로 세모 접기그림처럼 세군데 조금만 가위집 싹둑~!!그리고 발 윗부분에는 세모로 조금씩 접어 뒤로 넘겨 주세요~사진을 보고 확인해주세요~!! 
몸 안에 붙일 배를 접어 볼까요? 배도 흰색 종이를 준비해주세요
방석 접기를 2번 합니다.(뒤집지 말고~!!)
잠깐~!! 2번째 방석을 접을 땐 마지막 하나는 남겨서 사진처럼
맨 끝까지 접어줍니다. 그럼 편지 봉투 모양이 된답니다.
끝에 네모난 쪽은 조금씩 접어 주시는거 센스~ 잊지 마세요.ㅋㅋ
파랑색 단면 색종이로 팔을 접어 봅시다~: (사이즈는 일반 색종이를 1/4만 사용하셔도 되구요.저는 1/2을 잘라 접었는데 팔부분이 길어서 붙일 때는 가위로 잘라 사이즈를 조절했답니다.)몸을 접었던 것 처럼 팔부분을 조금 접어 두고 날씬하게 문접기를 해주세요한쪽에만~!! 문접기를 한번도 해주세요팔은 2개.. 그러니까 한장 더 접으셔야 겠죠?
빠진 부분이 있죠?
빨간 코와 빨간 꼬리 그리고 노랑 종은 색종이의 1/8을 사용하셔서 방석을 2번 접고끝부분은 조금씩 접어 주세요~ 둥그렇게 보이도록 참~!! 빨간 목걸이 줄은눈치채셨죠? 빨간 색종이를 길게~~ 1/4로 잘라문접기를 해서 길게 반으로 접어 주심 된답니다. 고생하셨습니다.여기까지 접은 종이들을 사진을 보고 천천히 조립해보세요~!!
아마 종이 잘 접으시는 분들은 저의 설명이 쓸데없이 길게 느껴질지도 모르겠네요.어쨌든~~ 허접하나마 아이들과 함께 접어보세요.저도 곧 아이들과 수업할건데 아이들에게 예고를 했더니 한가득 기대중이랍니다.ㅋㅋㅋ이상... 접으시느라 고생하셨습니다....^^
# by 둔네오 | 2007/05/30 17:37 | 나름 얼리어답 | 트랙백 | 덧글(0)
2007년 05월 21일
WinXP 의 기본 Shell은 Explorer.exe 이다. 이를 Cmd.exe Shell 로바꾸려면
regedit.exe 실행하여
HKEY_LOCAL_MACHINE
\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
의 Shell 항목의 값을 Cmd.exe로 수정한다.
# by 둔네오 | 2007/05/21 18:24 | Tips | 트랙백 | 덧글(0)
2007년 05월 21일
아이템 렌더러가 컨테이너일 경우 listData 속성을 직접 사용하지 못한다.
따라서 IDropInListItemRenderer를 렌더러에서 구현해 주어야 한다.
mx.controls.listClasses.IDropInListItemRenderer 를 먼저 implements를 해야 합니다.
그리고 다음 메소드를 구현해 주시고, listData.dataField 형태로 접근하시면 됩니다.
private var _listData:DataGridListData;
public function get listData():BaseListData
{
return _listData;
}
public function set listData(value:BaseListData):void
{
_listData = DataGridListData(value);
}
private var _data :Object;
override public function set data(value:Object):void {
_data = value;
}
override public function get data():Object
{
return _data;
}
출처 : http://cafe.naver.com/flexcomponent/1388
# by 둔네오 | 2007/05/21 16:45 | 트랙백 | 덧글(0)
2007년 05월 21일
Example: Using view states with history management
The Flex History Manager lets users navigate through a Flexapplication by using the web browser's back and forward navigationcommands. The History Manager can track when the application enters astate so that users can use the browser to navigate between states,such as states that correspond to different stages in an applicationprocess.
To enable history management to track application states, your application must do the following:
- Implement the IHistoryState interface by defining
loadState and saveState methods. - Register the application with the History Manager.
- Each time the state changes, call the
HistoryManager.save method.
The following code shows how you can code a search interface so thatthe History Manager keeps track of your search. For more information onhistory management, including another example of tracking states, see Using the History Manager.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" implements="mx.managers.IHistoryManagerClient"
creationComplete="initApp()">
<mx:Script>
<![CDATA[
import mx.managers.HistoryManager;
/////////////////////////
// IHistoryState methods
/////////////////////////
// Restore the state and searchString value.
public function loadState(state:Object):void {
if (state) {
currentState = state.currentState;
searchString = searchInput.text = state.searchString;
}
else {
currentState = '';
}
}
// Save the current state and the searchString value.
public function saveState():Object {
var state:Object = {};
state.currentState = currentState;
state.searchString = searchString;
return state;
}
/////////////////////////
// App-specific scripts
/////////////////////////
// The search string value.
[Bindable]
public var searchString:String;
// Register the application with the history manager
// when the application is created.
public function initApp():void {
HistoryManager.register(this);
}
// The method for doing the search.
// For the sake of simplicity it doesn't do any searching.
// It does change the state to display the results box,
// and save the new state in the history manager.
public function doSearch():void {
currentState = "results";
searchString = searchInput.text;
HistoryManager.save();
}
// Method to revert the state to the base state.
// Saves the new state in the history manager.
public function reset():void {
currentState = '';
searchInput.text = "";
searchString = "";
HistoryManager.save();
}
]]>
</mx:Script>
<mx:states>
<!-- The state for displaying the search results -->
<mx:State name="results">
<mx:SetProperty target="{p}" name="width" value="100%" />
<mx:SetProperty target="{p}" name="height" value="100%" />
<mx:SetProperty target="{p}" name="title" value="Results" />
<mx:AddChild relativeTo="{searchFields}">
<mx:Button label="Reset" click="reset()" />
</mx:AddChild>
<mx:AddChild relativeTo="{p}">
<mx:Label text="Search results for {searchString}" />
</mx:AddChild>
</mx:State>
</mx:states>
<!-- In the base state, just show a panel
with a search text input and button. -->
<mx:Panel id="p" title="Search" resizeEffect="Resize">
<mx:HBox id="searchFields" defaultButton="{b}">
<mx:TextInput id="searchInput" />
<mx:Button id="b" label="Go" click="doSearch();" />
</mx:HBox>
</mx:Panel>
</mx:Application>
# by 둔네오 | 2007/05/21 11:44 | 트랙백 | 덧글(0)