Remote Compilation of VB program

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 7 of 7

Thread: Remote Compilation of VB program

Hybrid View

  1. #1
    Join Date
    Jul 2005

    Remote Compilation of VB program

    Hi All,

    I am facing a problem with VB compilation in my company. Actually, I have to create my VB programs on one of the business specific server. But I can not compile the program on the server machine. It is a seperate non-server machine with compilation environment (with all specific dlls). For this I physically need to go to the compilation machine, everytime I need to compile my code.

    Please help me in this regard. I want to remotely compile the code from server machine, by deploying it to the compilation machine (In a shared folder). I have admin username/password of the compilation machine.

    Please give me any sample code, or at least logic to control VB compiler remotely.


  2. #2
    Join Date
    Nov 2003
    Portland, OR
    You can use VB to build your project from the command line: . You could use a tool like this one to kick off a compile whenever you copy source files to a specific directory, or simply create a scheduled task in Windows to compile whatever is in that directory once per hour, for example.
    Phil Weber

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Feb 2006
    maybe somthing like VNCViewer may help.

  4. #4
    Join Date
    Nov 2003
    Alameda, CA
    usually a code is not compiled in a server machine. the server is busy doing something else, why clogging it? Not only that, you have to install all DevStudio in it, plus all libraries and tools, and that means you need more DevStudio licenses.
    Just compile the code in a development machine (like you computer) and then use some installation package (DevStudio comes with Package & Deployment Wizard for free, that even if not perfect it is ok for medium size apps), and use that to install the app on the servers.
    Is there any reason you have to compile in a specific server machine?
    "There are two ways to write error-free programs. Only the third one works."

  5. #5
    Join Date
    Jul 2005

    Thanks for your efforts, but it did not solve my problem. I have restriction that I can not install any other software on compiling machine. So VNCViewer/Remote desktop or any other third party tool can not be used.

    Phil, creating a schedule task can be a good idea, but it will not compile the program, when I require it !!!!!!!!!

    If anyone provide me logic to "Remotely execution of commands", I myself will create a program/batch file.

    Please help me, Thanks in advance.


  6. #6
    Join Date
    Dec 2005
    South of Nowhere, Maine
    How do you plan on remotely executing commands if you can't install anything on the compiler machine?

    I'd go talk to your IT department and explain the situation. They may have a solution for you.

  7. #7
    Join Date
    Jul 2005
    Thanks friends,

    I have got the solution using Telnet to remotely access shell of the compilation machine.
    please refer for details.


Similar Threads

  1. Accessing an Access 2000 form using a VB program
    By C. Gonzales in forum VB Classic
    Replies: 1
    Last Post: 01-01-2002, 07:53 AM
  2. Replies: 84
    Last Post: 01-29-2001, 02:12 PM
  3. Re: VB or Powerbuilder?
    By Jean-Yves in forum Enterprise
    Replies: 3
    Last Post: 06-01-2000, 01:23 PM
  4. Executing other programs from a VB Program
    By Alex in forum VB Classic
    Replies: 0
    Last Post: 03-26-2000, 03:15 PM
  5. Searching an ADO database with a VB program?
    By Randy in forum VB Classic
    Replies: 2
    Last Post: 03-24-2000, 06:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center