Shrad's Q&A profile
Visual C# Creating a Table Similar to that of MS-WORD's
Hi, I am working in C# and want to draw a table on a RichTextBox which should be editable and the cell width should change according to the text entered by the user. Please if anyone could help me. Thanks to take control for RichTextBox you need to deal with rtf propery and the syntax of rtf you can look at http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnrtf ...Show All
Windows Forms bug? or am i doing something wrong
im trying to create a FolderBrowserDialog this is the code im using. FolderBrowserDialog *fbd = new FolderBrowserDialog; fbd->ShowNewFolderButton = false; fbd->RootFolder = Environment::SpecialFolder::DesktopDirectory; fbd->Description = S"Please choose the directory containing the&nb ...Show All
Visual Studio 2008 (Pre-release) Databinding with WCF
Hello, is possible to do databinding with WCF My scenario is the next: I`d like have a service in WCF that return a collection of objetcs (for instance, class Person), and the client (Avalon application) make databinding with the collection, if the cliente make any change in the information, this information has change in the collection of objects (Person) in the service. A functionality looks like a dataset in a windows form applica ...Show All
.NET Development .Net 2.0 send email with multiple “To” recipients
Hi, I know how to send emails in .Net 2.0, but I can not send one with multiple email recipients in the “to” field. If possible I would like to specify display names for all recipients in the “to” field but this is not required. I had the same problem, rather than change all of my code, I changed my main mail routine as follows. This works for me, let me know if you have any questions. Publ ...Show All
SQL Server SQL Agent Failing when trying to run my SSIS Package
I found a similar thread posted under the same title as this by dba123. Unfortunately, his solution does not match my problem. I have a SSIS package that will run fine in debug mode, will run fine when published to the server when I right click and execute it. However, when I run it through a job, either scheduled or running the job manually, the job fails. There is an entry in the servers application log telling me that "login failed fo ...Show All
.NET Development Cleaning up a Pinned GCHandle
THe constructor of my class creates a pinned GCHandle to a large array of uints. The destructor just calls Free() on the handle. Is this all that I need to do to avoid memory leaks I heard about the Dispose and Finalize methods. Do I need to implement them Thanks. Hi, Yes calling Free() is sufficient. Read the following blog post for more information: http://blogs.msdn.com/clyon/archive/2005/03/18/398795.aspx ...Show All
Visual Studio Team System Handle for the Process Template of a TeamProject
I want to get a handle for the Process Template of a Team Project created in TFS using VSTS. I need the handle to get what are the elements which are present for that specific project. Please help me out. I need it immediately.. Hi All, Thanks a lot for guiding me to the right track . Everyones posts were really helpful. Regards, Sameer and Muthu ...Show All
Visual Basic How to make slideshow transition with Picturebox
You've seen those fancy wipes, fades, cut and swirls in slideshows... now, how do you do it with the Picturebox It's incredible how many people mistake the picturebox control for a paint program, or for Powerpoint. You can't. A picture box is there so you can show a picture without writing the two lines of code required. If you want to do more, you'll need a lot more than those two lines, you'll ...Show All
SQL Server XML Source - Generated XSD or XML Problem?
Trouble with using the XML Source Adapter and generated XSD. The XML source is from a file. The XML file that, due to its origin I can not modify, has the following on each line (I've formatted it for readability): < xml version="1.0" encoding="UTF-8" > <Merge ActionType="M"> <OldID>23677451</OldID> <NewID>25116562</NewID> </Merge> They are messages from a que ...Show All
Visual Studio Express Editions Project Location is not trusted
Hi All, I have Visual C# 2005 express edition installed on my computer and I'm having trouble with non trusted projects. All my projects are saved in the default location (my documents\visual studio 2005) yet, if I save a solution I received via email in that folder and try to open it in Visual C#, it complains that the location is not trusted. All other projects created within Visual C# 2005 work fine. I looked at the sln and csproj fil ...Show All
.NET Development Help with apostrophe symbols in database items
I am using Visual Studio 2005 pro and C#. I am converting part of my application to work in SQL database, but I have a slight technical difficulty to get over. My application decodes a file which contains names and stores them into a database. However, some of the records in the decoded file contains the apostrophe ' symbol which causes problems with my varchar strings that I need to build and send to the SQL database, for example, the nam ...Show All
Windows Live Developer Forums possible bug or maybe just one of my annoyances??
ok just a small problem ive been having with the beta. ive noticed that when any of my contacts sign in or out my contact list jumps to about halfway down my contact list. seemingly following the contact thats signed out. (dont understand why it does it when they sign in.) Im guessing that its something thats supposed to happen possibly but i do really find it annoying. Can anyone else confirm this for me Does it happen for you Is there anyway t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Managed DirectX for .NET 2.0 Documentation
Is there any decent documentation out there for Managed DirectX for .NET 2.0 I'm using the latest beta of it from the December 2005 DirectX SDK, but all of the documentation and examples are targeted for the older Managed DirectX for .NET 1.1. I've run into some inexplicable problems and am not sure where to turn. MDX2.0 is sufficiently different enough from MDX1.1 such that the old docs and samples don't help much. (i.e., DSoundHelper ...Show All
Windows Forms Some Controls refuse to set Height property
That's a problem. Some of the controls, like TextBox and ComboBox, refuse to adjust themselves to a newly set Height value - but the damn things store the new Height values, so I can't even ask what actual Height-values they currently have, th ...Show All
.NET Development Append to existing xml file
Hi. What is the best way to append a new node/element to an existing xml file currently reading the entire doc into a filestream, then using xmltextwriter to write the new element but of course it results in an invalid xml file because it does not set the rootnode to end at the end of the final node/element inserted into the xml file thanks! funny, I was reading your site from google! hopefully I can follow it... but how do I re ...Show All
