Solved

Schedule a recompile

Posted on 2004-09-09
5
297 Views
Last Modified: 2010-05-02
Hello Experts.  I'm embarassed to ask, but can someone please tell me if there is a way to schedule a recompile?
0
Comment
Question by:MariaHalt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 76

Expert Comment

by:David Lee
ID: 12020201
Why would you want to?
0
 

Author Comment

by:MariaHalt
ID: 12020250
Because I can't recompile when a user is running the application.  There are many users and I can't ask them to exit the application every time I make a minor change.  (And I don't want to come in early or stay late to do it.)  
0
 
LVL 32

Accepted Solution

by:
Erick37 earned 50 total points
ID: 12020340
You can schedule a task to do a command line make of your project:

Schedule:
http://support.microsoft.com/default.aspx?scid=kb;en-us;308569&sd=tech

Command to compile your project:
path_to_vb6\Vb6.exe /make projectname[.vbp] [exename]

Reference:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconmakingrunningexecutablefile.asp

0
 
LVL 76

Expert Comment

by:David Lee
ID: 12020361
It's extrememly unusual, and I'd say inadvisable, for the production users to be using the of the executable directly produced by your compile.  Most developers develop on one machine, or at least in a different folder, and then copy new versions of the executable to a different machine, or to a different folder where the user's actually access it.  If you did it that way, then you could compile any time you want, making your life a lot easier, and copy the resultant exe to the production folder when the users aren't around.  If you need to do that via a schedule, then you can write and schedule a batch file to handle it.
0
 

Author Comment

by:MariaHalt
ID: 12020435
I actually do that.  The problem is my personal schedule.  The user's are in it a lot longer than I am available to recompile or copy a file, I need to do when I positively know that a user is not going to be running it, like the middle of the night.  Thanks for your input.
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question