473,732 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Transparent TextBox or background image

First off, excuse my English, is an online translation.

Hello. I've been looking for a long time over the Internet how to make a
"textbox" is transparent or having a background image, but I can not find,
just a website that allows a "textbox" is transaprente, but is in C (and not
I have no idea C). The Web is this:

http://www.codeproject.com/KB/edit/T...ntTextBox.aspx

I think that is an interesting feature that microsoft has not ever happened
(or so it seems). Anyway, if someone knows how to convert the C code to
VB.NET since it would be perfect.

Thank you all.
Jul 11 '08 #1
4 13468
On Jul 11, 9:59 pm, Kulber <Kul...@discuss ions.microsoft. comwrote:
First off, excuse my English, is an online translation.

Hello. I've been looking for a long time over the Internet how to make a
"textbox" is transparent or having a background image, but I can not find,
just a website that allows a "textbox" is transaprente, but is in C (and not
I have no idea C). The Web is this:

http://www.codeproject.com/KB/edit/T...ntTextBox.aspx

I think that is an interesting feature that microsoft has not ever happened
(or so it seems). Anyway, if someone knows how to convert the C code to
VB.NET since it would be perfect.

Thank you all.
You can check this out:
http://www.codeproject.com/KB/edit/a...ndtextbox.aspx

Hope this helps,

Onur Güzel
Jul 11 '08 #2
Hello Kulber,

if it's OK to use a RichTextBox rather than a plain TextBox,
then you might want to have a look here:
http://groups.google.com/group/micro...39d84d5267f255

Please note that for transparancy you cannot expect that you really
"look through" an object but only see the background (image) of it's
container. If you put it over a PictureBox for example, you will find
that the PictureBox is not necessarily updated as you need it. I
encountered this problem and put it (and the background image) onto a panel.

Best regards,

Martin

On 12.07.2008 02:59, wrote Kulber:
First off, excuse my English, is an online translation.

Hello. I've been looking for a long time over the Internet how to make a
"textbox" is transparent or having a background image, but I can not find,
just a website that allows a "textbox" is transaprente, but is in C (and not
I have no idea C). The Web is this:

http://www.codeproject.com/KB/edit/T...ntTextBox.aspx

I think that is an interesting feature that microsoft has not ever happened
(or so it seems). Anyway, if someone knows how to convert the C code to
VB.NET since it would be perfect.

Thank you all.
Jul 11 '08 #3
Also asked by that code for VB.NET that no wise convert from C, and gave me
the answer.

Thanks anyway.

This is the answer (is in Spanish):
.. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .

TEXT IN SPANISH:

Basandome en el link que pones encontre una solucion. Lo probe en VB 2008 y
me parece "bien"

http://www.codeproject.com/KB/edit/a...ndtextbox.aspx

Baja el codigo fuente, es para C# y VB

El codigo fuente es sencillo aunque no se si te sirva ya que ocupas agregar
una referencia a una DLL (que viene incluida en el codigo) y este codigo
para cada TextBox que quieras

Dim TextBox1 As New ZBobb.AlphaBlen dTextBox
TextBox1.BackAl pha = 70
TextBox1.ForeCo lor = System.Drawing. Color.Black
TextBox1.Locati on = New System.Drawing. Point(106, 48)
TextBox1.Name = "TextBox1"
TextBox1.Size = New System.Drawing. Size(150, 20)
TextBox1.Text = "TextBox1"
Controls.Add(Te xtBox1)

No se puede indicar (al menos eso vi en el ejemplo) que funcione sobre un
TextBox ya creado, sino creando uno desde 0 con puro codigo

Espero te sirva
Jul 13 '08 #4
I do not really understand that code
Jul 13 '08 #5

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

Similar topics

7
27551
by: Thomas Wieser | last post by:
Hi, my problem: I have some tables with transparent backgrounds, which are changed in colours within a JavaScript DOM function to have a roll-over effect. Now, i can't get them back transparent when leaving the mouse out of the rollover-box - background-color: none; seems not to work. Isn't it possible to do this with CSS?
8
10610
by: Grahammer | last post by:
Is it possible to set the background of a usercontrol as transparent? I tried setting the background image of the usercontrol to a transparent GIF, but that caused MAJOR problems. I'm making some controls that aren't rectangular and it won't be pretty if I end up with a grey rectangle behind each one. http://msdn.microsoft.com/library/en-us/vbcon/html/vbtskGivingYourControlTransparentBackground.asp?frame=true
4
2970
by: Andre Nogueira | last post by:
Hi there. I have one question... How can I create a bitmap (programmatically), paint it to a picture box and have a transparent background? I don't know what will be below the picturebox because the user can move it around, so there could be a textbox, another picture, a button or nothing below the picture box. Setting the background color of the bitmap and of the picturebox to color.transparent does not seem to work. Another...
2
10983
by: Martin | last post by:
I've been complaing about the VB2005 Help-Information (or rather the lack of it) before, but when I was looking how to set the backstyle of a label control to "Transparent" I found that the VB2005 documentation has reached an all-time low (please note the part about the z-order): MSDN: In Visual Basic 6.0, the BackStyle property of the Label control determines whether the label had a transparent background. Setting the BackStyle...
2
7826
by: edoepke | last post by:
VISUAL BASIC ONLY: I have Googled until my fingers are sore. Is there a way to make a ListBox or TextBox control transparent (ie: transparent background)? I know it's a function of Framework that doesn't allow this so please don't remind me. If it can be done in C, C# or C++ then it should be able to be done in VB 2005. Since I don't know C++ the code for C++ doesn't help me. (I should expect someone to tell me to learn C++ but my response...
11
8322
by: vbt | last post by:
I am having difficult time drawing a image using Visual Studio Image Editor. I can draw the image and save it as .bmp file load it into a pictureBox image but when the program is run the background of the bmp is not Transparent. How can I achieve a transparent background?
9
5870
by: Chuck Anderson | last post by:
Is it possible to overlay a transparent watermark on an image - dynamically? I'd like the result to look like this example: <http://www.cycletourist.com/temp/photo.php> That is a bit of overkill, but you can see what I mean. The watermark image (a png image) is included separately below the photo. I tried using a class from phpclasses.org <http://www.phpclasses.org/browse/package/1580.html...
3
2529
by: b2bwild | last post by:
Hi everyone :). I quite new in Flash 8 professional edition and I'm trying to Publish a Gif / Png image. I've selected the "Transparent" option in the Publish Settings for Gif but when I publish it, I see a solid white background and a slight grey background in PNG image. I want to put that gif image in my HTML page. I'm completely stuck. Please help me publishing a GIF / PNG image with transparent background. Thank you in advance :). ...
1
4028
by: deshg | last post by:
Hey everyone how are you all doing? I am trying to use the imagerotate GD function to place an image on top of another image at an angle. Obviously when it rotates an image it creates a rectangular image big enough to fit the angled image inside with the background colour of this defined in the third arg of imagerotate. The problem i'm having is i want to make this background colour transparent so when i copy it on top of my existing big...
0
8944
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9306
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
9234
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,...
1
6733
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
6030
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
4548
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...
1
3259
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
2
2721
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2177
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.