Search Results - VBForums

Search:

Type: Posts; User: 12padams

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Re: Embed or Host a 3rd party app in a panel?

    Ok, never mind I figured out how to remove the window borders and stuff but If I put a warning in my program saying "Do not use this application to host other applications if their license forbids...
  2. Re: Embed or Host a 3rd party app in a panel?

    So basically this simple task of displaying a random 3rd party application in a panel is illegal and impossible?

    What about the person who made this control which is unfortunately in C#:...
  3. Re: Embed or Host a 3rd party app in a panel?

    Basically the user will be able to browse for a exe file already on their computer and display it in a window. So I'm not including any .exe files with my program, the user will choose them from...
  4. Embed or Host a 3rd party app in a panel?

    So lets say you have a form with a panel inside it called pgcontents and you want a program such as notepad.exe to display in the panel in a borderless state. I know this is possible but I'm having...
  5. Re: Draw pixelated ellipses and lines on the form?

    Thanks, it works perfectly and since its drawn onto that extra canvas I don't need all those corrections anymore but there is one last issue... if you draw and click really fast you get a double...
  6. Re: Draw pixelated ellipses and lines on the form?

    The picturebox is set to normal, not stretch so that's not the problem. Also I couldn't post all the code, it said my post contained too many characters. I also can't post the file as it's part of a...
  7. [RESOLVED] Draw pixelated ellipses and lines on the form?

    Just before I ask my next question I want to commend the members on this forum for the excellent help they have provided for me since I have signed up.

    Anyway, I'm having more issues with my...
  8. Re: misaligned GDI+ drawing preview?

    Yay, works perfectly, thanks!
  9. Re: misaligned GDI+ drawing preview?

    The problem is that I then get an error when trying to draw a rectange:



    It won't let me draw a rectangle because drawrectangle wants a Rectangle, not a RectangleF...
  10. Re: misaligned GDI+ drawing preview?

    I've tried making them singles and putting in the following code but the results are identical and make absolutely no difference. The square still shifts its position when I stop drawing it...

    If...
  11. Re: misaligned GDI+ drawing preview?

    I've been trying a bunch of things... This doesn't work either:


    If currentlydrawingsquare = True Then
    Dim CurrentPen = New Pen(Color.FromArgb(255, drawingcolour), pencilwidth)
    ...
  12. Re: misaligned GDI+ drawing preview?

    Well that should work but... rectanglestartingpointX is an integer... so it can't be equal to .5. I also can't make it a single or double because e.graphics.drawrectangle then gets annoyed with me...
  13. [RESOLVED] misaligned GDI+ drawing preview?

    As part of a drawing application I am trying to make a square tool where you draw a square and as you do so see a live preview of it.

    The final drawing of the square gets drawn onto a bitmap...
  14. Re: Undo Painting (revert to previous bitmap)?

    Thanks, the following code fixed the problem when I inserted it at the end of the undo and redo button code:


    graphicsbitmap = Graphics.FromImage(canvasbitmap)
  15. Re: Undo Painting (revert to previous bitmap)?

    Wow this working brilliantly however there is just one problem. I can go back and forward through the history of my program by clicking undo and redo however once I have clicked on the undo or redo...
  16. Undo Painting (revert to previous bitmap)?

    I'm making a paint program where the image the user is creating is a bitmap that is displayed in a picture box. I'm mananging to make tools, the ability to save/load, change colours and tool...
  17. Re: Zoom a bitmap in a picturebox with full pixelation?

    EDIT: This line of code fixed my problem with the mouse alignment:

    thisPoint.X = CInt((e.Location.X - (magnificationlevel / 2)) / magnificationlevel)
    thisPoint.Y =...
  18. Zoom a bitmap in a picturebox with full pixelation?

    As part of a game I am making I am developing a tool that allows you to create simple graphics. Here is my freehand design plan:
    http://i.imgur.com/gszD17v.png

    Anyway most of the graphics people...
  19. Re: Convert a Winform Application to WPF bit by bit?

    I'm not a programmer and don't have time to do a whole rewrite of ShiftOS and learn an entire new language. The only reason I was going to convert to WPF was because I had a few graphical bugs and...
  20. Re: Convert a Winform Application to WPF bit by bit?

    Everything seems totally different. For example I can't figure out what to do with:

    Public skinclosebuttonstyle As ImageLayout = ImageLayout.Stretch
    Apparently ImageLayout is not defined... What...
  21. Convert a Winform Application to WPF bit by bit?

    I have been developing a game simulating the use of another operating system called "ShiftOS" in VB.Net with winforms. The desktop is a full screen borderless form overlapping the users real desktop...
  22. Replies
    15
    Views
    438

    Re: Tranparency problems?

    I think I'll go with WPF, I'll spend 3 months ironing out the bugs and adding the last few features so I can release a solid stable beta of ShiftOS and have something stable to convert from.

    Could...
  23. Replies
    15
    Views
    438

    Re: Tranparency problems?

    I'll definitely consider WPF now but just opening a new WPF application freaked me out like crazy, it's a whole new design interface and I couldn't find a form load event.

    Let me ask one more...
  24. Replies
    15
    Views
    438

    Re: Tranparency problems?

    So I've been thinking... Maybe I should switch to WPF forms rather than the "old" (according to what I have been reading) winforms. So let me ask some questions:

    - Will I have to scrap or...
  25. Replies
    15
    Views
    438

    Re: Tranparency problems?

    Ah ok, ill try it out when I get on my computer next. Thanks :)

    The only problem is what will happen if an object such as a close button is placed in between the corner of the titlebar and...
  26. Replies
    15
    Views
    438

    Re: Tranparency problems?

    Trust me, I could change the desktop background to blue and it would still display the background of the title bar rather than the background of the title bar corners or the desktop background. The...
  27. Replies
    15
    Views
    438

    Tranparency problems?

    I'm developing a free game called ShiftOS where the game environment is set in an evolving, highly customizable operating system called ShiftOS. I won't go too much into that though as you don't...
  28. Replies
    2
    Views
    205

    Re: A bug in my TaskBar Simulator

    So would I be able to stick my current taskbar buttons (panels) into a flow layout panel? I'll go look up flow layout panels now ;)
  29. Replies
    2
    Views
    205

    [RESOLVED] A bug in my TaskBar Simulator

    I'm currently developing a free game called ShiftOS and the game environment is set within a simulated operating system. I'm currently attempting to simulate the taskbar buttons feature that allows...
  30. VS 2012 Re: vb.net incorrectly changing an image varible

    Thank You for your help, It is greatly appreciated ;)

    P.S I was suffering from another bug and uploaded the image below however It's not needed anymore. I realized I had just put the skins...
  31. VS 2012 vb.net incorrectly changing an image varible

    This is the first major bug I have encountered with visual studio 2012 which is making my current project impossible to code...

    Basically I have a variable that stores an image in a form called...
  32. Replies
    0
    Views
    132

    Images for toolstrip menu item?

    Within a game I am making I am allowing the user to set a custom image for the "App Launcher" button. The button itself is not actually a button, instead it is a toolstrip menu item that lists a...
  33. Replies
    11
    Views
    331

    Re: Image not stretching properly

    Hmm... I put the following code in the clock form and it seems to be giving a result much better than what I had before but it still seems just the slightest bit off don't you think?



    ...
  34. Replies
    11
    Views
    331

    Re: Image not stretching properly

    As you can see the 3 pixels are not evenly distributed across the top. The first red pixel is barely taking up much space at all and the last red pixel is taking up way too much space. The black...
  35. Replies
    11
    Views
    331

    Image not stretching properly

    Hey there, I am developing a game set within an operating system that allows users to draw their own skins.

    I currently have borderless forms and at the top there is a titlebar (panel) that allows...
  36. VS 2012 Re: Use code on multiple forms without copying it? inheritance?

    So lets say that code I shared in the first post is within a form called "template". I then want to use that in a form called "textpad" and "clock" and "Shifter" and 10 other forms... how do I do...
  37. VS 2012 Use code on multiple forms without copying it? inheritance?

    Hey there, I'm working on a game set in a simulated computer environment. I've made a template forum which I use to copy and paste the code from to every single form. Here's a small bit of the code I...
  38. VS 2012 Re: Listbox click on no item issue?

    Thanks for your help guys ;)
  39. VS 2012 Re: Listbox click on no item issue?

    Ah, so I should only have all that done if the selected index is -1? Thanks, that's simple
  40. VS 2012 [RESOLVED] Listbox click on no item issue?

    So I have a game with an upgrade system. You select the upgrades from a listbox then it calculates what information about the upgrade to display depending on the selected upgrade in the listbox.
    ...
Results 1 to 40 of 69
Page 1 of 2 1 2



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.