473,382 Members | 1,648 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

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 WinInetController
{
#region Interop Declarations
[DllImport("wininet.dll")]
private static extern bool InternetGetConnectedState(ref Int32
lpdwFlags, Int32 dwReserved);

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

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

[DllImport("user32.dll", EntryPoint = "GetDesktopWindow")]
private static extern IntPtr GetDesktopWindow();

[DllImport("rasapi32.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 RasFieldSizeConstants
{
RAS_MaxDeviceType = 16,
RAS_MaxPhoneNumber = 128,
RAS_MaxIpAddress = 15,
RAS_MaxIpxAddress = 21,
#if WINVER4
RAS_MaxEntryName =256,
RAS_MaxDeviceName =128,
RAS_MaxCallbackNumber =RAS_MaxPhoneNumber,
#else
RAS_MaxEntryName = 20,
RAS_MaxDeviceName = 32,
RAS_MaxCallbackNumber = 48,
#endif

RAS_MaxAreaCode = 10,
RAS_MaxPadType = 32,
RAS_MaxX25Address = 200,
RAS_MaxFacilities = 200,
RAS_MaxUserData = 200,
RAS_MaxReplyMessage = 1024,
RAS_MaxDnsSuffix = 256,
UNLEN = 256,
PWLEN = 256,
DNLEN = 15
}

[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
private struct RasEntryName
{
public int dwSize;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst =
(int)RasFieldSizeConstants.RAS_MaxEntryName + 1)]
public string szEntryName;
#if WINVER5
public int dwFlags;
[MarshalAs(UnmanagedType.ByValTStr,SizeConst=260+1)]
public string szPhonebookPath;
#endif
}

#endregion

#region Private Variables
private enum Flags : int
{
INTERNET_CONNECTION_LAN = 2,
INTERNET_CONNECTION_MODEM = 1,
INTERNET_CONNECTION_PROXY = 4,
INTERNET_RAS_INSTALLED = 16
}

//Declaration Used For InternetDialUp.
private enum DialUpOptions : int
{
INTERNET_DIAL_UNATTENDED = 0X8000,
INTERNET_DIAL_SHOW_OFFLINE = 0X4000,
INTERNET_DIAL_FORCE_PROMPT = 0X2000
}

private const int ERROR_SUCCESS = 0X0;
private const int ERROR_INVALID_PARAMETER = 0X87;
private Int32 _ConnectionHandle = 0;
private WinConnectionType _ConnectionType =
WinConnectionType.Not_Connected;
private string _LastError = string.Empty;
private string _ConnectionName = string.Empty;
#endregion

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

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

#region Public Methods
public bool Dial()
{
IntPtr handle = GetDesktopWindow();
Int32 dialResult;
Int32 flags = (int)DialUpOptions.INTERNET_DIAL_FORCE_PROMPT;
//| (int)DialUpOptions.INTERNET_DIAL_UNATTENDED;

dialResult = InternetDial(handle, _ConnectionName, flags,
ref _ConnectionHandle, 0);

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

public bool HangUp()
{
Int32 dialResult;
if (_ConnectionHandle != 0)
{
dialResult = InternetHangUp(_ConnectionHandle, 0);
if (dialResult == ERROR_SUCCESS)
return true;

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

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

public WinConnectionType ConnectionType
{
get { return _ConnectionType; }
}

public string LastError
{
get { return _LastError; }
}

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

if (InternetGetConnectedState(ref lngFlags, (int)0))
{
if ((lngFlags & (int)Flags.INTERNET_CONNECTION_LAN)
== (int)Flags.INTERNET_CONNECTION_LAN)
_ConnectionType = WinConnectionType.Via_Lan;
else if ((lngFlags &
(int)Flags.INTERNET_CONNECTION_MODEM) == (int)Flags.INTERNET_CONNECTION_LAN)
_ConnectionType = WinConnectionType.Via_Modem;
else if ((lngFlags &
(int)Flags.INTERNET_CONNECTION_PROXY) == (int)Flags.INTERNET_CONNECTION_LAN)
_ConnectionType = WinConnectionType.Via_Ras;
}
else
connectionState = false;

return connectionState;
}
}

public static List<stringConnections
{
get
{
List<StringconnectionList = 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(RasEntryName));
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 6734
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.comwrote in message
news:ew**************@TK2MSFTNGP06.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 WinInetController
{
#region Interop Declarations
[DllImport("wininet.dll")]
private static extern bool InternetGetConnectedState(ref Int32
lpdwFlags, Int32 dwReserved);

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

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

[DllImport("user32.dll", EntryPoint = "GetDesktopWindow")]
private static extern IntPtr GetDesktopWindow();

[DllImport("rasapi32.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 RasFieldSizeConstants
{
RAS_MaxDeviceType = 16,
RAS_MaxPhoneNumber = 128,
RAS_MaxIpAddress = 15,
RAS_MaxIpxAddress = 21,
#if WINVER4
RAS_MaxEntryName =256,
RAS_MaxDeviceName =128,
RAS_MaxCallbackNumber =RAS_MaxPhoneNumber,
#else
RAS_MaxEntryName = 20,
RAS_MaxDeviceName = 32,
RAS_MaxCallbackNumber = 48,
#endif

RAS_MaxAreaCode = 10,
RAS_MaxPadType = 32,
RAS_MaxX25Address = 200,
RAS_MaxFacilities = 200,
RAS_MaxUserData = 200,
RAS_MaxReplyMessage = 1024,
RAS_MaxDnsSuffix = 256,
UNLEN = 256,
PWLEN = 256,
DNLEN = 15
}

[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
private struct RasEntryName
{
public int dwSize;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst =
(int)RasFieldSizeConstants.RAS_MaxEntryName + 1)]
public string szEntryName;
#if WINVER5
public int dwFlags;
[MarshalAs(UnmanagedType.ByValTStr,SizeConst=260+1)]
public string szPhonebookPath;
#endif
}

#endregion

#region Private Variables
private enum Flags : int
{
INTERNET_CONNECTION_LAN = 2,
INTERNET_CONNECTION_MODEM = 1,
INTERNET_CONNECTION_PROXY = 4,
INTERNET_RAS_INSTALLED = 16
}

//Declaration Used For InternetDialUp.
private enum DialUpOptions : int
{
INTERNET_DIAL_UNATTENDED = 0X8000,
INTERNET_DIAL_SHOW_OFFLINE = 0X4000,
INTERNET_DIAL_FORCE_PROMPT = 0X2000
}

private const int ERROR_SUCCESS = 0X0;
private const int ERROR_INVALID_PARAMETER = 0X87;
private Int32 _ConnectionHandle = 0;
private WinConnectionType _ConnectionType =
WinConnectionType.Not_Connected;
private string _LastError = string.Empty;
private string _ConnectionName = string.Empty;
#endregion

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

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

#region Public Methods
public bool Dial()
{
IntPtr handle = GetDesktopWindow();
Int32 dialResult;
Int32 flags = (int)DialUpOptions.INTERNET_DIAL_FORCE_PROMPT;
//| (int)DialUpOptions.INTERNET_DIAL_UNATTENDED;

dialResult = InternetDial(handle, _ConnectionName, flags, ref
_ConnectionHandle, 0);

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

public bool HangUp()
{
Int32 dialResult;
if (_ConnectionHandle != 0)
{
dialResult = InternetHangUp(_ConnectionHandle, 0);
if (dialResult == ERROR_SUCCESS)
return true;

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

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

public WinConnectionType ConnectionType
{
get { return _ConnectionType; }
}

public string LastError
{
get { return _LastError; }
}

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

if (InternetGetConnectedState(ref lngFlags, (int)0))
{
if ((lngFlags & (int)Flags.INTERNET_CONNECTION_LAN) ==
(int)Flags.INTERNET_CONNECTION_LAN)
_ConnectionType = WinConnectionType.Via_Lan;
else if ((lngFlags &
(int)Flags.INTERNET_CONNECTION_MODEM) ==
(int)Flags.INTERNET_CONNECTION_LAN)
_ConnectionType = WinConnectionType.Via_Modem;
else if ((lngFlags &
(int)Flags.INTERNET_CONNECTION_PROXY) ==
(int)Flags.INTERNET_CONNECTION_LAN)
_ConnectionType = WinConnectionType.Via_Ras;
}
else
connectionState = false;

return connectionState;
}
}

public static List<stringConnections
{
get
{
List<StringconnectionList = 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(RasEntryName));
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.comwrote in message
news:ew**************@TK2MSFTNGP06.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 WinInetController
{
#region Interop Declarations
[DllImport("wininet.dll")]
private static extern bool InternetGetConnectedState(ref Int32
lpdwFlags, Int32 dwReserved);

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

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

[DllImport("user32.dll", EntryPoint = "GetDesktopWindow")]
private static extern IntPtr GetDesktopWindow();

[DllImport("rasapi32.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 RasFieldSizeConstants
{
RAS_MaxDeviceType = 16,
RAS_MaxPhoneNumber = 128,
RAS_MaxIpAddress = 15,
RAS_MaxIpxAddress = 21,
#if WINVER4
RAS_MaxEntryName =256,
RAS_MaxDeviceName =128,
RAS_MaxCallbackNumber =RAS_MaxPhoneNumber,
#else
RAS_MaxEntryName = 20,
RAS_MaxDeviceName = 32,
RAS_MaxCallbackNumber = 48,
#endif

RAS_MaxAreaCode = 10,
RAS_MaxPadType = 32,
RAS_MaxX25Address = 200,
RAS_MaxFacilities = 200,
RAS_MaxUserData = 200,
RAS_MaxReplyMessage = 1024,
RAS_MaxDnsSuffix = 256,
UNLEN = 256,
PWLEN = 256,
DNLEN = 15
}

[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
private struct RasEntryName
{
public int dwSize;
[MarshalAs(UnmanagedType.ByValTStr, SizeConst =
(int)RasFieldSizeConstants.RAS_MaxEntryName + 1)]
public string szEntryName;
#if WINVER5
public int dwFlags;
[MarshalAs(UnmanagedType.ByValTStr,SizeConst=260+1)]
public string szPhonebookPath;
#endif
}

#endregion

#region Private Variables
private enum Flags : int
{
INTERNET_CONNECTION_LAN = 2,
INTERNET_CONNECTION_MODEM = 1,
INTERNET_CONNECTION_PROXY = 4,
INTERNET_RAS_INSTALLED = 16
}

//Declaration Used For InternetDialUp.
private enum DialUpOptions : int
{
INTERNET_DIAL_UNATTENDED = 0X8000,
INTERNET_DIAL_SHOW_OFFLINE = 0X4000,
INTERNET_DIAL_FORCE_PROMPT = 0X2000
}

private const int ERROR_SUCCESS = 0X0;
private const int ERROR_INVALID_PARAMETER = 0X87;
private Int32 _ConnectionHandle = 0;
private WinConnectionType _ConnectionType =
WinConnectionType.Not_Connected;
private string _LastError = string.Empty;
private string _ConnectionName = string.Empty;
#endregion

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

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

#region Public Methods
public bool Dial()
{
IntPtr handle = GetDesktopWindow();
Int32 dialResult;
Int32 flags = (int)DialUpOptions.INTERNET_DIAL_FORCE_PROMPT;
//| (int)DialUpOptions.INTERNET_DIAL_UNATTENDED;

dialResult = InternetDial(handle, _ConnectionName, flags, ref
_ConnectionHandle, 0);

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

public bool HangUp()
{
Int32 dialResult;
if (_ConnectionHandle != 0)
{
dialResult = InternetHangUp(_ConnectionHandle, 0);
if (dialResult == ERROR_SUCCESS)
return true;

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

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

public WinConnectionType ConnectionType
{
get { return _ConnectionType; }
}

public string LastError
{
get { return _LastError; }
}

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

if (InternetGetConnectedState(ref lngFlags, (int)0))
{
if ((lngFlags & (int)Flags.INTERNET_CONNECTION_LAN) ==
(int)Flags.INTERNET_CONNECTION_LAN)
_ConnectionType = WinConnectionType.Via_Lan;
else if ((lngFlags &
(int)Flags.INTERNET_CONNECTION_MODEM) ==
(int)Flags.INTERNET_CONNECTION_LAN)
_ConnectionType = WinConnectionType.Via_Modem;
else if ((lngFlags &
(int)Flags.INTERNET_CONNECTION_PROXY) ==
(int)Flags.INTERNET_CONNECTION_LAN)
_ConnectionType = WinConnectionType.Via_Ras;
}
else
connectionState = false;

return connectionState;
}
}

public static List<stringConnections
{
get
{
List<StringconnectionList = 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(RasEntryName));
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
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...
2
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...
5
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...
2
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...
0
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
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...
2
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...
3
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...
1
by: sush | last post by:
SKILLS : Skills desired: STORAGE / SAN TESTING AND VALIDATION Work Experience: 2 - 9 YEARS JOB TITLE: Systems Engineer
0
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.