473,385 Members | 1,429 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Formless application

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
Sep 27 '07 #1
4 2320

"John Devlon" <jo********@hotmail.comwrote in message
news:rJ**********************@phobos.telenet-ops.be...
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

Sep 27 '07 #2
"John Devlon" <jo********@hotmail.comschrieb
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


Sep 27 '07 #3
John Devlon wrote:
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
Sep 28 '07 #4

Thank you all very mutch ...

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

John
Sep 28 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: J. Baute | last post by:
I'm caching data in the Application object to speed up certain pages on a website The main reason is that the retrieval of this data takes quite a while (a few seconds) and fetching the same data...
3
by: Amit Dedhia | last post by:
Hi I am developing a Dot net application (involving image processing) on a uni processor. It works well on my machine. I then take all my code on a multi processor, build and run the application...
4
by: maamir | last post by:
I have created a windows application in C#,It has a window's form but nothing to show on that form , now i need to make my that applicaion formless so that it can run in the background. Waiting for...
11
by: Wayne | last post by:
I need an application to start run it's process, and save a log as it goes, it will be automated with a scheduled task and as such requires no interface. I don't want to use a service as it only...
6
by: orekin | last post by:
Hi There I have been trying to come to grips with Application.Run(), Application.Exit() and the Message Pump and I would really appreciate some feedback on the following questions .. There are...
20
by: Peter Oliphant | last post by:
How does one launch multiple forms in an application? Using Photoshop as an example, this application seems to be composed of many 'disjoint' forms. Yet, they all seem somewhat 'active' in...
6
by: Josef Brunner | last post by:
Hi, I published my application (VS 2005) and am now trying to install it when I get this error message. It worked before...even on a different machine. Here is the detailed description: ...
9
by: jeff | last post by:
Hi All. I realize that when my Deployed winforms application starts, Windows needs to load the .net 2 framework before control is given to my application.... Is there anyway to either ... -...
3
by: asadikhan | last post by:
Hi, I have written a windows application with a GUI (let's call it MENU). I own the code for this application and have access to it. We have another application that is a third-part windows...
11
by: amin85 | last post by:
Hello, How can I write a formless application to view images? Thanks
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.