Vb.net HMI like graphic - vb.net

i would like to make a very simple HMI where i use picturebox (no fancy ) as simple and link them together , the problem is that the pictures of symbols i use (although i use png with tranparent background ) when placed in a picturebox and needed to be on top of each others (in case for example a valve to be linked with a pipeline ) the picturebox on top will hide some of the other one's details and block it so it doesn't look like one piece and something is missed .
i don't know what i really can do exactly to get rid of that
any sugestions are more than welcome
thanks in advance

It will be hard to place an control with layerd, but a best way is to create a new shape (with gdi+ drawing) on the canvas, with that, you can layer it as you want.
You can use Qt or exd++ or Visual Basic.net

Related

I want to make VB.NET effects

I want to write a program that creates cool effects in VB.NET.
Few example of what the program should do:
How to make an intro to my program? I know how to make a splash form but can I put an animated logo?
I want to put effects to buttons, such as the effects in the (HTML-CSS) websites, and also in the professional programs.
Finally , Can I make notification-icon (Tool-Tip), like Avast 2015 ? > http://imgur.com/65DbXoN
You might be able to modify a splash screen for an animated logo. Try using a picture box with a logo picture in a .gif format. However I've never tried that before.(Worth a shot tho)
For button effects there are many ways to do it. You can add sounds, add pictures/icons,ect.
I've never done much with tool tips before, however they can be done. To make them look like the image you provided, I don't think would be easy.

Windows like window look

I am looking on the internet for two days to create a form with the extended titlebar (to have the left, right and an search-bar) and the sidebar. I extracted 3 background images from shell32.dll that are used in the sidebar.
I'd like to know if I could namespace some shell objects or is there a solution. I really would like to see this happening.
Thank you.
Code Project, non-client area. I know it's not VB, but maybe enough to glean what you need.

Creating chess graphics in Visual Basic

I am creating a multiplayer chess game in Visual Basic.Net and I need to create tiles for the game.
Earlier, I used buttons for the tiles, but then I realized that not only did they look ugly, but the coding part also became a problem. Also, the images of the chess pieces didn't properly fit on the buttons and they became distorted. Also, shifting the image to a different button every time a move was played also became very inefficient.
So, in view of these difficulties, I want to build a proper board, but I have no idea where to start from or what controls to use for the design. Any suggestions?
A Chess Program using VB.NET : http://www.vbdotnetheaven.com/UploadFile/kaushalgol/ChessProgramInVB11142005235115PM/ChessProgramInVB.aspx
This was coded in VB6 : http://freesourcecodevisualbasic.blogspot.se/2011/07/source-code-2-player-chess.html
You don't wany to use controls for the pieces you should just draw the image directly onto your form. You then have full control of exactly where everything is drawn.
You need to hold some form of data structure that 'remembers' where all your pieces are.
Have a look at this link to GDI+ to help get you started
I would suggest it might be too complicated for a school project. Maybe if you reduce the scope - try for just human vs human.
Anyway,
The chess programming wiki
Bruce Moreland's old page on MinMax and other adversarial search algorithms
I have more links but i cant post any links anymore. It's limited to 2 links only. Im sorry.

How to animate group of images in winform application using VB.Net

I am trying to load bulk images and trying to put them as a slideshow and it's working fine.
Now I would like to have some effects like flip out,ease out effect and fade effect on those images when changing them without using any user control as I would like to do with the existing picturebox.Is it possible to do so?
If so can anyone point me to some resources.
As I have done googling and found some useful links and I am placing here that might helpful to someone.And all these have use seperate usercontrols to do, and I am not looking into that.
http://code.google.com/p/dot-net-transitions/
http://www.codeproject.com/KB/cpp/fluid_effect.aspx
The built-in picture box has no such capability. Your solution will require custom-drawing regardless what control you use (assuming you don't get a 3rd party product).

BitBlting with Windows Aero

For months now, I have been trying to solve a problem regarding rendering images properly onto Aero glass. From what I have gathered so far, to do this you need to render the graphics object as a bitmap, because the Aero requires an alpha channel. To be more specific, what I am trying to do is make a perfect, non-flicker text box ( and other controls). I do not want to fall back to rendering part of the form aero, as I may want more than one text box. Also, the DrawToBitmap function works, but is far too slow, which is why I want to accomplish this with BitBlt.
What I have right now, is the Graphics control of a TextBox, stored as a IntPtr. How do I take this graphics control, load it into a Bitmap, and draw that Bitmap with BitBlt? (or as the link suggests, fixing the alpha value of the Graphics object)
So my question is, is there anyway to do this with Visual Basic 2010 .NET?
If anyone can answer this question, provide input, or a equivalent alternative, I'd be very grateful.
Here is a link to a previous thread I have made, which describes the problem in much more detail:
http://social.msdn.microsoft.com/Forums/en-US/Vsexpressvb/thread/f0e9fa0c-9535-4cdb-826f-673ef58c408a
Best regards,
Jake M.
P. S.
This link has helped greatly, and addresses my problem. However the solution on the very last post seems to be what I am looking for, however I have no idea how to convert that into visual basic.
Aero: How to draw solid (opaque) colors on glass?