Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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)
{ ......

sqlССµÄÒÉÎÊ - .NET¼¼Êõ / C#

¿ÉÄÜÒòΪ¹¤×÷µÄÔ­Òò ½Ó´¥Êý¾Ý¿âÕâ¿é±È½ÏÉÙ£¬Ö®Ç°¶¼ÊÇ×ö³ÌÐòÕâ¿é£¬Êý¾Ý¿âÕâ¿é¶¼ÓÐרÃŵÄÈËÀ´×ö ·Ö¹¤¶¼ºÜÃ÷ϸ ËùÒÔ¶ÔÊý¾Ý¿âÕâÒ»¿éÍêÈ«²»Á˽⡣ǰ¶Îʱ¼ä È¥ÃæÊÔÁ˼¸¼Ò¹«Ë¾ ¼¸ºõ¶¼ÊÇÔÚÊý¾Ý¿âÕâ¿é¹ÒµôµÄ Á¬¸ö¼òµ¥µÄSQ ......

c¾²Ì¬±àÒëÁíÒ»¸öÎļþ¼ÐµÄ¿âº¯Êý - C/C++ / CÓïÑÔ

ÔÚ¸ùĿ¼/libÖдæ·ÅÒ»¸ölog.c£¬log.h£¬²¢ÓÃÏÂÃæµÄÓï¾ä£º
gcc -c log.c
ar crv liblog.a log.o
±àÒë³öÒ»¸öliblog.a¾²Ì¬¿â£¬È»ºóÔÚÎļþ¼Ð£º/testfileÖд´½¨Ò»¸ötest.cºÍtestc.c£¬test.cÖÐÒýÓÃÁËtestc.cÖж¨ÒåµÄ·½·¨ ......

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

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