Click here to Skip to main content
16,009,112 members
Home / Discussions / Visual Basic
   

Visual Basic

 
JokeRe: Email will not send my visual studio 2003 project TESTED Pin
japel22-Feb-06 13:52
japel22-Feb-06 13:52 
Questionaccessing to crystal report parts ... Pin
microuser_200022-Feb-06 11:18
microuser_200022-Feb-06 11:18 
QuestionNotify Parent Form of close Pin
K. Shaffer22-Feb-06 9:35
K. Shaffer22-Feb-06 9:35 
AnswerRe: Notify Parent Form of close Pin
Joshua Quick22-Feb-06 12:30
Joshua Quick22-Feb-06 12:30 
GeneralRe: Notify Parent Form of close Pin
K. Shaffer23-Feb-06 4:31
K. Shaffer23-Feb-06 4:31 
QuestionToolstrip/Menustrip Pin
kenexcelon22-Feb-06 9:27
kenexcelon22-Feb-06 9:27 
AnswerRe: Toolstrip/Menustrip Pin
RichardBerry23-Feb-06 0:12
RichardBerry23-Feb-06 0:12 
QuestionWindows Application type or Console Application type? Pin
Slow Learner22-Feb-06 9:13
Slow Learner22-Feb-06 9:13 
Hello,
We have a need to schedule a task in windows scheduler. For that i need to generate an .exe file of the application i am working on. So as a first step, I got the code snippet working in my Windows Application(was done using VB.net 2005). But this code fires up with a button click event. I also added an Application Configuration File to throw few variales. And this works exactly as i needed.

Now, i put the above code snippet in Main() method of the windows form and built it. I got the .exe under my debug goder. When i double click on it i got the windows form popped up. And at the same time it also performed the job i wanted to(as i have my code under the Main() method). But i don't want the UI(windows form) to be popped up. My objective is run ever thing under hood with no user interface. In other words i am expecting some thing like when we run a .bat file it does the job with no user interface. I need some thing in the similar fashion.

For that do i need to create a Windows Console application and paste my code and build it? I also tried with the Console application and it does exactly what i was expecting for. But i am just curious and want to know can't we use the Windows Application type project and then hide the Windows form to hid when we double click on the .exe file?

Please help me understand what type of application, either Windows Application type or Console Application type project works best in my scenario.

Thanks
-L
AnswerRe: Windows Application type or Console Application type? Pin
Joshua Quick22-Feb-06 12:47
Joshua Quick22-Feb-06 12:47 
QuestionFilter data in DataGridView Pin
Brian Holdridge22-Feb-06 9:00
Brian Holdridge22-Feb-06 9:00 
AnswerRe: Filter data in DataGridView Pin
RichardBerry22-Feb-06 22:38
RichardBerry22-Feb-06 22:38 
GeneralRe: Filter data in DataGridView Pin
Brian Holdridge24-Feb-06 2:34
Brian Holdridge24-Feb-06 2:34 
QuestionPassing object from one form to another Pin
G7236022-Feb-06 8:52
G7236022-Feb-06 8:52 
AnswerRe: Passing object from one form to another Pin
Joshua Quick22-Feb-06 13:09
Joshua Quick22-Feb-06 13:09 
QuestionDatagrids and the Date....... Pin
daviiie22-Feb-06 6:34
daviiie22-Feb-06 6:34 
AnswerRe: Datagrids and the Date....... Pin
RichardBerry22-Feb-06 20:59
RichardBerry22-Feb-06 20:59 
QuestionPassing Arrays of structures from VB.NET to unmanaged C++ Pin
CPop22-Feb-06 6:17
CPop22-Feb-06 6:17 
QuestionHow to use an HttpWebClientProtocol class Pin
Hohnerman2022-Feb-06 6:03
Hohnerman2022-Feb-06 6:03 
QuestionHow do i assign variables in VB.NET? Pin
Slow Learner22-Feb-06 5:26
Slow Learner22-Feb-06 5:26 
AnswerRe: How do i assign variables in VB.NET? Pin
ToddHileHoffer22-Feb-06 5:53
ToddHileHoffer22-Feb-06 5:53 
GeneralRe: How do i assign variables in VB.NET? Pin
Slow Learner22-Feb-06 6:02
Slow Learner22-Feb-06 6:02 
GeneralRe: How do i assign variables in VB.NET? Pin
MohammadAmiry23-Feb-06 5:13
MohammadAmiry23-Feb-06 5:13 
QuestionNeed help on String manipulation Pin
Slow Learner22-Feb-06 5:20
Slow Learner22-Feb-06 5:20 
AnswerRe: Need help on String manipulation Pin
Jason McBurney22-Feb-06 5:23
Jason McBurney22-Feb-06 5:23 
GeneralRe: Need help on String manipulation Pin
Slow Learner22-Feb-06 5:37
Slow Learner22-Feb-06 5:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.