vc2010..접속기 만드는 소스?? ( 초보자 )
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
//
using System.Diagnostics;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
// 접속버튼을 눌렀을 때 발생하는 이벤트
private void button1_Click(object sender, EventArgs e)
{
// 린빈 경로 지정
string exportFile = path.GetDirectoryName(Application.ExecutablePath) + "\\린빈파일명"
// 프로세스 생성
Process UserProcess = new Process();
// 프로세스 셀 설정
UserProcess.StartInfo.UseShellExecute = true;
// 린빈 경로
UserProcess.StartInfo.FileName = exportFile;
// 윈도우 창 설정
UserProcess.StartInfo.CreateNoWindow = true;
// 윈도우 창 스타일
UserProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
// 아이피와 포트설정
UserProcess.StartInfo.Arguments = "본인ip 및 포트";
// 프로그렘 시작
UserProcess.Start();
}
private string GetDirectoryName(string executablePath)
{
throw new NotImplementedException();
}
}
}

Freedos82 님의 최근 댓글
npc teleporter 테이블에서 npc코드 넣고 텔시킬 공간 좌표 찍고 넣으세요. 기본적인 방법도 모르면서 힘들게 수정한 팩을 이리까시나요 ㅎㅎ 2020 07.01 ㅋㅋㅋㅋㅋㅋㅋㅋ 2019 11.20 이건 포인트 계속 먹네요..-0-.. 2019 11.20 자료 166 // DB 코딩 불러오면 오류 나는데욤..'ㅁ'? 2019 11.16 코멘더 테이블에 코드 알아내셔서.. 엑서스 레벨 적용하심 될것같습니다. 아님 컨피그 안에 가시면 또 운영자 gm 코드있어요 확인해보세요^^ 2016 06.17