|
psdavis wrote:
1) It works with the IDE and you modify the grid using properties.
have you tried the xceed grid? http://www.xceedsoft.com[^] its design time support kicks ass.
psdavis wrote:
3) It is basically a small set of files and doesn't require you to download the entire SDK
umm....i think ur gonna need the sdk if you wanna program in .NET.
1001111111011101111100111100101011110011110100101110010011010010 Sonork | 100.21142 | TheEclypse
|
|
|
|
|
|
Our company uses Infragistics (http://www.infragistics.com[^]) WinForms controls, and so far, we are quite happy with their quality. Infragistics also has several WebForms controls, including a grid control, but we did not explore them yet.
Alexandre Kojevnikov
MCP (SQL2K)
Leuven, Belgium
|
|
|
|
|
Hi Pal,
This is absolutely Right! I have been working on Infragistics Control library for a long time now! The libraries are available for both Windows as well as Web Applications with several controls which were not available easily before! It provides the UltraGrid control which is the Best Grid I have ever seen in my Life! It has tremendous support for customization. Trial version of it is available from the Sitespecified above.
i.e. Infragistics.com
One of the most important things is that Microsoft itself has given them a lot off support during the build! (At least that's what I learnt).
Yeah, one more thing, On purchase, they provide an excellent Service!
I think you must go for this!
regards
Atul Kale
MCSD, MCT
Sr. Software Engineer
XcelVision Technologies Ltd.
|
|
|
|
|
Hokay Dokay....
I have an MDIParent with a controller window on the side. The controller window creates the instances of the MDIChild forms and defines the MDIParent as the parent of the children. So far so good. All works just dandy -- including managing multiple instances, etc.
Now -- the next enhancement to the app. I need to do processing on the children AFTER they have been created. What I want to do is this:
Delegate an event in my parent form to do the after-creation process.
Have my children raise the event once the form has been loaded.
The question is this: Is there a GOOD existing event I can use to accomplish this that guarantees me that only the children raising the event will trigger the event, or should I define my own event to handle it? I want to make sure that normal window process does not fire this event since what I have to do is rather intense processing!
I was thinking of reusing the CollectionChanged event since my parent is not databound there should be only the intentional firings from my children. Any suggestions ???
_____________________________________________
The world is a dangerous place. Not because of those that do evil, but because of those who look on and do nothing.
|
|
|
|
|
Hi there,
There u got one more Problem in the Forms library . Microsoft has provided enough of Collections almost everywhere possible, but they forgot to make the MDIChildren as a Collection. Unfortunately it is an Array!
So, CollectionChanged etc. is not helpful at all! You have to go for creating your own events for managing the Pre and Post creation processing of ur Child forms.
However, i would like to mention one thing that, default event processing would be synchronous. You may look at using Application.DoEvents method or use a new Thread for performing the processing to make it asyynchronous.
hope this helps!
Atul Kale
Sr. Software Engineer
XcelVision Technologies Ltd.
|
|
|
|
|
I've modified code to display IDE like menu items in FoldersTree(by Carlos H. Perez) context menu.
Each item is newly created menu item with a same system ID and a picture if any was. All it happens when Popup is about to be displayed. Cat't attach picture to this message... I had to do this because of standart menu items under Windows 2000.
if anybody interested, email me to aprokudin@bgs.ru.
Alexei Prokudin.
BGS SmartCard Systems A.G.
Moscow, Russia.
|
|
|
|
|
I found some solutions for adding icons to MenuItem and get them in contextMenu.
i have overriden MenuItem class OnDrawItem and OnMeasureItem and the constructor.
if i try to display it as MainMenu ContextMenu or ListView ContextMenu it works fine, but if iam going to display this in NotifyIcon it just leave the ContextMenu Blank.
i looked the whole day for some solution to this problem but it just dont work with DLLIMPORT "user32.dll" and some other tricks
if someone knows how to do this please help me i need to set up this project till friday so come on guys code ....
thanks a lot
|
|
|
|
|
try the magic library....they have a really cool menu that has alot of features built into it... http://www.dotnetmagic.com/
they have a PopUp window that works by the mouse X and Y you can with a little bit of code get this window to Pop apon clickin on the notify icon...
Good Luck
Jesse M
The Code Project Is Your Friend...
|
|
|
|
|
thanks a lot i got it with popup & menucommand ! then i imported user32 and got the mousex and mousey position so its able to get icons into the systemtray context menu .
great idea thanks again
|
|
|
|
|
Hi!
Postulates:
- You use VS.NET
- You add a Windows Media Player control to a C# Windows
Form.
- You need to tweak the thingy so the player toolbar(play
stop, rewindetc..) does not appear -you want only the
screen.
Solutions: HelP!!!
Thanks,
|
|
|
|
|
Set the uiMode property of Media Player to none
Cheers,
Kannan
|
|
|
|
|
We have a service here, a telephone number (00973900717) which you can call and send songs and voice jokes to friends (as a phone call not an SMS). I need to develop the same but on a web ite or a windows application, something like:
1. Create audio files (compatible format).
2. start the application.
3. Choose the song or joke or..
4. Eter a friend number.
5. Submit the audio file.
6. Friend will receive it as a phone call
Can I do the same using C#?
Jassim Rahma
|
|
|
|
|
I want to build a snap-in with C#.
How can I do this?
Mahdi Sadegh
|
|
|
|
|
|
Can you do shell type commands (ex. executing programs) in a web form?
Me, wrong!?! Nah, you just need to change your thinking to make me right.
|
|
|
|
|
Yes, using the same classes you would with a Windows Form: System.Diagnostics.Process . I (and thousands of other experienced developers) would warn you against this, however. Web servers are open to enough worms as is without providing a means to execute any command on the server. If you don't protect it well enough (and proper protection isn't as most people think), anyone could run any command on your server, such as extracting your server's SAM database (system and user accounts), copying it to a publicly accessible directory, downloading it, and running a brute-force cracker on it like l0pht crack. Then they become your computer's administrator. Much more is possible, especially in larger corporate networks. I advise against it.
Also, this does not qualify as shell programming. Shell programming works with the UI to provide and consume services to and of the UI. This is simply process execution. If you are asking if you can bring up the "Browse for Folder" dialog on the web site, you can't do it in the server context (its a blocking call and no one can close the dialog) and on the client you would need a thick client application, but then you have security to deal with from the browser. Using ActiveX in this way is tricking and using .NET embedded user controls[^] is even trickier. If this is the case, just deploy a regular application to your clients.
Reminiscent of my younger years...
10 LOAD "SCISSORS"
20 RUN
|
|
|
|
|
Here's what I'm wanting to do:
* when the user selects an item in the listview I want to change the font color, background color and add a border to the row instead of the default row highlighting.
I've read through some of the ownerdrawn examples on CP, but it's not exactly what I'm after.
Barring adding a border, here's what I have so far:
private void listView4_Click(object sender, System.EventArgs e) {
int i = listView4.SelectedItems[0].Index;
listView4.Items[i].Selected=false;
listView4.Items[i].BackColor=Color.GreenYellow;
listView4.Items[i].ForeColor=Color.Black;
}
Main problem is that the row first highlights then switches to the greenyellow color.
I'm keen for an easy solution to this prob., but I haven't found one yet.
Cheers,
Simon
"The day I swan around in expensive suits is the day I hope someone puts a bullet in my head.", Chris Carter.
animation mechanics in SVG (latest pic 1) (latest pic 2)
|
|
|
|
|
The default painting is what is causing this, so owner-drawing your ListView is exactly what you need. Even if you override ListView.OnSelectedIndexChanged (doing what your doing is not soon enough in the event chain) you still have to take care of all these color changes. To implement this form of owner-drawing, however, you'll probably have to override WndProc and having the LVN_* and NM_* notifications of Win32. You could try doing this in OnSelectedIndexChanged , but that won't give you the border you want.
Reminiscent of my younger years...
10 LOAD "SCISSORS"
20 RUN
|
|
|
|
|
There are a couple of reasons why it might not work :
- the view style must be "report" : this.View = ListView.View.Report;
- the view must be properly activated : this.Activation = ListView.Activation.(OneClick | Standard | TwoClick);
- the custom styles must be really set as used : your items must have the "UseItemStyleForSubItems" property set to true.
That said, it is not possible to add a border without really ownerdrawing the listview, ie override WndProc.
PS : the funny thing about the owner drawn capabilities of ListView is that the CustomDraw implementation is really exactly the same than the WIN32 NMCUSTOMDRAW handling (NMLVCUSTOMDRAW struct, item stages, ...).
|
|
|
|
|
I am writing C# application that needs to do some job with Excel 2000. I add Microsoft Excel 9.0 Object Library to the project and in code I try to create an Excel object:
private Excel.ApplicationClass ExcelApp = new Excel.ApplicationClass();
OK, object is created, but when I try to access its properties I always get an error: Old format or invalid type library!!
Does anyone have an idea what am I doing wrong?
MarixmaN
|
|
|
|
|
My recommendation is to download Office PIAs[^].
|
|
|
|
|
I already tried that way but still does not work! Bay the way I am using Win 2000 professional. I tried my application on Win XP and everything worked properly. But msdn says it should work on both platforms.
|
|
|
|
|
Ok, then try to upgrade your Office 2000 install and install the latest service pack.
|
|
|
|
|