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!

Search results for query: *

  • Users: honeypot
  • Content: Threads
  • Order by date
  1. honeypot

    datagrid, searching for records

    Hi all :) i have a windows form with a datagrid on it. I also have a textbox txtSearch where users will type in a name and then the datagrid displays the records based on the search. While i know what i want to do...i have no idea how to achieve this?? any help would be much appreciated...
  2. honeypot

    tab order

    hi ive set up my tab order on my form which works fine but i'd like to be able to move thru the controls in the same way using the enter key. How do i set this up? I assumed that it would do it automatically!
  3. honeypot

    exporting to csv for mailmerge template

    i have the following error when trying to run my code: An unhandled exception of type 'System.IO.IOException' occurred in mscorlib.dll Additional information: The process cannot access the file "c:\export.txt" because it is being used by another process. The file is created but is empty. I...
  4. honeypot

    pass records to existing ms word mailmerge document

    ive created a mail merge document (in ms word 2003) that uses all the necessary fields from my database. What i need to do next with my windows form is when the user clicks on the mailmerge button, all records that require an acknowledgment letter will be pushed through to this existing mail...
  5. honeypot

    Object reference not set to an instance of an object.

    An unhandled exception of type 'System.NullReferenceException' occurred in PostBook Planning Dept.exe Additional information: Object reference not set to an instance of an object. I get the above error message when trying to run a mail merge on my windows form. Can someone pls help? Can post...
  6. honeypot

    mail merge - run a batch at the end of each day

    Hi there :) I'd like to run a batch of mail merge letters at the end of each day on the program that i'm trying to write. Basically it will look at a field "Acknowledgement Required", if equals true then create mail merge document. there is also an "Acknowledgement Sent" field which would need...
  7. honeypot

    mail merge - Object reference not set to an instance of an object.

    An unhandled exception of type 'System.NullReferenceException' occurred in PostBook Planning Dept.exe Additional information: Object reference not set to an instance of an object. The above error occurs when trying to run mail merge in my program. My code is as follows: Private Sub...
  8. honeypot

    unhandled exception of type system.data.sqlclient....

    Hi - im getting the following error message when running my program. It happens when i click the update button which is supposed to update the database: An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll Additional information: System error. The...
  9. honeypot

    best way to write online asset management in asp.net

    Hi there :) im trying to find the best way to write an online asp.net for an asset management database. ive tried using a datagrid but it's too large to display on the page as there's too much information to display. users need to be able to add, delete, edit and update the database on the...
  10. honeypot

    need some sort of error handler

    i have a textbox which is connected to four address fields in a database. If the user doesnt enter 4 lines of address then i understand my program will crash!! How do i work around this? heres a bit of my code that splits the textbox: Dim mySplit As Array mySplit =...
  11. honeypot

    e.cancel is not a member of system.eventargs

    Hi there :) I'm trying to display a message box on an exit event and have used the following code, but i get an error: e.cancel is not a member of system.eventargs. Could sum1 pls tell me where i'm going wrong. Thanx. Private Sub mnuFileExit_Click(ByVal sender As System.Object, ByVal e As...
  12. honeypot

    printing windows forms

    Hi :) I'd like my users to be able to print a windows form as it appears on screen - but so far i've only managed to find out how to print a text file! Could some1 pls help a newbie?? Thanx
  13. honeypot

    make datetimepicker invisible if chkbox unchecked

    Hi all :) on my windows form, amongst other things, i have a checkbox for 'reply required', so if a reply is required then the user chooses a date from the datetimepicker. if the checkbox is unchecked, the the datetimepicker becomes invisible. i got this working by using the following code: If...
  14. honeypot

    multiline textbox to update 4 fields in a database

    HI :) I have a multi-line textbox on my windows form, which should enable users to put in an address. The database that it will update has 4 address fields - address1, address2, address3 & address4. How do i write the code that will enable the textbox to update each field separately, assuming...
  15. honeypot

    datetimepicker - calculate difference between 2 dates

    hi all :) i have 2 datetimepicker controls on my form. in the 1st one, it shd automatically display the current date anyway but i need to use the 2nd datetimepicker to automatically display 14 days ahead of the 1st one. Perhaps i shdn't b using dtp, though the user shd be able to amend the date...
  16. honeypot

    newbie - textbox - validating to currency or decimal?

    hi there! i have a windows form that will enable users to (hopefully) enter details to update a database. One of the textboxes will be used to update a currency or decimal value. How do i set this? Or validate it so that they can only enter say for example "102.00" or "34.58"??
  17. honeypot

    read log file, if archive stopped for 2 hours or more, send alert

    Hi :) ive managed to write a console app that reads a log file checks for the word "error" then sends email notification if true. The program reads the file every 5 mins. Next i have to check for "archival stopped" & if it is still in this state for 2 hours or more send an...
  18. honeypot

    read file then email, but dont email if no new errors!

    Hi there :) ive managed to muddle through and write a small program that reads a particular log file, checks for the word "error" and then sends an email notification. At the moment the program sends an email even if there are no new errors & i dont want it to send blank emails. Could...
  19. honeypot

    timer - run program every 5 minutes

    Hi there :) i've created a program that basically reads a file, checks for the word "error" and then emails sum1 with the "errors". What i need to do now is set the program to read the file every 5 minutes, which ive tried to do but i've messed up somewhere?! when the file...
  20. honeypot

    search text file for particular word, then send email alert

    Hi i've been asked to compile a program that will enable the user to receive an email alert when a particular word appears in a text file and would appreciate any suggestions on how to go about this? I'm very new to all this as you can probably tell

Part and Inventory Search

Back
Top