Farrokh Moori's Q&A profile
Visual C# Changing EMail Headers
Hi, This may sound strange but bare with me! I won't go into too many details but I'm sending emails to a particular system (using MailMessage and SmtpClient objects) that requires the subject header of the email to begin with a capital 'S'. So, for example, in the email header I want: Subject: This is a test body: blah blah ..... Instead of : subject: This is a test body: This is a test ..... When I add a header to the message myself (Message.Headers.Add("Subject")) it automatically converts the header name to lower case. Is there any way to keep the header case sensitive Thanks Hi, Thanks for the response. It looks like I will have to go ahead and use a different implementation to send the emails. Just wondering if anyo ...Show All
Windows Forms Form's - Border Color
Hi, How can I change form’s border color Or is there any method to hide/show form’s border at runtime. Either one will work for me. Ex: If user wants to keep background green, border also should change to green color. Best % V High profile operations like MSN spend a lot of resources on making their products stand out from the crowd. Customized window appearance is common for them. To do this yourself takes a similar amount of effort. You'd have to simulate your own window borders and caption bar. Start with a borderless form and the Region property. From there, replace all of the mouse handling that a window now gives you for free. ...Show All
Visual Studio Visual C++ Express "Free Download" says I need CD
I downloaded and began the installation of Visual C++ express and the .net framework (which I apparently need to install). Whilst installing the .NET framework, the setup prompted me to insert CD 1. As visual C++ express is a free download, I have no idea why this is happening. Al6200 wrote: Thanks, apparently dotnetfx.exe is a file that can be downloaded at a seperate locations. This is correct. First, install .Net Framework 2.0 (this link is for x86, other architectures have other exe's): http://www.microsoft.com/downloads/details.aspx familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en .Net 2.0 is a prerequisite for the Express packages. Once .Net 2.0 is install ...Show All
Visual Studio Adding Additional Content to Sandcastle and the TOC
I have three questions: 1. How do you add additional content to Sandcastle NDoc has RootPageFileName and AdditionalContentResourceDirectory parameters for this. Is there an equivalent in Sandcastle 2. Can you add your own pages to the Sandcastle TOC NDoc has a RootPageTOCName parameter. Is there an equivalent for Sandcastle 3. Even better, is it possible to add more than one entry to the TOC This was a feature we were hoping to contribute to NDoc and we would really like to see this in Sandcastle. Thanks, Richard Richard, I have answers below: 1. How do you add additional content to Sandcastle Not in an atomated fashion but we will be happy to take this as a feature and deliver it for our RTW ...Show All
Connected Services Framework Evaluating CSF
I have a heterogeneous environment: Windows and Linux. My web services on Windows use .asmx, and I'm currently upgrading those to WCF. The other web services are just XML-RPC services on Linux systems. Some in my organization want to port all those to web services on J2EE. My question is, with which J2EE systems is CSF competitive, and how can the Linux side of the house create well-enabled services that are CSF-compatible Though any web service regardless of the platform can be consumed by CSF, we advocate for WS-* complaint web services. CSF ships with WES Tool kit that helps build well enabled services on .NET platform. Well enabled service (WES) defines interfaces related to concepts like Healt ...Show All
Visual Studio how to add a combo box to the toolbar within addin?
I try to add a combo box to the toolbar within addin but I 've yet just find how to do this for a button. best regards; alin See: http://blogs.msdn.com/craigskibo/archive/2005/10/20/483133.aspx ...Show All
Visual Studio 2008 (Pre-release) Can I Access Button with AccessText?
I want to access the button that has Accesskey(O). But I can't. The following is sample code. <Window x:Class="SampleWindow" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " > <DockPanel> <Menu DockPanel.Dock="Top"> <MenuItem Header="_File" > <MenuItem Header="_Open"> </MenuItem> </Menu> <Button> <AccessText>_Open</AccessText> </Button> </DockPanel> </Window> ---------------------------------------------------------------------------------------------------------------- ...Show All
.NET Development Delay in invoking webservice call
hi, We are noticing the huge delay once we invoke the asynchronous call to web service to get the response back, not able to find the reason for the same so far. Is there way we can debug and find the root cause of this delay in invoking web service and getting the response from web service Thank You Ganga Gangy wrote: What we did is we put trace log at the last line of code in Webservice where data is sent to UI process as "Exit" and first line in UI as "Entry" and we see time difference of 40 seconds waiting for webservice to return to UI process and this is consistent. Please the log from IIS 2006-08-18 15:50:01 W3SVC1 POST /cchriwebservices/security/LoginWebService.asmx - PSP\C- ...Show All
Visual Basic No Enough Storage Space is available
Almost every one hour, when I run the project , I get this error and i have close and open again. Any idea Regards Mani You've allocated too much memory. Flush the buffers, close connections, null variables, choose your datatypes wisely. Lastly, make sure only one instance of the application is running. Ctrl+Alt+Del Adamus ...Show All
Visual Studio Team System Problem opening Work Item Selections in Excel
Hi, One of our users is unable to Open Work Item (Example: Bugs)Selections in Excel. This is the error he gets: ------------------------------------ "TF80012: The document cannot be opened because there is a problem with the installation of the Visual Studio 2005 Team Foundation Office integration components. Please see the Team Foundation Installation Guide for more information." Things tried: ----------------- Removed all Team Foundation software and components via Add/Remove Programs Reinstall the Team Foundation Client. (CAL license) --Still got the same error. The Office 2003 was already installed prior to Team Foundation was installed. Any help is appreciated Thanks, Staffan ...Show All
Windows Forms Gird View Sorting
Hi I'm populating info from a database to a gridview format. It has about 8 fields. Now when I click on the header from each coloum, I assume it will sort acording to that colum. But that does not happen. For ex. when I click on date, it changes the order it is displayed but its not sorted properly. Not in assending or decending. Why is this How can I get this to work Are you having trouble sorting just the dates or other fields as well If you are only having problems sorting dates, it might be because you store or retreive the data as strings. For instance, if you had these 3 dates: 1/2/06, 2/3/06, and 11/12/06, and you sort by date, you would expect them to be sorted in that order. However, if you sort ...Show All
Visual Basic Treeview
Hello, Can any body help me with thees I need to make a new child node to a root node(called "root1") in code view(Not in designer mode), of a treeview. I need to add an icon to the nodes of the treeview. Thx Look, i have a root"root1" and i need to add a child for it, and the treeview name is "tree1". I want to control the from another form, if i say "form2.root1.nodes.add", from "form2." i won't find root1, what to do ...Show All
SQL Server linked server: Error 17: SQL Server does not exist or access denied.
I have two sql server 2000 with mixed mode authetication. I stand at one server and setup a linked server to the other using the same user id and password. However when I click to the Tables icon of linked server in Enterprise manager, there is an error message: Error 17 SQL Server does not exist or access denied. And It does not show any table. I register remote sql server in Enterprise manager fine. Could any one help me Thanks. Both server run windows server 2003 enterprise edition. In each server, we have a named instance of Sql server 2000. ...Show All
Smart Device Development .net compact framework won't install on my mobile 2003 arm pocket pc.
Error says it isn't compatible with my device. I need this in order to run my most useful software on the pocket pc. The latest revision of my software (myOffice.net) requires the .net compact framework. Any clues why this isn't working More info: toshiba 350, intel PXA255. Thanks. Please, someone respond. Not sure of your specific question. I tried via the desktop as well as thru the msi thru the download from the software company that is using it to run their software. Since they changed over to using the .net framework, I'm not having any luck with the .net install. I'm using the latest active sync which is required for the latest .net to work with the pocket pc.. ...Show All
Visual C# MapPoint - Faster Route Calculation (Performance Problem)
Hi, We currently are evaluating MapPoint to use in conjunction with our software. Among the needs is a fast path calculator. The main use is to get the travel time and mileage between 2 stops. Any other information (including directions) is non-necessary and a loss in processing. Our first performances tests seem to show that the path calculator is 4 times slower than competing products. The 2 options I am looking for is A- Is it possible to ask for a cost matrix (i.e. send many stops and get the cost/duration between each stop combination) or B- Are there ways of asking for these 2 informations that would make it run faster Note, I'm not looking for solutions of embedding it as an add-in, more about what can I do different wit ...Show All
