473,544 Members | 1,986 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Opening a dial-up connection.

This is driving me nuts. I call the InternetDial API to open a dial-up
connection and it just returns 0 (success) without actually making a
call. Am I missing something really simple? I've tried disabling the
lan connection, but all to no avail. Thanks.


public class WinInetControll er
{
#region Interop Declarations
[DllImport("wini net.dll")]
private static extern bool InternetGetConn ectedState(ref Int32
lpdwFlags, Int32 dwReserved);

[DllImport("Wini net.dll", EntryPoint = "InternetDi al",
ExactSpelling = true, CharSet =
System.Runtime. InteropServices .CharSet.Ansi, SetLastError = true)]
private static extern Int32 InternetDial(In tPtr hwndParent,
string lpszConnectoid, Int32 dwFlags, ref Int32 lpdwConnection, Int32
dwReserved);

[DllImport("Wini net.dll", EntryPoint = "InternetHangUp ",
ExactSpelling = true, CharSet =
System.Runtime. InteropServices .CharSet.Ansi, SetLastError = true)]
private static extern Int32 InternetHangUp( Int32
lpdwConnection, Int32 dwReserved);

[DllImport("user 32.dll", EntryPoint = "GetDesktopWind ow")]
private static extern IntPtr GetDesktopWindo w();

[DllImport("rasa pi32.dll", CharSet = CharSet.Auto)]
private extern static uint RasEnumEntries
(
string reserved,
string lpszPhonebook,
[In, Out]RasEntryName[] lprasentryname,
ref int lpcb,
out int lpcEntries
);

private enum RasFieldSizeCon stants
{
RAS_MaxDeviceTy pe = 16,
RAS_MaxPhoneNum ber = 128,
RAS_MaxIpAddres s = 15,
RAS_MaxIpxAddre ss = 21,
#if WINVER4
RAS_MaxEntryNam e =256,
RAS_MaxDeviceNa me =128,
RAS_MaxCallback Number =RAS_MaxPhoneNu mber,
#else
RAS_MaxEntryNam e = 20,
RAS_MaxDeviceNa me = 32,
RAS_MaxCallback Number = 48,
#endif

RAS_MaxAreaCode = 10,
RAS_MaxPadType = 32,
RAS_MaxX25Addre ss = 200,
RAS_MaxFaciliti es = 200,
RAS_MaxUserData = 200,
RAS_MaxReplyMes sage = 1024,
RAS_MaxDnsSuffi x = 256,
UNLEN = 256,
PWLEN = 256,
DNLEN = 15
}

[StructLayout(La youtKind.Sequen tial, CharSet = CharSet.Auto)]
private struct RasEntryName
{
public int dwSize;
[MarshalAs(Unman agedType.ByValT Str, SizeConst =
(int)RasFieldSi zeConstants.RAS _MaxEntryName + 1)]
public string szEntryName;
#if WINVER5
public int dwFlags;
[MarshalAs(Unman agedType.ByValT Str,SizeConst=2 60+1)]
public string szPhonebookPath ;
#endif
}

#endregion

#region Private Variables
private enum Flags : int
{
INTERNET_CONNEC TION_LAN = 2,
INTERNET_CONNEC TION_MODEM = 1,
INTERNET_CONNEC TION_PROXY = 4,
INTERNET_RAS_IN STALLED = 16
}

//Declaration Used For InternetDialUp.
private enum DialUpOptions : int
{
INTERNET_DIAL_U NATTENDED = 0X8000,
INTERNET_DIAL_S HOW_OFFLINE = 0X4000,
INTERNET_DIAL_F ORCE_PROMPT = 0X2000
}

private const int ERROR_SUCCESS = 0X0;
private const int ERROR_INVALID_P ARAMETER = 0X87;
private Int32 _ConnectionHand le = 0;
private WinConnectionTy pe _ConnectionType =
WinConnectionTy pe.Not_Connecte d;
private string _LastError = string.Empty;
private string _ConnectionName = string.Empty;
#endregion

#region Public Enums
public enum WinConnectionTy pe : int
{
Via_Lan = 2,
Via_Modem = 1,
Via_Proxy = 4,
Via_Ras = 16,
Not_Connected = 0
}
#endregion

#region Constructors
public WinInetControll er(string connectionName)
{
_ConnectionName = connectionName;
}
#endregion

#region Public Methods
public bool Dial()
{
IntPtr handle = GetDesktopWindo w();
Int32 dialResult;
Int32 flags = (int)DialUpOpti ons.INTERNET_DI AL_FORCE_PROMPT ;
//| (int)DialUpOpti ons.INTERNET_DI AL_UNATTENDED;

dialResult = InternetDial(ha ndle, _ConnectionName , flags,
ref _ConnectionHand le, 0);

if ((dialResult == ERROR_SUCCESS))
return true;
else
{
_LastError = "Failed to dial. Error code " +
dialResult.ToSt ring();
return false;
}
}

public bool HangUp()
{
Int32 dialResult;
if (_ConnectionHan dle != 0)
{
dialResult = InternetHangUp( _ConnectionHand le, 0);
if (dialResult == ERROR_SUCCESS)
return true;

else
{
_LastError = "Hang up did not succeed. Error code
" + dialResult.ToSt ring();
return false;
}
}
else
{
_LastError = "The connection must be dialed first";
return false;
}
}
#endregion

#region Public Properties
public string ConnectionName
{
get { return _ConnectionName ; }
}

public WinConnectionTy pe ConnectionType
{
get { return _ConnectionType ; }
}

public string LastError
{
get { return _LastError; }
}

public bool IsConnected
{
get
{
int lngFlags = 0;
bool connectionState = true;

if (InternetGetCon nectedState(ref lngFlags, (int)0))
{
if ((lngFlags & (int)Flags.INTE RNET_CONNECTION _LAN)
== (int)Flags.INTE RNET_CONNECTION _LAN)
_ConnectionType = WinConnectionTy pe.Via_Lan;
else if ((lngFlags &
(int)Flags.INTE RNET_CONNECTION _MODEM) == (int)Flags.INTE RNET_CONNECTION _LAN)
_ConnectionType = WinConnectionTy pe.Via_Modem;
else if ((lngFlags &
(int)Flags.INTE RNET_CONNECTION _PROXY) == (int)Flags.INTE RNET_CONNECTION _LAN)
_ConnectionType = WinConnectionTy pe.Via_Ras;
}
else
connectionState = false;

return connectionState ;
}
}

public static List<stringConn ections
{
get
{
List<Stringconn ectionList = new List<String>();
//int lpcb = 0;
//int lpcConnections = 0;
//int nRet = 0;
int lpNames = 1;
int entryNameSize = 0;
int lpSize = 0;
RasEntryName[] names = null;

entryNameSize = Marshal.SizeOf( typeof(RasEntry Name));
lpSize = lpNames * entryNameSize;

names = new RasEntryName[lpNames];
names[0].dwSize = entryNameSize;

uint retval = RasEnumEntries( null, null, names, ref
lpSize, out lpNames);

//if we have more than one connection, we need to do it
again
if (lpNames 1)
{
names = new RasEntryName[lpNames];
for (int i = 0; i < names.Length; i++)
{
names[i].dwSize = entryNameSize;
}

retval = RasEnumEntries( null, null, names, ref
lpSize, out lpNames);
}

if (lpNames 0)
{
for (int i = 0; i < names.Length; i++)
connectionList. Add(names[i].szEntryName);
}

return connectionList;
}
}
#endregion
}
}
Dec 18 '06 #1
5 6750
Hi,

Did you write the RAS interop code?

I tried once and it was a nightmare, I ended using a code posted online by
somebody. I don't have the code available with me right now but if you email
me I can send it to you from my house.

Cheers,

--
Ignacio Machin
machin AT laceupsolutions com
"Frank Rizzo" <no**@none.comw rote in message
news:ew******** ******@TK2MSFTN GP06.phx.gbl...
This is driving me nuts. I call the InternetDial API to open a dial-up
connection and it just returns 0 (success) without actually making a call.
Am I missing something really simple? I've tried disabling the lan
connection, but all to no avail. Thanks.


public class WinInetControll er
{
#region Interop Declarations
[DllImport("wini net.dll")]
private static extern bool InternetGetConn ectedState(ref Int32
lpdwFlags, Int32 dwReserved);

[DllImport("Wini net.dll", EntryPoint = "InternetDi al",
ExactSpelling = true, CharSet =
System.Runtime. InteropServices .CharSet.Ansi, SetLastError = true)]
private static extern Int32 InternetDial(In tPtr hwndParent, string
lpszConnectoid, Int32 dwFlags, ref Int32 lpdwConnection, Int32
dwReserved);

[DllImport("Wini net.dll", EntryPoint = "InternetHangUp ",
ExactSpelling = true, CharSet =
System.Runtime. InteropServices .CharSet.Ansi, SetLastError = true)]
private static extern Int32 InternetHangUp( Int32 lpdwConnection,
Int32 dwReserved);

[DllImport("user 32.dll", EntryPoint = "GetDesktopWind ow")]
private static extern IntPtr GetDesktopWindo w();

[DllImport("rasa pi32.dll", CharSet = CharSet.Auto)]
private extern static uint RasEnumEntries
(
string reserved,
string lpszPhonebook,
[In, Out]RasEntryName[] lprasentryname,
ref int lpcb,
out int lpcEntries
);

private enum RasFieldSizeCon stants
{
RAS_MaxDeviceTy pe = 16,
RAS_MaxPhoneNum ber = 128,
RAS_MaxIpAddres s = 15,
RAS_MaxIpxAddre ss = 21,
#if WINVER4
RAS_MaxEntryNam e =256,
RAS_MaxDeviceNa me =128,
RAS_MaxCallback Number =RAS_MaxPhoneNu mber,
#else
RAS_MaxEntryNam e = 20,
RAS_MaxDeviceNa me = 32,
RAS_MaxCallback Number = 48,
#endif

RAS_MaxAreaCode = 10,
RAS_MaxPadType = 32,
RAS_MaxX25Addre ss = 200,
RAS_MaxFaciliti es = 200,
RAS_MaxUserData = 200,
RAS_MaxReplyMes sage = 1024,
RAS_MaxDnsSuffi x = 256,
UNLEN = 256,
PWLEN = 256,
DNLEN = 15
}

[StructLayout(La youtKind.Sequen tial, CharSet = CharSet.Auto)]
private struct RasEntryName
{
public int dwSize;
[MarshalAs(Unman agedType.ByValT Str, SizeConst =
(int)RasFieldSi zeConstants.RAS _MaxEntryName + 1)]
public string szEntryName;
#if WINVER5
public int dwFlags;
[MarshalAs(Unman agedType.ByValT Str,SizeConst=2 60+1)]
public string szPhonebookPath ;
#endif
}

#endregion

#region Private Variables
private enum Flags : int
{
INTERNET_CONNEC TION_LAN = 2,
INTERNET_CONNEC TION_MODEM = 1,
INTERNET_CONNEC TION_PROXY = 4,
INTERNET_RAS_IN STALLED = 16
}

//Declaration Used For InternetDialUp.
private enum DialUpOptions : int
{
INTERNET_DIAL_U NATTENDED = 0X8000,
INTERNET_DIAL_S HOW_OFFLINE = 0X4000,
INTERNET_DIAL_F ORCE_PROMPT = 0X2000
}

private const int ERROR_SUCCESS = 0X0;
private const int ERROR_INVALID_P ARAMETER = 0X87;
private Int32 _ConnectionHand le = 0;
private WinConnectionTy pe _ConnectionType =
WinConnectionTy pe.Not_Connecte d;
private string _LastError = string.Empty;
private string _ConnectionName = string.Empty;
#endregion

#region Public Enums
public enum WinConnectionTy pe : int
{
Via_Lan = 2,
Via_Modem = 1,
Via_Proxy = 4,
Via_Ras = 16,
Not_Connected = 0
}
#endregion

#region Constructors
public WinInetControll er(string connectionName)
{
_ConnectionName = connectionName;
}
#endregion

#region Public Methods
public bool Dial()
{
IntPtr handle = GetDesktopWindo w();
Int32 dialResult;
Int32 flags = (int)DialUpOpti ons.INTERNET_DI AL_FORCE_PROMPT ;
//| (int)DialUpOpti ons.INTERNET_DI AL_UNATTENDED;

dialResult = InternetDial(ha ndle, _ConnectionName , flags, ref
_ConnectionHand le, 0);

if ((dialResult == ERROR_SUCCESS))
return true;
else
{
_LastError = "Failed to dial. Error code " +
dialResult.ToSt ring();
return false;
}
}

public bool HangUp()
{
Int32 dialResult;
if (_ConnectionHan dle != 0)
{
dialResult = InternetHangUp( _ConnectionHand le, 0);
if (dialResult == ERROR_SUCCESS)
return true;

else
{
_LastError = "Hang up did not succeed. Error code " +
dialResult.ToSt ring();
return false;
}
}
else
{
_LastError = "The connection must be dialed first";
return false;
}
}
#endregion

#region Public Properties
public string ConnectionName
{
get { return _ConnectionName ; }
}

public WinConnectionTy pe ConnectionType
{
get { return _ConnectionType ; }
}

public string LastError
{
get { return _LastError; }
}

public bool IsConnected
{
get
{
int lngFlags = 0;
bool connectionState = true;

if (InternetGetCon nectedState(ref lngFlags, (int)0))
{
if ((lngFlags & (int)Flags.INTE RNET_CONNECTION _LAN) ==
(int)Flags.INTE RNET_CONNECTION _LAN)
_ConnectionType = WinConnectionTy pe.Via_Lan;
else if ((lngFlags &
(int)Flags.INTE RNET_CONNECTION _MODEM) ==
(int)Flags.INTE RNET_CONNECTION _LAN)
_ConnectionType = WinConnectionTy pe.Via_Modem;
else if ((lngFlags &
(int)Flags.INTE RNET_CONNECTION _PROXY) ==
(int)Flags.INTE RNET_CONNECTION _LAN)
_ConnectionType = WinConnectionTy pe.Via_Ras;
}
else
connectionState = false;

return connectionState ;
}
}

public static List<stringConn ections
{
get
{
List<Stringconn ectionList = new List<String>();
//int lpcb = 0;
//int lpcConnections = 0;
//int nRet = 0;
int lpNames = 1;
int entryNameSize = 0;
int lpSize = 0;
RasEntryName[] names = null;

entryNameSize = Marshal.SizeOf( typeof(RasEntry Name));
lpSize = lpNames * entryNameSize;

names = new RasEntryName[lpNames];
names[0].dwSize = entryNameSize;

uint retval = RasEnumEntries( null, null, names, ref
lpSize, out lpNames);

//if we have more than one connection, we need to do it
again
if (lpNames 1)
{
names = new RasEntryName[lpNames];
for (int i = 0; i < names.Length; i++)
{
names[i].dwSize = entryNameSize;
}

retval = RasEnumEntries( null, null, names, ref lpSize,
out lpNames);
}

if (lpNames 0)
{
for (int i = 0; i < names.Length; i++)
connectionList. Add(names[i].szEntryName);
}

return connectionList;
}
}
#endregion
}
}

Dec 18 '06 #2
Hello Frank,

Here is a sample about calling InternetDial to build a connection, you may
try it to see if can help:

How to determine the connection state of your local system and how to
initiate or end an Internet connection by using Visual Basic .NET or Visual
Basic 2005
http://support.microsoft.com/default.aspx/kb/821770

Sincerely,

Luke Zhang

Microsoft Online Community Support
=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Dec 19 '06 #3
Hi FRank,

I sent you the code yesterday, did u get it?
--
Ignacio Machin
machin AT laceupsolutions com

"Frank Rizzo" <no**@none.comw rote in message
news:ew******** ******@TK2MSFTN GP06.phx.gbl...
This is driving me nuts. I call the InternetDial API to open a dial-up
connection and it just returns 0 (success) without actually making a call.
Am I missing something really simple? I've tried disabling the lan
connection, but all to no avail. Thanks.


public class WinInetControll er
{
#region Interop Declarations
[DllImport("wini net.dll")]
private static extern bool InternetGetConn ectedState(ref Int32
lpdwFlags, Int32 dwReserved);

[DllImport("Wini net.dll", EntryPoint = "InternetDi al",
ExactSpelling = true, CharSet =
System.Runtime. InteropServices .CharSet.Ansi, SetLastError = true)]
private static extern Int32 InternetDial(In tPtr hwndParent, string
lpszConnectoid, Int32 dwFlags, ref Int32 lpdwConnection, Int32
dwReserved);

[DllImport("Wini net.dll", EntryPoint = "InternetHangUp ",
ExactSpelling = true, CharSet =
System.Runtime. InteropServices .CharSet.Ansi, SetLastError = true)]
private static extern Int32 InternetHangUp( Int32 lpdwConnection,
Int32 dwReserved);

[DllImport("user 32.dll", EntryPoint = "GetDesktopWind ow")]
private static extern IntPtr GetDesktopWindo w();

[DllImport("rasa pi32.dll", CharSet = CharSet.Auto)]
private extern static uint RasEnumEntries
(
string reserved,
string lpszPhonebook,
[In, Out]RasEntryName[] lprasentryname,
ref int lpcb,
out int lpcEntries
);

private enum RasFieldSizeCon stants
{
RAS_MaxDeviceTy pe = 16,
RAS_MaxPhoneNum ber = 128,
RAS_MaxIpAddres s = 15,
RAS_MaxIpxAddre ss = 21,
#if WINVER4
RAS_MaxEntryNam e =256,
RAS_MaxDeviceNa me =128,
RAS_MaxCallback Number =RAS_MaxPhoneNu mber,
#else
RAS_MaxEntryNam e = 20,
RAS_MaxDeviceNa me = 32,
RAS_MaxCallback Number = 48,
#endif

RAS_MaxAreaCode = 10,
RAS_MaxPadType = 32,
RAS_MaxX25Addre ss = 200,
RAS_MaxFaciliti es = 200,
RAS_MaxUserData = 200,
RAS_MaxReplyMes sage = 1024,
RAS_MaxDnsSuffi x = 256,
UNLEN = 256,
PWLEN = 256,
DNLEN = 15
}

[StructLayout(La youtKind.Sequen tial, CharSet = CharSet.Auto)]
private struct RasEntryName
{
public int dwSize;
[MarshalAs(Unman agedType.ByValT Str, SizeConst =
(int)RasFieldSi zeConstants.RAS _MaxEntryName + 1)]
public string szEntryName;
#if WINVER5
public int dwFlags;
[MarshalAs(Unman agedType.ByValT Str,SizeConst=2 60+1)]
public string szPhonebookPath ;
#endif
}

#endregion

#region Private Variables
private enum Flags : int
{
INTERNET_CONNEC TION_LAN = 2,
INTERNET_CONNEC TION_MODEM = 1,
INTERNET_CONNEC TION_PROXY = 4,
INTERNET_RAS_IN STALLED = 16
}

//Declaration Used For InternetDialUp.
private enum DialUpOptions : int
{
INTERNET_DIAL_U NATTENDED = 0X8000,
INTERNET_DIAL_S HOW_OFFLINE = 0X4000,
INTERNET_DIAL_F ORCE_PROMPT = 0X2000
}

private const int ERROR_SUCCESS = 0X0;
private const int ERROR_INVALID_P ARAMETER = 0X87;
private Int32 _ConnectionHand le = 0;
private WinConnectionTy pe _ConnectionType =
WinConnectionTy pe.Not_Connecte d;
private string _LastError = string.Empty;
private string _ConnectionName = string.Empty;
#endregion

#region Public Enums
public enum WinConnectionTy pe : int
{
Via_Lan = 2,
Via_Modem = 1,
Via_Proxy = 4,
Via_Ras = 16,
Not_Connected = 0
}
#endregion

#region Constructors
public WinInetControll er(string connectionName)
{
_ConnectionName = connectionName;
}
#endregion

#region Public Methods
public bool Dial()
{
IntPtr handle = GetDesktopWindo w();
Int32 dialResult;
Int32 flags = (int)DialUpOpti ons.INTERNET_DI AL_FORCE_PROMPT ;
//| (int)DialUpOpti ons.INTERNET_DI AL_UNATTENDED;

dialResult = InternetDial(ha ndle, _ConnectionName , flags, ref
_ConnectionHand le, 0);

if ((dialResult == ERROR_SUCCESS))
return true;
else
{
_LastError = "Failed to dial. Error code " +
dialResult.ToSt ring();
return false;
}
}

public bool HangUp()
{
Int32 dialResult;
if (_ConnectionHan dle != 0)
{
dialResult = InternetHangUp( _ConnectionHand le, 0);
if (dialResult == ERROR_SUCCESS)
return true;

else
{
_LastError = "Hang up did not succeed. Error code " +
dialResult.ToSt ring();
return false;
}
}
else
{
_LastError = "The connection must be dialed first";
return false;
}
}
#endregion

#region Public Properties
public string ConnectionName
{
get { return _ConnectionName ; }
}

public WinConnectionTy pe ConnectionType
{
get { return _ConnectionType ; }
}

public string LastError
{
get { return _LastError; }
}

public bool IsConnected
{
get
{
int lngFlags = 0;
bool connectionState = true;

if (InternetGetCon nectedState(ref lngFlags, (int)0))
{
if ((lngFlags & (int)Flags.INTE RNET_CONNECTION _LAN) ==
(int)Flags.INTE RNET_CONNECTION _LAN)
_ConnectionType = WinConnectionTy pe.Via_Lan;
else if ((lngFlags &
(int)Flags.INTE RNET_CONNECTION _MODEM) ==
(int)Flags.INTE RNET_CONNECTION _LAN)
_ConnectionType = WinConnectionTy pe.Via_Modem;
else if ((lngFlags &
(int)Flags.INTE RNET_CONNECTION _PROXY) ==
(int)Flags.INTE RNET_CONNECTION _LAN)
_ConnectionType = WinConnectionTy pe.Via_Ras;
}
else
connectionState = false;

return connectionState ;
}
}

public static List<stringConn ections
{
get
{
List<Stringconn ectionList = new List<String>();
//int lpcb = 0;
//int lpcConnections = 0;
//int nRet = 0;
int lpNames = 1;
int entryNameSize = 0;
int lpSize = 0;
RasEntryName[] names = null;

entryNameSize = Marshal.SizeOf( typeof(RasEntry Name));
lpSize = lpNames * entryNameSize;

names = new RasEntryName[lpNames];
names[0].dwSize = entryNameSize;

uint retval = RasEnumEntries( null, null, names, ref
lpSize, out lpNames);

//if we have more than one connection, we need to do it
again
if (lpNames 1)
{
names = new RasEntryName[lpNames];
for (int i = 0; i < names.Length; i++)
{
names[i].dwSize = entryNameSize;
}

retval = RasEnumEntries( null, null, names, ref lpSize,
out lpNames);
}

if (lpNames 0)
{
for (int i = 0; i < names.Length; i++)
connectionList. Add(names[i].szEntryName);
}

return connectionList;
}
}
#endregion
}
}

Dec 19 '06 #4
Ignacio Machin ( .NET/ C# MVP ) wrote:
Hi FRank,

I sent you the code yesterday, did u get it?
Yes, thank you. I am testing it right now.
>
Dec 19 '06 #5
Frank Rizzo wrote:
Ignacio Machin ( .NET/ C# MVP ) wrote:
>Hi FRank,

I sent you the code yesterday, did u get it?
Nice, even supports Vista. I am getting a VPN hooked up, so will see
whether it works for me.

Regards
Dec 19 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
6193
by: Firewalker | last post by:
Hello guys, I was wondering if you can give m little help with this. I am trying to write a small program that dial a phone number through the modem. Is it possible to do it in java? Any help? I searched the internet and all the netwroking website are about the internet and http!!! Thanks alot guys
2
2223
by: Miguel Orrego | last post by:
Hi, Does anybody know some code that opens a spreadsheet in excel rather than the browser? If possible something that can be used with response.redirect, however this isn't essential. I have a script that creates an excel report, and people then open this report from a link. However I've been asked whether it could be opened in excel. ...
5
2105
by: Bura Tino | last post by:
Sorry if this is offtopic. I'm developing a website which, among other things, has contacts. I would like my users to be able to click on a number and have the computer dial that number. Is this possible? At least in Windows? Any suggestions are appreciated. (Can this be done with a trusted java applet?) Many thank in advance!
2
1769
by: Firewalker | last post by:
Hello guys, I was wondering if you can give me little help with this. I am trying to write a program that dial a phone number through the modem. Can you give me little help with this? Thanks alot guys
0
1748
by: anonymous | last post by:
Currently using the auto dial code in access to speed dial phone numbers from a form in the database. If we switch to VOIP will we still be able to do this? If so, how?
4
2747
by: john_20_28_2000 | last post by:
Does anyone know of anything out there that I can use to dial up a numeric pager, leave a number and then hang up? It is not a "fancy" pager. No message, not text, no nothing. Just a regular old pager. I have looked at the various SMS stuff, but it all goes to text message, etc. Nothing for a regular pager. I have a asp.net page, using...
2
2103
by: mohamed farouk | last post by:
hi everyone i have sql database containing the name of person and his telephone number, i select the name from combo box and I want to click on the button make dial action so i can open the port of the modem to dial specific number thanks
3
1882
by: mohamed farouk | last post by:
hi everyone i have a database on sql server that contain the name and the telephne number ,i have a combo box that contain the names i want to put button so when i click on it open port in the modem then dial specific number corresponding the name ,i want only the code that open port from dot net framework thanks everybody
1
1378
by: sush | last post by:
SKILLS : Skills desired: STORAGE / SAN TESTING AND VALIDATION Work Experience: 2 - 9 YEARS JOB TITLE: Systems Engineer
0
1322
by: telcoboy | last post by:
Hi Guys, I;m a bit out of my depth here and was wondering if someone could point me in the right direction. We have an Oracle Database and want to put a button on the form to dial the number in the box. the phone system uses a TAPI interface and I can get other windows apps to dial numbers. I cant find anything on how to go about doing it in...
0
7426
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7368
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7610
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7381
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5914
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5299
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4920
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3412
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
667
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.