Mine cryptocurrency for the blog's owner:
Loading...

http://www.howtogeek.com/howto/windows-vista/customize-the-windows-vista-send-to-menu/

 

Customize the Windows 7 or Vista Send To Menu

You’ve seen the SendTo folder in action any time you right-click a file and select the Send To folder from the context menu. What you might be unaware of is that you can customize the items in this menu.

Go ahead, right click a file. You should see something that looks like this:

To get to the SendTo folder, you’ll need to open up an Explorer window, and then paste in the following to the address bar.

%APPDATA%\Microsoft\Windows\SendTo

%APPDATA% is an environment variable that actually maps to something like C:\users\<username>\AppData\Roaming.

You should now see a bunch of shortcuts:

<noscript><p><img src="<a href="http://www.howtogeek.com/geekers/up/sshot-2009-08-07-[00-58-37].png">http://www.howtogeek.com/geekers/up/sshot-2009-08-07-[00-58-37].png</a>" alt="" /></p></noscript>

Let’s say you wanted to add an item to the Send To menu to open files in Notepad. You could just drag a shortcut to Notepad into this folder, or create a new shortcut. Now you can see the new Notepad item in the menu:

<noscript><p><img src="<a href="http://www.howtogeek.com/wp-content/uploads/2007/02/WindowsLiveWriter/CustomizetheWindowsVistaSendToMenu_B095/image%7B0%7D%5B6%5D1.png">http://www.howtogeek.com/wp-content/uploads/2007/02/WindowsLiveWriter/CustomizetheWindowsVistaSendToMenu_B095/image%7B0%7D%5B6%5D1.png</a>" alt="" /></p></noscript>

This method should work for any application that allows you to open a file by using a command line argument. 

 

 

Posted by steloflute

 

http://www.syntax-k.de/projekte/go-review

 

Posted by steloflute

http://www.hoons.kr/board.aspx?Name=cshaptip&BoardIdx=27138&Page=1&Mode=2 

 

를 참고하여

 

using System;
using System.Data;
using System.Data.OleDb;


namespace OracleTest {
    class Program {
        private static void Main(string[] args) {
            Console.Write("Data Source: ");
            string dataSource = Console.ReadLine();
            Console.Write("User ID: ");
            string userID = Console.ReadLine();
            Console.Write("Password: ");
            string password = Console.ReadLine();

            string sql = string.Format("Provider=MSDAORA.1;Password={0};User ID={1};Data Source={2};Persist Security Info=True", password, userID, dataSource);     //oracle 서버 연결

            OleDbConnection conn = new OleDbConnection(sql);
            //conn.ConnectionString = sql;
            try {
                conn.Open();            //데이터베이스 연결
                Console.Write("Table: ");
                string table = Console.ReadLine();

                OleDbCommand cmd = new OleDbCommand();
                cmd.CommandText = string.Format("select * from {0}", table);
                cmd.CommandType = CommandType.Text;         //검색명령을 쿼리 형태로

                cmd.Connection = conn;

                OleDbDataReader read = cmd.ExecuteReader(); //select 결과
                Console.WriteLine("***** 테이블 분석 결과 *****");
                for (int i = 0; i < read.FieldCount; i++) {
                    Console.WriteLine("필드이름 : {0} \n", read.GetName(i));
                }
                Console.WriteLine("총필드 개수는" + read.FieldCount);
                read.Close();
            } catch (Exception ex) {
                Console.WriteLine("에러발생{0}", ex.Message);
            } finally {
                if (conn != null) {
                    conn.Close();       //데이터베이스 연결 해제
                    Console.WriteLine("데이터베이스 연결 해제..");
                }
            }
            Console.ReadKey();
        }
    }
}

 

Posted by steloflute


Generate bitcoin for me

What's this?