473,795 Members | 2,924 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

label transperent problem

Hi,
I want to put a label control on the windows media player and I
want it to be transperent. But it is not working. I even tried making
windows media player parent of the label.

Please let me know what am I doing wrong.
Thanks,
Nis

Dec 27 '06 #1
4 2330
Imonline,

To what you want it to be transparant, because it is transparant to your
form.

Most people show some code how they did it by the way, in that case maybe
some people see the trouble if that is there,

Cor

"imonline" <ni****@gmail.c omschreef in bericht
news:11******** *************@h 40g2000cwb.goog legroups.com...
Hi,
I want to put a label control on the windows media player and I
want it to be transperent. But it is not working. I even tried making
windows media player parent of the label.

Please let me know what am I doing wrong.
Thanks,
Nis

Dec 27 '06 #2
Hi Cor,
Thanks for the reply. I want it to be transperant to the windows media
player. The code I am using is as under:
Dim IMWMedia As WMPLib.IWMPMedi a
IMWMedia = WindowsMediaPla yer1.newMedia(A pplication.Star tupPath
& "\smooth.wm v")
'AxWindowsMedia Player1.setting s.autoStart = True
WindowsMediaPla yer1.currentMed ia = IMWMedia
Me.Label1.Paren t = Me.WindowsMedia Player1
Me.Label1.ForeC olor = Color.Black
Me.Label1.Text = "yo"

Please let me know what am I doing wrong.

Thanks,
Nis
Cor Ligthert [MVP] wrote:
Imonline,

To what you want it to be transparant, because it is transparant to your
form.

Most people show some code how they did it by the way, in that case maybe
some people see the trouble if that is there,

Cor

"imonline" <ni****@gmail.c omschreef in bericht
news:11******** *************@h 40g2000cwb.goog legroups.com...
Hi,
I want to put a label control on the windows media player and I
want it to be transperent. But it is not working. I even tried making
windows media player parent of the label.

Please let me know what am I doing wrong.
Thanks,
Nis
Dec 27 '06 #3
Imonline,

I am sorry, I don't know the answer on your question, but it is hard to
search as well.

If Herfried or Tom don't know the answer on this one, you probably can
forget it.
(This to show others if they have the answer not to be shy).

Cor

"imonline" <ni****@gmail.c omschreef in bericht
news:11******** **************@ 48g2000cwx.goog legroups.com...
Hi Cor,
Thanks for the reply. I want it to be transperant to the windows media
player. The code I am using is as under:
Dim IMWMedia As WMPLib.IWMPMedi a
IMWMedia = WindowsMediaPla yer1.newMedia(A pplication.Star tupPath
& "\smooth.wm v")
'AxWindowsMedia Player1.setting s.autoStart = True
WindowsMediaPla yer1.currentMed ia = IMWMedia
Me.Label1.Paren t = Me.WindowsMedia Player1
Me.Label1.ForeC olor = Color.Black
Me.Label1.Text = "yo"

Please let me know what am I doing wrong.

Thanks,
Nis
Cor Ligthert [MVP] wrote:
>Imonline,

To what you want it to be transparant, because it is transparant to your
form.

Most people show some code how they did it by the way, in that case maybe
some people see the trouble if that is there,

Cor

"imonline" <ni****@gmail.c omschreef in bericht
news:11******* **************@ h40g2000cwb.goo glegroups.com.. .
Hi,
I want to put a label control on the windows media player and I
want it to be transperent. But it is not working. I even tried making
windows media player parent of the label.

Please let me know what am I doing wrong.
Thanks,
Nis

Dec 27 '06 #4
in simplest terms the color of transparency is determined by the form it is
on.

Add your form, make it black (web) backcolor. add your WMP control. add your
label on top of the WMP, setting its backcolor to transparent.and forecolor
to white. Let me know what you get.

"imonline" <ni****@gmail.c omwrote in message
news:11******** *************@h 40g2000cwb.goog legroups.com...
Hi,
I want to put a label control on the windows media player and I
want it to be transperent. But it is not working. I even tried making
windows media player parent of the label.

Please let me know what am I doing wrong.
Thanks,
Nis

Dec 27 '06 #5

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

Similar topics

1
1457
by: Mark Denardo | last post by:
I stumbled across a weird problem that I don't seem to understand and was wondering if anyone could help explain why it is occurring: Basically I have set up a client/server application where the client and server communicate via a NetworkStream. My problem is on the Client side. The Client's "Main Thread" starts up a form (Form1) which then invokes a new thread I'll label as "Listening_Thread". This thread's sole purpose is to...
2
1067
by: Pumkin | last post by:
Hey guys, It appears to be a very simple problem, but I just cannot realize why it is happening. I have a HTMLTable in which I put 10 labels. Now, I'm trying to parse the collection and to put text on labels. Here is my code :
2
3763
by: Stone | last post by:
HI I am new to this forum. The problem I am facing is that when I do the coding for the label. The caption option doesnot appear in the drop down menu when I write the label name (e.g : lbldisplay.) .and if I type caption by myself it gives the error 'Caption' is not a member of 'System.window.forms.label'. I am using Express edition 2005 of VB.
3
6291
by: KenMacksey | last post by:
Hi I am running VB6 on a pentium 4 and Win XP pro. I wrote a small program to copy files to a memory card or mp3 player etc in a specific order or a random order instead of the windows default alphabetical order. Because the files take about 1 second to be copied, if there are 150 files, it takes about 150 seconds to copy them all. During this time, it appears as if nothing is happening, so I use a label that is constantly updated and...
3
5644
by: Ralph | last post by:
Hi I have small function to generate my form controls: function buildInput(sType, vValue, vId, sName, sLabel){ var oInput = null; var oLabel = document.createElement('label'); var oCont = document.createElement('span'); var oText = document.createTextNode(sLabel); oInput = document.createElement('<input type="'+ sType +'" name="'+ sName +'" />');
13
7779
by: AKHTAR ALI | last post by:
Dear Sir, i am reading a text file line by line from vb and insert in oracle table through pl/sql procedure. in text file record is 70000, in my code i make a loop to read data in loop and insert in a oracle through pl/sql procedure. in a loop i make a counter in the starting of loop set counter value=1 loop is run 70000 time becos data in text file is 70000. so i am display a label in the form the counter value display in label and...
10
5951
by: fieldling | last post by:
I have set up a query and a report using label wizard so that I can print the address details of the current record when viewed on a form. This works fine until I actually need to print: The printer I'm using is an Epson LQ-300, printing on continuous-feed labels (Avery 4013's I think). The problem I've got is that the following text is printed before each label: @EJL 1284.4 @EJL The address is then printed but is followed by approx 30...
0
1014
by: getnanda | last post by:
I have a TreeView control with more than 10000 TreeNodes in it. I have to update the text property of the each TreeNode. With c# we are using foreach loop to iterate through the TreeNodes and to change the Text property. But it takes lot of time. Is there any better way to do?. int count = 0; foreach (TreeNode tn in treeView1.nodes) { tn.text = "updatednode"+count.ToString(); } Can anybody suggest a better way to do this operation?
1
4899
by: Dude | last post by:
Hi All, I am fairly new to Python programming. I am working on a small Tkinter project and I think I am missing something, maybe you can help. The two lines below is all I have related to the Label widget: lblServer = Tkinter.Label(serverFrame, text='Server:', fg='black', justify='left', relief='groove') lblServer.place_configure(width=200, bordermode='inside')
0
9673
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
9522
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
10443
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
10216
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...
0
10002
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 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...
1
7543
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
6783
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();...
2
3728
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2921
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.