473,473 Members | 1,735 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

vb.net's CreateFile

Hi,

Private Declare Function CreateFile _
Lib "kernel32" Alias "CreateFileA" _
(ByVal lpFileName As String, _
ByVal dwDesiredAccess As Long, _
ByVal dwShareMode As Long, _
ByVal lpSecurityAttributes As Any, _
ByVal dwCreationDisposition As Long, _
ByVal dwFlagsAndAttributes As Long, _
ByVal hTemplateFile As Long) As Long

Private Declare Function closeHandle_ _
Lib "kernel32" _
Alias "CloseHandle" (ByVal hObject As Long) As Long

How to convert these to vb.net - or is there some other way of obtaining a
file handle. Well actually its "\\.\C:" i want to get to pass to another api
function

Stephen
Nov 20 '05 #1
8 7153
* "Stephen Remde" <sp*******@smremde.co.uk> scripsit:
Private Declare Function CreateFile _
Lib "kernel32" Alias "CreateFileA" _
Declare the function as 'Auto' ('Declare Auto Function...'), then remove
the alias.
(ByVal lpFileName As String, _
ByVal dwDesiredAccess As Long, _
ByVal dwShareMode As Long, _
ByVal lpSecurityAttributes As Any, _
ByVal dwCreationDisposition As Long, _
ByVal dwFlagsAndAttributes As Long, _
ByVal hTemplateFile As Long) As Long
Replace all 'As Long' with 'As Int32', 'lpSecurityAttributes' can be
declared as 'Int32' (...), 'hTemplateFile' as 'IntPtr'. The return
value is an 'IntPtr'.
Private Declare Function closeHandle_ _
Lib "kernel32" _
Alias "CloseHandle" (ByVal hObject As Long) As Long


Remove the alias, declare its parameter as 'IntPtr' and its return value
as 'Boolean'.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
Nov 20 '05 #2
thanks, that worked...

now heres a tough one:

Private Declare Function NtFsControlFile _
Lib "ntdll.dll" _
(ByVal hFileHandle As Long, _
ByVal hEvent As Long, _
ByRef ApcRoutine As Any, _
ByRef ApcContext As Long, _
ByRef IoStatusBlock As IO_STATUS_BLOCK, _
ByVal FsControlCode As Long, _
ByRef InputBuffer As Any, _
ByVal InputBufferLength As Long, _
ByRef OutputBuffer As Any, _
ByVal OutputBufferLength As Long) As Long

i've tried

Public Structure IO_STATUS_BLOCK
Public Status As Integer ' (were long's in vb6)
Public Information As Integer
End Structure

Declare Auto Function NtFsControlFile Lib "ntdll.dll" _
(ByVal hFileHandle As Integer, _
ByVal hEvent As Integer, _
ByRef ApcRoutine As Integer, _
ByVal ApcContext As Integer, _
ByRef IoStatusBlock As IO_STATUS_BLOCK, _
ByVal FsControlCode As Integer, _
ByRef InputBuffer As Object, _
ByVal InputBufferLength As Integer, _
ByVal OutputBuffer As Object, _
ByRef OutputBufferLength As Integer) As Integer

but i get return values of &hC0000023 {Buffer Too Small} The buffer is too
small to contain the entry. No information has been written to the buffer.

so im thinking that theres something wrong ith these lines

ByRef InputBuffer As Object, _
ByVal InputBufferLength As Integer, _
ByVal OutputBuffer As Object, _
ByRef OutputBufferLength As Integer

the call i am making is

Dim a as Long
Dim b(bSize) as Byte

NtFsControlFile( ... , ... , ... , ... , ... , ... , a , 8 , b , bSize)

Thanks in advance,
Stephen

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bo*************@ID-208219.news.uni-berlin.de...
* "Stephen Remde" <sp*******@smremde.co.uk> scripsit:
Private Declare Function CreateFile _
Lib "kernel32" Alias "CreateFileA" _


Declare the function as 'Auto' ('Declare Auto Function...'), then remove
the alias.
(ByVal lpFileName As String, _
ByVal dwDesiredAccess As Long, _
ByVal dwShareMode As Long, _
ByVal lpSecurityAttributes As Any, _
ByVal dwCreationDisposition As Long, _
ByVal dwFlagsAndAttributes As Long, _
ByVal hTemplateFile As Long) As Long


Replace all 'As Long' with 'As Int32', 'lpSecurityAttributes' can be
declared as 'Int32' (...), 'hTemplateFile' as 'IntPtr'. The return
value is an 'IntPtr'.
Private Declare Function closeHandle_ _
Lib "kernel32" _
Alias "CloseHandle" (ByVal hObject As Long) As Long


Remove the alias, declare its parameter as 'IntPtr' and its return value
as 'Boolean'.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>

Nov 20 '05 #3
Bob
For starters you should be converting VB6 longs to VB.Net Int32... not
integer... you have declared a variable that is too small to take the long
datatype value being returned...

Herfield stated this in his reply to your first post...

Cheers
"Stephen Remde" <sp*******@smremde.co.uk> wrote in message
news:uW**************@tk2msftngp13.phx.gbl...
thanks, that worked...

now heres a tough one:

Private Declare Function NtFsControlFile _
Lib "ntdll.dll" _
(ByVal hFileHandle As Long, _
ByVal hEvent As Long, _
ByRef ApcRoutine As Any, _
ByRef ApcContext As Long, _
ByRef IoStatusBlock As IO_STATUS_BLOCK, _
ByVal FsControlCode As Long, _
ByRef InputBuffer As Any, _
ByVal InputBufferLength As Long, _
ByRef OutputBuffer As Any, _
ByVal OutputBufferLength As Long) As Long

i've tried

Public Structure IO_STATUS_BLOCK
Public Status As Integer ' (were long's in vb6)
Public Information As Integer
End Structure

Declare Auto Function NtFsControlFile Lib "ntdll.dll" _
(ByVal hFileHandle As Integer, _
ByVal hEvent As Integer, _
ByRef ApcRoutine As Integer, _
ByVal ApcContext As Integer, _
ByRef IoStatusBlock As IO_STATUS_BLOCK, _
ByVal FsControlCode As Integer, _
ByRef InputBuffer As Object, _
ByVal InputBufferLength As Integer, _
ByVal OutputBuffer As Object, _
ByRef OutputBufferLength As Integer) As Integer

but i get return values of &hC0000023 {Buffer Too Small} The buffer is too
small to contain the entry. No information has been written to the buffer.

so im thinking that theres something wrong ith these lines

ByRef InputBuffer As Object, _
ByVal InputBufferLength As Integer, _
ByVal OutputBuffer As Object, _
ByRef OutputBufferLength As Integer

the call i am making is

Dim a as Long
Dim b(bSize) as Byte

NtFsControlFile( ... , ... , ... , ... , ... , ... , a , 8 , b , bSize)

Thanks in advance,
Stephen

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bo*************@ID-208219.news.uni-berlin.de...
* "Stephen Remde" <sp*******@smremde.co.uk> scripsit:
Private Declare Function CreateFile _
Lib "kernel32" Alias "CreateFileA" _


Declare the function as 'Auto' ('Declare Auto Function...'), then remove
the alias.
(ByVal lpFileName As String, _
ByVal dwDesiredAccess As Long, _
ByVal dwShareMode As Long, _
ByVal lpSecurityAttributes As Any, _
ByVal dwCreationDisposition As Long, _
ByVal dwFlagsAndAttributes As Long, _
ByVal hTemplateFile As Long) As Long


Replace all 'As Long' with 'As Int32', 'lpSecurityAttributes' can be
declared as 'Int32' (...), 'hTemplateFile' as 'IntPtr'. The return
value is an 'IntPtr'.
Private Declare Function closeHandle_ _
Lib "kernel32" _
Alias "CloseHandle" (ByVal hObject As Long) As Long


Remove the alias, declare its parameter as 'IntPtr' and its return value
as 'Boolean'.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>


Nov 20 '05 #4
Bob,

VB.NETs Integer's are 32bit, the same as Int32... (se below) exchanging
the Integer types for Int32s make no difference.

i think the problem is with
ByRef InputBuffer As Object, _
ByVal InputBufferLength As Integer, _
ByVal OutputBuffer As Object, _
ByRef OutputBufferLength As Integer
OutputBuffer - needs to pass a memory pointer to the actual data of the
array. this is where the api call will write its response.

Thanks,

quoted from the msdn
(ms-help://MS.VSCC/MS.MSDNVS/vblr7/html/vadatInteger.htm):

Integer Data Type

Integer variables are stored as signed 32-bit (4-byte) integers ranging in
value from -2,147,483,648 through 2,147,483,647.

The Integer data type provides optimal performance on a 32-bit processor, as
the smaller integral types are slower to load and store from and to memory.

-snip-

*** The equivalent .NET data type is System.Int32. ***
Stephen
"Bob" <bo*@nospam.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
For starters you should be converting VB6 longs to VB.Net Int32... not
integer... you have declared a variable that is too small to take the long
datatype value being returned...

Herfield stated this in his reply to your first post...

Cheers
"Stephen Remde" <sp*******@smremde.co.uk> wrote in message
news:uW**************@tk2msftngp13.phx.gbl...
thanks, that worked...

now heres a tough one:

Private Declare Function NtFsControlFile _
Lib "ntdll.dll" _
(ByVal hFileHandle As Long, _
ByVal hEvent As Long, _
ByRef ApcRoutine As Any, _
ByRef ApcContext As Long, _
ByRef IoStatusBlock As IO_STATUS_BLOCK, _
ByVal FsControlCode As Long, _
ByRef InputBuffer As Any, _
ByVal InputBufferLength As Long, _
ByRef OutputBuffer As Any, _
ByVal OutputBufferLength As Long) As Long

i've tried

Public Structure IO_STATUS_BLOCK
Public Status As Integer ' (were long's in vb6)
Public Information As Integer
End Structure

Declare Auto Function NtFsControlFile Lib "ntdll.dll" _
(ByVal hFileHandle As Integer, _
ByVal hEvent As Integer, _
ByRef ApcRoutine As Integer, _
ByVal ApcContext As Integer, _
ByRef IoStatusBlock As IO_STATUS_BLOCK, _
ByVal FsControlCode As Integer, _
ByRef InputBuffer As Object, _
ByVal InputBufferLength As Integer, _
ByVal OutputBuffer As Object, _
ByRef OutputBufferLength As Integer) As Integer

but i get return values of &hC0000023 {Buffer Too Small} The buffer is

too small to contain the entry. No information has been written to the buffer.
so im thinking that theres something wrong ith these lines

ByRef InputBuffer As Object, _
ByVal InputBufferLength As Integer, _
ByVal OutputBuffer As Object, _
ByRef OutputBufferLength As Integer

the call i am making is

Dim a as Long
Dim b(bSize) as Byte

NtFsControlFile( ... , ... , ... , ... , ... , ... , a , 8 , b , bSize)

Thanks in advance,
Stephen

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bo*************@ID-208219.news.uni-berlin.de...
* "Stephen Remde" <sp*******@smremde.co.uk> scripsit:
> Private Declare Function CreateFile _
> Lib "kernel32" Alias "CreateFileA" _

Declare the function as 'Auto' ('Declare Auto Function...'), then remove the alias.

> (ByVal lpFileName As String, _
> ByVal dwDesiredAccess As Long, _
> ByVal dwShareMode As Long, _
> ByVal lpSecurityAttributes As Any, _
> ByVal dwCreationDisposition As Long, _
> ByVal dwFlagsAndAttributes As Long, _
> ByVal hTemplateFile As Long) As Long

Replace all 'As Long' with 'As Int32', 'lpSecurityAttributes' can be
declared as 'Int32' (...), 'hTemplateFile' as 'IntPtr'. The return
value is an 'IntPtr'.

> Private Declare Function closeHandle_ _
> Lib "kernel32" _
> Alias "CloseHandle" (ByVal hObject As Long) As Long

Remove the alias, declare its parameter as 'IntPtr' and its return value as 'Boolean'.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>



Nov 20 '05 #5
* "Bob" <bo*@nospam.com> scripsit:
For starters you should be converting VB6 longs to VB.Net Int32... not
integer... you have declared a variable that is too small to take the long
datatype value being returned...

Herfield stated this in his reply to your first post...


?!?

In VB.NET 'Integer' = 'System.Int32' (= VB6's 'Long' datatype).

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
Nov 20 '05 #6
maybe i converted it to vb6 wrong in the first place. here is the c version:

typedef UINT NTSTATUS;

//
// Io Status block
//
typedef struct _IO_STATUS_BLOCK {
NTSTATUS Status;
ULONG Information;
} IO_STATUS_BLOCK, *PIO_STATUS_BLOCK;
//
// Apc Routine
//
typedef VOID (*PIO_APC_ROUTINE) (
PVOID ApcContext,
PIO_STATUS_BLOCK IoStatusBlock,
ULONG Reserved
);
//
// The undocumented NtFsControlFile
//

NTSTATUS (__stdcall *NtFsControlFile)(
HANDLE FileHandle,
HANDLE Event, // optional
PIO_APC_ROUTINE ApcRoutine, // optional
PVOID ApcContext, // optional
PIO_STATUS_BLOCK IoStatusBlock,
ULONG FsControlCode,
PVOID InputBuffer, // optional
ULONG InputBufferLength,
PVOID OutputBuffer, // optional
ULONG OutputBufferLength
);


"Bob" <bo*@nospam.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
For starters you should be converting VB6 longs to VB.Net Int32... not
integer... you have declared a variable that is too small to take the long
datatype value being returned...

Herfield stated this in his reply to your first post...

Cheers
"Stephen Remde" <sp*******@smremde.co.uk> wrote in message
news:uW**************@tk2msftngp13.phx.gbl...
thanks, that worked...

now heres a tough one:

Private Declare Function NtFsControlFile _
Lib "ntdll.dll" _
(ByVal hFileHandle As Long, _
ByVal hEvent As Long, _
ByRef ApcRoutine As Any, _
ByRef ApcContext As Long, _
ByRef IoStatusBlock As IO_STATUS_BLOCK, _
ByVal FsControlCode As Long, _
ByRef InputBuffer As Any, _
ByVal InputBufferLength As Long, _
ByRef OutputBuffer As Any, _
ByVal OutputBufferLength As Long) As Long

i've tried

Public Structure IO_STATUS_BLOCK
Public Status As Integer ' (were long's in vb6)
Public Information As Integer
End Structure

Declare Auto Function NtFsControlFile Lib "ntdll.dll" _
(ByVal hFileHandle As Integer, _
ByVal hEvent As Integer, _
ByRef ApcRoutine As Integer, _
ByVal ApcContext As Integer, _
ByRef IoStatusBlock As IO_STATUS_BLOCK, _
ByVal FsControlCode As Integer, _
ByRef InputBuffer As Object, _
ByVal InputBufferLength As Integer, _
ByVal OutputBuffer As Object, _
ByRef OutputBufferLength As Integer) As Integer

but i get return values of &hC0000023 {Buffer Too Small} The buffer is too small to contain the entry. No information has been written to the buffer.
so im thinking that theres something wrong ith these lines

ByRef InputBuffer As Object, _
ByVal InputBufferLength As Integer, _
ByVal OutputBuffer As Object, _
ByRef OutputBufferLength As Integer

the call i am making is

Dim a as Long
Dim b(bSize) as Byte

NtFsControlFile( ... , ... , ... , ... , ... , ... , a , 8 , b , bSize)

Thanks in advance,
Stephen

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bo*************@ID-208219.news.uni-berlin.de...
* "Stephen Remde" <sp*******@smremde.co.uk> scripsit:
> Private Declare Function CreateFile _
> Lib "kernel32" Alias "CreateFileA" _

Declare the function as 'Auto' ('Declare Auto Function...'), then remove the alias.

> (ByVal lpFileName As String, _
> ByVal dwDesiredAccess As Long, _
> ByVal dwShareMode As Long, _
> ByVal lpSecurityAttributes As Any, _
> ByVal dwCreationDisposition As Long, _
> ByVal dwFlagsAndAttributes As Long, _
> ByVal hTemplateFile As Long) As Long

Replace all 'As Long' with 'As Int32', 'lpSecurityAttributes' can be
declared as 'Int32' (...), 'hTemplateFile' as 'IntPtr'. The return
value is an 'IntPtr'.

> Private Declare Function closeHandle_ _
> Lib "kernel32" _
> Alias "CloseHandle" (ByVal hObject As Long) As Long

Remove the alias, declare its parameter as 'IntPtr' and its return value as 'Boolean'.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>



Nov 20 '05 #7
On 2003-11-09, Stephen Remde <sp*******@smremde.co.uk> wrote:

Stephen,

Here is my rough, first pass, and untested version :) This is probably
where I would start. If it doesn't work, let me know... And maybe a
little more information about what this function is supposed to do (even
a little project that uses it would be nice) - so that I can refine.
maybe i converted it to vb6 wrong in the first place. here is the c version:

typedef UINT NTSTATUS;

//
// Io Status block
//
typedef struct _IO_STATUS_BLOCK {
NTSTATUS Status;
ULONG Information;
} IO_STATUS_BLOCK, *PIO_STATUS_BLOCK;

<StructLayout(LayoutKind.Sequential)> _
Structure IO_STATUS_BLOCK
Public Status As Integer
Public Information As Integer
End Structure

//
// Apc Routine
//
typedef VOID (*PIO_APC_ROUTINE) (
PVOID ApcContext,
PIO_STATUS_BLOCK IoStatusBlock,
ULONG Reserved
);


' if you need the call back, it should look something like this
' since the above is defining a pointer to a function that returns
' void and takes 3 parameters...
Delegate Sub PIO_APC_ROUTINE _
(ByVal AbcContext As IntPtr, _
ByRef IoStatusBlock As IO_STATUS_BLOCK, _
ByVal Reserved As Integer)
//
// The undocumented NtFsControlFile
//

NTSTATUS (__stdcall *NtFsControlFile)(
HANDLE FileHandle,
HANDLE Event, // optional
PIO_APC_ROUTINE ApcRoutine, // optional
PVOID ApcContext, // optional
PIO_STATUS_BLOCK IoStatusBlock,
ULONG FsControlCode,
PVOID InputBuffer, // optional
ULONG InputBufferLength,
PVOID OutputBuffer, // optional
ULONG OutputBufferLength
);


Declare Function NtFsControlFile Lib "ntdll" _
(ByVal FileHandle As IntPtr, _
ByVal Event As IntPtr, _
ByVal ApcRoutine As PIO_APC_ROUTINE, _
ByVal ApcContext As IntPtr, _
ByRef IoStatusBlock As IO_STATUS_BLOCK, _
ByVal FsControlCode As Integer, _
ByVal InputBuffer() As Byte, _
ByVal InputBufferLength As Integer, _
ByVal OutputBuffer() As Byte, _
ByVal OutputBufferLength As Integer) As IntPtr

Dim controlCode As Integer
Dim inputBuffer(bSize) As Byte
Dim outputBuffer(bSize) As Byte
Dim controlBlock As IO_STATUS_BLOCK

NtFsControlFile( _
FileHandle, _
Event, _
Nothing, _
IntPtr.Zero, _
controlBlock, _
controlCode, _
inputBuffer, _
inputBuffer.Length, _
outputBuffer, _
outputBuffer.Length)

--
Tom Shelton
MVP [Visual Basic]
Nov 20 '05 #8
You want to create a new file. Try this one in .NET

Imports System.IO; //NAMESPACE

public function SaveFile(string strfile)
dim myStreamWriter as StreamWriter myStreamWriter
myStreamWriter = File.AppendText("c:/oss_listen.log")
myStreamWriter.WriteLine(strfile)
myStreamWriter.Flush()
myStreamWriter.Close()
end function

}
-----Original Message-----
Hi,

Private Declare Function CreateFile _
Lib "kernel32" Alias "CreateFileA" _
(ByVal lpFileName As String, _
ByVal dwDesiredAccess As Long, _
ByVal dwShareMode As Long, _
ByVal lpSecurityAttributes As Any, _
ByVal dwCreationDisposition As Long, _
ByVal dwFlagsAndAttributes As Long, _
ByVal hTemplateFile As Long) As Long

Private Declare Function closeHandle_ _
Lib "kernel32" _
Alias "CloseHandle" (ByVal hObject As Long) As Long
How to convert these to vb.net - or is there some other way of obtaining afile handle. Well actually its "\\.\C:" i want to get to pass to another apifunction

Stephen
.

Nov 20 '05 #9

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

Similar topics

1
by: Chuck Rittersdorf | last post by:
Hi There I am having a problem using the win32 API from VB6. I am trying to send a command string to a printer(zebra TLP 2742) on LPT1 using the folowing API functions CreateFile and...
0
by: Joe Kraft | last post by:
I'm hoping someone can help me out. We're running a website that uses XML/XSLT transformations, VB.Net and an Oracle database. Currently the site cannot support more than 6-7 users at a time...
4
by: Jim Hubbard | last post by:
I have some C# code that is supposed to wrap the defrag APIs and I am trying to convert it to VB.Net (2003). But, I keep having problems. The C# code is relatively short, so I'll post it...
5
by: Jack Black | last post by:
Hi, all!! Using VB.Net and VS/2003. I'm trying to call standard Windows API calls from VB.NET, but keep getting an "Unhandled Exception of type 'System.NotSupportedExtension' occurred in...
5
by: Andrew Clark | last post by:
Hello, Recently, I converted my VB6 app to VB.NET. I got the standard upgrade messages and fixed them so now I can run my app. I have noticed, though, that some of the library functions will not...
5
by: Andrew Clark | last post by:
Hello, Thanks for all replies on this subject. I still cannot get CreateFile to retun a good value though. I went to PInvoke.net and saw the VB.NET declaration of this function: ...
12
by: Terry Olsen | last post by:
I'm trying to create a disk image of a floppy disk. Since I can't open the device using the system.io methods, i'm trying to use the CreateFile API to get a handle for me. But the call fails...
8
by: news.microsoft.com | last post by:
Hello, i'm having problems to call a api dll in vb dot net. I absolutely want to use this api call and none of the frame calls. This is my declaration: ***************** Public Structure...
5
by: Jordi Maycas | last post by:
Could I do something like this with .net 2005? PROGRAM WriteBootSector; VAR DiskSectorsPerTrack, DiskTracksPerHead, DiskHeads : WORD; FUNCTION WriteSector(Sector : WORD; Buffer : POINTER) :...
2
by: Kerem Gümrükcü | last post by:
Hi all, sorry for Crossposting, but i dont know whether someone can help me here. If i remember right, there was a Class or a Member function in the .NET Framework that could do mostly the same...
0
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,...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
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...

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.