473,835 Members | 1,777 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB:net Guru Change ScrollBar size

Hello

I want to change the scrollbar size of windows, How can I do that with
vb.net

I have find this in VB6 but how can we convert simply this code.

thx


VB6 sample

----------------------------------------------------
'SystemMetrics. csl file

Option Explicit

'Use Font.cls

Option Base 0 'Array begin from 0 to n

Private Const SM_CYCAPTION = 4
Private Const SM_CYMENU = 15
Private Const SM_CYSMCAPTION = 51
Private Const SM_CXDLGFRAME = 7
Private Const SM_CYDLGFRAME = 8
Private Const SM_CXFIXEDFRAME = SM_CXDLGFRAME
Private Const SM_CYFIXEDFRAME = SM_CYDLGFRAME

Const LF_FACESIZE = 32
Private Type LogFont
lfHeight As Long
lfWidth As Long
lfEscapement As Long
lfOrientation As Long
lfWeight As Long
lfItalic As Byte
lfUnderline As Byte
lfStrikeOut As Byte
lfCharSet As Byte
lfOutPrecision As Byte
lfClipPrecision As Byte
lfQuality As Byte
lfPitchAndFamil y As Byte
lfFaceName(0 To LF_FACESIZE - 1) As Byte
End Type

' SystemParameter sInfo flags
Private Const SPIF_UPDATEINIF ILE = &H1
Private Const SPIF_SENDWININI CHANGE = &H2

' This is a made-up constant.
Private Const SPIF_TELLALL = SPIF_UPDATEINIF ILE Or
SPIF_SENDWININI CHANGE

Private Const SPI_GETNONCLIEN TMETRICS = 41
Private Const SPI_SETNONCLIEN TMETRICS = 42

Private Const LOGPIXELSY = 90 ' Logical pixels/inch in Y

Private Declare Function GetDeviceCaps _
Lib "gdi32" _
(ByVal hDC As Long, ByVal nIndex As Long) As Long

Private Declare Function CreateIC _
Lib "gdi32" Alias "CreateICA" _
(ByVal lpDriverName As String, ByVal lpDeviceName As String, _
ByVal lpOutput As String, lpInitData As Any) As Long

Private Declare Function DeleteDC _
Lib "gdi32" _
(ByVal hDC As Long) As Long

Private Declare Function SystemParameter sInfo _
Lib "user32" Alias "SystemParamete rsInfoA" _
(ByVal uAction As Long, ByVal uParam As Long, _
lpvParam As Any, ByVal fuWinIni As Long) As Long

Private Declare Function GetSystemMetric s _
Lib "user32" _
(ByVal nIndex As Long) As Long

' NONCLIENTMETRIC S Information
Private Type typNonClientMet rics
cbSize As Long
lngBorderWidth As Long
lngScrollWidth As Long
lngScrollHeight As Long
lngCaptionWidth As Long
lngCaptionHeigh t As Long
lfCaptionFont As LogFont
lngSMCaptionWid th As Long
lngSMCaptionHei ght As Long
lfSMCaptionFont As LogFont
lngMenuWidth As Long
lngMenuHeight As Long
lfMenuFont As LogFont
lfStatusFont As LogFont
lfMessageFont As LogFont
End Type

Private ncm As typNonClientMet rics
Private oCaptionFont As Font
Private oSMCaptionFont As Font
Private oMenuFont As Font
Private oStatusFont As Font
Private oMessageFont As Font

Private Function dhTrimNull(strV alue As String) As String
On Error GoTo errHandler
Dim intPos As Integer
intPos = InStr(strValue, vbNullChar)
Select Case intPos
Case 0
dhTrimNull = strValue
Case 1
dhTrimNull = vbNullString
Case Else
dhTrimNull = Left$(strValue, intPos - 1)
End Select
Exit Function
errHandler:
ErrorIn "SystemMetrics. dhTrimNull(strV alue)", strValue
End Function

Private Sub Class_Initializ e()
On Error GoTo errHandler
Dim lngLen As Long

lngLen = Len(ncm)
ncm.cbSize = lngLen
Call SystemParameter sInfo(SPI_GETNO NCLIENTMETRICS, _
lngLen, ncm, 0)

Set oCaptionFont = New Font
Set oSMCaptionFont = New Font
Set oMenuFont = New Font
Set oStatusFont = New Font
Set oMessageFont = New Font

Call SetFontInfo(ncm .lfCaptionFont, oCaptionFont)
Call SetFontInfo(ncm .lfMenuFont, oMenuFont)
Call SetFontInfo(ncm .lfMessageFont, oMessageFont)
Call SetFontInfo(ncm .lfSMCaptionFon t, oSMCaptionFont)
Call SetFontInfo(ncm .lfStatusFont, oStatusFont)
Exit Sub
errHandler:
ErrorIn "SystemMetrics. Class_Initializ e", , EA_NORERAISE
ErrSaveToFile
End Sub

Public Property Get BorderWidth() As Long
On Error GoTo errHandler
' Set or retrieve standard window borderwidth.
BorderWidth = ncm.lngBorderWi dth
Exit Property
errHandler:
ErrorIn "SystemMetrics. BorderWidth"
End Property

Public Property Let BorderWidth(Val ue As Long)
On Error GoTo errHandler
' Set or retrieve standard window borderwidth.
ncm.lngBorderWi dth = Value
Call SaveSettings
Exit Property
errHandler:
ErrorIn "SystemMetrics. BorderWidth(Val ue)", Value
End Property

Public Property Get ScrollWidth() As Long
On Error GoTo errHandler
' Set or retrieve standard vertical scrollbar width.
ScrollWidth = ncm.lngScrollWi dth
Exit Property
errHandler:
ErrorIn "SystemMetrics. ScrollWidth"
End Property

Public Property Let ScrollWidth(Val ue As Long)
On Error GoTo errHandler
' Set or retrieve standard vertical scrollbar width.
ncm.lngScrollWi dth = Value
Call SaveSettings
Exit Property
errHandler:
ErrorIn "SystemMetrics. ScrollWidth(Val ue)", Value
End Property

Public Property Get ScrollHeight() As Long
On Error GoTo errHandler
' Set or retrieve standard horizontal scrollbar height.
ScrollHeight = ncm.lngScrollHe ight
Exit Property
errHandler:
ErrorIn "SystemMetrics. ScrollHeight"
End Property

Public Property Let ScrollHeight(Va lue As Long)
On Error GoTo errHandler
' Set or retrieve standard horizontal scrollbar height.
ncm.lngScrollHe ight = Value
Call SaveSettings
Exit Property
errHandler:
ErrorIn "SystemMetrics. ScrollHeight(Va lue)", Value
End Property

Public Property Get CaptionWidth() As Long
On Error GoTo errHandler
' Set or retrieve width of caption bar buttons.
CaptionWidth = ncm.lngCaptionW idth
Exit Property
errHandler:
ErrorIn "SystemMetrics. CaptionWidth"
End Property

Public Property Let CaptionWidth(Va lue As Long)
On Error GoTo errHandler
' Set or retrieve width of caption bar buttons.
ncm.lngCaptionW idth = Value
Call SaveSettings
Exit Property
errHandler:
ErrorIn "SystemMetrics. CaptionWidth(Va lue)", Value
End Property

Public Property Get CaptionHeight() As Long
On Error GoTo errHandler
' Set or retrieve height of caption bar buttons.
CaptionHeight = ncm.lngCaptionH eight
Exit Property
errHandler:
ErrorIn "SystemMetrics. CaptionHeight"
End Property

Public Property Let CaptionHeight(V alue As Long)
On Error GoTo errHandler
' Set or retrieve height of caption bar buttons.
ncm.lngCaptionH eight = Value
Call SaveSettings
Exit Property
errHandler:
ErrorIn "SystemMetrics. CaptionHeight(V alue)", Value
End Property

Public Property Get CaptionFont() As Font
On Error GoTo errHandler
' Retrieve caption bar font object.
Set CaptionFont = oCaptionFont
Exit Property
errHandler:
ErrorIn "SystemMetrics. CaptionFont"
End Property

Public Property Get SmallCaptionBut tonWidth() As Long
On Error GoTo errHandler
' Set or retrieve width of small caption bar buttons.
SmallCaptionBut tonWidth = ncm.lngSMCaptio nWidth
Exit Property
errHandler:
ErrorIn "SystemMetrics. SmallCaptionBut tonWidth"
End Property

Public Property Let SmallCaptionBut tonWidth(Value As Long)
On Error GoTo errHandler
' Set or retrieve width of small caption bar buttons.
ncm.lngSMCaptio nWidth = Value
Call SaveSettings
Exit Property
errHandler:
ErrorIn "SystemMetrics. SmallCaptionBut tonWidth(Value) ", Value
End Property

Public Property Get SmallCaptionBut tonHeight() As Long
On Error GoTo errHandler
' Set or retrieve height of small caption bar buttons.
SmallCaptionBut tonHeight = ncm.lngSMCaptio nHeight
Exit Property
errHandler:
ErrorIn "SystemMetrics. SmallCaptionBut tonHeight"
End Property

Public Property Let SmallCaptionBut tonHeight(Value As Long)
On Error GoTo errHandler
' Set or retrieve height of small caption bar buttons.
ncm.lngSMCaptio nHeight = Value
Call SaveSettings
Exit Property
errHandler:
ErrorIn "SystemMetrics. SmallCaptionBut tonHeight(Value )", Value
End Property

Public Property Get SmallCaptionFon t() As Font
On Error GoTo errHandler
' Retrieve small caption bar font object.
Set SmallCaptionFon t = oSMCaptionFont
Exit Property
errHandler:
ErrorIn "SystemMetrics. SmallCaptionFon t"
End Property

Public Property Get MenuButtonWidth () As Long
On Error GoTo errHandler
' Set or retrieve the width of menu bar buttons.
MenuButtonWidth = ncm.lngMenuWidt h
Exit Property
errHandler:
ErrorIn "SystemMetrics. MenuButtonWidth "
End Property

Public Property Let MenuButtonWidth (Value As Long)
On Error GoTo errHandler
' Set or retrieve the width of menu bar buttons.
ncm.lngMenuWidt h = Value
Call SaveSettings
Exit Property
errHandler:
ErrorIn "SystemMetrics. MenuButtonWidth (Value)", Value
End Property

Public Property Get MenuButtonHeigh t() As Long
On Error GoTo errHandler
' Set or retrieve the height of menu bar buttons.
MenuButtonHeigh t = ncm.lngMenuHeig ht
Exit Property
errHandler:
ErrorIn "SystemMetrics. MenuButtonHeigh t"
End Property

Public Property Let MenuButtonHeigh t(Value As Long)
On Error GoTo errHandler
' Set or retrieve the height of menu bar buttons.
ncm.lngMenuHeig ht = Value
Call SaveSettings
Exit Property
errHandler:
ErrorIn "SystemMetrics. MenuButtonHeigh t(Value)", Value
End Property

Public Property Get MenuFont() As Font
On Error GoTo errHandler
' Retrieve menu font object.
Set MenuFont = oMenuFont
Exit Property
errHandler:
ErrorIn "SystemMetrics. MenuFont"
End Property

Public Property Get StatusFont() As Font
On Error GoTo errHandler
' Retrieve status bar font object.
Set StatusFont = oStatusFont
Exit Property
errHandler:
ErrorIn "SystemMetrics. StatusFont"
End Property

Public Property Get MessageFont() As Font
On Error GoTo errHandler
' Retrieve message box font object.
Set MessageFont = oMessageFont
Exit Property
errHandler:
ErrorIn "SystemMetrics. MessageFont"
End Property

Public Sub SaveSettings()
On Error GoTo errHandler
' Save all changed settings.
Dim lngLen As Long
lngLen = Len(ncm)
ncm.cbSize = lngLen

' Need to copy all the font values back into the
' LogFont structures.
Call GetFontInfo(ncm .lfCaptionFont, oCaptionFont)
Call GetFontInfo(ncm .lfMenuFont, oMenuFont)
Call GetFontInfo(ncm .lfMessageFont, oMessageFont)
Call GetFontInfo(ncm .lfSMCaptionFon t, oSMCaptionFont)
Call GetFontInfo(ncm .lfStatusFont, oStatusFont)

' Now save all the settings back to Windows.
'Call SystemParameter sInfoInfo(SPI_S ETNONCLIENTMETR ICS, _

Call SystemParameter sInfo(SPI_SETNO NCLIENTMETRICS, _
lngLen, ncm, SPIF_TELLALL)
Exit Sub
errHandler:
ErrorIn "SystemMetrics. SaveSettings"
End Sub

Private Sub SetFontInfo(lf As LogFont, oFont As Font)
On Error GoTo errHandler
' Get font info from a LOGFONT structure into a Font class.
With oFont
.Weight = lf.lfWeight
.StrikeOut = CBool(lf.lfStri keOut)

.Underline = CBool(lf.lfUnde rline)
.Italic = CBool(lf.lfItal ic)

.FaceName = dhTrimNull(StrC onv(lf.lfFaceNa me, vbUnicode))
.Size = CalcSize(lf.lfH eight, fToPoints:=True )
End With
Exit Sub

errHandler:
ErrorIn "SystemMetrics. SetFontInfo(lf, oFont)"
End Sub

Private Sub GetFontInfo(lf As LogFont, oFont As Font)
On Error GoTo errHandler
' Get font info from a Font class back into a LOGFONT structure.
With oFont
lf.lfWeight = .Weight
lf.lfStrikeOut = .StrikeOut

lf.lfUnderline = .Underline
lf.lfItalic = .Italic

lf.lfHeight = CalcSize(.Size, fToPoints:=Fals e)
Call SetFaceName(lf, .FaceName)
End With
Exit Sub
errHandler:
ErrorIn "SystemMetrics. GetFontInfo(lf, oFont)"
End Sub

Private Function CalcSize(lngHei ght As Long, _
fToPoints As Boolean) As Long
On Error GoTo errHandler
Dim lngLogPixelsY As Long
Dim hDC As Long

hDC = CreateIC("DISPL AY", "", "", 0&)
lngLogPixelsY = GetDeviceCaps(h DC, LOGPIXELSY)
Call DeleteDC(hDC)
If fToPoints Then
CalcSize = -Int(lngHeight * 72 / lngLogPixelsY)
Else
CalcSize = -Int(lngHeight * lngLogPixelsY / 72)
End If
Exit Function
errHandler:
ErrorIn "SystemMetrics. CalcSize(lngHei ght,fToPoints)" ,
Array(lngHeight , fToPoints)
End Function

Private Sub SetFaceName(lf As LogFont, strValue As String)
On Error GoTo errHandler
' Given a string, get it back into the ANSI byte array
' contained within a LOGFONT structure.
Dim intLen As String
Dim intI As Integer
Dim varName As Variant
Dim abytTemp() As Byte

abytTemp = StrConv(strValu e, vbFromUnicode)
intLen = UBound(abytTemp ) + 1

' Make sure the string isn't too long.
If intLen > LF_FACESIZE - 1 Then
intLen = LF_FACESIZE - 1
End If
For intI = 0 To intLen - 1
lf.lfFaceName(i ntI) = abytTemp(intI)
Next intI
lf.lfFaceName(i ntI) = 0
Exit Sub
errHandler:
ErrorIn "SystemMetrics. SetFaceName(lf, strValue)"
End Sub

Private Sub Class_Terminate ()
On Error GoTo errHandler
Set oCaptionFont = Nothing
Set oSMCaptionFont = Nothing
Set oMenuFont = Nothing
Set oStatusFont = Nothing
Set oMessageFont = Nothing
Exit Sub
errHandler:
ErrorIn "SystemMetrics. Class_Terminate ", , EA_NORERAISE
ErrSaveToFile
End Sub

Public Property Get Caption() As Long
On Error GoTo errHandler
' Height, in pixels, of normal caption bar.
Caption = GetSystemMetric s(SM_CYCAPTION)
Exit Property
errHandler:
ErrorIn "SystemMetrics. Caption"
End Property

Public Property Get MenuHeight() As Long
On Error GoTo errHandler
' Height, in pixels, of normal single-line menu.
MenuHeight = GetSystemMetric s(SM_CYMENU)
Exit Property
errHandler:
ErrorIn "SystemMetrics. MenuHeight"
End Property

Public Property Get SmallCaption() As Long
On Error GoTo errHandler
' Height, in pixels, of a small caption bar.
SmallCaption = GetSystemMetric s(SM_CYSMCAPTIO N)
Exit Property
errHandler:
ErrorIn "SystemMetrics. SmallCaption"
End Property

Public Property Get FixedBorderX() As Long
On Error GoTo errHandler
' Retrieve the width in pixels, of the frame
' around the perimeter of a window that has a caption
' but is not sizable.
FixedBorderX = GetSystemMetric s(SM_CXFIXEDFRA ME)
Exit Property
errHandler:
ErrorIn "SystemMetrics. FixedBorderX"
End Property

Public Property Get FixedBorderY() As Long
On Error GoTo errHandler
' Retrieve the height, in pixels, of the frame
' around the perimeter of a window that has a caption
' but is not sizable.
FixedBorderY = GetSystemMetric s(SM_CYFIXEDFRA ME)
Exit Property
errHandler:
ErrorIn "SystemMetrics. FixedBorderY"
End Property

--------------------------------------------------------
'font.cls file

Option Explicit

'Used by SystemMetrics.c ls

Public Enum FontWeights
FW_DONTCARE = 0
FW_THIN = 100
FW_EXTRALIGHT = 200
FW_LIGHT = 300
FW_NORMAL = 400
'FW_REGULAR = 400
FW_MEDIUM = 500
FW_SEMIBOLD = 600
FW_BOLD = 700
FW_EXTRABOLD = 800
FW_HEAVY = 900
End Enum

Public Size As Long
Public StrikeOut As Boolean
Public Weight As Long
Public Italic As Boolean
Public Underline As Boolean
Public FaceName As String
Nov 20 '05 #1
3 12747
"spielmann" <e9******@eif.c h> schrieb
Hello

I want to change the scrollbar size of windows, How can I do that
with vb.net

I have find this in VB6 but how can we convert simply this code.


Automatically+m anually or pure manually. Automatically by the upgrade wizard
(not included in VB.NET standard). In which line do you have problems?

There's some info here:
<F1>
VS.Net
VB and VC#
Upgrading applications
--
Armin

Nov 20 '05 #2
"Armin Zingler" <az*******@free net.de> wrote in message news:<u5******* ******@tk2msftn gp13.phx.gbl>.. .
"spielmann" <e9******@eif.c h> schrieb
Hello

I want to change the scrollbar size of windows, How can I do that
with vb.net

I have find this in VB6 but how can we convert simply this code.


Automatically+m anually or pure manually. Automatically by the upgrade wizard
(not included in VB.NET standard). In which line do you have problems?

There's some info here:
<F1>
VS.Net
VB and VC#
Upgrading applications

Programatically
Nov 20 '05 #3
"spielmann" <e9******@eif.c h> schrieb
"Armin Zingler" <az*******@free net.de> wrote in message
news:<u5******* ******@tk2msftn gp13.phx.gbl>.. .
"spielmann" <e9******@eif.c h> schrieb
Hello

I want to change the scrollbar size of windows, How can I do
that with vb.net

I have find this in VB6 but how can we convert simply this
code.


Automatically+m anually or pure manually. Automatically by the
upgrade wizard (not included in VB.NET standard). In which line do
you have problems?

There's some info here:
<F1>
VS.Net
VB and VC#
Upgrading applications

Programatically


Open the VB6 project in VB.NET and have it upgraded to .NET. You need a
not-standard VB.NET version before, and some time for manual adjustements
after the upgrade.
--
Armin

Nov 20 '05 #4

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

Similar topics

4
2775
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 here..... -------- // // a set of simple C# wrappers over the NT Defragmenter APIs //
6
1201
by: Guru Hippie | last post by:
I've just installed the VB.Net resource kit. I can navigate through most of it, but when I attempt to open any link that leads to a sample project or sample code, it doesn't respond. There's no error message. The config is XP/SP2 with VS.Net 2003 EA and VS6SP5.
2
922
by: sympatico | last post by:
hi, does anyone know how to change the style of the scrollbars in a vb.net windows application?? thanks in advance
66
3742
by: Mitchell S. Honnert | last post by:
In some recent posts, I've seen people who seem to be waxing nostalgic with respect to the "ease of use" of Visual Basic 6. I can't quite put my finger on it, but they seem to be implying that VB6 was simpler to use than VB.NET, that it was somehow easier to write programs in VB6 than in VB.NET. I have to admit I'm astonished by this attitude. I can't see any rationality to the idea that, on the whole, VB6 is easier than VB.NET. I...
3
11016
by: RG | last post by:
For a Windows project in VB.NET 2003: I need a Calendar that’s much larger than the MonthCalendar control in the toolbox; it needs to fill the whole screen (at least approximately ). VB won’t allow me to change the Size Height or Width Properties. I see that you can size a Calendar control in a Web project all you like; but I’m creating a Windows application project here. I see that Size comes from System.Drawing.Size...
9
8340
by: craig.overton | last post by:
All, I am currently developing an FTP class in VB.NET. It's kid tested, mother approved when trying to access an FTP Server on a Windows box meaning I can connect, run commands, upload and download a file no problem. My issues come when I try to use the same class with the same commands to access an FTP server on a UNIX box. I can connect and login just fine, but after that all my commands come back "500 'PWD': command not understood."....
2
6576
by: Patti | last post by:
I am building an application using VB.NET 1.1 and I have an issue with Font properties in my Radio Button Lists and Check Box Lists. My issue is that the Font Names and Font Size for these controls have become "Read Only" and I have no idea how they became read only. I didn't set anything to read only and was able to change these fonts just last week - so I must have messed something up. Below is a snippet of my HTML code I used...
0
3673
by: shamirza | last post by:
When was .NET announced? Bill Gates delivered a keynote at Forum 2000, held June 22, 2000, outlining the .NET 'vision'. The July 2000 PDC had a number of sessions on .NET technology, and delegates were given CDs containing a pre-release version of the .NET framework/SDK and Visual Studio.NET. When was the first version of .NET released? The final version of the 1.0 SDK and runtime was made publicly available around 6pm PST on...
6
1999
by: a | last post by:
Im so sorry for this long question? Can you please tell me what is the way to mastering programming with vb.net? What is require? What the steps? What content should I know?
0
9652
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10812
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10523
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10561
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9346
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7766
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6966
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5638
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5804
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.