C# Lover's Q&A profile
.NET Development eMail Question
Hello Im searching an overview of "eMail Compose" or "How To create an eMail". I have written some code (it works only with simple Text). But I look at Outlooks creation of email with HTML and an attachment, I retrieve a MIME Content multipart/related with the attachment and a mulipart/alternative with HTML and text. So my question: why related and not mixed Are there any rules to fallow, while creating mails Is there any overview with "if want ...Show All
Visual Studio Report based on MS Access query
I have a report that is based on a MS Access query. The query pulls data from 2 linked tables 1 in SQL2000, 1 in Excel (exported from canned app). The report is designed in CR10 and can be previewed correctly. When I try and view the report from a VB app that will be linked to our production software I get the following. "Error rptMaterialAvailability.rpt: The request could not be submitted for background processing." and then the report v ...Show All
Visual Studio Express Editions Can't install VB Express from a CD
Because I have a dial-up connection, a friend burned me the setup.exe file for Visual Basic 2005 Express Edition. However, when I double-click to install from the disk (whilst connected to internet) the process of downloading 60 MB starts up (v-e-r-y slow on my connection - took 15 minutes yesterday to get just 6 MB! Has my friend made a mistake when burning setup.exe file to CD I thought doing it this way would save my phone ...Show All
Visual Studio 2008 (Pre-release) EventTrigger has invalid child element BeginStoryboard
hi, as always many thanks for WinFx! I'm just wondering what the official solution is for the error\warning in May 06 CTP e.g. :\Program Files\Microsoft SDKs\Windows\v1.0\samples\WPFSamples\GraphicsMM_3D\3DPaper\CSharp\Paper3D.xaml shows me the error EventTrigger has invalid child element BeginStoryboard <EventTrigger <BeginStoryboard The main reason for me is that the XAML designer in Visual Studio moans and won ...Show All
Windows Forms textboxes, comboboxes, ... return key and tab key
In vb.net textboxes (and other controltypes, I suppose), pressing Return doesn't cause the focus to be passed to the next control (and, therefore, the events related to validation and the like to be fired. On the other hand, pressing Tab key works that way, so.... is there any way (configuration, properties,...) that would make textboxes react to Enter the same than to Tab thanks You can add an event handler for the KeyPress event of ea ...Show All
System Center Qs About the Planner v.2006
Hi, I have the following questions: - Does this tool replace Exch_Calc.XLS that was only for Exchange 2000 (see the link below) http://www.microsoft.com/exchange/techinfo/planning/2000/Exch_Calc.xls - Can you elaborate how the Storage Groups and the Information Stores population is done That is what assumptions it uses, things like: What is the maximum size of the IS that the Planner assumes Maximum number of mailboxes pe ...Show All
Visual Studio 2008 (Pre-release) Parametric Animation
Is there some documentation I can refer to concerning parametric animation What I would like to do is feed in the value of the animated property at every "tick" based on a function. Actually...what would be even sweeter would be to have a "parametric animation object" that takes a function pointer to my parametric equation and then handles the rest for me! But I'll stick with being pointed to some details on doing it by hand. ...Show All
Visual Studio Express Editions SQL Express Local and Remote database
did anyone try... are there any samples.. for this.. i would create aplication with local database, but in code on runtime it should change connection string and connect to remote database.... is this possible Hi, Yes this is very possible. You can store your connection string externally (text file or registry) and just load it in your connection object. By that approach you can change the connection string even if its already compile ...Show All
Visual Basic C# or VB ?
other than familiar syntax is there any reason to use VB instead of C# is the difference only syntax Hi Ever since .NET arrived this question has stirred emotions between those developing in VB and those developing in C# (needlsessly so in my opinion). You often find the usual ramblings that C# is better than VB which I guess stems from when VB classic was an interpreted language against C++ which was a compiled langu ...Show All
.NET Development Issue with XmlWriter/XmlTextWriter.
Hi, I have a piece of code as below: static void Main(string[] args) { XmlTextWriter tw = new XmlTextWriter("c:\\tw.xml", Encoding.UTF8); string Text = "<Script><![CDATA[int i=0; if (i < 0) i = 0; ]]></Script>"; tw.WriteElementString("Text", Text); tw.Close(); } I am trying to output the string Text to a xml file. The string self has CDATA in it. I a ...Show All
Visual Studio no dynamic files
I'm brand new to Visual Studio (I have version 2005). I've created a project (solution I'm not sure of the difference) and I'd like to know what files I should store in my version control system, so someone else could check them out and use them. By the way, the version control system I'm using is NOT SourceSafe. I'm sure there's some documentation on this, but I can't find it. I would imagine I don't need all files in all folders, right So what ...Show All
Visual C# In my project, I want to build any other .sln
can I do this A solution cannot contain other solutions, so the answer to your question is no. A solution can contain different projects. I guess you tried to ask if you could add and then compile, for example a c++ project in a solution with a c# project, in this case you can compile it. ...Show All
Software Development for Windows Vista Using root activity parameters
I've created a workflow from using a root activity class that derives from SequentialWorkflowActivity and adds some additional properties. These appear fine in the designer properties grid but I'm unable to find them in the browser when I want to associate them to properties against other Activities. I'm using Beta 2.2 version. Any help would be appreciated. Tim, Can you post the code snippet of your p ...Show All
Windows Forms Weird ClickOnce Issue.
We are trying to secure the Click Once page by controlling only certain users access to the IIS directory the published data is. Everything works like it should from a local connection such as, We browse to the page and we get a login prompt, we enter the correct login and we see the "Click Once Page". We click the button and everything installs and runs like it should. The bad part is when we browse from an external ip and f ...Show All
SQL Server DB Replication on SQL Express edition?
Dear All, I have plan to use SQL Server Express Edition, is it possible to have DB Replication features in this edition .. please advise.. Thanks a lot in advance Regards Winanjaya Hi, depends on the kind of replcation you need, the feature comparison (also with the replication features) can be found here: http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx HTH, Jens Sue ...Show All
