Results 1 to 5 of 5

Thread: dialer for linux

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Location
    manila
    Posts
    6

    Question

    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: [email protected]

  2. #2
    Lively Member Ianf's Avatar
    Join Date
    Mar 2000
    Location
    Leigh, Lancashire, UK
    Posts
    96

    Need more info

    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
    Ian Frawley
    Software Engineer
    E-mail [email protected]

    BEING IN THERAPY
    And yet, having therapy is very much like making love to a beautiful woman. You... get on the couch, string 'em along with some half-lies and evasions, probe some deep dark holes, and then hand over all your money.

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Location
    manila
    Posts
    6

    apache

    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

  4. #4
    Lively Member Ianf's Avatar
    Join Date
    Mar 2000
    Location
    Leigh, Lancashire, UK
    Posts
    96

    Post System Tray

    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:

    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
    Ian Frawley
    Software Engineer
    E-mail [email protected]

    BEING IN THERAPY
    And yet, having therapy is very much like making love to a beautiful woman. You... get on the couch, string 'em along with some half-lies and evasions, probe some deep dark holes, and then hand over all your money.

  5. #5

    Thread Starter
    New Member
    Join Date
    Dec 2000
    Location
    manila
    Posts
    6

    Thumbs up

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width