|
satc wrote: that my database size continue to increase , and even when I delete records the size is not decreased. The size of the file is not affected, since it is not removing the record; it is merely marking it as free space. That is by design
satc wrote: Is this a problem ? Most database-servers will not release the space.
satc wrote: And if yes , what I can do from inside of my application ? You could shrink the file if the space is that important, but that may piss of the DBA if it is done at an inconvenient time.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hi,
I am designing a Form using VB 2010, I am unable to completely design the form as they is not space to place more controls on the form.
Using the form properties, I can set the Maximum Width of Form to 1044, and Maximum Height is 788 only
I have gone through some solutions, which seems to be not clear to my question.
Kindly lemme know, if we can increase the height of the form to 1000 during design time
thanks & regards
Prem
|
|
|
|
|
..and how would that work during runtime? If the form is full, it might be better to introduce tabpages.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Can you please send the procedure step by step using tab pages
|
|
|
|
|
Take a TabControl and put it on your Form.
Size it like you need.
Define the TabPages as you need (and perhaps give them a Name).
Put your Controls on the TabPages like on your Form before.
You could switch between the TabPages by clicking them ...
Try it ...
|
|
|
|
|
Thanks Ralf, for the time being i will use tabcontrol which allows me to fit all my controls in a form. But if i can increase the height of my form that will be great.
I donno, why this property has only 788 as the height, when we have a scrolling option.
regards,
Prem
|
|
|
|
|
Please read your Thread completly.
Here are the postings of Eddy and Dave which answers the question and delivers a (work-around) solution
|
|
|
|
|
Any WinForm tutorial using the TabControl would do. Alternatively, you could scroll the contents as explained here[^].
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
What Screen-Size do you have (in your System) ?
|
|
|
|
|
|
OK ... that is what I supposed.
Your Screen-Resolution defines your maximum Form-Size.
modified 23-Jun-15 13:46pm.
|
|
|
|
|
The maximum visible size
We do have scrollbars, but I still prefer tabs.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
No no ... the Size-Property itself is limited.
Please try it by yourself ... but I have no Idea or Solution for this behavior ...
|
|
|
|
|
It's limited by the size of the primary screen on your dev machine. I know - it's stupid.
This[^] is the only workaround I know of. It aint pretty but it's cheaper than buys a super large monitor for your dev machine.
|
|
|
|
|
Thanks for your Link.
It's good to know ... but that is very very poor (a Panel is a Container like the directly integrated Container inside the Form - but if that works ... )
I think, the question is answered know ...
|
|
|
|
|
I'm just looking at the property in ILSpy, I do not see the limitation. Yet, according to the documentation[^], you are right and I stand corrected
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
@Eddy:
Thank you for this Link.
I searched for something like this, which could confirm what I've allready supposed.
@Dave:
I agree with you - that is stupid ...
modified 24-Jun-15 14:20pm.
|
|
|
|
|
Hi Eddy,
what do you wanna me to do, please suggest
|
|
|
|
|
I'd recommend to look into tabpages (find an example) and into scrolling, and compare the two solutions in a new, empty project. That way you can decide which solution would fit/look/work best in your project.
It is not something someone here can decide; it would depend on what you or your customer wants.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Just how any controls are you sticking on the form?? You do realize that having and excessive number of controls on the form will cause performance problems when you try to create an instance of the form and show it?
|
|
|
|
|
Hi
If you want to increase the height of your form , I think you need to change the configuration or the resolution of your monitor on your desktop or laptops. because I think the height of the form is based on computer resolution.
hope help my suggestion
Thanks and God Bless
Face
|
|
|
|
|
Hello Everybody,
I'm Using VB and I have a problem in my project I set my home page ismdicontainer and set that code to open new form in it
Dim ggo As New AddNewItem
ggo.MdiParent = Me
ggo.Show()
but the problem is when I'm open the child form I'm feeling it load slowly or load Jerk may be and Note that I putted approximately 20 Textbox and 20 label , but that problem not show and I feeling everything is fine when I'm not open form in my home page and also when I'm Delete at lest 17 textbox and 17 label. I hope to understand my problem I searched for that problem many time but I can't find anything about that issue.
I hope to find any help and thank you.
|
|
|
|
|
If you're trying to say that creating and opening your form is slow, there really isn't enough information to tell you what's wrong.
First, from what little your code says, you should not be using MDI for this form. It's a transient form that should be blocking, waiting for input before using another part of your application, a dialog. This is because, the way you apparently coded this, is your user can always go back to the control that triggered this AddNewItem for and hit that button or whatever control and launch another form, and another, and another, without ever dismissing the previous AddNewItem form.
I get the feeling that you're using MDI for something it wasn't designed for.
Just putting 20 controls on a form shouldn't make it take a long time for it to show up. There's more to this than your describing. Is the new form doing something in its constructor? Is there a ton of fields that have to be initialized? What else is this form doing?
|
|
|
|
|
|
OK, that doesn't show anything useful.
I can tell you it's NOT a slow loading problem. If it was, you wouldn't be able to move the forms around at all.
There is no telling what the problem is without seeing the code for the form being created.
(Don't even think of uploading it somewhere. Nobody is going to download it.)
|
|
|
|