Click here to Skip to main content
15,898,945 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: VS2015 data source connection wizard error Pin
Dave Kreskowiak3-Nov-17 12:36
mveDave Kreskowiak3-Nov-17 12:36 
QuestionEMAIL ARCHIVE Pin
Member 1277093031-Oct-17 4:58
Member 1277093031-Oct-17 4:58 
AnswerRe: EMAIL ARCHIVE Pin
OriginalGriff31-Oct-17 4:58
mveOriginalGriff31-Oct-17 4:58 
AnswerRe: EMAIL ARCHIVE Pin
Maciej Los31-Oct-17 10:24
mveMaciej Los31-Oct-17 10:24 
QuestionVb.net Pin
Member 1312553228-Oct-17 2:18
Member 1312553228-Oct-17 2:18 
AnswerRe: Vb.net Pin
Eddy Vluggen28-Oct-17 4:29
professionalEddy Vluggen28-Oct-17 4:29 
AnswerRe: Vb.net Pin
Dave Kreskowiak28-Oct-17 4:32
mveDave Kreskowiak28-Oct-17 4:32 
QuestionOnPaintBackground and transparency Pin
Harpee27-Oct-17 22:24
Harpee27-Oct-17 22:24 
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 :

VB
Protected Overrides Sub 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))

 End Sub

AnswerRe: OnPaintBackground and transparency Pin
Dave Kreskowiak28-Oct-17 4:16
mveDave Kreskowiak28-Oct-17 4:16 
QuestionUse a custom cursor from a filr Pin
Asanka Akash Sovis26-Oct-17 22:46
professionalAsanka Akash Sovis26-Oct-17 22:46 
AnswerRe: Use a custom cursor from a filr Pin
Richard MacCutchan26-Oct-17 23:18
mveRichard MacCutchan26-Oct-17 23:18 
GeneralRe: Use a custom cursor from a filr Pin
Asanka Akash Sovis27-Oct-17 2:43
professionalAsanka Akash Sovis27-Oct-17 2:43 
GeneralRe: Use a custom cursor from a filr Pin
Richard MacCutchan27-Oct-17 5:03
mveRichard MacCutchan27-Oct-17 5:03 
GeneralRe: Use a custom cursor from a filr Pin
Asanka Akash Sovis27-Oct-17 17:21
professionalAsanka Akash Sovis27-Oct-17 17:21 
GeneralRe: Use a custom cursor from a filr Pin
Richard MacCutchan27-Oct-17 22:17
mveRichard MacCutchan27-Oct-17 22:17 
QuestionRe: Use a custom cursor from a filr Pin
Eddy Vluggen28-Oct-17 4:30
professionalEddy Vluggen28-Oct-17 4:30 
PraiseRe: Use a custom cursor from a filr Pin
Asanka Akash Sovis28-Oct-17 19:52
professionalAsanka Akash Sovis28-Oct-17 19:52 
GeneralRe: Use a custom cursor from a filr Pin
Eddy Vluggen29-Oct-17 0:18
professionalEddy Vluggen29-Oct-17 0:18 
PraiseRe: Use a custom cursor from a filr Pin
Asanka Akash Sovis31-Oct-17 20:26
professionalAsanka Akash Sovis31-Oct-17 20:26 
Questionvb.net edit Pin
dcof26-Oct-17 11:14
dcof26-Oct-17 11:14 
AnswerRe: vb.net edit Pin
Richard MacCutchan26-Oct-17 11:40
mveRichard MacCutchan26-Oct-17 11:40 
AnswerRe: vb.net edit Pin
Maciej Los26-Oct-17 19:46
mveMaciej Los26-Oct-17 19:46 
GeneralRe: vb.net edit Pin
dcof27-Oct-17 3:56
dcof27-Oct-17 3:56 
Questionschool database Pin
Member 1348620526-Oct-17 0:20
Member 1348620526-Oct-17 0:20 
AnswerRe: school database Pin
Sascha Lefèvre26-Oct-17 1:05
professionalSascha Lefèvre26-Oct-17 1:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.