|
OK, another idea: What if you design and install your program as a windows service?
|
|
|
|
|
How do you start your program?
Meaning do you start if from an install or from your development tool?
Is this happening on more than one computer?
Normally you should see it in both the processes and applications tab without doing anything.
Keeping it out of applications tab will be more challenging tho.
|
|
|
|
|
both.
Yes i normally see it in both tabs, but I only want to see it in the processes tab!
(Like Office Outlook)
Is this possible?
|
|
|
|
|
What special edition on Outlook do you have that does not show in the Applications tab? It shows in both on my 2010 edition, and also did with all previous versions I have ever had installed.
|
|
|
|
|
Outlook 2007
I see no application... Only the "OUTLOOK.EXE" in the 'Processes' Tab
|
|
|
|
|
And what exactly do you think that is?
|
|
|
|
|
You misunderstand, some there are two tabs in task manager, titled 'Applications' and 'Processes'.
He is saying his program appears in both the 'Applications' tab and the 'Processes' tab and he wishes to remove his entry from the 'Applications' tab.
|
|
|
|
|
You're right, I misread it. But when I fire up my Outlook 2007 I see it both in Applications AND processes... ?!?!?!
|
|
|
|
|
If you look in the Taskbar notifications area (Windows 7) you can see running apps that do not have visible windows or icons on the main part of the taskbar. These apps show up in the process list but not in the application list of Task Manager. There are a number of MS applications that do this and behave somewhat like a background task, generally doing nothing until the user right clicks the icon and initiates some action.
It's time for a new signature.
|
|
|
|
|
Try setting the showintaskbar property to false
|
|
|
|
|
Please reply to the correct person, i.e. the one asking the question.
It's time for a new signature.
|
|
|
|
|
|
This article[^] explains how to do it in C++/Win32, so it may be of some help.
It's time for a new signature.
|
|
|
|
|
Try setting the ShowInTaskbar property to false because apps that are not displayed in the taskbar will not be displayed in the applications tab if you have noticed.
|
|
|
|
|
Yes I already use the property but it doesn't work...
|
|
|
|
|
Try setting the form's TaskVisible property to False
|
|
|
|
|
Sry but I see no TaskVisible property from my form?
*EDIT*
ooh sry its APP.TaskVisible = false
thanks a lot
|
|
|
|
|
Sorry for my mistake too. Hope you got it
|
|
|
|
|
Use this statment:
App.TaskVisible = False
This statment will hide your form from applications list. And it can be seen at Process.
If you Run it From IDE, it will not create any process. It is executed from IDE(vb6).
|
|
|
|
|
I am making a VB.NET web application in VS.NET 2008.
I am using streamwriter to write in the file. I am using filestream to create a new file
Dim fs As New FileStream("'" & FN & "'.txt", FileMode.CreateNew, FileAccess.Write)
using above line create the file in the default directory i.e (C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE)
But i want to store my files in my defined directory say ("C:/HMSFiles/PPFiles/")
how to replace the default directory with defined directory??
how to read the file from the defined directory?
if i want to store these files on the server how to do this??
Here is the code:
Dim FilePath As String = ("C:/HMSfiles/PPFiles/")
Dim fs As New FileStream("'" & FN & "'.txt", FileMode.CreateNew, FileAccess.Write)
Dim s As New StreamWriter(fs)
pretestcatch = pretestTA.Text
posttestcatch = posttestTA.Text
s.WriteLine("PRE TEST PRECAUTIONS:")
s.NewLine = ""
s.Write(pretestcatch)
s.WriteLine("POST TEST PRECAUTIONS:")
s.NewLine = ""
s.Write(posttestcatch)
s.Close()
|
|
|
|
|
Try
Dim fs As New FileStream(FilePath & "'" & FN & "'.txt", FileMode.CreateNew, FileAccess.Write)
|
|
|
|
|
thanks Johnny.
after posting i realized how to do it...but can u tell me how to save the file on server without using fileupload control in asp.net .....i want to store the content in textbox directly in file on server.
and how to retrieve the file from the server.
thanks
|
|
|
|
|
The exact same way. You use streamwriters and streamreaders to create and read the files.
|
|
|
|
|
what is the equivilant code of vb for the code below(C++)
Data=K1=K1<<4 | K0;
k1 k0 data is variable....
thx for ur reply....
|
|
|
|
|
newbievbnet wrote: K1<<4
Assuming some integer data type, a "shift left" operation can be written as a multiplication; shifting by 4 is the same as multiplying by 16. And VB.NET has an OR operator which works on booleans (logical or), as well as on integers (bit-wise OR).
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
|
|
|
|