rdb's Q&A profile
.NET Development SMTPClinet - mailMessage.DeliveryNotificationOptions only works once per session?
I'm trying to send an email and get a delivery receipt back. I'm setting the MailMessage.DeliveryNotificationOptions = DeliveryNotificationOptions.OnSuccess and it works great for the First email that is sent. Any emails after the first do not generate a Delivery Receipt. I've tries Creating multiple MailMessages and SMTPClients, though even with two of each DIMed I only get the one Delivery Receipt. If I set each Client to a Different Ser ...Show All
Visual C++ vc++8.0 bug: access violation upon call of any CImageList methods
I have sucessfully imported and compiled a complex MFC 6.0 project from vc++6.0 into vc++ 8.0 (MFC 8.0). It contains several subprojects (libs and dlls). In vc++ 6.0 those project linked MFC6.0 statically and after I imported it to vc++ 8.0 I set the linkage of MFC8.0 to "shared". However when I try to compile and link the project in vc++ 8.0 in release mode (debugmode works fine) I get an acess violation in afxcomctl32.inl. This happnes w ...Show All
.NET Development Question about List<T> and accessing a specific item
I'd like to know if there is way to acess a specific List<T> item by specifying a property of that class. (It's a simple question, it's hard to ask). Let me make this clearer... Let's say I have a simple class called Person, and it exposes three properties - name, age, sex. class Person //oversimplified for brevity { string Name; int Age; char Sex; } Now I define a List<T> of type person: List<Person> ...Show All
Visual Studio Express Editions Can't remove .NET Framework 2.0 Beta 1
I'm attempting to install the VC# Express Edition 2005 Beta 2 package and have run into a snag. I previously had some of the Express Edition Beta 1 packages installed (VB, VC#, VC++), but removed them in order to install Beta 2. I also have the .NET Framework 2.0 Beta 1 package installed, which refuses to uninstall. First, I tried removing it via Add/Remove Programs. The uninstaller complained that 'netfx.msi' could not be found, and quit. The ...Show All
Smart Device Development This project requires .NET Compact Framework v1.0, which is not installed on this machine.
When I try to create a new Visual Basic Smart Device Application (1.0) in Visual Studio 2005 I get a dialog box titled "Microsoft Visual Studio" with the message: "This project requires .NET Compact Framework v1.0, which is not installed on this machine." I can still create new projects in Visual Studio 2003. Add or Remove programs shows the following are installed: Microsoft .NET Compact Framework 1.0 SP1 Microsof ...Show All
Visual Studio Team System TF30063: You are not authorized to access Microsoft-IIS/6.0.
I receive the above error when doing a Get Latest (recursive) from the Source Control Explorer. It occurs when I'm on a remote client (with a fairly high latency) to both a Single Server install in domain or workgroup mode. If I acknowledge the error and continue to do Get Latest Recursive I do indeed get all files, but I may have to do it multiple times to complete, it seems the more files that're updated in source control, the more ...Show All
SQL Server Using SQL Function in a sql Schema
Hi ... I am bulk loading data into a table using a sql schema. I need to change a data from local time to GMT. I would like to use the SQL Function DateAdd(Hour, 5, dtData). Is it possible to access these function from the schema file .... I sort of douht it The other solution is to post process the data after the bulk insert ... Thanks, Chris I don't think user-defined functions are supported. You will have to loa ...Show All
Software Development for Windows Vista Workflow Runtime Accepts HandleExternalEventActivity Events Out of Sequence
I am new to WWF and trying to model a simple call tracking application with a sequencial workflow. The first activity of the workflow is to wait for user input concerning the nature of the call (e.g. customer name). The second activity waits for the closure of the call. I have modelled this as a sequetial workflow with two activities. The first activity is a HandleExternalEventActivity activity and handles the receipt of the customer information ...Show All
Visual Studio Team System permissions specific to Team Build when accessing TFS from outside AD domain
I am accessing my TFS from outside the AD domain that it resides in - the client machine is in its own workgroup and not a member of that domain. In User Accounts/Manage My Network Passwords on the client machine I added the TFS server name and the AD username/password that I should use to access it. I am able to successfully connect and use most of the features - adding Work Items, general administration, etc. but cannot start ...Show All
SQL Server Intermittent Failure of Interdatabase Service with SP-1 CTP
In an SSB test project created from the T-SQL batch in Stuart Padley's Weblog (subtitled "SQL Server 2005 stuff I couldn't find anywhere else", http://blogs.msdn.com/stuartpa/archive/2005/07/25/443229.aspx ) I found strange inconsistencies with enquing messages between two databases on the same SQL Server 2005 Standard Edition SP-1 CTP March instance running under Windows Server 2003 SE SP-1: Sending a simple message from the In ...Show All
Visual C++ customize codepage used by "cl.exe"
I'm using Visual Studio 2005, I'm wondering whether there's anyway to set the codepage used by "cl.exe" instead of the default system codepage. For example, the system default codepage (ACP) is 936, but I want the "cl.exe" to use code page 1252 instead. Any suggestions Thanks in advance! As you probably are aware, the compiler uses the codepage corresponding to the setting under the "Regional and Language Options" co ...Show All
Visual Studio Tools for Office How to: Interact with Windows Forms (C# 2.0 & Word 2003)
Hi all, Refering this MSDN information, http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_wrcore/html/wrconwordobjectmodeloverview.asp ... 1) Can anyone tell me how to make a Windows Forms appears when the Word documents starts executes 2) Most important, How to pass information to the Word Document from The Windows Form code & components Since this is not discussed in MSDN... eg. To pass a s ...Show All
Visual C++ How to run an application when clicking "Shut Down" from start menu?
Hello, I am using Windows 2000 Professional and VC++ 6.0 (MFC). I have created a simple dialog based application. I want to run this application when I click "Shut Down" from start menu. How to achieve this TIA, Regards, Jahfer V P Just read this: http://pcworld.about.com/magazine/2206p160id115628.htm HTH ...Show All
Software Development for Windows Vista going to persistence, inside workflow runtime
Hi, How is possible to order persisting of workflow state inside wf diagram. I don't want to use delay and external activities for workaround. Is it possible without writing custom pers. service Bojan One way would be to write a custom activity that does nothing in its Execute override and has the [PersistOnClose] attribute. Everytime this Activity is executed, the Workflow will persist when the Ac ...Show All
.NET Development How to determine Missing WebMethod
I could not find a missingMethod exception version in SoapException which is thrown by Web Services. When i call a Web Method in my client, I need to determine whether returned error specifies missing method exception. My client code takes Web Service URL as input and call a method in service. Web Service wont return a WSDL file as a security measure. Please help. Thanks, Salim Hello salim. MissingMetho ...Show All
