Jon David's Q&A profile
Visual C# System.Net.Mail -- how to continue sending to emails if one of the emails fails with a 511
I'm using the System.Net.Mail interfaces to send emails; however, if I am sending to a list of emails and one of them does not exist, the entire message is aborted and an exception is thrown. Is there a way to tell the Client to not throw an exception on a failed message and to sent to the rest of the recipients Thanks, Kevin here is a simple method, althought there could be a simpler way, you can do something l ...Show All
Visual C++ Function overloading problem?
I'm not sure if this is a bug in MS (using VS 2003) or if an oversite in the C++ standard. But, when I have multiple functions in a base class using the same name with different signatures and I override one of the functions in a derived class, the remaining functions in the base class become invisible. This is part of an annotation module for an image viewer. class line{ protected: POINT _pt; public:   ...Show All
Visual Studio Tools for Office Installation of VSTO require Framework 2.0
Hello, I am try to install VSTO beta 1 for Office, but when the installation start I receive message that inform me that I have to install before Microsoft Framework 2.0. But on this machine I have been installed the Framework v2.0.50727. where is the problem You have to install save releases of VSTO e Framework Different version are incompatible. Bye! (devi installare la stessa versione: ad esempio la VSTO Beta 2 va installata con la ve ...Show All
Visual C++ Candidate function(s) not accessible strange case
When trying to call a __gc class static function in an assembly which has CLR and non-CLR types in its signature, I get a Candidate function(s) not accessible error. In an assembly, using /clr:oldSyntax: TSEShared.h -------------- // TSEShared.h #pragma once #include <string> using namespace System; namespace TSEShared { public __gc class Global { public: static std::string ToCppString(System::String *); }; } TSEShared.cpp ------- ...Show All
Visual Studio Can we add a footer to a Matrix
I want to sum up all rows of a column in Matrix. Can we add a footer to Matrix to show the sum up information For this, what I did is, I made an exact copy of that particular matrix. placed below to the original one and replaced data section with sum function and row header with simple text. Set visibility to Hidden for all unwanted Coulmn Headings. ...Show All
Windows Forms How to keep the decimal separator the same regardless of culture
Hello, I have a vb.net2005 application that was developed in the en-US culture and uses . as the decimal separator. When this application is run on a machine in which the culture has a . as the decimal separator, it runs without error. However, when it is run on a machine with a culture that uses a different character for the decimal separator, a System.InvalidCastException occurs. My application requires the user to in ...Show All
SQL Server sa user account info
i usually use the windows authentication mode when accessing my sql server but now that i need to use the SA account i can't seem to remember the password. is there any way that i could just reset the password for the SA account If you are a sysadmin on the SQL server, you can do this throug Enterprise Manager / Management Studio (depends on what version of sql server you are runing) or just by sp_password() stored procedure. ...Show All
SQL Server Update existing columns
I need to create an SSIS package that updates columns in a table from columns in another database where the keys match. What's the best way to do this As with most things in SSIS there is more than one way of achieving this but the default method here is to build a data flow that extracts data from the "other" database, then use an OLE DB Command transform to do the update. -Jamie ...Show All
Windows Forms Display .swf movie file into a form
How to display a .swf movie file into a windows forms app THX a solution would be to add a browser control on your form and navigate to the .swf file. You should know that default IE security display a warning before playing an .swf file which is saved on disk and not loaded from the internet. ...Show All
Visual C++ C++ Error:Common Language Runtime Not Loaded
Hi anonymous! I have just installed C++ Beta Express 2005. All instructions for installation were followed, I removed all previous versions of .NET betas, SQL server, etc before installing this new beta product. Have you done the correct order of uninstall See: Uninstalling Previous Versions of Visual Studio 2005 http://lab.msdn.microsoft.com/vs2005/uninstall/ You also can use the unofficial remo ...Show All
Windows Forms Genetic algorithms in Terrarium
Hi, i wonder if anybody tried to introduce creature with genetic algorithm and if he are, what was results of this. I planing to introduce soon one such creature but it needs to bi trained in local farm to get some advanced behavior before some ...Show All
Visual C++ link error: LNK1104
I am trying to use a c++ library which I downloaded from the internet tiger.la.asu.edu/C_lib.htm. I was getting a error regrding LIBCD.lib and libcid.lib. When I ignore these libraries I get this error : LINK : fatal error LNK1104: cannot open file 'and.obj' How do I fix this error I don't know what 'and.obj' is or where to find it.It is nowhere on my computer.Im using Visual c++ 2005 Express Edition. Thank you for your ...Show All
Visual Basic No message box
Hi, I just installed VS2005 and I'm trying to adapt to VB2005 from VB6, which I mainly use in a lab setting for the analysis of neural data. I decided to start simple and just familiarize myself with the file I/O as well as the new visual layout, projects, forms, and modules, so I tried to open a file and display the contents in a message box (code adapted from a help file--below as Code 1). But no message box appeared. And no errors. So I tr ...Show All
.NET Development How OS Invokes CLR
i have 2 exe's one is managed and other is unmanaged. while executing how os identifies this is a managed code and we need to invoke the clr Sorry, which is the answer :-) Let us know! Bye, Giulio ...Show All
.NET Development Namespace scope problem
Hi All, I have webmethod "getAttribute" in the namespace "urn:IciUserInterface". One argument to this method "userId" is also having same namespace. But in the request soap message , for userId element it does not reflect namespace "urn:IciUserInterface" instead it show Namespace="". 1. How to reflect same namespace to the userId element 2. How to attach prefix to the xml element . i.e inste ...Show All
