Thanks that did it. Can you please suggest how can I get a animated gif work on a form. Thanks Kumar Saurabh
Kumar saurabh
Posts
-
Custom Shaped Window (form) -
Create a MS Word file dynamicallyThanks, I'll follow these links. Kumar Saurabh
-
Create a MS Word file dynamically:confused: Hi all I have a web page that gets input from site users. Now I want to create a MS Word file with that data. Can any body help? Thanks in advance. Kumar Saurabh
-
,Create a MS Word file dynamically:confused: Hi all Kumar Saurabh Software Engneer Syndew Pvt Ltd New Delhi India
-
changing colors for listview rowsTry the following , when you are adding a item to your list view check for alternate row to apply different color. Say if current row is odd row then write
ListView1.Items(itemindex).BackColor = (New System.Drawing.Color).Aquamarine
and if it is even thenListView1.Items(itemindex).BackColor = (New System.Drawing.Color).Bisque
Please note that this code colors background of all columns but if the last column width dosen't fills the list view then the list view background appears. So make sure that you columns fits the listview width. Kumar Saurabh -
Getting icons of registered extensions:confused: Hi all, I have a tree view where i show different files present in a system. I have to display icon of corresponding file type when i'm adding a file to the tree. One way to do it to add the icons in image list and the check for the extension and show corresponding icon. But in this case it's very much possible taht I leave many icons associated with file extensions. I want to know the registered icon of a corresponding file type at run time. How can I do that. Thanks in advance. Kumar Saurabh
-
ActiveX controls in ASP .NETThanks, I have tried implementing the event on dragstart in the source code which comes along with the control. Three files need changes, Treeview.htc, Treenode.cs and Treeview.cs. I have implemented the event but a new problem is coming. when we create the dll with original source code and add corresponding controls in toolbox and drag the treeview in the design view then .NET also creates a protected variable of corresponding treeview in code behind i.e. when we drag the treeview then an instance TreeView1 is created and a line "Protected WithEvents TreeView1 as Microsoft.Web.UI.Webcontrol.Treeview" is automatically added in .vb(code behind) file. But in case i create the dll with my code added then drag the treeview in the design then no line is added in codebehind. if i create the object with same name (TreeView1) in .vb file even then there is no link created with the design object. when we try to add a node in design mode and apply the changes, an error occurs displaying message "NullReferenceException: Object Reference is not set to instance of an object". Do you know any solution??? Also any other event like Expand and Collapse etc. does not seem to work I have written code for these events but events are not getting fiered. Kumar Saurabh Software Engneer Syndew Pvt Ltd New Delhi India
-
ActiveX controls in ASP .NETHi Stephane, I already have downloaded the IE Web Control and installed and have craeted Microsoft.Web.UI.Webcontrols.dll but the treeview it provides does not have mousedown event so that i can display context menu for a particular node neither it has drag and drop. If these are there then please guide me about it's usage. Thanks. Kumar Saurabh Software Engneer Syndew Pvt Ltd New Delhi India
-
ActiveX controls in ASP .NETHi Friends, Can I use an Active X control in ASP .NET and make it run as server side control. The ActiveX control is created in VB. I have created a Treeview control in VB which also has Drag and drop feature. the .NET treeview web control does not have any drag and drop feature so i had to create that control. Can this be done?? If i create a control in VB .NET and add the control in the tool boxthen it comes in the tool bar but is disabled so i can not drag it to any webform. Any help???? Kumar Saurabh Software Engneer CBS New Delhi India
-
HTML to rtf conversion?Hi Simon, I don't 'vce to do this manually, but programatically. also i want my html file (with images) to be converted into rtf, not only text. when a HTML file opened in word is saved as rtf, then the conversion is done (this is done by automation) but gif's are not rendered, moreover, if you open the file using wordpad then you won't be able to see any image. Thnaks, Kumar Saurabh Software Engneer Syndew Pvt Ltd New Delhi India
-
HTML to rtf conversion?:confused: How can i convert my HTML file to rtf file? Thanks, Kumar Saurabh
-
WIN CE SetupHow can i create setup foe win ce application?:confused: Kumar Saurabh Software Engneer Syndew Pvt Ltd New Delhi India