|
I'm assuming you use a toolstrip for this
if so you can do this very easaly
just select the toolstrip and then in the tasks window (the little arrow on the upper right corner of the control or the gray area under the properties window) select 'embed in toolstripcontainer' then just put the toolstripcontainer dock property on fill.
after this the user can move the toolstrip around the form (all controls added to the form must be in the toolstripcontainer)
the 'gripstyle' property of the toolstrip has to be set to 'visible'
|
|
|
|
|
thnx for the help
but it not just working
i select the toolstrip and then select embed in toolstripcontainer this make a new container
then when i put the toolstripcontainer dock property to fill then it fills the whole form
i have
2 toolstrip
one ruler
one erichtextbox and
one statustrip
plz tell me what m i forgeting
|
|
|
|
|
trying switching off docking
switchimg off auto size then move the tollstrip to where you wish it to be and then use the anchors.
This works with tools trips dont know about the containers though.
HTH
MArtin
life is a bowl of cherries
go on take a byte
|
|
|
|
|
I'v tried emailing you an example project but I keep getting an delivary failure
can you provide me with a working email acount
|
|
|
|
|
I've tried both emails you send me but they don't work
can you provide me with an hotmail, google, yahoo mail account
those are the safest and generally never cause any problems
|
|
|
|
|
|
Hi all
Just need some advice and help with the issue of Threads..Just come over from VB6 and not to sure about this one..
I have an application which waits for HTTP requests which is the main process. Once a request is recieved a thread is started to do something..on the Main Form i have a status Textbox which i want to keep up to date with the HTTP requests and also when the thread has finished etc.
Please advise as to how i may achieve this
TIA
|
|
|
|
|
Since all Controls normally get created by the main thread (aka "GUI thread")
and should be handled only by the thread that created them (they are not
thread-safe), one needs a special technique to access them from another thread.
The Control class has some members to support this: the InvokeRequired property
and the Invoke() or BeginInvoke() methods. I suggest you read up on these;
examples are plenty on CodeProject. There is one in my Sokoban article (that's
in C# but the concept is exactly the same).
|
|
|
|
|
How can set focus to a particular tabpage in vb.net 2005
|
|
|
|
|
Isn't there a selected tab property ? Assuming you're asking about winforms.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
indeed there is
and the code would look like this
tabcontrolname.selectedtab = tabpagename
-- modified at 7:57 Tuesday 31st July, 2007
you could also use selectedindex but then this will stop working properly if you change the order of the tabs
|
|
|
|
|
really , thnks my frnd .. its working
|
|
|
|
|
glad to be of assistence
|
|
|
|
|
really thnks my frnd.. its working..
|
|
|
|
|
Hello,
first of all I am new to .net and don't know much about connection pooling. I have read few articles from .net but still don't get answer for few questions.
my boss came to me and told me to do some research on connection pooling and write application that will have six buttons. three button will get connection from pool and other three button will close this connection one by one. I wanted to put one more button to destroy all connection that works fine using Clearallpools but clearpool doesn't work. I can post code here if anyone want to look at it.
Thank you.
Viral
|
|
|
|
|
.NET handles it's own connection pooling, you should not write your own.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
thank you for your reply.
I am not writing my own pooling, just want to know how can I handel pooling and monitor it. I just want to know how it works and what type of problem I can get if we develop project using connection pooling. it will be great if someone tells me if there are any other connection type available for .net.
|
|
|
|
|
|
|
What is the syntax to represent Verbatim literal(@ in C#) in VB.net ?
|
|
|
|
|
There isn't any. All strings denoted by quotes are literal. There are no escape characters in VB.NET.
|
|
|
|
|
Actually, there is one escape character - a double quote is escaped by another double quote.
e.g., Dim s As String = "abc""def"
David Anton
http://www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
C++ to C# Converter: converts C++ to C#
C++ to VB Converter: converts C++ to VB
Instant C++: converts C# to C++/CLI and VB to C++/CLI
|
|
|
|
|
Whoops, forgot about that one! :->
|
|
|
|
|
Hi,
I am trying to take a screen shot of a site loaded in a web browser control. I have placed the code in the document completed event and use the forms DrawToBitmap function to draw it and save the image. i have also verified whether the document has been fully loaded by verifying the url in the WebBrowserDocumentCompletedEventArgs and the readystate property of the control. But to my surprise, it is working fine with a couple of sites, e.g. www.lumun.org and www.nelaam.com but when i try it with google.com,ask.com or msn.com, I ust end up getting a plain white bitmap. I have even tried putting a 60 second time delay ( as i thought that maybe the site takes some time to be loaded and made visible), and could see the page in the web browser control, yet the bitmap for these sites was still plain white :S Any ideas as to why this could be? and what the solution to this is?
Thanks!
Ahmad
|
|
|
|
|
there exist two parameters in the datetime control
momth and year
Format Custom
Custom Format - MMM-yyyy
When i try to change the date it gives the following error
Year, Month, and Day parameters describe an un-representable DateTime.
Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....
|
|
|
|