1) DON'T SHOUT. Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalization if you want to be taken seriously.
2) It doesn't quite work like that.
We do not do your work for you.
If you want someone to write your code, you have to pay - I suggest you go to Freelancer.com and ask there.
But be aware: you get what you pay for. Pay peanuts, get monkeys.
The idea of "development" is as the word suggests: "The systematic use of scientific and technical knowledge to meet specific objectives or requirements." BusinessDictionary.com[^]
That's not the same thing as "have a quick google and give up if I can't find exactly the right code".
So either pay someone to do it, or learn how to write it yourself. We aren't here to do it for you.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
Hi there. Simple question or so I hope. I have two forms. Form1 is showing a directshow video stream. The second, form2, overlaid, is basically a splashscreen, adobe photoshop style, with transparency. Both forms work fine. HOWEVER, the transparency is only rendered for the first frame as form2 is displayed. Then, as the video changes behind it, the form2 region is not updated (ie the transparent bits remain what was on the screen when it was first drawn, almost as if it was a screen grab)
I am assuming it is because the OnPaintBackground sub which paints the transparent form is only called once, as the form loads. So how can I keep it updating so that the actual live video shows thru the transparent bits? This is what I have :
ProtectedOverridesSub OnPaintBackground(ByVal pevent As System.Windows.Forms.PaintEventArgs)
Dim gfx As dra.Graphics = pevent.Graphics
Dim IMA As Image
IMA = Image.FromFile("D:\WORK\myfile.png", True)
gfx.DrawImage(IMA, New dra.Rectangle(0, 0, Me.Width, Me.Height))
You can't do it using a transparent form. The form overlaying the video is a control that is never repainted, which has to be done ON EVERY FRAME OF VIDEO.
You have no way of getting that notification and, frankly, in Windows Forms, the performance hit is ridiculous and won't be able to keep up with the video.
The proper way to do this would be a filter that draws the overlay in the graph that is loading, decoding, mixing, and rendering the video/audio. There may be libraries out there that make this easier, like possibly Overlay.NET.
I've never used any of them, so don't ask.
System.ItDidntWorkException: Something didn't work as expected.
How exactly do you think changing the extension on a file name will affect the content? Follow the link I provided and see what you need to do to read a cursor file and interpret (and display) its content. .NET even contains a class to do most of the work for you: Cursor Class (System.Windows.Forms)[^].
Thank you I'll refer to it! But I tried to load a cursor file using these methods, it didn't give any errors but at runtime it says that the cursor file is damaged. I even tried system cursor files! I just want to give a preview of the cursor to the user, changing the mouse pointer is enough, don't need to view a preview on a picture box.
that was files by the way, i've mistakenly typed it as filr!
Could have been some new kind of file-type I never heard of
Member 12901689 wrote:
Yeah youre right i should just stick to the lessons rather than try to do new things,
Not everyone is here to learn; some people get impatient if they don't make any progress. If you change your username to something that I can remember, then I'll try to be answering with a bit more detail next time
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
In a vb.net 2010 application, I have the following code setup so far:
Dim _dtEmailaddress As DataTable = SelectEmailAddress(_dtPersonID(0)("SPA_PersonID"))
Dim _email As String = String.Empty
If _dtEmailaddress.Rows.Count >0 Then
If IsDBNull((_dtEmailaddress(0)("email"))) Then
_letter = _letter.Replace("&SPA_EMAIL.EVAL", "")
_letter = _letter.Replace("&SPA_EMAIL.EVAL", _dtEmailaddress(0)("email"))
I need to be able to check for email addresses that end with '@opd.org' in the reference called _dtEmailaddress(0)("email").
Thus can you show me the vb.net code so I would know how to use only email addresses that end with '@opd.org'?