The point is to create the illusion that it is filling the screen. Am I not using the best methood to achieve this? As this is the only way I can think to make a picturebox slowly fill the screen...
So I want this picture box to grow when the user clicks on it, to the size of the screen. Because at first it appears to be a button, when clicked it grows the size of lets just say Form1 (which is full screen, and for the sake of conversation lets say 1024 X 768 for simplicity).
Here is the...
No Bhaskar you are misunderstanding, by using the statement new Form2 you are declaring a new instance of that very form.
Why not just use
form1.show
Or if you must
dim f1 as new form1
f1.show
Hey, have you tried using my.settings?
You are going to want to utilize creating strings and integers in the my.settings page first. Then you can simply do things like
my.settings.examplestring = "Hello World"
my.settings.save
Then reload the settings in your second form
my.settings.load...
Thanks JMC, I will go over table layout panel and read the example after I have got some much needed sleep. (I work overnights its 6AM here in AZ) lol.
If worse comes to worse, I am sure with a half hour to an hour of trial and error I can programmically make it happen.
Thanks Ian, I am aware of how to change it. What I was asking was if it was possible to export one form and module from a project and turn it into a DLL file. Without having to create a new project and doing 1,000,000 steps. Or can I just compile 1 forum in a project Separately.
While I am not a novice in certain areas of VB.NET, I have to admit I feel a bit n00bish from time to time, especially since I have no formalized education (all self taught)
My current issue is based with my latest feature I am working on for my software suite SpeakSoft Xavier's SpeakSoft |...
I have a windows form that is part of the project called play.vb I want to export it as a DLL file which the application when compiled can load because I plan on updating this individual file later how do I go about doing this
Well Menthos I appreciate all your help, but I am stuck in a bind.... gonna take my mind off this project for a couple days and try again.
When I utilize moving the panels, they dissapear no matter the methood.
Also I cannot for the life of me figure out why no matter how I have my santax...
Excellent to know regarding location, as well as the Local Tip, I was assuming that by making it global it would not reset its value to its declaired value when the function is called Say for example I declair it as follows:
Public Function Int_Test()
Dim IntTest as Integer = 1
end function...
Hey Menthos, I'm sorry I tried to real quickly re-create the original code. This is what I have that doesnt work
Public Function ChangeColor() As Color
Dim Pick As New System.Random
Dim Number As Integer = 1
Do Until Number <> LastPick
Number = Pick.Next(-1...
Dang, I was really hoping there was a simple suffix I could add to the grow lines. Well moving the panels shouldn't be too complicated I can figure that out, through some net research (Thanks once again). Let me pick your brain for one more thing, have you any idea what is wrong with this...
Hey Menthos thanks for your willingness to help. And thank you for point out that santax error, it would have been at least a day before I myself noticed! I am quite sorry, I do not fully understand the scope of what you are talking about regarding Whilst GoTo statements (example please)... I...
Ok so I stopped the freezing, now the colors wont change the panels just disappear after cs1 fills the screen
Public Function Grow_cS()
If cs = 1 Then
cS1.Show()
If cS1.Height < Me.Height Or cS1.Width < Me.Width Then
cS1.Height += 8...
Public Class Colors Dim cs As Integer = 1
Dim LastPick As Integer = 0
Public Function ScreenX() As Integer
Dim X As Integer = Screen.PrimaryScreen.Bounds.Width
Return X
End Function
Public Function ScreenY() As Integer
Dim Y As Integer =...
Yea that prevents the image dissapearing part but (at least on my end) it still doesn't work with that modification.
This is rather odd, it should just work.
Has anyone else any idea of whats going on here? Or a suggestion for a simple workaround?
Thanks Nickz for all your help so far. ZipZap...
Usually, yes john. However since the goal was to be able to integrate this library with all my future developments, I feel as though it simplifies the entire process. I don't have to open XML files and share settings on each project which would involved opening both projects source code. Rather...
thanks for your solution, however I am not sure if it will work. For two reasons, because the cards have to be removed temporrarly when they are played from the deck of cards so that they are not called again in the same game. And also because I have other images in the resources. The approach I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.