Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. redheadpgr

    SUMIF - Range is non-contiguous

    I'm looking for a solution to a simple problem. I want to sum several non-contiguous cells in a column. Some of the cells, however, have text (usually some text like "SKIP") instead of a number. I have tried using SUMIF like: =SUMIF((A4,A8,A12,A16),"<>'SKIP'") This gives error in the cell...
  2. redheadpgr

    Textbox in datagrid

    Found out the problem. In the Page Load event, which is where the data is binded to the grid control initially, I did not check for IsPostBack. What I should have had in the Page Load was something like: If Not IsPostBack Then ... dgGrid.DataSource = dtTable dgGrid.DataBind ... End...
  3. redheadpgr

    Textbox in datagrid

    I have a column in a datagrid that is a template column. When the user clicks EDIT on the row, the user can then edit data in the textbox in that row. When they click UPDATE, the program executes the following code: Dim txtTextBox as TextBox Dim strText as String txtTextBox =...
  4. redheadpgr

    Email and Delivery Receipt

    That looks like a good thing and I will do the 30-day trial. Is there anything, however, that is free?
  5. redheadpgr

    Email and Delivery Receipt

    I'm using ASP.NET to send emails. I'm using Exchange as my SMTP server. I'm using all the correct code to do this and it is working well. What I need to do is to somehow get a delivery receipt from the recipient's email server sent back to the person whose name is the sender of the email...
  6. redheadpgr

    Viewing a PDF file in a browser

    I'm using the following VB code to view a pdf file in a browser: Response.ClearContent() Response.ClearHeaders() Response.ContentType = "application/pdf" Response.WriteFile "c:\inetpub\wwwroot\reports\myreport.pdf") Response.Flush() Response.Close() The problem is that this will show fine...
  7. redheadpgr

    Adding a PDF file created by Crystal as an attachment

    I'm using the following code to create a PDF file from a Crystal Report. Dim oRpt As New CrystalReport1 Dim DiskOpts As CrystalDecisions.Shared.DiskFileDestinationOptions = New CrystalDecisions.Shared.DiskFileDestinationOptions oRpt.ExportOptions.ExportDestinationType =...
  8. redheadpgr

    Emailing with PDF attachment problem

    Thanks, Isadore. I tried doing that but it still sent corrupt files. You did, however, send me in the right direction. What finally worked was: myMessage.Attachments.Add(New MailAttachment("c:\myfolder\ExportFile.pdf", MailEncoding.UUEncode)) Thanks for your help.
  9. redheadpgr

    Emailing with PDF attachment problem

    I'm using VB.NET with the following code to attach a PDF file to an email message: Dim myMessage As New MailMessage myMessage.From = "me@mycompany.com" myMessage.To = "someone@anothercompany.com" myMessage.Subject = "Monthly Report" myMessage.Attachments.Add(New...
  10. redheadpgr

    Datagrid validation and aligning controls

    Thanks so much! It works wonderfully!
  11. redheadpgr

    Datagrid validation and aligning controls

    I'm using template columns in a datagrid so that a user can edit data when they select "edit". The problem I'm having is when I've added some validation controls. Not all the columns have validation controls. The ones that do, have the text boxes align differently in the cells from ones that...
  12. redheadpgr

    MS Word: ActiveDocument.PrintOut

    Great idea! It worked. I entered: ActiveDocument.PrintOut Range:=wdPrintAllDocument, Background:=False I appreciate the help so much.
  13. redheadpgr

    MS Word: ActiveDocument.PrintOut

    I have a macro which retrieves data from a database after a user enters an order number in an inputbox. After the macro retrieves the data, it puts the info in some bookmarked places in the active document in MS Word. Afterward, the macro calls the command to print the document...
  14. redheadpgr

    Removing Public Folder

    The user was removed months ago.
  15. redheadpgr

    Removing Public Folder

    I am new to Exchange Server admin but I have a problem that involves a public folder. An employee who used to work here created a public folder that is a sub-folder to one in which I am the owner. This employee no longer works here and he did not set permissions for anyone else in the company...
  16. redheadpgr

    Date format from Access to Word Mail Merge

    Do the following in Word: 1. Before merging, press ALT+F9. On your mergefields you will see something similar to the following: {MERGEFIELD EntryTime} where EntryTime is your Access field. 2. Place your insertion point between the word &quot;MERGEFIELD&quot; and your field name. 3. Type \@...
  17. redheadpgr

    Delete frame

    Here is a javascript command that has helped me before. Let me know if it works. <script Language=&quot;JavaScript&quot;> if (self!=top){ top.location = location } </script>

Part and Inventory Search

Back
Top