|
The only way I can think of doing this, is by creating a local variable on your child forms, which exposes your parent form in the child. i.e. Private ParentForm as frmParent . You can pass this info through the constructor of your child form, and in the constructor set this variable like this
Public Sub New(ByVal Parent As frmParent)
' This call is required by the Windows Form Designer.
InitializeComponent()
myParent = Parent
' Add any initialization after the InitializeComponent() call.
End Sub
Then in your FormLoad event you can set the menustripitems.visible on the parent to false. like this
myParent.MenuStrip1.Items(0).Visible = False
myParent.MenuStrip1.Items(1).Visible = False
Not forgetting to set visible to true in your FromClosing Event.
Hope this helps
|
|
|
|
|
Hello every body...
Kindly give some helpful links to study the working of crystal reports 11. i am a beginner and no idea how it works. If someone in here can shed me a light will be great..
Thanks in advance
|
|
|
|
|
<a href="http://www.thinkydink.com/crystal.html">http://www.thinkydink.com/crystal.html</a>[<a href="http://www.thinkydink.com/crystal.html" target="_blank" title="New Window">^</a>]
If You Get your answer then please Rating me...
Thanks..
"Are You Ready"
DX-ARMY
|
|
|
|
|
Well you got rated all right (I did not bother) learn to check your links and preview your posts, then check the quality and edit them if necessary! Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Might I humbly suggest that you have made a grave mistake in selecting CR as your reporting platform. If you have any choice in the matter I would suggest you do some research on the product and more importantly their support. It is abysmal.
Dev Express and Reporting Services have a better reputation and there are a few others that will be a better option than CR.Never underestimate the power of human stupidity
RAH
|
|
|
|
|
i wan to upload image to a folder.can u give me an idea...thanks
|
|
|
|
|
Look into File.Copy method.
|
|
|
|
|
Noone can tell you anything useful unless you speicify what type of server the folder is on.
|
|
|
|
|
you can use the fileupload control which is available in the standard control tool
If You Get your answer then please Rating me...
Thanks..
"Are You Ready"
DX-ARMY
|
|
|
|
|
Hi,
How can i have an editable Print Preview for Crystal Reports which come integrated with Visual Studio 2005.
Regards,
Hotguy.
|
|
|
|
|
What do you mean by "editable"?
|
|
|
|
|
You would need to build your own, editable print preview does not make sense, what are you going to edit, it is REPORT data not interactive. Never underestimate the power of human stupidity
RAH
|
|
|
|
|
i want to save image in my sql database and also i want to show image from database.
what shud i do and how plz guide.m new to win application....
|
|
|
|
|
If you are storing the image directly to the database, convert to a Binary large Object and save it to an SQL table field of type varbinary, then just reverse the process when you're pulling it back out.
|
|
|
|
|
I know that there has the image type in the SQL SERVER,
you can store the picture as the image type to the SQL SERVER
|
|
|
|
|
That's going to be removed in future versions of SQL server.
|
|
|
|
|
Just be aware that can grossly inflate the size of your DB. I have typically used the 'store the image in the file system and then put the path to the image into the DB' method.
It's slightly more to manage and backup, but i think you will see that DB performance is better.
|
|
|
|
|
Please try this:
http://www.shabdar.org/store-save-images-in-sql-server.html
modified 27-May-14 4:48am.
|
|
|
|
|
Just wondering, what's your favorite windows forms UI control library (commercial or free)?
|
|
|
|
|
When I'm doing WinForms, the framework and library most of my objects derive from is WinForms. Opacity, the new Transparency.
|
|
|
|
|
BCG or DevExpress. I think BCG is better.
modified 27-May-14 4:50am.
|
|
|
|
|
I'm developping a WinSock Server in Visual C++ with Winforms and got problem when the server start to accept clients : the server still working but the form display blocks and i cannot click on any control;
I think the endless loop that accept every client block the display !!
I need your help
|
|
|
|
|
Make a background thread for servicing WinSock. Opacity, the new Transparency.
|
|
|
|
|
Move your WinSock listener to a background thread and this will free the UI thread to handle the UI stuff.
|
|
|
|
|
Thanks for ur answer
I'm a Beginner in GUI programming and i don't know how to implement multi-thread code...
could you be gentle guiding me, I love CodeProject.com !!! Hehehehe
Thanks a lot !!
|
|
|
|