Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

c# µ÷ÓÃwordÎÊÌâ - .NET¼¼Êõ / C#

ÎÒÏÖÔÚÏëÓÃc# µ÷ÓÃwordÎĵµ£¬ÔõôʵÏÖ°¡£¿
ÓÐûÓиßÊÖ¸ø¸öÍêÕûµÄÀý×Ó¡£
¾ÍÊÇʵÏÖÎÒµã»÷ij¸ö°´Å¥£¬È»ºóµ¯³öÒ»¸öword ¶Ô»°¿ò¡£ÌáʾÄã´ò¿ª£¬Ä㿪ºó¾Í¿ÉÒÔ¿´µ½ÍêÕûµÄwordÁË ¡£

C# code:

System.Diagnostics.Process.Start("word·¾¶");



if (openDialog1.ShowDialog()==System.Windows.Forms.DialogResult.OK)
{
  System.Diagnostics.Process.Start(openDialog1.FileName);
}


Èç¹ûÖ»ÊÇÒª´ò¿ª£¬ÄãÓÃprocessµ÷ÓÃword³ÌÐò´ò¿ªÖ¸¶¨Îļþ¾ÍºÃÁË¡£


C# code:

Word.Application appWord = new Word.Application();
Word.Document docWord = new Word.Document();

docWord = appWord.Documents.Open("L:\\SWPPP\\SWPPPBookMerge.doc");



¹â´ò¿ªÃ»Ê²Ã´ÒâÒå°¡£¡
ÄãÒª×öʲô£¬ÐèÇó˵Çåµã

¾ÍÊÇ´ò¿ªWORDÎĵµ£¬ÏÔʾÒѾ­´æÔÚµÄWORDÎĵµµÄÄÚÈÝ£¡

ÒýÓÃ
C# code

Word.Application appWord = new Word.Application();
Word.Document docWord = new Word.Document();

docWord = appWord.Documents.Open("L:\\SWPPP\\SWPPPBookMerge.doc");
up

Ôõô°ÑWORDµÄÄÚÈÝǶÈëµ½´°ÌåÖУ¬Ê¹ÓÃʲô¿Ø¼þ°¡£¿


ÒýÓÃ
Ôõô°ÑWORDµÄÄÚÈÝǶÈëµ½´°ÌåÖУ¬Ê¹ÓÃʲô¿Ø¼þ°¡£¿


C#


Ïà¹ØÎÊ´ð£º

linux»·¾³ÏÂgethostbynameº¯ÊýÎÊÌâ - C/C++ / CÓïÑÔ

дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
   
  struct hostent *hp; 
char AlarmDevIP[20];  
  int x2;

hp = gethostbyname("www.google.com");
if (hp)
{ ......

visual c++2008²»ÄܱàÒëC³ÌÐòÂð - C/C++ / CÓïÑÔ

visual c++2008Ëٳɰ棬²»ÄܱàÒëC³ÌÐòÂð£¿Èç¹ûÄÜÊÇÔõô¿ªÊ¼µÄ°¡£¿ÓÃËü´øµÄÃüÁîÌáʾµ¥Ôª³ýÍâ ¡£
н¨¹¤³Ì£¨¿Õ¹¤³Ì»òwin32¿ØÖÆ̨£©

¾ø¶Ô¿ÉÒÔ¡£½¨Á¢win32¿ØÖÆ̨³ÌÐò¾Í¿ÉÒÔ

ÒýÓÃ
н¨¹¤³Ì£¨¿Õ¹¤³Ì»òwin32¿ØÖÆ̨£ ......

c/sºÍb/sÖ®¼äÔõôͨѶ. - Java / Web ¿ª·¢

ÔھƵê¹ÜÀíϵͳÖÐ,ÓÐÒ»¸ö¶ÔÄÚµÄϵͳ,¹©Ç°Ì¨·þÎñÔ±ºÍ¾­ÀíʹÓÃ
»¹ÓÐÒ»¸ö¾ÍÊǶÔÍâ,Èÿͻ§¿ÉÒÔÔÚÍøÉÏÔ¤¶©·¿¼ä,
ËüÃÇÖ®¼äÊÇÔõôͨѶµÄ.?µ±ÎÒÌá½»Ô¤¶©·¿¼äÐÅÏ¢µÄʱºò,
ÔÚ¶ÔÄÚµÄϵͳÖÐ,ÈçºÎÖªµÀÎÒÒѾ­Ìá½»ÁËÐÅÏ¢¹ýÈ¥.Ê¹Ç ......

Çë´ó¼ÒÖ¸µãÒ»ÏÂC/S½á¹¹µÄ·ÖÒ³Á÷³Ì - .NET¼¼Êõ / C#

´ó¼ÒºÃ£¬ÎÒÊÇÐÂÊÖ£¬¸Õ¿ªÊ¼½Ó´¥C/S½á¹¹µÄ³ÌÐò£¬ÏëҪʵÏÖÒ»¸ö·ÖÒ³¹¦ÄÜ£¬´ó¼ÒÓÐûÓкõãµÄ·ÖÒ³¿Ø¼þ»òÕß³ÌÐòÖ®ÀàµÄ£¬µ±È»Ô´³ÌÐò¸üºÃ£¬·ñÔò˵˵Á÷³ÌÒ²¿ÉÒÔ£¬Ð¡Ãü±°¡£¬ÔÚÏߵȡ£¡£¡£¡£
´ó¼Ò°ï°ï棬ллÁË£¬¼±¡£¡£¡£

Ä ......

¹ØÓÚ tiny c ¶Î´íÎóµÄÎÊÌâ - C/C++ / CÓïÑÔ

СµÜ×î½üÔÚÁ˽â¹ØÓÚtiny c µÄÎÊÌâ¡£ÔÚlinuxÏÂ×¼±¸°²×°¡£µ«°²×°Íê³ÉºóÅöµ½ÁËһЩÎÊÌ⡣ϣÍû´ó¼ÒÄܹ»°ïæ½â¾ö¡£ÒÔÏÂÊÇ°²×°Íê³ÉºóµÄÖ´Ðв½Öè¡£
[student@localhost ~]$ tcc -v
tcc version 0.9.25
[student@localhos ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ