|
amaneet wrote: I mean can i put my poject exe into the System Configuation Utility/StartUp
programatically , before the complition of the installation
You can make your installer put it in the startup, that's competely unrelated to putting it in the system tray. To do this, just add a shortcut in the Programs/Startup folder.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
System Configuation Utility/StartUp(System tray)
can I make my installer put it in the System tray
Thank You Christian Graus
|
|
|
|
|
I already answered that. you were talking about startup, so I answered that, too. To put your app in the startup tray, you need to write it to be there, your installer can't do that ( like I said ).
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi Christian,
I am not getting ur point.
My question was based on , how to pogramically put the application in the sys tray before the complition of the installation.I know the diffeence between startup and systray.Can u provide some steps to accomplish this task.
Thanks and Regards
Pankaj Garg
|
|
|
|
|
I'm sorry, I'm afraid if you can't understand English, there's not much I can do to help.
You cannot write an installer which pushes your app onto the system tray. You need to write your app to do this. And, if you google it, you'll see how to do that. Installation has nothing to do with it.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I am not afraid too , that how somebody select u as a Microsoft MVP C++
|
|
|
|
|
I assume they did that because I answer people's questions, as I answered yours some time ago. The fact that you couldn't understand the answer, says nothing about me.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
|
There is no such thing as "putting an .EXE in the System Tray". An ICON can show up in the System Tray. This icon has to be supplied by your application (look up the NotifyIcon class). Your application must be specifically written to do this itself.
The installer has absolutely NOTHING to do with the System Tray, what-so-ever.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Hi Dave,
I wanted my application icon to come into the sys tray.
I am installing my program after then...,I am able to do it on double clicking my exe .
But this is not required.
I wanted to invoke the icon into the sys tray during the installation process.I meant into the System Configuration Utility (msconfig)
Can U help me.
Thank You.
|
|
|
|
|
amaneet wrote: wanted to invoke the icon into the sys tray during the installation process
There is no such thing!
amaneet wrote: I meant into the System Configuration Utility (msconfig
Do you even know what MsConfig is?
The problem is that you don't understand the process why an icon is in the tray. OK, so you want an icon in the tray. What do you want it to do when it's there?
The only way you can get an icon in the system tray is if your APPLICATION is written to put one there. It's not the job of the installation to do that! All the installation can do is launch your application after it's installed into Program Files. After that, it can launch your application and your application puts the icon (again, the NotifyIcon class) in the system tray. That icon will only appear when your application runs!
Like I, and Christian, have already said, repeatedly, the installation has absolutely nothing to do with putting an icon in the system tray and never will.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
You're a brave man, Dave, stepping into this mess. I see it didn't really help, tho.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Yeah, I thought maybe, just maybe, if he heard it from another person, it would sink in. Guess not...
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Maybe if you were not also an MVP....
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Christian Graus wrote: Maybe if you were not also an MVP....
This could be one of those cases where I think we should change those lines to "Village Idiot". Maybe they'll listen then?
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Hi there,
How in the world do you update a ComPlus application with InstallShield? I use VB6 dll's in my .Net application and course of that Interop dll's is created. How do I increase the version number of those interop dll's so that an upgrade via InstallShield will copy in the new interop dll's?
Thanks for your time,
Regards, Werries
A programmer's life is good... or is it?? Ek dink nie so nie!
|
|
|
|
|
Hi there,
Thanks for all those who have take time to help me on this post. I’ve solved my issues. I’ve tried to update Interop dll’s via InstallShield, but was not successful because the version numbers of the Interop dll’s did not change. On the end I used the QuickPatch option of InstallShield to remove the original Interop dll and copy in a new Interop dll. This worked fine.
Regards, Werries
A programmer's life is good... or is it?? Ek dink nie so nie!
|
|
|
|
|
Hi...
Is there any way to restrict the current logged in use to access certain
applications in windows environment…!! VB.net 2005
Thanks...
|
|
|
|
|
Not really, no.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Yes. You may do so by creating a timer. Inside the timer Tick() event, type system.diagnostics.process.kill("<processname>"), where <processname> is the process you wish to end. Please mail me with any questions or comments.
Best Regards,
Richard Faulkner
|
|
|
|
|
Hi..
i want my application to run from the right click menu of desktop... From where we refresh our desktop..that one.
Is there any installer that can do this... or shud have i to first write code for this
and call that application... during the installation of my default appplication.
I am using vb.net 2005
Plz help me out... need it urgently
|
|
|
|
|
Maybe this is a dumb question but why would you want to do such a thing?
|
|
|
|
|
I am sorry to say this, but you most likely have no option of doing so unless you patch(modify the resources) of explorer.exe. I suggest you rather add your program to the control panel. One way of doing this is by purchasing a third-party program that adds programs to the control panel. Another free option is to download this VBScript file. You need to edit it, because it was originally for placing TweakUI to the control panel. Please mail me with any questions or comments.
Best Regards
Richard Faulkner
|
|
|
|
|
I have one check box in a table.On selecting that check Box,All the check boxes in the grid view should get checked. The code is as follows:
Protected Sub cboApprove_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) handles cboApprove.CheckedChanged
Dim intCount as Integer
if cboApprove.Checked=True
for intCount=0 to gvSharedItemsList.Rows.Count - 1
Dim row as GridViewRow = gvSharedItemsList.Rows(intCount)
Dim cb As CheckBox = CType(row.FindControl("chkSelect"), CheckBox)
cb.Checked =True
next
End if
End Sub // This is not working
If the write the same code under button,then the click of that button,all the check boxes in the gridview are getting checked.
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim intCount as Integer
if cboApprove.Checked=True
for intCount=0 to gvSharedItemsList.Rows.Count - 1
Dim row as GridViewRow = gvSharedItemsList.Rows(intCount)
Dim cb As CheckBox = CType(row.FindControl("chkSelect"), CheckBox)
cb.Checked =True
next
End if
End Sub // this is working
But the same thing is not happening when i checked the checkbox present in a table. In short, cboApprove_CheckedChanged is event is not firing... Please help me.....
Thanks and regards ,
Shyam
|
|
|
|
|
Hi there,
Can somebody tell me the utility of marshalas in vb.net 2.0.I mean for what purpose i should use it.
Thanks
|
|
|
|