|
Is there any dll file or other tool for .net framework 2.0 by which we can change look/ appearance of controls of window forms. I need it for VS 2005 and .net framework 2.0
Thankx in adv.
|
|
|
|
|
It would be helpful if you provide a more specific example of what you are trying to achieve. What do you mean on changing the appearance/look of controls?
|
|
|
|
|
Actually I want to change style of controls like- trianglr button, stylish appearance of any other control etc. Please suggest me any tool for VS 2005.
|
|
|
|
|
Without knowing which parts you want to change, I can only suggest that you look at the use of Themes if you just want to change the theme, or search for owner drawn (control of your choice) c# in google.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I want to change style of controls like- trianglr button, stylish appearance of any other control etc. Please suggest me any tool for VS 2005.
|
|
|
|
|
See here.
My signature "sucks" today
|
|
|
|
|
Hi,
I need to build an image editor that should have all the functionalities of photoshop. The images should be loaded in a repeater or a listview control showing thumbnails. I should be able to drag the thumbnail on to a canvas and be able to edit the image, add layers etc...similar to photoshop and finally print it as a PDF. So far all my efforts to do this have failed. Kindly help me.
I have started developing the application. I have sucessfully loaded a Repeater Control with images...sort of like an image gallery. Now i want to drag those images into a canvas like that of photoshop and be able to add layers and other effects. I am unable to do that. Is there a way to drag items from a Repeater control and is there a way to call Photoshop in a .NET Application??
|
|
|
|
|
Consider checking out Paint .NET, it is an open source project. Sort of a photoshop implementation in .NET.
Best regards,
Anıl Yıldız.
|
|
|
|
|
It's not open source any more. It's free, but the author no longer provides the source code, something to do with people passing off his work and trying to sell it as an image editing suite.
|
|
|
|
|
Makes sense. Thanks for the info.
Best regards,
Anıl Yıldız.
|
|
|
|
|
Hey Anil...how do i call the Paint.NET in my application. I need the code for it.
|
|
|
|
|
Hey
My program has a lot of controls on the main form and when minimizing it the screen flickers for a couple of seconds. Anyone know how to stop this?
Thanks
|
|
|
|
|
After the call to InitializeComponent in the main form, add the following line:
SetStyle(
ControlStyles.AllPaintingInWmPaint |
ControlStyles.UserPaint |
ControlStyles.DoubleBuffer,true);
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
|
You're welcome.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I'm having trouble creating an 2007 Excel file from scratch using Microsoft.Office.Interop.Excel with C#.
Here is a part of my own class I'm using to create a non existing excel-file or open an existing excel-file
using Microsoft.Office.Interop.Excel;
public ExcelFile(string excelFile)
{
application = new Application();
if (!File.Exists(excelFile))
{
this.workbook = application.Workbooks.Add(XlWBATemplate.xlWBATWorksheet);
this.workbook.SaveAs(excelFile, XlFileFormat.xlAddIn8, "", "", false, false, XlSaveAsAccessMode.xlNoChange, XlSaveConflictResolution.xlLocalSessionChanges, false, Type.Missing, Type.Missing, true);
this.workbook.Close(true, Type.Missing, Type.Missing);
}
this.workbook = application.Workbooks.Open(excelFile, 0, false, 5, "", "", true, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, "\t", false, false, 0, true, 1, 0);
}
Notice I check if the excel file exist on the computer before I use it.
If the excel-file don't exist I'm trying to create it, close it and open it so I can use it in my application.
But when I try to open it after creating it, the "application.workbook.open()"-method crashes in a COMException.
If I use an excel-file which already exist, the "application.workbook.open()"-method don't crash.
What do I miss? I used this page as source: http://csharp.net-informations.com/excel/csharp-create-excel.htm[^]
|
|
|
|
|
I do not know the answer to your problem but I would suggest that you paste the complete ComException message into the search box on one of the search engines. You will probably find lots of hits with the exact same problem and one of them may well have the solution.
After a quick glance at the link you provided, I noticed that you haven't quite implemented the complete solution. For example you have not 'Released' any of your objects after creating and closing the worksheet. Unless you do this, I suspect that the file will be considered 'in use' therefore causing the exception.
Good luck!
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
Why do programmers often confuse Halloween and Christmas?
Because 31 Oct = 25 Dec.
|
|
|
|
|
In the treeview, I want to display an image only on few nodes (not all). How do I do this?
Gurpreet
|
|
|
|
|
Message Closed
modified 23-Nov-14 6:28am.
|
|
|
|
|
I am looking for showing image only on specific node. That does not work in this way. It shows image for all nodes or none.
Gurpreet
|
|
|
|
|
You can set the image index on individual nodes.
Node.ImageIndex
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
You need to set the ImageIndex (and optionally, the SelectedImageIndex ) on the TreeNode you are interested in changing. If you only want to display an image on this node, you effectively have 2 choices - one is to add a dummy transparent image as the default image for the other nodes; the other is to change the ImageIndex /SelectedImageIndex for the ones you don't want.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
I am getting the following error while installing the web service on windows 2008 server:
"Error 1001. Error executing command. No mapping between account names and security id"
The installer works perfect on windows 2003 server. I have migrated my installer from visual studio 2005 to VS 2010.
Gurpreet
|
|
|
|
|
Is it possible to have few secure and few unsecure web methods within a webservice. If yes, how?
Gurpreet
|
|
|
|
|
Put the security within the webmethod call itself. I have a service that does that .. some methods are "public" others are only accessible by users in particular security groups.
So the secure web methods have an if around all the code that checks if the user is allowed to use it. The Webservice implements Integrated Windows Authentication so the user's identity is available and I have a procedure that decides whether a user is authorised or not.
|
|
|
|