Search:
Type: Posts; User: 12padams
Search:
Search took 0.02 seconds.
-
You were right about the close statement working and the others not. Here is the close statement in action:
For Each f In My.Application.OpenForms.Cast(Of Form)().ToArray()
...
-
Let's say I want something to occur on every form in my project (excluding 1 or 2) yet don't want to reference every single form in the code. How could I do this?
For example:
If...
-
This is just brilliant! How do you set the border-style on an external window to none though?
-
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...
-
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 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...
-
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....
-
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...
-
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...
-
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...
-
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...
-
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...
-
Ok, thanks for the help :)
-
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?
-
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...
-
The simple act of putting GC.Collect() in the paint event seemed to be an instant cure. No need to dispose anything....
-
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...
-
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)
...
-
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?
-
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...
-
I feel silly for not thinking of that... Thanks so much! Problem solved!
-
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) =...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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?
-
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...
-
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...
-
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...
-
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...
-
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...
-
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#:...
-
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...
-
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...
-
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...
-
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...
-
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...
|
Click Here to Expand Forum to Full Width
|