Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Retrieve Applications System Tray Menu Handle


How would i got about retrieving another applications System Tray Icon Menu Handle ? I want to be able to add items to a certain applications system tray icon menu. Lets say I have a program open and its displaying its icon in the system tray.. When you right click the icon in the system tray, a menu will popup.. How would I get the handle to that menu so that I can modify it..

Thanx,
AAG




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
How To Get Program Handle In System Tray?
how to get program handle in system tray?I want to know how many program icon in system tray.

How To Find The Applications Running In System Tray ?
Hi,

Can anybody tell me How to find some application is running in system tray or not using Visual Basic.
I want to know only the appliction running in system tray not all the processes running in system.
So, if some specified application is running in system tray i need to close it. So how can i achieve this using vb6.

Thanking you all

Praveen

How To Find The Applications Running In System Tray ?
Hi,

Can anybody tell me How to find some application is running in system tray or not using Visual Basic.
I want to know only the appliction running in system tray not all the processes running in system.
So, if some specified application is running in system tray i need to close it. So how can i achieve this using vb6.

Thanking you all

Praveen

How To Find The Applications Running In System Tray And Close It ?
Hi,

Can anybody tell me How to find some application is running in system tray or not using Visual Basic.
I want to know only the appliction running in system tray not all the processes running in system.
So, if some specified application is running in system tray i need to close it. So how can i achieve this using vb6.

Thanking you all

Praveen

System Tray Menu
Well here is my third and hopefully last thread of the night.

I have searched for the last hour or so on google and here on the forum for a way to add an icon to the system tray that works as a menu. I have been unsuccessful. I'm looking for a nice easy way to do this. If anyone can help me it would be great. Thanks!!

System Tray Menu
i used the standard subclassing to create a system tray icon and then used the following code for the event handling


VB Code:
Select Case uMsg            Case WM_MYHOOK                           Select Case lParam                  Case WM_RBUTTONUP                  SetForegroundWindow (Main_Page.hwnd)                  Main_Page.PopupMenu Main_Page.mnusystray                                    Case WM_LBUTTONDBLCLK                  Main_Page.WindowState = vbNormal                  Main_Page.Show                                    Case NIN_BALLOONSHOW                                                                Case NIN_BALLOONHIDE                                              Case NIN_BALLOONUSERCLICK                  Main_Page.WindowState = vbNormal                  Main_Page.Show                                              Case NIN_BALLOONTIMEOUT                                           End Select


the problem is that on right clicking the sysicon the menu popsup but when i select a menu .the app freezes


VB Code:
Private Sub mnushowmain_Click()    Main_Page.WindowState = vbNormal    Main_Page.ShowEnd Sub


the above is to display the main form

and in my form_resize i have the following code

VB Code:
ShellTrayRemove    UnSubClass Main_Page.hwnd    Me.lblmsg.Caption = ""    Me.Show


interestingly the WM_LBUTTONDBLCLK event works fine,where could the problem lie?

System Tray Menu
When I click outside of my system tray menu it will not disappear.
So I had to click a menu item to unload the menu.

You can see most of the system tray menus are disappear when we click outside of the menu.

If your not still understand my question then follow this step.

Right click on MSN or Microsoft Antispyware system tray Icon. A popup menu Appear over the icon. Now click outside of the menu. Now the menu disappears.

Please..

System Tray Menu
I have an icon I added to the systray that pops a menu when it is right clicked. This works fine, however when the menu loses focus, such as clicking on another application, the menu does not disappear.

How do I get this menu to disappear when it loses focus?

System Tray Pop Up Menu
How can I get my form's icon in the system tray with menu without my form having a title bar?
Can this be done with CreatePopUpMenu/DestroyMenu?

System Tray And Pop Up Menu
After a few hours of playing around i managed to get my Application to run in the system tray. And i also have a 2 item pop up menu that responds to my right click event from the tray icon.

My question is, i can't manage to make the menu disappear without selecting one of the menu choices. So for example, i right click on the tray, and the menu pops up, and then i click on my desktop, and the pop up menu should disappear. Well it isn't, does anyone know how to solve this problem?

Menu In The System Tray
Hey,

I have a class that has a right click event for my icon in the system tray. I would like to have a menu pop up, but I don't know the command for it.

Nick

Pop Up Menu From System Tray
I need a code example to popup a menu from an Icon I set into the system tray.
when I try to pop up a menu using 3rd party tool as the Sheridan toolbar I get an error that the form is not visible.

System Tray Menu
Hi, I am using the system tray Icon FAQ posted in this Forum and I am successful in getting the icon in the system tray and able to make the menu popup when I right click.... and open/close my application from the menu. However when I compile my application into an exe it doesn't work the same. There is no menu popping up and also the double click function doesn't work either..... basically it doesn't recognise the MouseMove function. Any thoughts on this ? Appreciate your help. Cheers







A VB turned PHP geek

System Tray Menu
I've created a test application that sits in the system tray, when the icon in the tray is right-clicked a menu will pop up.

But the problem is .. the menu responds to mouse events but not keypress ... like 'Esc'.

Btw, the main form(menu owner is set to invisible)


The code portion is as below :


private Sub Form_Load()
With nid
.cbSize = len(nid)
.hwnd = frmMain.hwnd
.uId = vbNull
.uFlags = NIF_ICON Or NIF_TIP Or NIF_MESSAGE
.uCallBackMessage = WM_MOUSEMOVE
.szTip = "Right click to display menu" & vbNullChar
.hIcon = frmMain.Icon
End With

Shell_NotifyIcon NIM_ADD, nid
End Sub

private Sub Form_MouseMove(Button as Integer, Shift as Integer, X as Single, Y as Single)
Dim Result as Long
Dim msg as Long

If me.ScaleMode = vbPixels then
msg = X
else
msg = X / Screen.TwipsPerPixelX
End If

Select Case msg

Case 517 'display menu
SetForegroundWindow (me.hwnd)'set window as top, still cant respond to key
me.PopupMenu menuMyMenu

Case 514
'Some code
End Select
End Sub







Pls help. Thank you.
Vincent

System Tray - Popup Menu
'lo all,

Ive done a search for system trays etc, but cant figue out how to manipulate the code that i have found. Basically all i need to do is create a system tray icon, and have a popup menu open when the user right-clicks the icon - i can get the icon appearing, but i cannot figure out the right click...

Any Help pls

System Tray Menu Background
Is there a way i can add an image as a background to a menu in the system tray, i have searched and asked many people but can't seem to find a way!! Please help

System Tray Pop-up Menu Issues
I have an option in my System tray icon's pop-up menu that has a key combo that you can use (ctrl+w) but when the program is running, I can't hit ctrl+w to execute the menu item. It works just fine if you click on it manually.

Any help here is appreciated. thanks.

Not Unloading From A System Tray Menu!!
I have a program that can be shown in the system tray.
I made a menu that pops up when I right click the icon in the system tray. one of the options is exit, another option is to run a task.

When I click on the exit menu (while it is hidden) it works. but when I run the task then click on the exit menu it does not unload everything! even though I unload all the forms in my project.

I do the same thing when the application is not in the system tray and it works. I go to the form, click the menu and execute the task then go to the same menu and click on exit and it does unload everything!

I use the same functions in the both cases (same menu) ! when I exit while the application is hidden it does not unload everything!

Can anyone help?

Thanks,

- George

System Tray Menu Error :S
Hello I got an error in my system tray menu, when I open the menu (right click) then it shows up, but it won't go away when I do nothing or click somewhere else. does anyone have an idea how to fix it?
I have attached the script that I use.

Thanks in advance


//golles

System Tray Menu Problem
I have a small problem when using the system tray that I have just noticed.

When I right click on my Icon I bring up a popup menu, if I then click on the Desktop the menu remains there until I move my mouse back over it. This doesn't happen for other systray icons.

How can I get it disappear when I remove focus from it by clicking the desktop for example.

Thanks in advance for any help.

System Tray Menu Question
Hi,

I have a system tray icon and a menu when they right click.

Now when they click an option such as *process*, I want to grey out that option again.

In other words. WHen they click on "process" I don't want them clicking it again before its done with that function/sub.

I tried using the visible and enabled properties but that doesn't seem to work.

Am I doing it wrong?

System Tray Menu On Right Click?
I have a security/information relay app that sends itself to the system tray just fine, letting me know that it's working correctly. However, at the time being, it just sits there and has the MouseOver ToolTip, but I can't call any sort of menu, and I'd like to. Any pointers how to do this?

I'm using the Shell_NotifyIcon API for what I have so far. Here's my current code:

VB Code:
Private Declare Function Shell_NotifyIcon Lib "shell32" Alias "Shell_NotifyIconA" (ByVal dwMessage As Long, pnid As NOTIFYICONDATA) As Long        Private Type NOTIFYICONDATA        cbSize As Long        hWnd As Long        uId As Long        uFlags As Long        ucallbackMessage As Long        hIcon As Long        szTip As String * 64    End Type        Private Const NIM_ADD = &H0    Private Const NIM_MODIFY = &H1    Private Const NIM_DELETE = &H2    Private Const NIF_MESSAGE = &H1    Private Const NIF_ICON = &H2    Private Const NIF_TIP = &H4        Private Const WM_LBUTTONDBLCLK = &H203    Private Const WM_LBUTTONDOWN = &H201    Private Const WM_RBUTTONUP = &H205        Dim NID As NOTIFYICONDATA  Private Sub Form_Load()     '///System Tray\         With NID            .cbSize = Len(NID)            .hIcon = Me.Icon            .hWnd = Me.hWnd            .szTip = "Crazy Dave's Security Suite" & vbNullChar            .ucallbackMessage = WM_LBUTTONDBLCLK            .uFlags = NIF_MESSAGE Or NIF_ICON Or NIF_TIP            .uId = 1&        End With 'Set the data                Shell_NotifyIcon NIM_ADD, NID 'Add the Icon        '\System Tray///End Sub

System Tray File Menu
I have this code that minimizes my program to the system tray, and has a file menu function, but I want to change the options to my own. Currently they say 'Option1', 'Option2', and 'Exit'

The function works perfectly fine, I just want to change the text..
Here is my form code:


VB Code:
Option Explicit 'User-defined variable to pass to the Shell_NotiyIcon functionPrivate Type NOTIFYICONDATA    cbSize              As Long    hWnd                As Long    uId                 As Long    uFlags              As Long    uCallBackMessage    As Long    hIcon               As Long    szTip               As String * 64End Type 'Constants for the Shell_NotifyIcon functionPrivate Const NIM_ADD = &H0Private Const NIM_MODIFY = &H1Private Const NIM_DELETE = &H2 Private Const WM_MOUSEMOVE = &H200 Private Const NIF_MESSAGE = &H1Private Const NIF_ICON = &H2Private Const NIF_TIP = &H4 Private Const WM_LBUTTONDBLCLK = &H203Private Const WM_LBUTTONDOWN = &H201Private Const WM_LBUTTONUP = &H202Private Const WM_RBUTTONDBLCLK = &H206Private Const WM_RBUTTONDOWN = &H204Private Const WM_RBUTTONUP = &H205 'Declare the API function callPrivate Declare Function Shell_NotifyIcon Lib "shell32" Alias "Shell_NotifyIconA" _    (ByVal dwMessage As Long, pnid As NOTIFYICONDATA) As Boolean    Dim nid As NOTIFYICONDATA Public Sub AddIcon(ByVal ToolTip As String)     On Error GoTo ErrorHandler        'Add icon to system tray    With nid        .cbSize = Len(nid)        .hWnd = Me.hWnd        .uId = vbNull        .uFlags = NIF_ICON Or NIF_TIP Or NIF_MESSAGE        .uCallBackMessage = WM_MOUSEMOVE        .hIcon = Me.Icon        .szTip = ToolTip & vbNullChar    End With    Call Shell_NotifyIcon(NIM_ADD, nid)    Exit SubErrorHandler:   'Display error message    Screen.MousePointer = vbDefault    MsgBox Err.Description, vbInformation, App.ProductName & " - " & Me.Caption End Sub Private Sub Form_Load()    WebBrowser.Navigate "(withheld)"    App.TaskVisible = False    Call AddIcon("This would be a tooltip...")End SubPrivate Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) Dim msg             As Long     On Error GoTo ErrorHandler        'Respond to user interaction    msg = X / Screen.TwipsPerPixelX    Select Case msg                    Case WM_LBUTTONDBLCLK            'nothing            Case WM_LBUTTONDOWN            'nothing                Case WM_LBUTTONUP            If Me.WindowState = vbMinimized Then                Me.WindowState = vbNormal                Me.Show            Else                Me.WindowState = vbMinimized                Me.Hide            End If                    Case WM_RBUTTONDBLCLK            'nothing                Case WM_RBUTTONDOWN            'nothing                Case WM_RBUTTONUP            Call PopupMenu(mnuFile, vbPopupMenuRightAlign)                End Select    Exit SubErrorHandler:   'Display error message    Screen.MousePointer = vbDefault    MsgBox Err.Description, vbInformation, App.ProductName & " - " & Me.Caption End Sub Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)     'Remove icon from system tray    Call Shell_NotifyIcon(NIM_DELETE, nid) End Sub Private Sub mnuFileArray_Click(Index As Integer)     Select Case Index        Case 0  'Normal            Me.WindowState = vbNormal                           Case 1  'Minimized            Me.WindowState = vbMinimized                           Case 4  'Exit            Unload Me            End        End Select    End Sub Private Sub cmdHome_Click()    WebBrowser.Navigate "(withheld)"End Sub Private Sub cmdArchive_Click()    WebBrowser.Navigate "(withheld)"End Sub Private Sub cmdPost_Click()    WebBrowser.Navigate "(withheld)"End Sub Private Sub cmdProfile_Click()    WebBrowser.Navigate "(withheld)"End Sub Private Sub cmdExit_Click()    Unload frmBrowserEnd Sub Private Sub cmdMini_Click()    frmSysTrayIcon.WindowState = vbMinimizedEnd Sub Private Sub cmdLogOut_Click()    WebBrowser.Navigate "(withheld)"End Sub


Thanks for any help!!

System Tray Icon : Menu Help
I've successfully made my program hide itself into the system tray. What I'm lacking is how do display a menu when you right click (Right Down) that has the options Show and Exit. I'd like to write the codes for each. But if anyone can show me how to make a menu while in the system tray by a right click, that would be great. Please remember that the right click function is Right Down.

Thanks!

System Tray Pop-up Menu Question
Hi, I made the main form in my program so it could be minimized to the system tray. The problem is, when it's not minimized, the pop-up menu item 'restore' is still enabled. I don't want it to be, it bugs me...

I tried this, but it didn't work for me:

If Me.WindowState = vbMinimized Then
mPopRestore.Enabled = True
Else: If Me.WindowState = vbNormal Then mPopRestore.Enabled = False
End If

Does anyone know what I'm doing wrong? Any help would be appreciated, thanks

*RESOLVED* Popup Menu From System Tray
I have a problem where when I right click on the icon for my program in the system tray, a popup menu pops up, allowing you to choose spme options. But when I choose not to select an option and try to click on the desktop (or anywhere else) to close the popup menu, it still remains open.

When I try it with the other system tray items, like right-clicking the time, I click on the desktop or anywhere else and the popup menu closes.

This is some of the code I am using for system tray popup menu:

In a code module is the following:
VB Code:
Public Type NOTIFYICONDATA    cbSize As Long    hWnd As Long    uId As Long    uFlags As Long    uCallbackMessage As Long    hIcon As Long    szTip As String * 64End Type Public Const NIM_ADD = &H0Public Const NIM_MODIFY = &H1Public Const NIM_DELETE = &H2Public Const NIF_MESSAGE = &H1Public Const NIF_ICON = &H2Public Const NIF_TIP = &H4 Public Const WM_MOUSEMOVE = &H200Public Const WM_LBUTTONDBLCLK = &H203Public Const WM_LBUTTONDOWN = &H201Public Const WM_LBUTTONUP = &H202Public Const WM_MBUTTONDBLCLK = &H209Public Const WM_MBUTTONDOWN = &H207Public Const WM_MBUTTONUP = &H208Public Const WM_RBUTTONDBLCLK = &H206Public Const WM_RBUTTONDOWN = &H204Public Const WM_RBUTTONUP = &H205
In my form_load() event:
VB Code:
Private Sub Form_Load()'other vb code ...'...    TrayI.cbSize = Len(TrayI)    'Set the window's handle (this will    'be used to hook the specified window)    TrayI.hWnd = Me.hWnd    'Application-defined identifier of the taskbar icon    TrayI.uId = 1&    'Set the flags    TrayI.uFlags = NIF_ICON Or NIF_TIP Or NIF_MESSAGE    'Set the callback message    TrayI.uCallbackMessage = WM_MOUSEMOVE    'Set the picture icon    TrayI.hIcon = Me.Icon    'Set the tooltiptext    TrayI.szTip = "Online Monitor" & Chr$(0)    'Create the icon    Shell_NotifyIcon NIM_ADD, TrayI '...End Sub
And I have the following code in the Form_MouseMove() event to open the pop-up menu:

VB Code:
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)    Select Case X        Case 7755:   'Right Click            Call PopupMenu(mnuOptions)        Case 7725:    'Dbl Left Click            mnuOpen_Click    End SelectEnd Sub
A right click opens the menu options and double click opens the program.

Is there some code that closes the menu popup when the users clicks away from the menu?

System Tray Icon Menu Activation
Does Anyone know how to bring up the right click menu of an object running in the system tray, so that it has focus and I can sendkeys to it. Or Do you know how i can access one of the commands from this menu.

Failing that, maybe a way to display a program in the system tray, as if double clicking it. It seems the handle of the window changes everytime a program is opened then closed (but remains running in systray) and then reopened.

Thanks in advance.
Darren.

How To Do A System Tray Icon And Have It Have A Menu On Right Click ?
How To Do a System Tray Icon And Have It Have a Menu on right click ?

Can You Make System Tray Menu Items Bold
I just want to know if you can make a specific menu item bold if its possible ive been trying all day lol

thanks in advance

How To Display A Menu When Right-clicking On An Icon On The System Tray?
How do you create a menu that appears when you right click on an icon that sits on the system tray?

Thanks

System Tray Icon Popup Menu Problem
I have added an icon (form) to the system tray using the Shell_NotifyIcon api. The form has a menu that I pop up if the right mouse button is pressed on the form, (which is captured with the form's MouseMove event).

If one clicks the desktop (or anywhere outside the popup menu) the menu remains visible. With other applications if one clicks outside the menu the menu closes.

How is this done? do I need to obtain the hWnd for hte meny and capture messeges sent to it and look for when it looses focus?

Need Help Wiht System Tray Icon I Have Created One But Dont Know How To Add A Menu To
Need help wiht system tray icon i have created one but dont know how to add a menu to it when they click or right click on it please help

Creating Submenus From System Tray Icon Popup Menu
guys,

how do i put an arrow for a particular menu item popping up from the system tray icon.

E.g. when you right click on msn icon, there is menu item called
"My Status" and it has a submenu called Busy, Away. etc. I want to implement like that, popping up a sub menu from a menu. any ideas?


-Thanks!

System Tray Control...MUST SEE 4 PEOPLE WHO WANT ICONS IN SYSTEM TRAY
Since loads of you have been asking, including myself, how to get an icon in the system tray, I thought I'd write a small OCX to do the trick.
So here it is. Download the project and compile it then add the component to your form...then use the following code, which is dead easy to use...Hope it works...

VB Code:
Option ExplicitPrivate Sub Form_Load()    With Tray        Set .ImageList = ImageList1        .Icon = 1 'This can be the index or key of an icon. if no imagelist has been set then this is the handle for a picture...        .EnableMenu = True        .Menu.Add "Visible", "VISIBLE", , , True        .Menu.Add "-"        .Menu.Add "Exit", "EXIT"        .ToolTip = "Mooose and then we walked home"    End WithEnd Sub Private Sub Tray_MenuClick(Item As VBTools.MenuItem)    Select Case Item.Key        Case "VISIBLE"            Item.Checked = Not Item.Checked            If Item.Checked Then                Me.Show            Else                Me.Hide            End If        Case "EXIT"            Unload Me    End SelectEnd Sub

Tis as easy as that
You can change the icon when ever you want...try it...if it's crap tell me ...

Here's the ZIP file....

What's In The System Tray (Not Putting A Icon In The Tray)
Does anyone know of a way to find out what icons are registered and retrieve their NOTIFYICONDATA.  Or if you can't find out which ones are already in the tray do you know of a way to be notified when new icons are added using Shell_NotifyIcon?



System Tray, And System Tray Options?
(Commonly known as the 'Notification Area' to windows)

Hey all,

Is there a way in visual basic, so that when the program is minimized, it goes to the system tray, and then when right clicked options show up (like with msn, you have the option to open msn, sing in/out, log in as)

Not sure if this is possible as XP is more recent that VB, but i wasn't sure if there was an add on, or dialog that could be added to VB.

Any ideas welcome.

Thx,
/Richard

Retrieve Handle Of An App
How do I retrieve the handle or processID of another application(not another instance) that is running

Help

Get Handle Of All Minimized Applications
How can i get the handles of all aplications which are currently minimized.
Pls tell

Retrieve Instance Handle
is it posible to retrieve the instance of the current application, in vb?

in c++'s it's AfxGetInstanceHandle().

Any examples or suggestions in vb?

Active Window/applications Handle
Hey all.. What is the API, or code to get the active windows handle? I have a program that will run in the systray that i want to be able to pull up a context menu from that will alter the size of the current window (even if the window is not owned by my program)

ideas? also, consider that when i right click on my systray icon, the current windo loses focus.. so maybe i just need the handle of the window ON TOP

thanks,
-mcd

Show Icon In System Tray When My System Starts
Hi all

I have done an application in VB6 which when minimized sits in the system tray.
Till this point its working fine.
but i need to do some more modification for this.

I want the application Icon to appear in the system tray when the system(CPU) starts (like yahoo messenger icon sits in sytem tray as soon as the system starts).

can anyone help me with the code.

Thanks in advance.

regards
Rajmv

TaskBar Menu Overlapping Tray Icon Menu Problem
When i right click on the sys tray icon it with either display just the context menu or it will at the same time bring up the taskbar menu, this is getting very frustrating because i use this menu a lot.

here is the code i am using:

Code:
Option Explicit
Public Declare Function Shell_NotifyIcon Lib "shell32" Alias _
"Shell_NotifyIconA" (ByVal dwMessage As Long, pnid As NOTIFYICONDATA) As Boolean
Public Const NIM_ADD = &H0
Public Const NIM_MODIFY = &H1
Public Const NIM_DELETE = &H2
Public Const NIF_MESSAGE = &H1
Public Const NIF_ICON = &H2
Public Const NIF_TIP = &H4
Public Const WM_MOUSEMOVE = &H200
Public Const WM_LBUTTONDOWN = &H201
Public Const WM_LBUTTONUP = &H202
Public Const WM_LBUTTONDBLCLK = &H203
Public Const WM_RBUTTONDOWN = &H204
Public Const WM_RBUTTONUP = &H205
Public Const WM_RBUTTONDBLCLK = &H206
Public Const WM_MBUTTONDOWN = &H207
Public Const WM_MBUTTONUP = &H208
Public Const WM_MBUTTONDBLCLK = &H209
Public Const HWND_TOPMOST = -1
Public nid As NOTIFYICONDATA
Public Type NOTIFYICONDATA
cbSize As Long
hWnd As Long
uId As Long
uFlags As Long
uCallBackMessage As Long
hIcon As Long
szTip As String * 64
End Type

Code:
With nid
.cbSize = Len(nid)
.hWnd = Me.hWnd
.uId = vbNull
.uFlags = NIF_ICON Or NIF_TIP Or NIF_MESSAGE
.uCallBackMessage = WM_MOUSEMOVE
.hIcon = Me.Icon
.szTip = "Loading"
End With
Shell_NotifyIcon NIM_ADD, nid

Code:
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Select Case Sys
Case WM_RBUTTONDOWN:
If Me.Visible Then Me.SetFocus
MenuLocX = Pt.X
MenuLocY = Pt.Y
'MsgBox Pt.X & "-" & Pt.Y
Me.PopupMenu mnuSysTray
End Select
End Sub
here is a screen capture of the event:
Context Menu Issue

I use windows blinds as a skin program and a program for a custom clock but it still happens when i turn them both off

I don't get this problem with other applications
any ideas? cheers

How To Retrieve And Update Data Using DataGrid In DHTML Applications??
Hi all,

In a DHTML Application,is it possible to use DataGrid and ADO data control??? If yes, how to mention the data source of the Datagrid.? (Actually I am able to add them on a DHTML page but not able to connect the datagrid to the ADODC as there is no datasource property for the Datagrid as in normal VB applications). My ultimate aim is put my data on a table and allow the user to edit over the web.How can this be done using DHTML application?


Thanks

VB6 Applications System Requirments
Hi Guys,

Ive looked through the forum for topics on this but cant seem to see anything,

Im wondering how to work out what the minimum system requirments for running my application are?

Can anyone point me to a thread or advice me on this.

Many thanks
Colin

Run Applications On The %System Root%
I'm writing a program that runs some apps already installed by windows 2000. My program either installs or runs from the CD-ROM. one example is as follows:


Private Sub cmdExample_Click()
On Error GoTo NotFound:
lngInst = Shell("winntexample.exe", vbNormalFocus)
Exit Sub
NotFound:
MsgBox "File Not Found, Make sure example.exe exists in winnt folder."
Resume Next
End Sub



It works super when the program is installed on my machine.
Now when i run this program from a CD-ROM (as i am trying to design it to do) It tries to look on the CD-ROMwinnt folder and NOT where it should, the system drive. What do i need to change to run an app installed on a system drive from a CDROM?

System Tray
hi all,
i am facing the similar problem. using Shell_NotifyIcon to add icon to system tray. but nothing happen when i click on it (no fireing??). tips..icon can be added, it just cannot run the Form_MouseMove when i move on it..

everything fine when i paste the code to new project..

anyone can help?thx..

or any other than Shell_NotifyIcon??

System Tray
Can anyone help me get an Icon for my application in the system tray?

Thanks,

Animaul

System Tray
How do you place an Icon into the system tray with a customized popup window?

System Tray
Ok, you should understand this: i have a lot of icons next to the time on the right side of my taskbar, i want to be able to from a command button make my program minimize into one of those little icons next to the time, and not show it on the task bar, just a little icon. How do i do this, whats the code? i KNOW its possible

Copyright © 2005-08 www.BigResource.com, All rights reserved