Archive for the ‘Achievements’ Category
  • If you are writing a program to send a mail with an attachment, then you might come across the problem with some random ATTXXXXX.dat file.if you you don't attach a file with the email, then by default ASP.NET will send a weird random ATTxxxxxxx.dat file. To bypass this, put a validation in the file attachment.If Not String.IsNullOrEmpty(AttachmentFileFiled.FileName) Then put the attachment code here ' e.g mm.Attachments.Add(New Attachment(AttachmentFileField.PostedFile.InputStream, Attac... more »
  • I found a nice article about how to send emails using System.Net.Mail on asp.net forums. Have a look at asp.net forum... more »
  • I found a nice article about how to send emails using System.Net.Mail on asp.net forums. Click the following link to access the page asp.net forum... more »
  • This code should be in yourfilename.aspx.vb . Const maxFileSize As Integer = 1048576 Dim intDocFileLength As Integer = Me.AttachmentFile.PostedFile.ContentLength If intDocFileLength > maxFileSize Then Label1.Text = "File size exceeds the limit of 1MB." Exit Sub End If *AttachmentFile is the name of the fileupload control ID.... more »
  • If you want to limit the number of characters in a text field use the code below: < asp:TextBox runat="server" ID="Body" TextMode="MultiLine" MaxLength="5" Columns="55" Rows="10" BackColor="#FFCC99" Width="346px" style="background-color: #FFF0E1"> < asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="Body" Display="Dynamic" ErrorMessage="25 char... more »
  • * I have used VB in this demonstration. If you want to handle the error for the whole application in ASP.NET, you could use the global.asax. Put the below code in global.asax under Application_Error(). Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs) ' Code that runs when an unhandled error occurs Dim currentException As Exception currentException = Server.GetLastError.GetBaseException() Response.Redirect("/error.aspx?Err=" & Server.UrlEn... more »
  • Today morning when I opened my browser (Mozilla Firefox) it asked me to update a few add-on. I have updated the web developer tool bar and restarted firefox. When it opens there is a grey bar (about an inch and 1/2) at the bottom with a red arrow pointing upwards on the left side. I assumed it should be an add-on conflict in firefox. So I have disabled the web developer add-on and restarted it. But it did not work. Then I have updated all the updates and restarted it again! So this is what ... more »
  • Central Administration page Shared Services Administration ... more »
  • Install WSS/MOSS (if SQL installation skipped the Windows Internal Database will be installed) Log on to the server using the SharePoint Installation account. Load the DVD or download the setup.exe file from the Microsoft Download site. Double-click the WSS.exe file (for MOSS this is Setup.cmd) to begin the installation. After the setup program loads, it will check to verify that necessary components are installed (you will be notified if there are any problems). If you are installing Window... more »
  • Install SQL Server 2005 Express Edition Install first the Microsoft SQL Server Configuration Tools by going to the saved directory of downloaded installation files from http://msdn2.microsoft.com/en-us/express/bb410792.aspx. Double click the SQLEXPR.EXE. Then wait until the extraction of files has completed. Click the checkbox to accept the End User License Agreement then click Next. Click Install. Then the SQL Pre-requisite components will be installed. Once the required components... more »
Page 1 of 212
My Networks

Follow me in these Social Networks

Categories
Photos
DSC02810 DSC02762 DSC02725 DSC02779 DSC02781 DSC02789 DSC02786 DSC02793 DSC02770
sanjeeve
Archives