Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:722740
More Search Options
RSS Available
Matching Posts
Delete email attachement after email has been sent
I have a rather simple piece of code, that sends an email that contains a file attachment. This file is a PDF file containing a Crystal Report. I am creating a temporary file in order to temporarily store the attachement. What I want, is to delete the attachement after sending the email . Unfortunately this does not work! Iam getting the error: "The process cannot access the file ... because it is being used by another process." Apparently the email-send-procress is blocking the deletion
Posted to
Getting Started
(Forum)
by
gbetsos
on 11/9/2009
Filed under: email, email as attachment
Re: Class Names Syntax Highlighting
The real issue here is the absence of the "User Types" highlighting select option from the list of "Display Items". Does anyone has an answer to this issue?
Posted to
Visual Studio 2008
(Forum)
by
gbetsos
on 11/4/2009
Class Names Syntax Highlighting
In VS2008 I select Tool --> Options --> Fonts and Colors. However I cannot find the correct selection to change the color of Class Names. Thanx in advance for your help!
Posted to
Visual Studio 2008
(Forum)
by
gbetsos
on 10/30/2009
Re: Class Names Syntax Highlighting
Thanx for your reply, it helped me realize why I was not able to find the setting. It just is not there! For some strange reason " User Types " is not contained in the list of " Display Items ". " Track Changes before save " is followed by " VB XML Attribute Name ". I have VS 2008 Pro. Any idea why this is happening? I have another istallation of VS in some other machine, where " User Types ", " User Types (Delegates) ", etc. is properly
Posted to
Visual Studio 2008
(Forum)
by
gbetsos
on 10/30/2009
Re: Watermark overlaps boxes!!!
No reply yet? Is this a bug of Crystal Reports?
Posted to
Crystal Reports
(Forum)
by
gbetsos
on 7/16/2009
Watermark overlaps boxes!!!
In my report I have created a Page Header section and have checked its "Underlay Following Section" option in the section expert. I have then inserted a .png image in this Page Header section that will serve as the watermark of my report. The watermark underlays the secions following the page header only as far as text is concerned. All boxes, lines, etc, that are contained in the sections of my report are obscured by the white background of the watermark image !!! I have tried creating
Posted to
Crystal Reports
(Forum)
by
gbetsos
on 7/13/2009
Change sort order in Crystal Report
Hello, I have the following very simple piece of code: ReportDocument ReportDoc = new ReportDocument(); string sReportFile = this.Server.MapPath("~/Reports/catalogue.rpt"); ReportDoc.Load(sReportFile); ReportDoc.SetDataSource((DataTable) dtCatalogue); rpvCatalogue.ReportSource = ReportDoc; rpvCatalogue is just a CrystalReportViewer used to display the report on a web page. What I want is to programmatically change the sort order of the report's DataTable (dtCatalogue). I have tried
Posted to
Crystal Reports
(Forum)
by
gbetsos
on 7/2/2009
Re: INSERT failed because the following SET options have incorrect settings: 'ARITHABORT'
I don't think that the invokation of the InsertQuery method of the TableAdapter wiil open the connection again. All TableAdapter queries will ckeck first the connection. If it is closed then they open it. If it is already open then they do nothing with it.
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
gbetsos
on 6/25/2009
Re: INSERT failed because the following SET options have incorrect settings: 'ARITHABORT'
Niicola, very good remark! This is indeed the case.I hope Microsoft resolves this issue in some later version of SQL Server.
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
gbetsos
on 6/18/2009
Re: INSERT failed because the following SET options have incorrect settings: 'ARITHABORT'
At last, solution found! I just post it here for anyone who might face a similar problem. The following lines (3,4) do the trick: 1 BookTableAdapter myAdapter = new BookTableAdapter(); 2 myAdapter.Connection.Open(); 3 SqlCommand cmd = new SqlCommand( "SET ARITHABORT ON" , myAdapter.Connection); 4 cmd.ExecuteNonQuery(); 5 int book_id = Convert.ToInt32(myAdapter.InsertQuery( true , 6 "Physics I" , 7 1996, 8 "6543-3343-2" , 9 false , 10 7)); 11 myAdapter.Connection.Close
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
gbetsos
on 6/16/2009
Page 1 of 17 (163 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Channel 10:
Festive Bing
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
WindowsClient:
Runtime Fault Injection using TestAPI
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
WindowsClient:
The year ahead, 2010.
TechNet Edge:
FOPE Policies Deep Dive Interview
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online