|
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
|
|
|
|
|
This is used to tell the .NET CLR how to marshal arguments back and forth when doing interop between managed and unmanaged code, such as when calling into the Win32 API. You can find out more by reading the .NET Developers Guide - Interoperating with Unmanaged Code[^] section.
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
ENvironment.
VB.net, SQl Server 2005, Visual Studio 2005, VB.net Stored procedures. I have defined a
public class foo
public index as long
public fname as string
public lname as string
end class
A sub wants to use this class as folows:
Public Shared sub doit(byval fname as string, byval lname as string)
dim myrecord as foo
myrecord.fname = fname
visual studio and vb tell me that my record is not initialized and may throw an exception if it is used without being
initialized. It does throw an exception. How do I initialize myrecord. I have tried
public class foo
public index as long = 0
public fname as string = "xxx"
public lname as string = "xxx"
end class
The compiler did not complain, but it did not solve the problem.
rkj
|
|
|
|
|
try this one
dim myrecord as new foo
this may help u.
|
|
|
|
|
That did work. Thank you very much!!
rkj
|
|
|
|
|
Greetings,
Currently im doing an invoice software in which it will automatically save all the data entered by the user into excel file. Then when the user click 'SAVE' button, the excel file will be saved. However, the size of the saved file is very big which is 1.46MB, but if the data is inserted manually into excel (without using the software), the size is only approximately 60kB. Does anyone know what's the problem? Please Help...
Your help is greatly appreciated. Thank you in advance.
|
|
|
|
|
u r using window or web application?
|
|
|
|