|
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 ![Rose | [Rose]](https://www.codeproject.com/script/Forums/Images/rose.gif)
|
|
|
|
|
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).
|
|
|
|
|
thx for ur reply
another question
dim data as char
i need to put 0xa0 into data
how to do it in vb?
|
|
|
|
|
while C-like languages use the 0x prefix, Basics often use &H .
May I suggest you buy and study a book on VB.NET; it is the most effective way of learning a new language, as it teaches all the essential stuff in a structured way, saving you lots of time while teaching you good practices as well.
PS: No, I have no particular recommendation, look at some and pick the one(s) you like.
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).
|
|
|
|
|
VB also has the bit shift operators - the main adjustment for this code snippet is due to VB not allowing inline assignments:
K1 = K1 << 4 Or K0
Data = K1
David Anton
Convert between VB, C#, C++, & Java
www.tangiblesoftwaresolutions.com
|
|
|
|
|
Hello everybody,
in my application (.NET 2.0) I use plugins for different tasks and want to pass events between the plugins as well as with the MDI window. The basic idea of the following code setup works: after starting the app, the handler is added and the event is raised through the interface and the plugins 'Process()' routine, resulting in the trace-line which has been defined in the main app's corresponding Sub (pluginInfo_ButtonClicked).
The funny thing is that, when raised with exactly the same command in the button.click event of the plugin, the event isn't heard from the main app anymore - no trace-line written. The event handler should still be there, at least I didn't purposely remove it.
I don't yet fully understand everything around events, so I might just miss something out. Could anyone please have a look and tell me where I'm going wrong?
Thank you
Michael
' ... the Interface
Public Interface IPluginInfo
Event MyButtonClicked As EventHandler
Sub Process()
ReadOnly Property Name() As String
End Interface
' ... the MDI Application
Public Class MainAppPluginhandler
Private pluginInfo As IPluginInfo
Public Sub New()
(...creating an instance of IPluginInfo here)
Try
AddHandler pluginInfo.MyButtonClicked, AddressOf pluginInfo_ButtonClicked
Trace.WriteLine(String.Format("+ Handler for PlugIn {0} installed in MDIForm.", pluginInfo.Name))
pluginInfo.Process()
Catch ex As Exception
End Try
End Sub
Private Shared Sub pluginInfo_ButtonClicked(ByVal sender As Object, ByVal e As EventArgs)
Trace.WriteLine("+ Event 'ButtonClicked' received by PlugInHandler!")
End Sub
End Class
' ... and the plugin class
Public Class MyPlugin
Implements IPluginInfo
Public Event MyButtonClicked(ByVal sender As Object, ByVal e As System.EventArgs) Implements IPluginInfo.MyButtonClicked
Private Sub OnMyButtonClicked(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyButton.Click
RaiseEvent MyButtonClicked(Me, Me, EventArgs.Empty)
Trace.WriteLine("+ Event MyButtonClicked raised.")
End Sub
Public Sub Process() Implements IPluginInfo.Process
Trace.WriteLine("+ Function 'Process' started in MyPlugin... wait 2 seconds.")
Thread.Sleep(2000)
Trace.WriteLine("+ Event MyButtonClicked' raised in MyPlugin.")
RaiseEvent MyButtonClicked(Me, EventArgs.Empty)
End Sub
End Class
|
|
|
|