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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Pipe2Path

  1. Pipe2Path

    email attachment problem

    I solved my own problem. I have to use the WriteToFile method to write to a temp folder on the hard drive, and then use the Source property when adding the attachment. I wish there was a way to directly add the attachment as an object without going thru the intermediate step of copying the file...
  2. Pipe2Path

    email attachment problem

    I am trying to use CDO to email an excel document as an attachment. I retrieve the attachment from an email and am trying to forward it to someone else. I am able to retrieve the attachment from the original email, but when I go to send it out again, the excel file cannot be opened. It attaches...
  3. Pipe2Path

    Datagrid from a DataView

    Thanks jbenson, I got it figured out.
  4. Pipe2Path

    Datagrid from a DataView

    I have a datagrid that is not populated from a database, but from a textbox everytime the ADD button is clicked. I create a datatable with 2 columns, and assign it to a dataview and rebind the datagrid. All works well, until I have a second or third record to add to the datagrid. It keeps...
  5. Pipe2Path

    Capturing a "lost focus" event in a web form text box

    Jim, Thanks a lot for your prompt reply. Do you know if I can run asp code at the HTML level, even though my project is ASP.NET?
  6. Pipe2Path

    Capturing a "lost focus" event in a web form text box

    Thanks jbenson. That approach did work, but I'm not looking for a client side function. I want the function to reside on the server... Is there a way to run the function from the server, as this function will be accessing the database, and I don't want intricacies of the db to be exposed. Thanks.
  7. Pipe2Path

    Capturing a "lost focus" event in a web form text box

    Here is my code-behind, what am I doing wrong? Thx using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Data.SqlClient ; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls...
  8. Pipe2Path

    Capturing a "lost focus" event in a web form text box

    Thanks jbenson. Now, where does the statement descriptiontextbox.Attributes.Add("onFocus", "call a function here();") need to be added? I have added that into the InitializeComponent method, but that doesn't seem to work. The event doesn't seem to fire. Thx
  9. Pipe2Path

    Capturing a "lost focus" event in a web form text box

    I have an ID textbox and a Description textbox on a web form. I want to capture the data entered into the ID text box, when the focus is lost from it, or the focus is on the description text box. I don't see a text box event I can use for this. Can anyone help? Thanks.
  10. Pipe2Path

    Return recordset from a temporary table

    George, You're but a genius. Thank you.
  11. Pipe2Path

    Return recordset from a temporary table

    Hello, I've got a stored proc that inserts into a temp table, and returns a recordset. This works fine when I run it in SQL Analyzer, but when a function in VB6 tries to access the recordset just returned, I get an "Operation is not allowed when the object is closed" error. This happens if I...
  12. Pipe2Path

    Lostfocus event fires regardless

    Just a thought: Is there any event that I could run before the lostfocus event is fired to tell that the SAVE button was pressed?
  13. Pipe2Path

    Lostfocus event fires regardless

    Ok, the SAVE button calls a validation routine when clicked. The text box also calls the same validation routine when its lostfocus event is fired. If I have the user clicking on the SAVE button, I don't want to run the lostfocus event of the text box. Is this possible?
  14. Pipe2Path

    Lostfocus event fires regardless

    How do I prevent the lostfocus event from firing before a click event fires? I have a button that I use to SAVE information in a form. There is another text box in this form that has code in it's lostfocus event. When I click on the SAVE button, instead of running the code behind that button...
  15. Pipe2Path

    Customized msgbox

    I would like to know if there's anyway to have your own button in a msgbox() function. Instead of the standard constants vbYes, vbNo, vbCancel etc. I just want a button to be called say "Do This" instead of the standard ones. Any API or something else someone can point me to? Thx

Part and Inventory Search

Back
Top