Formless application

J

John Devlon

Hi,

This is maybe the most stupid question you will ever read ...

I'm trying to create a small application, when launched, executes just a few
small tasks...
No front-end is needed... How can I create a small application that triggers
a few actions, but doesn't show anything (no forms)

I've tried removing a form and adding a module but that didn't work ...

Thanks
 
L

Lloyd Sheen

John Devlon said:
Hi,

This is maybe the most stupid question you will ever read ...

I'm trying to create a small application, when launched, executes just a
few small tasks...
No front-end is needed... How can I create a small application that
triggers a few actions, but doesn't show anything (no forms)

I've tried removing a form and adding a module but that didn't work ...

Thanks

If you are using VS or VBExpress create a console app. There is no form
just a start where you do what you have to. At the end of processing the
app will close and user will see nothing.

Hope this helps
Lloyd Sheen
 
A

Armin Zingler

John Devlon said:
Hi,

This is maybe the most stupid question you will ever read ...

I'm trying to create a small application, when launched, executes
just a few small tasks...
No front-end is needed... How can I create a small application that
triggers a few actions, but doesn't show anything (no forms)

I've tried removing a form and adding a module but that didn't work
...

What did not work? Compiling error? Runtime error? Unexpected behavior?
You removed the form and still the form was shown?
Which actions do you want to trigger? If there is no UI, there is no way to
handle mouse and keyboard input - unless you're trying to create a
keyboard/mouse hook.

What you did should work. In addition, add a Sub Main to the module. Set it
as the startup object in the project's properties.


Armin
 
M

Miro

John said:
Hi,

This is maybe the most stupid question you will ever read ...

I'm trying to create a small application, when launched, executes just a few
small tasks...
No front-end is needed... How can I create a small application that triggers
a few actions, but doesn't show anything (no forms)

I've tried removing a form and adding a module but that didn't work ...

Thanks

You can also create the form application and change the opacity property
so its invisible.
Its a "form" application that will run invisible as if it wasnt a "form"
application.

Miro
 
J

John Devlon

Thank you all very mutch ...

I've changed the project settings to console app and added the main sub ...
it works great

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top