|
Shahriat Hossain wrote: Hi, I want to make my windows application like master page. Suppose that when i choose menus then the contents will be shown on the same window.Thanks for advance help.
Hi,
Try rephrasing your question. You probably know what you are trying to accomplish, but it is unclear to me (and probably others too) what you are asking.
It isn't enough to do well in life.
One must do good when and where one can.
Otherwise, what's the point?
|
|
|
|
|
You can simulate the MasterPages effect by either using Panels and showing/hiding them as appropriate, or by creating a common form as a base class (complete with menus) and then inheriting your new forms from this.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
A tab control might work for what you are trying to do if I understand correctly.
|
|
|
|
|
are you talking about MDI
It is Good to be Important but!
it is more Important to be Good
|
|
|
|
|
I ran gacutil /i on my dll.
Received good confirm message.
Double check it at C:\WINNT\assembly
But when I try to reference it through VS2005,
I doesn't show up.
I must be doing something wrong any ideas.
Info:
I have a couple of different projects in my solution.
My library is one of the projects but is not set to build.
The project referencing the library is also in the solution.
-- modified at 16:07 Monday 24th September, 2007
Never mind got it.....
God Bless,
Jason
I am not perfect but I try to be better than those before me.
So those who come after me will be better than I am.
|
|
|
|
|
If I use gacutil /l - the library doesn't show up.
God Bless,
Jason
I am not perfect but I try to be better than those before me.
So those who come after me will be better than I am.
|
|
|
|
|
Hi,
I am currently making a program which is hopefully going to have the ability to me multi-lingual. I need to find a way of auto-sizing the controls like labels, groupboxes etc to the size needed to contain the text retrieved from each different language resource file.
Currently programming in C# 2005.
Any help appreciated.
Andrew.
|
|
|
|
|
btnYourButton.AutoSize = true;<br />
btnYourButton.AutoSizeMode = AutoSizeMode.GrowAndShrink;
?
I get all the news I need from the weather report - Paul Simon (from "The Only Living Boy in New York")
|
|
|
|
|
Hi,
Thanks for that information. One last thing, will the form re-size and the other controls move to accomodate the grow and shrink of a particular control?
Thanks, Andrew.
|
|
|
|
|
Hi guys
Is there any way to measure the download and upload capabilities beforehand when sending and receiving files via TCP transmission based on the file size of the file being sent or received?
Thanks
BS
|
|
|
|
|
I think the only way to get an accurage measurement is to actually send something over the pipes.
You could factor in things like network card capabilities, or the type of connection (modem? LAN? VPN? etc.). You could also remember previous transmission speeds and use that for a guesstimate.
There are also web services available to test your connection speed. Of course, these services simply send something across the pipes to gather the speed information.
|
|
|
|
|
my report is about selecting something with a date margin... meaning between 2 dates... i just to inert these two dates into my report dynamicaly... can someone(well everyone) help? thx ahead
M.M
|
|
|
|
|
I don't think you've provided enough information to receive a meaningful answer.
What exactly are you having trouble with? Do you need help with getting this date margin? How to store it? How it insert it into your report?
|
|
|
|
|
use crytal report selection formula
do or die but never be shy
|
|
|
|
|
1st i wanna thank u for ur help...
i have to issues at hand that i need to setle:
1- i have a crystal report that displays records selected from a DB within a date margin meaning between 2 dates. these two dates are inputed from the UI, what i want is to include these 2 dates on my report in a certain field as header or whatever...
2- is it possible to dynamically remove(at run time) a certain field that i have in my report.. i have initialy 4 fields, i want to remove a certain field is it possible.
Thank you
M.M
|
|
|
|
|
I didn't see this in any of the forums, so I am posting a new message.
I am trying to view a designer (UI) of a form in my project. The UI doesn't open and I get this error "The control System.Windows.Forms.TabControl has thrown an unhandled exception in the designer and has been disabled".
I haven't been able to find much seaching the web, Code Project or dnzone.com.
Anyone experience this problem before?
|
|
|
|
|
Many times. Easiest way to fix this is described here[^].
|
|
|
|
|
Thanks. I tried that. It says something about a file not being found, but doesn't tell me what its name is. How do I find that out?
|
|
|
|
|
If you did it correctly, the debugger should break when the file is not found. Simply investigate the line it's crashing on - what method call is failing, and what arguments are you passing to it?
|
|
|
|
|
Still didn't work as initially planned, but I was able to get some information out of the Visual Studio error message after clicking the Debug button.
FusionLog:
=== Pre-bind state information ===
LOG: User = SYSSOFT\mta
LOG: DisplayName = MPSAPI, Version=0.12.10.0, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = file:///C:/Program Files/Microsoft Visual Studio 8/Common7/IDE/
LOG: Initial PrivatePath = NULL
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe.Config
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
Message:
Could not load file or assembly 'MPSAPI, Version=0.12.10.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
StackTrace:
at QVI.ICE.Core.VideoWindow.Dispose(Boolean disposing)
at System.ComponentModel.Component.Finalize()
The MPSAPI.DLL is added as a reference so it must be something that DLL depends on.
Thanks for your help Judah.
|
|
|
|
|
Ok, the MPSAPI may be the problem. Are you calling into this MPSAPI dll in your constructor anywhere?
|
|
|
|
|
The other error I get when trying to open the UI is...
The control System.Windows.Forms.TabControl has thrown an unhandled exception in the designer and has been disabled.
I tried to included the snag-it capture of the message box, but it doesn't look like that can be done on this site.
StackTrace:
at System.Windows.Forms.TabControl.UpdateTabSelection(Boolean updateFocus)
at System.Windows.Forms.TabControl.OnHandleCreated(EventArgs e)
at System.Windows.Forms.TabControl.WndProc(Message& m)
|
|
|
|
|
I got it to work one time so far.
This is where it's failing to find a file....
~VideoWindow()
{
}
No arguments and no code.
|
|
|
|
|
Perhaps it's not important, but can I ask why you have an empty destructor in your C# code?
|
|
|
|
|
Can anyone link me to a good article/resource explaining how to marshall different data types, specifically from C++ to C#. I'm trying to marshall some stuff going to/from a DLL.
|
|
|
|