Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: วิธี compile program ที่เขียนโดย vc 2008 ให้สามารถ run บนเครื่องที่ไม่ได้ลง .net framework

  1. #11
    Senior Member
    Join Date
    Sep 2007
    Location
    Laos
    Posts
    192


    ผมเคยหาข้อมูลเกี่ยวกับการทำให้ .net application รันได้โดยไม่ต้องพึ่ง .netfx อยู่พักนึงคับ
    แล้วก็เหมือนจะเคยได้ยินมาว่า VC สามารถทำได้อยู่คับ

    แต่ถ้าเป็น VB หละคับจะทำยังไง?
    ที่ผมคิดก็คือ ถ้าสามารถ complie โปรแกรมออกมาพร้อมกับ .netfx ที่เราเรียกใช้ได้ก็คงจะดี
    เพราะว่าในบางครั้งเราพัฒนาแค่โปรแกรมขนาดเล็กออกมา แต่เราต้องโหลด .netfx ไฟล์ใหญ่ๆมาลงเลยหรือ?
    .netfx 2.0 ขนาดไฟล์ 22.4mb <------ VS2005 ใช้ถึง 2.0 ตัวนี้อาจจะไม่คิดมาก
    .netfx 3.5 ขนาดไฟล์ 197mb <------ VS2005 ใช้ถึง 3.5 แต่ตัวนี้หละ
    ซึ่งถ้าเป็นโปรแกรมเครื่องคิดเลขธรรมดาคุ้มมั้ยคับ

    ผมก็ไปเจอซอร์ฟแวร์อยู่ตัวนึงคับที่น่าจะแก้ปัญหานี้ได้ก็คือ Xenocode Postbuild ใช้ complie โปรแกรม .net คับ แต่ราคาก็แพงลิบลิ่วเลยคับ จะคุ้มมั้ยเนี่ย

    ยังไงถ้าใครพอจะมีวิธีอะไรดีๆก็บอกกันบ้างนะค้าบบ[/b]
    Sure, It does...

    You can do this by creating setup project. Under setup property pages, On prerequisites, choose prerequisites that you want to include in setup file and select Download prerequisites from the same location as my application. See the picture below...



  2. #12
    Junior Member
    Join Date
    Apr 2009
    Posts
    0


    ขอบคุณมากครับ แจ่มมากมาย
    ตอนนี้เริ่มจะคอมไพล์ด้วยวิธีการที่ต่างกันละ


Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 0
    Last Post: 24-09-2009, 01:25 PM
  2. Microsoft.NET Framework 7 in 1 Full + Microsoft .NET Framework 4 Beta1
    By nirvana02 in forum แนะความรู้ด้าน Programming ต่างๆ
    Replies: 3
    Last Post: 03-09-2009, 09:26 AM
  3. วิธี Set ให้ Edit plus Compile C,C++ ได้
    By mayaseven in forum แนะความรู้ด้าน Programming ต่างๆ
    Replies: 3
    Last Post: 16-08-2009, 03:10 PM
  4. Replies: 0
    Last Post: 03-04-2008, 08:08 PM
  5. Replies: 1
    Last Post: 30-04-2005, 03:43 PM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •