Carmen Lipscomb's Q&A profile
Windows Forms How to make linklabel control work fine properly ?
Hi there I am pretty new for windows form, if anyone can help me, I would be very appreciate. I created a panel and set the panel autoscroll property to true, and then add serveral linklabel controls. all linklabel controls fire the same event handler for LinkClicked event. the issue is: if linklabels within visible side, they work fine, if linklabels outside&n ...Show All
Visual Studio Error. Failed to load expression host assembly. Trying to use local report manually copied to mapi dir (VSTO project)
You may see from earlier posts that I'm having difficulty deploying report solutions (VS2005 B2) and VSTO. My VSTO app opens a winform report viewer. Even very basic reports (no data) fail. My last attempt was to use the report path option. The first error said the report def was not found in the dir 'C:\Program Files\Common Files\System\MSMAPI\1033', so I manually copied the rdlc file there. Now I get another error "Processing Errors" "Failed to load exressions host assembly. Details: Could not load file or assempbl 'expression_host_601.....' version=10.2.50215.44, culture=nutral,... Failed to grant permis ...Show All
.NET Development COM and CLR
Hi all, I read that COM is having contract specification and implementation in binary format and CLR has contract specification in the form of Metadata and Implementation as IL. What are the disadvantages of COM having things in binary format Thanks, Suresh. Your definitions of COM and CLR are reasonable but the issues with COM do not necessarily derive from how they are specified. COM promised interoperability irrelevant of language. However in order for this to work you had to limit yourself to a specific subset of types and/or use IDL to fully describe your custom types. This was nece ...Show All
Software Development for Windows Vista workflow design for enduser
In my application, workflows can be created by VS2005 and compiled in DLLs. Can WWF give a way for enduser to design extra workflows and integrate into the app Thanks Hi Kha, Please take a look at Lab 10 in the Hands on Labs. You will find that this shows how to use the designer and holw to save, build and run workflows from the hosted designer. Cheers Chris ...Show All
Visual C# Polymorphic Collections
In one project (assembly), I have some interfaces: public interface ISecurable { int SecurableID { get; set; } string SecurableString { get; } ISecurableContainer SecurableParent { get; } } public interface ISecurableContainer : ISecurable { List<ISecurable> SecurableChildren { get; } } In another project, I have some classes: public class Item : IComaprable<Item> { ... } public class ItemCollection : List<Item> { ... } public class Detail { private ItemCollection items = new ItemCollection(); ... public ItemCollection Items { get { return items; } } } In my intranet project, I wrap t ...Show All
Visual Studio Create a new control to add into toolbox of Crystal Report
Hello Mandeep , I need to create a new control which can interactive with crystal report the same Line object or Box Object of Crystal report. But information to draw shape is loaded from database include squrare, struss, struct shape types them are some complex shapes. their information were stored on database by format start and end points or struct. When load report this control'll read all of information to draw shapes and show this control on crystal report. Thanks you for supporting, Starfo Hello Starfo, As posted earlier, Crystal Reports does not support adding 3rd party controls to the report. ...Show All
Visual Studio Express Editions Error 1335. The cabinet vbsetup1.cab required for this installation is corrupt...
I downloaded de ISO image for VB 2005 and got this error when installing. I only install VB not MSDN or SQL Express. I am using Daemon Tools because I don't have CD burner on my machine. I tried to install from a folder. No luck. Any suggestions Maybe your download is corrupted. On the page where you download the image they also have the CRC that you can check. http://msdn.microsoft.com/vstudio/express/support/install/default.aspx You can use a tool like HashCalc to verify it http://www.slavasoft.com/hashcalc/index.htm ...Show All
Windows Forms How to make a usercontrol to act as an container?
Hi I've made a usercontrol with a specific caption and furthermoer empty space. Now i want to use the control in my form. Placed the control on the form and now i want ot add an butoon to the empty space, but the button is drawn on the form and not on the control. What to do Okay have followed this approach and now have a usercontrol containing a Table ...Show All
Visual Studio DTE2 and access to Fonts and Colors
Hi :) I'm writing my own editor (and language service also) and now I need to be able to change colors of tokens (Identifiers) from my AddIn. So I need somehow to access Tools->Options->Fonts and Colors from my code, and be able to change colors of choosen colorable items. (probably with use of DTE2) But just don't know how to do it..I tried to find some examples on the net..., but I didin't suceed. Pleas help me.., I'm running out of time (session ends..on my university) Regards, Pawel Zgoda You can get to the properties of an item through the FontsAndColorsItems interface. This mac ...Show All
Visual Studio Express Editions How do you make an invisible OCX?
Hi, I'm using VB express and I cant seem to find a way of making my usercontrol invisible I can do it with VB6, its easy, But I want to make a control that doesn't have location and other visual properties, I've seen them but I cant make them. Am I missing something PS. Please dont post the obvious set visible to false, thats not what I want, lol, I want the ocx to only expose the methods and properties I set. Thanks. Sounds to me like you want to build a COM dll. Why That is, why do you need COM Do you need to interface with VB6 If not, you can just build a normal dll that exposes methods and properties. BTW, you asked how to ...Show All
Visual J# too many images = greater load time
ok, ive got a good... 96 images on a form with scrollbars, as your scrolling left and right, it takes a while for the images to reload, is there a way to speed up the load Store the images inside your class, and then draw them in your OnPaint handler. You'd want to store them in a container of some sort, probably a Dictionary and come up with some way of looking up the images you need to draw, which you probably want to store in a struct with the place you want to draw them. ...Show All
Visual Studio Express Editions Scanned images are not sharp in PictureBox
Visual Basic 2005 Express Edition: My application displays images in a picturebox that is 304x608 pixels. It also prints them out on paper at the same size. I scanned my images at 300 dpi and they look great in Photoshop. But, I am having difficulty getting them to look sharp on the screen / printout. Post a bit of your code that you are using to load the Picturebox with your scanned image. Some scanners default to Tiff for scanned images. Are you doing any sort of conversion from one image type to another All these things effect quality. Here is a link to a website that can give you more help on ...Show All
Software Development for Windows Vista Windows Service on Windows Server 2003
VS 2005 Is there any requisite to allow Windows Services run at Windows Server 2003 (it has the framework 2) I wrote a service and it's running on XP Pro; then installed at Server 2003 (using InstallUtil) but it only starts then stops: "The Pop3Poll service on Local Computer started and then stopped..." Any idea Thanks in advance. Fidencio Monroy. ...Show All
Visual Basic Creating an Internet Explorer toolbar/toolband using visual basic 2005
Hey guys, I'm wanting to create an Internet Explorer toolbar, i have done some searching but all the information i find is really really old, and require things i cant get working in vb2k5 and/or not able to find the controls/stuff they need. I would appreciate some advice/links/information on this subject, and also any code samples/syntax examples would be great. Again, i thank anyone in advance who offer their help. Thanks Michael I have the example to create toolbar button in C++. 6.But I am looking for VB6.0 code to create that. I cant use C# or vb.net. Can you please send me the link of ...Show All
Visual Studio Express Editions context menu item border
How can I remove the context menu item border when the rendermode is "Professional" or "ManagerRenderMode" When I have disabled menu items and I hover my mouse over any of them, the border still appears. That doesn't happen in other applications, so I suspect there is a way to remove it. Please help. Hello. The following MSDN article covers all of the options for setting the margin including getting rid of it altogether. Hope this helps: http://msdn2.microsoft.com/en-us/library/ms229638.aspx ...Show All
