I would like to control entry into one or more of the tabs I have set up on my Tab control based on set rules. Does anyone know how to grey-out the text so that a user will see that they do not have access to that particular tab?
I tried setting the enabled = false for the given tab,
but it only seems to work in the form assembly section (that is, if I do it after the form is loaded through a function, it doesn't seem to work), and doing that disables the controls on the tab, but does not grey out the text of the tab display itself.
Thanks
K 13 3876
I assume you don't know before loading the form which to enable/disable? If
so a contructor passed a tabindex would work fine.
I also assume that you have tried setting the enabled property for the
particular tab page that you want disabled...
Is this true?
Shane
"KMiller" <an*******@disc ussions.microso ft.com> wrote in message
news:05******** *************** *****@phx.gbl.. . I would like to control entry into one or more of the tabs I have set up on my Tab control based on set rules. Does anyone know how to grey-out the text so that a user will see that they do not have access to that particular tab?
I tried setting the enabled = false for the given tab, but it only seems to work in the form assembly section (that is, if I do it after the form is loaded through a function, it doesn't seem to work), and doing that disables the controls on the tab, but does not grey out the text of the tab display itself.
Thanks
K
At the time the form is assembled, I DO NOT know.
However, shortly thereafter (during the loading process),
I DO know whether they have access or not to the
particular tab. It's at this time when I'm attempting to
disable (gray-out) the tab text, but nothing works.
I've tried setting the enabled property to false for the
tab, but doing that does nothing to the tab text display,
and users have no way of knowing they DO NOT have access
to the tab other then by clicking into it and finding out
that nothing works because all the controls have been
disabled. Leaving the functionality this way is
inadequate and out of spec. -----Original Message----- I assume you don't know before loading the form which to
enable/disable? Ifso a contructor passed a tabindex would work fine.
I also assume that you have tried setting the enabled
property for theparticular tab page that you want disabled...
Is this true?
Shane "KMiller" <an*******@disc ussions.microso ft.com> wrote in
messagenews:05******* *************** ******@phx.gbl. .. I would like to control entry into one or more of the
tabs > I have set up on my Tab control based on set rules.
Does > anyone know how to grey-out the text so that a user
will > see that they do not have access to that particular
tab? > > I tried setting the enabled = false for the given tab, but > it only seems to work in the form assembly section
(that > is, if I do it after the form is loaded through a > function, it doesn't seem to work), and doing that > disables the controls on the tab, but does not grey
out > the text of the tab display itself. > > Thanks > > K
.
Hi K,
wow, I see your point.
I thought I had it fixed in my app too but my titles aren't disabled either.
You can do ownerdrawn fixed and change the color of the font easy enough.
Private Sub TabControl1_Dra wItem(ByVal sender As Object, ByVal e As
System.Windows. Forms.DrawItemE ventArgs) Handles TabControl1.Dra wItem
Dim tp As TabPage
Dim layoutrct As New RectangleF(e.Bo unds.Left, e.Bounds.Top,
e.Bounds.Width, e.Bounds.Height )
Dim sf As New StringFormat(St ringFormatFlags .FitBlackBox)
sf.Alignment = StringAlignment .Center
sf.LineAlignmen t = StringAlignment .Center
tp = TabControl1.Tab Pages(e.Index)
If Not tp.Enabled Then
'for some reason not printing the 3-d part--tried to print twice
with offset but no luck
e.Graphics.Draw String(tp.Text, e.Font, SystemBrushes.C ontrolLight,
layoutrct)
layoutrct.Offse t(2, 2)
e.Graphics.Draw String(tp.Text, e.Font, SystemBrushes.C ontrolDark,
layoutrct) 'SolidBrush(e.B ackColor), layoutrct)
Else
e.Graphics.Draw String(tp.Text, e.Font,New SolidBrush(e.Ba ckColor),
layoutrct)
End If
End Sub
This works if items are not enabled. But there must be an easier way--also
they shouldn't even be able to click on the tab.
I haven't found out how to avoid that.
this is a really big pain for something simple--but it seems that most of
the control included are lacking in very bacic features and require lots of
extra coding to just do standard things.
I hope you find an answer--I would also like to know.
Shane
"KMiller" <an*******@disc ussions.microso ft.com> wrote in message
news:00******** *************** *****@phx.gbl.. . At the time the form is assembled, I DO NOT know. However, shortly thereafter (during the loading process), I DO know whether they have access or not to the particular tab. It's at this time when I'm attempting to disable (gray-out) the tab text, but nothing works.
I've tried setting the enabled property to false for the tab, but doing that does nothing to the tab text display, and users have no way of knowing they DO NOT have access to the tab other then by clicking into it and finding out that nothing works because all the controls have been disabled. Leaving the functionality this way is inadequate and out of spec.
-----Original Message----- I assume you don't know before loading the form which to enable/disable? Ifso a contructor passed a tabindex would work fine.
I also assume that you have tried setting the enabled property for theparticular tab page that you want disabled...
Is this true?
Shane "KMiller" <an*******@disc ussions.microso ft.com> wrote in messagenews:05******* *************** ******@phx.gbl. .. I would like to control entry into one or more of the tabs > I have set up on my Tab control based on set rules. Does > anyone know how to grey-out the text so that a user will > see that they do not have access to that particular tab? > > I tried setting the enabled = false for the given tab, but > it only seems to work in the form assembly section (that > is, if I do it after the form is loaded through a > function, it doesn't seem to work), and doing that > disables the controls on the tab, but does not grey out > the text of the tab display itself. > > Thanks > > K
.
You'll have to OwnerDraw the Tabs if that's the appearance you want.
Why not simply remove the Tabpages that the user has no access to?
"KMiller" <an*******@disc ussions.microso ft.com> wrote in message
news:00******** *************** *****@phx.gbl.. . At the time the form is assembled, I DO NOT know. However, shortly thereafter (during the loading process), I DO know whether they have access or not to the particular tab. It's at this time when I'm attempting to disable (gray-out) the tab text, but nothing works.
I've tried setting the enabled property to false for the tab, but doing that does nothing to the tab text display, and users have no way of knowing they DO NOT have access to the tab other then by clicking into it and finding out that nothing works because all the controls have been disabled. Leaving the functionality this way is inadequate and out of spec.
-----Original Message----- I assume you don't know before loading the form which to enable/disable? Ifso a contructor passed a tabindex would work fine.
I also assume that you have tried setting the enabled property for theparticular tab page that you want disabled...
Is this true?
Shane "KMiller" <an*******@disc ussions.microso ft.com> wrote in messagenews:05******* *************** ******@phx.gbl. .. I would like to control entry into one or more of the tabs > I have set up on my Tab control based on set rules. Does > anyone know how to grey-out the text so that a user will > see that they do not have access to that particular tab? > > I tried setting the enabled = false for the given tab, but > it only seems to work in the form assembly section (that > is, if I do it after the form is loaded through a > function, it doesn't seem to work), and doing that > disables the controls on the tab, but does not grey out > the text of the tab display itself. > > Thanks > > K
.
Mick,
I told her the same thing, but how do you draw them with the normal 3d
enabled look?
I tried drawstring using a layout rect and then offset(1,1) or offset(2,2)
on it and drew again using the same with a different color but it doesn't
work.
Also,
disabled means you shouldn't even be able to select the tab in the first
place. How can this be accomplished?
Thanks,
Shane
"Mick Doherty"
<EX***********@ AND.REMOVE.SQUA REBRACKETS.[mdaudi100#ntlwo rld.com]> wrote in
message news:ua******** *****@TK2MSFTNG P11.phx.gbl... You'll have to OwnerDraw the Tabs if that's the appearance you want. Why not simply remove the Tabpages that the user has no access to?
"KMiller" <an*******@disc ussions.microso ft.com> wrote in message news:00******** *************** *****@phx.gbl.. . At the time the form is assembled, I DO NOT know. However, shortly thereafter (during the loading process), I DO know whether they have access or not to the particular tab. It's at this time when I'm attempting to disable (gray-out) the tab text, but nothing works.
I've tried setting the enabled property to false for the tab, but doing that does nothing to the tab text display, and users have no way of knowing they DO NOT have access to the tab other then by clicking into it and finding out that nothing works because all the controls have been disabled. Leaving the functionality this way is inadequate and out of spec.
-----Original Message----- I assume you don't know before loading the form which to enable/disable? Ifso a contructor passed a tabindex would work fine.
I also assume that you have tried setting the enabled property for theparticular tab page that you want disabled...
Is this true?
Shane "KMiller" <an*******@disc ussions.microso ft.com> wrote in messagenews:05******* *************** ******@phx.gbl. .. > I would like to control entry into one or more of the tabs> > I have set up on my Tab control based on set rules. Does> > anyone know how to grey-out the text so that a user will> > see that they do not have access to that particular tab?> > > > I tried setting the enabled = false for the given tab, > but > > it only seems to work in the form assembly section (that> > is, if I do it after the form is loaded through a > > function, it doesn't seem to work), and doing that > > disables the controls on the tab, but does not grey out> > the text of the tab display itself. > > > > Thanks > > > > K >
.
Thanks for the responses to all..
Seems like a lot of trouble to execute a very simple
change. We purchases the Infragistics UltraDev suite a
while back, which includes a tab control, but we had not
been using it. I just checked it out and sure enough, it
grays-out the text by simply disabling the tab. I may
just swap out by MS tab for this one.
K -----Original Message----- Hi K,
wow, I see your point.
I thought I had it fixed in my app too but my titles
aren't disabled either. You can do ownerdrawn fixed and change the color of the
font easy enough. Private Sub TabControl1_Dra wItem(ByVal sender As Object,
ByVal e AsSystem.Windows .Forms.DrawItem EventArgs) Handles
TabControl1.Dra wItem Dim tp As TabPage Dim layoutrct As New RectangleF(e.Bo unds.Left,
e.Bounds.Top,e.Bounds.Width , e.Bounds.Height ) Dim sf As New StringFormat
(StringFormatFl ags.FitBlackBox ) sf.Alignment = StringAlignment .Center sf.LineAlignmen t = StringAlignment .Center
tp = TabControl1.Tab Pages(e.Index) If Not tp.Enabled Then 'for some reason not printing the 3-d part--tried
to print twicewith offset but no luck e.Graphics.Draw String(tp.Text, e.Font,
SystemBrushes.C ontrolLight,layoutrct) layoutrct.Offse t(2, 2) e.Graphics.Draw String(tp.Text, e.Font,
SystemBrushes.C ontrolDark,layoutrct) 'SolidBrush(e.B ackColor), layoutrct) Else e.Graphics.Draw String(tp.Text, e.Font,New
SolidBrush(e.Ba ckColor),layoutrct) End If End Sub
This works if items are not enabled. But there must be
an easier way--alsothey shouldn't even be able to click on the tab.
I haven't found out how to avoid that.
this is a really big pain for something simple--but it
seems that most ofthe control included are lacking in very bacic features
and require lots ofextra coding to just do standard things.
I hope you find an answer--I would also like to know.
Shane
"KMiller" <an*******@disc ussions.microso ft.com> wrote in
messagenews:00******* *************** ******@phx.gbl. .. At the time the form is assembled, I DO NOT know. However, shortly thereafter (during the loading
process), I DO know whether they have access or not to the particular tab. It's at this time when I'm attempting
to disable (gray-out) the tab text, but nothing works.
I've tried setting the enabled property to false for the tab, but doing that does nothing to the tab text
display, and users have no way of knowing they DO NOT have access to the tab other then by clicking into it and finding
out that nothing works because all the controls have been disabled. Leaving the functionality this way is inadequate and out of spec.
>-----Original Message----- >I assume you don't know before loading the form which
to enable/disable? If >so a contructor passed a tabindex would work fine. > >I also assume that you have tried setting the enabled property for the >particular tab page that you want disabled... > >Is this true? > >Shane >"KMiller" <an*******@disc ussions.microso ft.com> wrote
in message >news:05******* *************** ******@phx.gbl. .. >> I would like to control entry into one or more of the tabs >> > I have set up on my Tab control based on set rules. Does >> > anyone know how to grey-out the text so that a user will >> > see that they do not have access to that particular tab? >> > >> > I tried setting the enabled = false for the given
tab, >> but >> > it only seems to work in the form assembly section (that >> > is, if I do it after the form is loaded through a >> > function, it doesn't seem to work), and doing that >> > disables the controls on the tab, but does not grey out >> > the text of the tab display itself. >> > >> > Thanks >> > >> > K >> > > >. >
.
Your reply was close. Use ControlPaint.Dr awStringDisable d() not
Graphics.DrawSt ring() twice.
As for not being able to select Disabled Tabpages, that can be emulated,
although I feel it is better to remove the TabPage than display it as
Disabled.
Code follows:
\\\
Private ValidPageIndex As Integer = 0
Private Sub TabControl1_Dra wItem(ByVal sender As Object, _
ByVal e As System.Windows. Forms.DrawItemE ventArgs) _
Handles TabControl1.Dra wItem
Dim CurrentTabPage As TabPage = TabControl1.Tab Pages(e.Index)
Dim r As RectangleF = RectangleF.op_I mplicit(e.Bound s)
Dim ItemBrush As New SolidBrush(TabC ontrol1.BackCol or)
Dim TextBrush As New SolidBrush(TabC ontrol1.ForeCol or)
Dim sf As New StringFormat
sf.Alignment = StringAlignment .Center
sf.LineAlignmen t = StringAlignment .Center
e.Graphics.Fill Rectangle(ItemB rush, e.Bounds)
If CurrentTabPage. Enabled = False Then
ControlPaint.Dr awStringDisable d(e.Graphics, _
CurrentTabPage. Text, _
e.Font, _
ItemBrush.Color , _
r, sf)
Else
e.Graphics.Draw String(CurrentT abPage.Text, _
e.Font, _
TextBrush, _
r, sf)
End If
End Sub
Private Sub TabControl1_Sel ectedIndexChang ed(ByVal sender As Object, _
ByVal e As System.EventArg s) _
Handles TabControl1.Sel ectedIndexChang ed
If TabControl1.Sel ectedTab.Enable d = False Then
TabControl1.Sel ectedIndex = ValidPageIndex
Else
ValidPageIndex = TabControl1.Sel ectedIndex
End If
End Sub
Private Sub Form1_Load(ByVa l sender As System.Object, _
ByVal e As System.EventArg s) _
Handles MyBase.Load
TabPage2.Enable d = False
End Sub
///
"SStory" <Th*******@TAKE OUTTHISSPAMBUST ERsofthome.net> wrote in message
news:uZ******** ******@TK2MSFTN GP12.phx.gbl... Mick,
I told her the same thing, but how do you draw them with the normal 3d enabled look?
I tried drawstring using a layout rect and then offset(1,1) or offset(2,2) on it and drew again using the same with a different color but it doesn't work.
Also, disabled means you shouldn't even be able to select the tab in the first place. How can this be accomplished?
Thanks,
Shane
cool, never have noticed that method.
This should have been implemented in the control to begin with.
Thanks,
Shane
"Mick Doherty"
<EX***********@ AND.REMOVE.SQUA REBRACKETS.[mdaudi100#ntlwo rld.com]> wrote in
message news:eg******** ********@tk2msf tngp13.phx.gbl. .. Your reply was close. Use ControlPaint.Dr awStringDisable d() not Graphics.DrawSt ring() twice. As for not being able to select Disabled Tabpages, that can be emulated, although I feel it is better to remove the TabPage than display it as Disabled.
Code follows:
\\\ Private ValidPageIndex As Integer = 0
Private Sub TabControl1_Dra wItem(ByVal sender As Object, _ ByVal e As System.Windows. Forms.DrawItemE ventArgs) _ Handles TabControl1.Dra wItem
Dim CurrentTabPage As TabPage = TabControl1.Tab Pages(e.Index) Dim r As RectangleF = RectangleF.op_I mplicit(e.Bound s) Dim ItemBrush As New SolidBrush(TabC ontrol1.BackCol or) Dim TextBrush As New SolidBrush(TabC ontrol1.ForeCol or) Dim sf As New StringFormat
sf.Alignment = StringAlignment .Center sf.LineAlignmen t = StringAlignment .Center
e.Graphics.Fill Rectangle(ItemB rush, e.Bounds)
If CurrentTabPage. Enabled = False Then ControlPaint.Dr awStringDisable d(e.Graphics, _ CurrentTabPage. Text, _ e.Font, _ ItemBrush.Color , _ r, sf) Else e.Graphics.Draw String(CurrentT abPage.Text, _ e.Font, _ TextBrush, _ r, sf) End If
End Sub
Private Sub TabControl1_Sel ectedIndexChang ed(ByVal sender As Object, _ ByVal e As System.EventArg s) _ Handles TabControl1.Sel ectedIndexChang ed
If TabControl1.Sel ectedTab.Enable d = False Then TabControl1.Sel ectedIndex = ValidPageIndex Else ValidPageIndex = TabControl1.Sel ectedIndex End If End Sub
Private Sub Form1_Load(ByVa l sender As System.Object, _ ByVal e As System.EventArg s) _ Handles MyBase.Load TabPage2.Enable d = False End Sub ///
"SStory" <Th*******@TAKE OUTTHISSPAMBUST ERsofthome.net> wrote in message news:uZ******** ******@TK2MSFTN GP12.phx.gbl... Mick,
I told her the same thing, but how do you draw them with the normal 3d enabled look?
I tried drawstring using a layout rect and then offset(1,1) or
offset(2,2) on it and drew again using the same with a different color but it
doesn't work.
Also, disabled means you shouldn't even be able to select the tab in the first place. How can this be accomplished?
Thanks,
Shane
That or you could try to make your own control inheriting from the tab
control, "K's Tab Control"
Just add that functionality and display some interface for disabling
tabs....
You're right it's a pain and like most things I've found in .net, is a
standard expectation that should have been implemented in the original
control. (guess they want to make sure you go with 3rd part vendors and not
put them out of business or something.) Still there is lots of room for 3rd
party controls and I agree with you that things like this are just bare
minimum expected behaviors.
Removing the tab does seem to be a lot easier. I suggest that route unless
you want to make your own reusuable control--which shouldn't be too hard....
;) maybe.
Shane
"KMiller" <an*******@disc ussions.microso ft.com> wrote in message
news:01******** *************** *****@phx.gbl.. . Thanks for the responses to all..
Seems like a lot of trouble to execute a very simple change. We purchases the Infragistics UltraDev suite a while back, which includes a tab control, but we had not been using it. I just checked it out and sure enough, it grays-out the text by simply disabling the tab. I may just swap out by MS tab for this one.
K -----Original Message----- Hi K,
wow, I see your point.
I thought I had it fixed in my app too but my titles aren't disabled either. You can do ownerdrawn fixed and change the color of the
font easy enough. Private Sub TabControl1_Dra wItem(ByVal sender As Object,
ByVal e AsSystem.Windows .Forms.DrawItem EventArgs) Handles TabControl1.Dra wItem Dim tp As TabPage Dim layoutrct As New RectangleF(e.Bo unds.Left, e.Bounds.Top,e.Bounds.Width , e.Bounds.Height ) Dim sf As New StringFormat (StringFormatFl ags.FitBlackBox ) sf.Alignment = StringAlignment .Center sf.LineAlignmen t = StringAlignment .Center
tp = TabControl1.Tab Pages(e.Index) If Not tp.Enabled Then 'for some reason not printing the 3-d part--tried to print twicewith offset but no luck e.Graphics.Draw String(tp.Text, e.Font, SystemBrushes.C ontrolLight,layoutrct) layoutrct.Offse t(2, 2) e.Graphics.Draw String(tp.Text, e.Font, SystemBrushes.C ontrolDark,layoutrct) 'SolidBrush(e.B ackColor), layoutrct) Else e.Graphics.Draw String(tp.Text, e.Font,New SolidBrush(e.Ba ckColor),layoutrct) End If End Sub
This works if items are not enabled. But there must be an easier way--alsothey shouldn't even be able to click on the tab.
I haven't found out how to avoid that.
this is a really big pain for something simple--but it seems that most ofthe control included are lacking in very bacic features and require lots ofextra coding to just do standard things.
I hope you find an answer--I would also like to know.
Shane
"KMiller" <an*******@disc ussions.microso ft.com> wrote in messagenews:00******* *************** ******@phx.gbl. .. At the time the form is assembled, I DO NOT know. However, shortly thereafter (during the loading process), I DO know whether they have access or not to the particular tab. It's at this time when I'm attempting to disable (gray-out) the tab text, but nothing works.
I've tried setting the enabled property to false for the tab, but doing that does nothing to the tab text display, and users have no way of knowing they DO NOT have access to the tab other then by clicking into it and finding out that nothing works because all the controls have been disabled. Leaving the functionality this way is inadequate and out of spec.
>-----Original Message----- >I assume you don't know before loading the form which to enable/disable? If >so a contructor passed a tabindex would work fine. > >I also assume that you have tried setting the enabled property for the >particular tab page that you want disabled... > >Is this true? > >Shane >"KMiller" <an*******@disc ussions.microso ft.com> wrote in message >news:05******* *************** ******@phx.gbl. .. >> I would like to control entry into one or more of the tabs >> > I have set up on my Tab control based on set rules. Does >> > anyone know how to grey-out the text so that a user will >> > see that they do not have access to that particular tab? >> > >> > I tried setting the enabled = false for the given tab, >> but >> > it only seems to work in the form assembly section (that >> > is, if I do it after the form is loaded through a >> > function, it doesn't seem to work), and doing that >> > disables the controls on the tab, but does not grey out >> > the text of the tab display itself. >> > >> > Thanks >> > >> > K >> > > >. >
. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Akbarr |
last post by:
I'm using JAI for reading Tiff images: black and white, 1 bit depth. I
want to scale them to reduce their size, but I want to do
antialiasing. If I scale them as they are (using the scale operator)
the images remain b/w and no antialiasing is done (I'm using bilinear
interpolation).
So I'm trying to convert the image to gray before scaling. But an
exception raises when trying to do the ColorConvert operation, because
"the number of...
|
by: Ken North |
last post by:
There will be a panel discussion on March 15 that's a special event at Software
Development 2004 --
it's free to anyone who pre-registers for an expo pass.
"Software Trends: Marrying SQL, XML, Web Services and Grid Computing"
When: March 15, 2004, 5:15 - 6:15 pm
Where: Software Development 2004
Santa Clara Convention Center
|
by: Ken North |
last post by:
If you are in Silicon Valley on March 15, you might want to attend a panel
discussion about the marriage of SQL, XML, web services and grid computing.
Admission is FREE if you register online for the Software Development 2004 Expo
pass.
The panel includes the original enterprise Java architect, the editor of the SQL
standard, a co-inventor of XQuery, a leading technology writer, a distinguished
database researcher, and a Turing Award...
|
by: susie_richie_30 |
last post by:
Hi,
I am trying to apply gray scaling to color as well as black/white
images.
I have tried using the pixel by pixel approach to achieve the
scaling. But the particular approach has a issue with high mega pixel
images.
Is there any other approach that can be applied to achieve the gray
scaling and also have a reasonable performance?
|
by: Michael A. Covington |
last post by:
Often we need to make a TreeView with checkboxes that have more than 2
states. Consider for example the TreeView of files and folders in a tape
backup program. If the subordinate nodes of a particular node are partly
checked and partly unchecked, then the node itself has a gray checkmark.
I've hit on a way to do this with pure .NET functions, without using Win32
HitTest. See:
...
| |
by: Srinivas Rao \(Rbin/eds2\) |
last post by:
HI all,
Can any one tell me what the term "gray coding" mean in C programming.
with regards,
K Srinivas
|
by: Dana Epp |
last post by:
I have a ToolBarButton that when I set it to disabled (button.Enabled =
false;) causes a really ugly gray masking effect to take place. This is
normal and the intended way of the button, but I would like to clean it up.
Instead of using the gray mask, I want to use my own grayscaled high quality
image. I thought by simply setting button.ImageIndex = new_num; (where
new_num is the index of the grayscale image) I could do this. But alas, that...
|
by: udir |
last post by:
Hi all,
I have a ToolBar on my form. Each button associated to an image from an
ImageList.
Why when I disable the button, the button becomes all gray ( and not
grayscale image ) ?
Do I have to apply a second grayscale image for each button for disable mode ?
|
by: Flores Eken |
last post by:
Hi group,
I've made my own implementation of the Time Tracker ASP.NET
starterkit, added several features and extra's, works like a charm.
Now i've uploaded it to my hosting account, to be able to share it
with my co-workers, so far no problem... still works like a charm.
Until I tried to access the application over HTTPS (SSL).. logon works
great, main form is displayed and everything looks good, until a
button is pressed that performs...
|
by: allanon76 |
last post by:
I need to create an Image with more then 256 gray scale.
this is my code, i've some problem setting correctly the pixel value.
any idea?
There is another way to create an image with more then 256 gray
Bitmap myBitmap = new
Bitmap(256,256,PixelFormat.Format64bppArgb);
BitmapData bmd = myBitmap.LockBits(new
|
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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,...
|
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,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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...
|
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();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 we have to send another system
| |