Ash8Fee's Q&A profile
Windows Forms System.net.mail in VB 2005
Hi, I want to use the System.net.mail in VB 2005 to send BULK EMAIL, newsletters to subscribers. I can send mail allright, but how can i get a DELIVERY STATUS report to show which mails have been delivered, bounced, read...etc. Is there any property in the System.net.mail class If not , can anybody recommend me a solution ......any 3rd party Thanks, Alex ...Show All
.NET Development Please help -> Invalid uri: the hostname could not be parsed
I have this problem in some machines acessing a webservice from a VB app that uses a VB.Net wrapper class. The app works fine in others machines. But in someones I get this error when I try to consume the webservice : invalid uri: the hostname could not be parsed Thanks in advance. Hi Nathan, The problem is ok now. What was it : my .Net Class have properties like : proxyAdress, proxyUser and proxyPass. When working under a Proxy all was ok but without a proxy I had an error. Cause : whithout a proxy the VB6 app was setting the ProxyAddress with an empty string ( proxyAdress = "" ) and for some reason the .Net class was receiving something diferent and trynig to set an incorr ...Show All
Windows Forms Getting SelectedNode's Key
How can we get the key of a selected node in a TreeView control TIA ...Show All
Visual Basic Windows Media Player Control
I have a VB6.0 application that I want to rewrite in VB2005. In it, I use the media player control; specifically the advance frame method to control the playing of the video (AVI format). It appears that current versions of Media Player do not support this method, and frame-by-frame control over video is not possible from within VB2005. Is this correct Is there a way to have programmatic control over video playback, including frame-by-frame advance/backup and also to be able to draw graphics that persist on top of the video Playing Digital Media in a Visual Basic .NET Application ...Show All
Visual Studio Express Editions VC++2005 Express Edition problem
I have a serious issue with my registered and perfectly legitimate copy of Visual C++ 2005 Express Edition (I got it from MSDN). When I try to build a project, I find the build always fails because the manifest cannot be embedded. Is this a bug Can this be resolved Oh, not cmd.exe again, it's amzanig how often it get's messed up. Start + Settings + Control Panel, System. Advanced tab, Environment variables button, Path + Edit, make sure that c:\windows\system32 is listed in the textbox... ...Show All
SQL Server How can one user view other users that belong to a database role?
After upgrading my database from SQL2000 to SQL2005 I have noticed a change in behavior of sp_helprolemember. In SQL2000 I could connect as 'user1' and use sp_helprolemember to find all users that belong to a certain role. In SQL2005 sp_helprolemember seems to only show me the roles that connected user belongs to. For example, if I connect as 'user1' I only see the roles that 'user1' belongs to. Any advice on how to duplicate the behavior from SQL2000 Thanks for the post, however you've only explained why it's behaving as it does. I'm looking for advice on duplicating the Sql2000 behavior. For example, if I log on as user A I'd like to know if user B is a member of role ABC. ...Show All
Visual C# Hi All
Hi all, i m so glad i found this forum, help is awesome .... wish you all merry christmass! Yeah! Christmas is in 11 days! "Please be a C++ GUI programming guide!". I hate macs but, I think their commercials are funny. I wish MS would make one against mac. that would be awesome! Merry Christmas all. Be safe this holiday. ...Show All
Visual Studio Team System How do I exclude a database project from a solution for a build
This is along the line of other posts I've seen but, doesn't cover a database project. I have a solution with a web project, libraries, and a database project. The database project doesn't show up in the Configuration Manager of the solution to include or not in the build. When I create a build to run on our build server it fails with the D:\Build\Project\Project Build\Sources\Project\Project.sln(0,0): warning MSB4078: The project file "...StoredProcedures.dbp" is not supported by MSBuild and cannot be built. It builds fine in VS since it's not being included. How do I exclude it from the build server build Is someone from microsoft going to offer a solution for this I'm trying to exclu ...Show All
.NET Development Benchmarking .NET sockets API
Here are the results of some benchmarks I have do : Here I have create a small benchmark... there are : - Synchronous version of client - Asynchronous version of client - Synchronous version of server - Asynchronous version of server I have play with all the versions, I have got the following result : 1) Client_Synchrone + Server_Synchrone = 120 Mb/s 2) Client_Synchrone + Server_ASynchrone = 110 Mb/s 3) Client_Asynchrone + Server_Synchrone = 110 Mb/s 4) Client_Asynchrone + Server_ASynchrone = 110 Mb/s For the 4 versions I'm near of 100% CPU use. Asynchronous with ManualResetEvent to avoid: "NoBufferSpaceAvailable" ------------------------------------------------------------------------------------------------ So, I'm able to hanl ...Show All
Visual C# Shared Addin for Word 2003
Hi, I've created a shared addin for MS Word 2003 in C#. The addin comprises of a toolbar which loads and works fine for the very first instance of Word. For subsequent instances of Word, the toolbar is visible but doesn't work. What am I doing wrong here Make sure that you store all dynamically added toolbar items like buttons in instance fields of your class so that they are kept referenced and the GC won't collect them as it might when they are local variable only. -- SvenC ...Show All
SQL Server financial year
how can you store a financial year in sql 2005 I would absolutely suggest a calendar table like this for your translation needs. You calculate it once, store it away and then reference it. Here is an article (with code) I wrote on how to load a calendar table, including columns for fiscal_year and month: A way to load a calendar table http://drsql.spaces.live.com/blog/cns!80677FB08B3162E4!1349.entry It also has several references to other articles. ...Show All
SQL Server The password of the account must be changed
I am trying to adapt a vb6 application to support sqls 2005 features. I am using SQL Server Authentication and want to support the feature which forces the user to change his password on the next login. Using an SQLOLEDB connection string, on trying to log I get an error saying that the password must be changed - fair enough - but how can I do this I would have expected to be able to supply both old and new passwords in the connection string, but there does not seem to be any such feature. Am I missing something obvious Hi Jivko, Thany you for your helpful suggestion, which I followed up. I had a problem in getting the native client to work. It did not seem to have been installed properly on my mac ...Show All
Visual C++ VS2005 C++ compiler bug?
I do not know if this is the best forum to report a MS VC++ compiler bug (please advise if I should post this to another forum). In the process of migrating code from VC6 to VC8 (i.e. Visual Studio 2005 Professional Edition) I have stumbled across what I believe is a C++ compiler bug in the handling of template functions invoking the function call operator. Details and other ramblings below (after the example code that exposes the problem). #include <algorithm> #include <list> #include <stdio.h> #include <tchar.h> class A { public : // explicit initialising constructor (made explicit to avoid implicit conversions or casts) explicit A ...Show All
SQL Server Replication Distributor Job History is shocking!
Sorry for the odd format but that is what happens when you paste here! This is data from our Job History for a "Replication Distributor" Job Step Type. Here is how I interprete it: The job step started on the 19th. It restarted itself twice on the 20th. Then it restarted itself twice on the 21st. Then it restarted itself 3 times on the 22nd. And finally it restarted itself on the 23rd. Notice the progression of Retries_Attempted. When Retries_Attempted exceeds 10, the step will fail and the service will shut-down, which is what I have seen in the past. I conclude the Advanced Settings of Retry Attempts is not per "Event" but "total tries no matter how many successful retries are encountered." I thought a s ...Show All
Windows Forms chaging formWindowState.Minimize to formWindowState.Normal
I want to write some code that is triggered when the window state of my form chags formWindowState.Minimize to formWindowState.Normal, is there a way of capturing this event i have looked at the "resize()" event, but no idea whether it is the one and how to implement the process. please help Yes, the Resize event is best. For example: public partial class Form1 : Form { private FormWindowState mState; public Form1() { InitializeComponent(); mState = this.WindowState; this.Resize += RestoreDetect; } private void RestoreDetect(object sender, EventArgs e) { if (mState == FormWindowState.Minimized && this.WindowState == FormWindowState.Normal) Console.WriteLine("Minimized -> Restored&quo ...Show All
