Click to See Complete Forum and Search --> : dialer for linux
bolaguer
Dec 5th, 2000, 08:38 PM
Hey guys,
many has been posted on dialers but my problem is i'm connecting to a linux system. any help is much appreciated.
thanx
mail: howie@impactnet.com
Ianf
Dec 7th, 2000, 06:03 AM
I need a bit more information on your problem. What sort of connection to a Linux system???? Cos if its a standard dialup then it doesn't matter what platform you are connecting to. The remote hosts web server should handle all that for you whether it apache or IIS
bolaguer
Dec 7th, 2000, 08:23 PM
i'm connecing to apache and i want to make my dialer be placed on the dialup networking folder of windows. i want it also be installed in that folder and system tray.
thanks
bo
Ianf
Dec 8th, 2000, 03:07 AM
Well your system tray is no problem. What you have to do is place a picture box on your form. Select a picture that you want to be the icon in your system tray then use the following code:
' This in general declarations
Option Explicit
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 WM_MOUSEMOVE = &H200
Private Const NIF_MESSAGE = &H1
Private Const NIF_ICON = &H2
Private Const NIF_TIP = &H4
Private Declare Function Shell_NotifyIcon Lib "shell32" _
Alias "Shell_NotifyIconA" (ByVal dwMessage As Long, pnid _
As NOTIFYICONDATA) As Boolean
Dim t As NOTIFYICONDATA
' This in form load event
t.cbSize = Len(t)
t.hWnd = Picture1.hWnd
t.uId = 1&
t.uFlags = NIF_ICON Or NIF_TIP Or NIF_MESSAGE
t.ucallbackMessage = WM_MOUSEMOVE
t.hIcon = Picture1.Picture
t.szTip = "Name you want for the application" & Chr$(0)
Shell_NotifyIcon NIM_ADD, t
' And this in the form unload event
t.cbSize = Len(t)
t.hWnd = Picture1.hWnd
t.uId = 1&
Shell_NotifyIcon NIM_DELETE, t
Can't you decide where you want your application to be installed throught the package and deployment wizard?
Let me know if you need anymore info.
Respeck
bolaguer
Dec 10th, 2000, 12:59 AM
thanks...its a great help.with regards with the wizard, have not tried yet but the dialer i need to install must already have a fix number to dial, modem is already detected and if not the system would suggest the user to install one, phonebook can also be edited and only have a username and password textbox as seen in the form...
again thanx
bo
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.