|
how can i display all the drive and files in the tree view control.
Jayesh Talsaniya
|
|
|
|
|
This article[^] might help.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
In my app (using WPF) I have a side bar displaying a bunch of option.
I display the option with a list box and some databinding on the selected item.
now it's a sidebar, and when there are a lot of item, the scroll bar on the side is ugly, I would like to replace it with someting like that[^].
i.e. instead of having a scrollbar on the right, I want to have up and down arrow at the top and bottom.
Any suggestion on how to achieve that?
is there an object more appropriate that a list box?
Any XAML code example welcome!
|
|
|
|
|
Hello everyone,
First of all let me take this opportunity and thank you all guys for helping out.
I was wondering if it is possible to have a TabControl without the Tab avaliable for clicking and changing the page. I know I might sounded from lala-land when I said a TabControl without the Tab to change page, but I am plaing to change the page programitically. )
I have come across this article which any way does what I am looking for.
http://www.codeproject.com/useritems/WizardFromTabs.asp[^]
But I was wondering if there is any better way to have this done. To be honest with you, I don't fancy using a Panel to hide the Tab of the TabControl in order to stop the user from clicking on it.
Thank you very much and have a great day.
Khoramdin
|
|
|
|
|
Hello,
So do you whant to hide the Tab, or do you just whant to prevent the changing of the Tab?
All the best,
Martin
|
|
|
|
|
Hello Martin,
Thanx for the reply. Well, I wish to hide them and take the privilage of clicking the tab away from the user.
As you might have noticed, I am trying to have multi-pages which are accessed programitically rather by clicking the Tab.
Thank you very much and have a great day.
Khoramdin
|
|
|
|
|
Hello,
It sounds like you whant to disable nearly all features of the TabControl, because you don't need them.
I would recomment you to build your own UserControl which hold an Collection of UserControls (like TabPages property of TabControl class), and add an your own Page switch loggig to the class.
If you whant to stay with the TabControl, you could inherit the a class from TabControl and ovveride the OnDrawItem method and play around a little with that.
protected override void OnDrawItem(DrawItemEventArgs e)
{
//do some fancy stuff
base.OnDrawItem(e);
}
I'm looking for some more suggestions.
Hope it helps!
All the best,
Martin
|
|
|
|
|
Hi,
Presently I am working on Setup and deployment project. I am using Visual Studio 2005.
The problem is, I need to add some .msi packages to the setup project.
How can this adding packages be done?????
Thanks in advance
regards,
Naresh Nelluru.
|
|
|
|
|
From menu bar select Action - Add - File
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
Thanks Sylvester,
But my problem is that I already had an msi package(which is an installer) and i want to
add that one to my setup and deployment project. When I want to install my setup project the msi package also should be installed so that i don't have to install that msi package once again by cliking on it. I added the msi package(installs when we click on it), but my project is copying that package and placing it in the specified location. Once again i have to do double clicking on that package to install it.
Is there any way to remove the last step (Once again i have to double click that package to install it).
regards,
Naresh Nelluru
|
|
|
|
|
When I run my outlook addin I get an exception with the following exception:
'An unhandled exception occurred in your application. Contact your administrator or the author of this document for futher assistance.'
Can anyone please help me determine what is causing the exception.
Mvelo Walaza
Jnr Developer
Telkom SA
|
|
|
|
|
Hai everybody,
What is the purpose of tag in the controls?
I am having a tree view in that i am listing the products by means of a product name and while clicking on it i have to edit the product, for that i require product id but it should be hidden in the tree view can i use the tag to store this.
Please give me a solution.
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
The Tag is a free place where to store user data. You can do whatever you want with it.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
I'd often store values from an enum, that relate to selections being made, etc.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 all
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
we can do whatever you want it inside the tag control
Regards,
Satips.
|
|
|
|
|
Hi everyone,
I developed an Outlook Addin that is supposed to open a certain application depending on the subject of the Email that I receive. The app works fine but after clicking OK to all MessageBoxes, I get the ff error:
Object reference not set to an instance of an object.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at Outlook_Drag_Try.ThisApplication.ThisApplication_Startup(Object sender, EventArgs e) in C:\Inetpub\wwwroot\DRAGGER\Outlook_Drag_Try\Outlook_Drag_Try\ThisApplication.cs:line 31
at Microsoft.Office.Tools.Outlook.Application.OnStartup()
at Outlook_Drag_Try.ThisApplication.FinishInitialization() in C:\Inetpub\wwwroot\DRAGGER\Outlook_Drag_Try\Outlook_Drag_Try\ThisApplication.Designer.cs:line 65
at Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.ExecutePhase(String methodName)
at Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.ExecuteCustomizationStartupCode()
at Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.ExecuteEntryPointsHelper()
at Microsoft.VisualStudio.Tools.Applications.Runtime.AppDomainManagerInternal.Microsoft.VisualStudio.Tools.Applications.Runtime.IExecuteCustomization2.ExecuteEntryPoints()
************** Loaded Assemblies **************
Here is my code:
string filter = "ecs";
Outlook.NameSpace outlookNameSpace = this.GetNamespace("MAPI");
//Outlook.MAPIFolder inbox = outlookNameSpace.GetDefaultFolder(Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderInbox);
Outlook.MAPIFolder inbox = this.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderInbox);
/*Retrieve and count unread messages from Inbox */
Outlook.Items items = inbox.Items;
Outlook.Items unreadItems = inbox.Items.Restrict("[Unread]=true");
MessageBox.Show(string.Format("The number of Unread items in Inbox = {0}", unreadItems.Count));
// If the mail item matches the specified filter,
// open The Dragger application
foreach (Outlook.MailItem mail in items)
{
//if the mail's subject has ecs, open The Dragger
if (mail.Subject.ToUpper().Contains(filter.ToUpper()))
{
//Open The Dragger
MainForm main = new MainForm();
main.ShowDialog();
}
else
{
MessageBox.Show("No new messages for ECS!!!");
}
}
Please help...
Mvelo Walaza
Jnr Developer
Telkom SA
|
|
|
|
|
Walaza wrote: at Outlook_Drag_Try.ThisApplication.ThisApplication_Startup(Object sender, EventArgs e) in C:\Inetpub\wwwroot\DRAGGER\Outlook_Drag_Try\Outlook_Drag_Try\ThisApplication.cs:line 31
Could you point out this line in your code above?
-----
Formerly MP(2)
If atheism is a religion, then not collecting stamps is a hobby. -- Unknown
|
|
|
|
|
Hi Le Centriste,
This is Line 31:
//if the mail's subject is ecs, open The Dragger Application
LINE 31--> if (mail.Subject.ToUpper().Contains(filter.ToUpper()))
{
//Open The Dragger
MainForm main = new MainForm();
main.ShowDialog();
}
else
{
MessageBox.Show("No New Messages For ECS!!!");
}
Mvelo Walaza
Jnr Developer
Telkom SA
|
|
|
|
|
I would check for nullity of either mail.Subject or filter .
-----
Formerly MP(2)
If atheism is a religion, then not collecting stamps is a hobby. -- Unknown
|
|
|
|
|
Hello everyone,
I just wanted to know if it possible to have number of panels (let's say 4 panels) FILL DOCKED into the same window form. It appears when I dock them the first panel is docked to the Windows Form, the second panel is docked to the first panel which has already dicked to the windows and the third panel is going to be docked into the second panel rather than the Windows Form.
I hope I managed to make sense! )
Is there any way I can have all the panels docked into the Main Windows Form and overlapping one another?
Thank you very much and have a gear day.
Khoramdin
|
|
|
|
|
Hello,
No, you only can dock one control.
Maybe the Anchor property helps you out.
All the best,
Martin
|
|
|
|
|
go with Anchor tag man it will help you.
Regards,
Satips.
|
|
|
|
|
Use the SplitContainer
|
|
|
|
|
If I have more than one version of one assemblies,
then how'll I use old version.
(how/where to specify version number?)in my application?
Rahul Kulkarni
|
|
|
|