Stéphane Beauchemin's Q&A profile
.NET Development CDOSYS ASP.NET authenticated email script
Hi! Anybody know CDOSYS ASP.NET authenticated script for sending emails I have got a script which is shown below. Anybody please let me know if there is any error in this. The script is not working. ============================================== / using System.Web.Mail; eMail = new MailMessage(); // eMail.BodyFormat = MailFormat.Text; // eMail.From = _SendFrom; eMail.Fields[http://schemas.microsoft.com/cdo/configuration/smtsperver] = "localhost"; eMail.Fields["http://schemas.microsoft.com/cdo/configuration/smtpserverport"] = 25; eMail.Fields["http://schemas.microsoft.com/cdo/configuration/sendusing"] = 1; // if (SMTPUser != null && SMTPPassword != null) // { eMail.Fields[ ...Show All
Visual Studio Crystal reports XI R2 development and Visual Studio 2005 VB
Dear sirs, i have made an aplication with .net 2005 vb. i have reports XI R2 development version, and the reports are running very well in the development machine. Can anyone please help me on the right way off make the instaler of the aplication, to be deployd on other machines Please Paulo Costa First, you should download the merge modules available from http://support.businessobjects.com/communityCS/FilesAndUpdates/crxir2_net_merge_modules.zip.asp You need to use the one ending in NET_2005.msm. Then create a new setup and deployment project. In the solution explorer right click and choose add -> Merge Module. Then right click the merge module added and choose properties. Exp ...Show All
Visual C# Cannot get program to display number with correct number of decimals
I use Microsoft Visual Studio 2005 and i am not able to get my percents to display the percent sign or display only 2 digits after the decimal without resorting to just putting the % in myself. i thought that putting {1:P} would format the display to have 2 decimals and have a % sign, but nothing happens (yes, i have rebuilt the solution). Here is a sample from my program: Console .WriteLine( "Adults\t\t\t{0}\t\t{1:P}%\t\t${2:C}" , adults, percentA, feesA); #1(not 0) needs to be formatted so its printed out as 25.89% and #2 needs to be formatted to display money like $25.00. I know that {2:C} should make it do this automatically, but nothing happens unless i put in the $ and% signs myself. thank you very much. ...Show All
SQL Server date parameter issue
hi all We are a multi site / multi language company so do not want to hardcode the date format - these reports will be on intranet Using MS Sql - Reporting Services 2005 Using no formatting on fields = yyyy-mm-dd - is how it is displayed. I added a @startdate and an @enddate parameter I read up and saw this information: Report properties set 'Language' setting to '=User!Language' to detect user culture automatically My regional settings are set to English (New Zealand) but whatever I do I receive no data - (data is definately there eg when run without parameters) so it is obviously the dates incorrect. Can someone give me some advice on what else to check. There could be some ...Show All
SQL Server Syntax error
I am receiving a error when running a report. "Syntax error converting the varchar value 'RM' to a column of data type int." I checked both the datasets that return the data and there both set as Char(2). I know that the colum has both numbers and alph. Anyone, is there a syntax error that I am missing in the query's Or knows a work around Query 1 ="Select distinct jomast.fjobno, jomast.fpartno,jomast.fopen_dt " & "from jomast " & "join inmast on jomast.fpartno = inmast.fpartno " & "Where fjobno not in (Select qalotc.fcdoc from qalotc) " & "and inmast.fgroup = 'FG' " & "and jomast.fstatus = 'RELEASED' " & "and jomast.fpartno <> ...Show All
Visual Studio Express Editions idiots code book
hi everyone, i am a beginner to vb as are many who post here, i am putting together a book that explains all code statements and explains how they work and what they are doing better then some of the books i have read. i there is anyone who can submit their error mesages and solutions that will be great, also i will be posting all kinds of command questions as i have already done to others on other posts and i would be gratefull for yoiur explanation comments. i want to start with accept changes why do i use it and wehn dio i use it, what is it for thanks chaza wrote: but i see from your respones that this forum is not for what i want, do you suggest i stop using it, ...Show All
Visual Studio Team System Keying off an event
I would like to be able to rename a folder upon a build status changed event. How can I key off this in an application You can use the eventing service of TFS, creating a webservice which will be called on the build status changed event by TFS, you can find some samples about webservices subscription to events in Visdual Studio SDK, MSDN, and blogs like this ones: http://blogs.vertigosoftware.com/teamsystem/archive/2006/07/13/Automatic_email_notifications_when_a_work_item_is_assigned.aspx http://blogs.conchango.com/howardvanrooijen/archive/2006/04/29/3894.aspx ...Show All
Smart Device Development Norton Intenet Security kills Remote Data Access
I have a C#, .NET Compact Framework 2.0 SP1 application that uses SQL Mobile 2005 and Remote Data Access (RDA). If I try to use RDA over an ActiveSync pass-through connection and the host desktop computer has Norton Internet Security (NIS), all RDA communication fails. The reason for the RDA failure is that NIS clears the Content-Length HTTP header field in an attempt to protect against viruses. Apparently, RDA needs the Content-Length HTTP header field and fails when it is not present. Are there any fixes for this issue Is Microsoft planning to re-engineer RDA so it does not rely upon the HTTP Content-Length header field You should contact Symantec for the issue resolution. ...Show All
Visual C++ Failure to rebuild after .hpp files are modified
I've just installed the released version of Vsiual C++ 2005 Express after being a beta user for months. I used the uninstall tool and the installation went smoothly, but I find that now projects don't always get rebuilt when they should. I'm not using explicit makefiles or anything fancy, just ordinary console application Win32 projects generated by the wizard. After I modify a .hpp file that is included by a .cpp file in the project, whether or not the .cpp file gets recompiled is unpredictible. Often it decides everything is still up to date. It doesn't seem to matter whether the .hpp file is named in the project or not, either. I am forced to use the new 'Build/ Project Only/ Rebuild Only' command to get my changes applied. I've check ...Show All
Visual C# MSHTML Questions
Im really new to MSHTML, its becomming crucial that i learn this dll a little bit better and ide like to know if anyone has a good tutorial on c# for mshtml. It would benifit me alot if i could gain a little knowledge about it! thanks for your time.. Hi, Here is the reference and tutorials: http://msdn.microsoft.com/library/default.asp url=/workshop/browser/mshtml/overview/mshtml_editing_ovw_entry.asp Thanks ...Show All
Software Development for Windows Vista Simple Question Invoking Workflow form Another
Hi, I created two sequential workflow for a sharepoint 2007 server. I need to start the second workflow from the first one in a taskreplicator. I want to use a invokeWorkflowActivity but i don't manage to fill the invokeWorkflowActivity in the designer window. But the window to choose the invokeWorkflowActivity is empty in the current Project section. What do i miss Thanks Hi, I do have the same problem. I have two seq sharepoint 2007 workflows. I need to call one workflow from the other on certain conditions. I tried using the IStartWorkflow method to invoke the another. IStartWorkflow startWorkflow = executionContext.GetService( typeof ( IStartWorkflow )) as IStartWorkflow ; But, my inv ...Show All
SQL Server Precision and Scale in a calulated column
How do I set Precision and Scale in a calulated column I'm trying to limit the decimal points returned in a calculated column but can't find where to set the scale. What am I missing please Thanks, Scott Thank you for helping. I'm using the Management Studio. Is there a way to accomplish this in the formula line Thanks again. Scott ...Show All
Audio and Video Development Where can I find "PKEY_Device_FriendlyName" definition?
Hello, guys I'm trying to compile sAPO property sample project in Vista DDK 5472. But everytime I'm trying to do that, I'm getting the error message which says that "'PKEY_Device_FriendlyName' : undeclared identifier". I already searched all the files in DDK 5472, but nothing was found. Can anyone advise me that where can I find that defintion or can anybody advise me how to solve this problem Thanks in advance. Hi, I have installed SDK Build 5536, and I still get the same error with "PKEY_Device_FriendlyName". Could anyone kindly advice ...Show All
.NET Development OleDbDataAdapter fill optimization with MSAccess
Hi, I have an MSAccess table with 4 fields: 1 autonumber, 2 numbers and a text field. I'm currently connecting to this table using dataReader, but we have two of our clients table who have ~150000 and ~2000000 rows in that table. With the query we currently have and with the datareader, it's take respectively .45 sec and 1.6 secs. I want to optimize this time, since we have a lots of queries to do. So now, i'm loading all the table into a DataSet, using an OleDbDataAdapter. [I know that's it's take an ridiculous enormous memory space for this number of row] . Once fill, the query on the dataset takes less than .001 secs, even with 2000000 rows table! The problem is, that the adapter.Fill(dataset) takes respectively 6secs an ...Show All
Software Development for Windows Vista hello
do you think that i can get download windos vista Hi Crispin, At this point, your best bet would be to join the beta program (although I am not sure if they are taking new members). You can learn about Windows Vista here: http://www.microsoft.com/windowsvista/ Thanks, Chris ...Show All
