Search Results - VBForums

Search:

Type: Posts; User: 12padams

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    6,674

    Re: Window class for external windows

    This is just brilliant! How do you set the border-style on an external window to none though?
  2. VS 2012 Re: Get all window locations, sizes and names?

    Its for a different purpose all together, the user is not using this to skin their OS for those reasons, It's a feature in a game I'm making. But yes, I'm going for a windows blinds-like...
  3. VS 2012 Get all window locations, sizes and names?

    Lets just say you were trying to make an alternative window manager for the system so you made a borderless template form and designed your own buttons, title bar and so on and had the center of the...
  4. VS 2012 Playing 2 or more audio resources at once?

    4 hours and I've gotten no simple way of simply playing 2 audio resources at once which for a game is quite hopeless. For example lets say you hear the sound of a ball hitting a wall just as a power...
  5. VS 2012 Re: Saving a panel background image as a bitmap?

    Sigh, This is embarrassing. The folder didn't exist, I had to create it first.

    I assumed vb.net would automatically create the folder when I tried to save a file in a folder that didn't exist....
  6. VS 2012 [RESOLVED] Saving a panel background image as a bitmap?

    Usually I wouldn't ask for help with a matter as simple as this but visual studio is driving me nuts right now.

    I have a panel with a background image and I want that background image saved to a...
  7. Drawing a moving object with minimal lag?

    I'm trying to make a simple game (game in a game to be exact) where you are a car moving along a road dodging other cars.

    I always have trouble however with vb.net and GDI+ because its sooooo...
  8. VS 2012 Re: Is there anyway to find out where in your application a file is being used?

    Ok just wanna ensure I am using your code right TnTinMN

    Here is an original line of code I used:

    If skinimages(0) = "" Then Else skinclosebutton(0) = Image.FromFile(skinimages(0))

    I've...
  9. VS 2012 Re: Is there anyway to find out where in your application a file is being used?

    Crazy stuff, Using around 20 image files that are loaded as text locations and image variables then loaded to skin multiple windows and a fake desktop.

    Ignore the distro review parody in the video...
  10. VS 2012 [RESOLVED] Is there anyway to find out where in your application a file is being used?

    I'm running into major problems trying to delete a folder due to files being in use by my application. I've got 1000's of lines of code and I can't determine exactly where certain files are being...
  11. Re: Do references have to be separate files?

    Ok, thanks for the help :)
  12. Re: Do references have to be separate files?

    Overall do you recommend merging them or is it safer to keep them apart? Can merging cause problems/errors with the program or is it perfectly fine and safe?
  13. [RESOLVED] Do references have to be separate files?

    I've always released my game as a free stand alone .exe file that people can launch but recently after adding a media player control to my form it added two Windows Media Player references which it...
  14. Re: Drawing program canvas seems to run out of memory

    The simple act of putting GC.Collect() in the paint event seemed to be an instant cure. No need to dispose anything....
  15. Re: Drawing program canvas seems to run out of memory

    Thats done hundreds of times...

    The code is executed because when a square, circle or other object is drawn on the forum a preview is shown. So another bitmap is created and drawn onto the canvas...
  16. Re: Drawing program canvas seems to run out of memory

    I was refering to pens and brushes. Also could the following line of code in my paint event be the criminal?


    Dim g As Graphics = Graphics.FromImage(previewcanvasbitmap)
    ...
  17. Re: Drawing program canvas seems to run out of memory

    I'm not creating image objects a lot but I guess I am making a lot of paint tools and not disposing them... could that be the problem?
  18. [RESOLVED] Drawing program canvas seems to run out of memory

    I am currently making a game with an inbuild bitmap drawing application called "Artpad". The issue is that after drawing for a while mainly on larger canvases over 400 x 400 there seems to be a...
  19. VS 2012 Re: Changing one varible is causing another varible on another form to change...

    I feel silly for not thinking of that... Thanks so much! Problem solved!
  20. VS 2012 Re: Changing one varible is causing another varible on another form to change...

    So Initially I tried the following code but it didn't work:

    shifterskintitlebar = ShiftOSDesktop.skintitlebar.Clone

    I then tried this code and it worked!

    shifterskintitlebar(0) =...
  21. VS 2012 Re: Changing one varible is causing another varible on another form to change...

    Ah so clone is basically what I thought copy was doing. So just replacing the word "copy" with "clone" will fix my problem and store them as two different images like I originally wanted? Awesome...
  22. VS 2012 Re: Changing one varible is causing another varible on another form to change...

    The original file gets is removed so I need to dispose of the image in order to release the file from use so it can be deleted. So are you saying that I should not copy the image over to another...
  23. VS 2012 Re: Changing one varible is causing another varible on another form to change...

    So how could I separate them into two separate houses? How do I stop them referring to the same object and instead copy it over as a separate object?

    Edit: If I just store a string of text...
  24. VS 2012 [RESOLVED] Changing one varible is causing another varible on another form to change...

    On a form called "ShiftOSDesktop.vb" I have a variable set as follows:
    Public skintitlebar(2) As Image

    On a form called "Shifter.vb" I have another variable set as follows:
    Public...
  25. Replies
    13
    Views
    338

    VS 2012 Re: [RESOLVED] Release a file from use?

    The problem was solved after disposing a number of background images on different objects and setting there background image to nothing. For some reason just disposing them wasn't enough... Also...
  26. Replies
    13
    Views
    338

    VS 2012 Re: Release a file from use?

    I've found out something quite strange. If I execute that code to remove the stuff then wait a few seconds before executing the delete command (by splitting the code up) it deletes it fine.

    The...
  27. Replies
    13
    Views
    338

    VS 2012 Re: Release a file from use?

    My app is definatly the only with with access to the file. So what code can I use to check what part of my app is using that exact file?
  28. Replies
    13
    Views
    338

    VS 2012 [RESOLVED] Release a file from use?

    When changing a skin in my game I am deleting a certain folder and replacing it with another one full of image files. The issue is that when a skin is loaded and I try to load another one by deleting...
  29. Re: vb.net won't delete a directory

    Never mind, it was just because I had a text file open in notepad that belonged to that folder so it didn't want to delete it.

    This forum seems to be broken btw... I can't edit my first post in...
  30. [RESOLVED] vb.net won't delete a directory

    It seems like the most basic of tasks but vb.net just seems to avoid doing this. This line is part of a procedure and as soon as this line of code comes up it confirms it exists then refuses to...
  31. VS 2012 Read and write a group of images to a single file?

    I'm currently making a game that allows the user to skin the interface. When they do so a .skn file (just a txt file) with data is created that contains lines of information about their skin. Some of...
  32. 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...
  33. 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#:...
  34. 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...
  35. 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...
  36. 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...
  37. 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...
  38. [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...
  39. Re: misaligned GDI+ drawing preview?

    Yay, works perfectly, thanks!
  40. 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...
Results 1 to 40 of 100
Page 1 of 3 1 2 3



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.