Search results for query: *

  1. P

    Updating data in DataGridView

    Dear Sir/Madam, We are using VB.Net 2008. We are using a DataGridView and its DataSource is a DataTable. Now, when we change the value in a particular cell, the change is not reflected till we tab out of the field. How do we resolve the same? Thanks in advance. Regards, Partha
  2. P

    Combo Box in DataGridView

    Thanks for your help. We have found a solution through one of the many aritcles we found through the lead.
  3. P

    Combo Box in DataGridView

    Dear Sir/Madam, We are now using VB.Net 2008. We have used a DataGridView. The DataSource for the DataGridView is a DataTable. We have created the DataTable as per the Database table in ORACLE. Suppose, we have the following columns in the DataTable: A - string B - string C - boolean When...
  4. P

    Dynamic DataGrid cells

    Dear Sir/Madam, We need creating a datagrid where we may need different type of value in each row. For a start, we have created 3 types of controls 1. Text type - any value 2. Text type - only for numbers 3. Boolean type We are using the standard controls provided in Microsoft Visual Studio...
  5. P

    Difficulty Sending Mails

    Dear Sir, I am still trying. Now I am getting the exception (inner exception) "The specified protocol is unknown." I am going through the site to see I can find something. However, I am puzzled as I am using the SMTPMail class. Regards,
  6. P

    Replacing Excel Files

    Dear Sir, What about the case where the file is readonly and Windows again throws a dialog seeking confirmation for the deletion to be allowed. Along the same lines, how can I test whether the user has rights to be able to overwrite or delete or create files? Regards,
  7. P

    Replacing Excel Files

    Dear Sir, I have a program which creates Excel files. I am faced with a problem that when this program tries to create a file, if any file by that does not exist, everything works fine. However, if a file by that name exists, it pops up a dialog box ask for whether the file should be...
  8. P

    Failing to send Attachments

    Dear Sir,Thank you for your kind attention.I seem to have sorted out the problem. I have changed my file naming formula and made the file name smaller and it works. Is there is limitation on length of the Filename or FilePath.I am getting problem now with regards to the File Path. Some of the...
  9. P

    Difficulty Sending Mails

    Dear Sir, I am able to send mails through my system as long as the mail id is within our Exchange Server. When I try to send the mail to any other address like my HOTMAIL address, I get the following exception: "Could not access 'CDO.Message' object." String The stack trace is " at...
  10. P

    Failing to send Attachments

    Dear Sir, Please pardon my ignorance. However, in the attachment, please note that the file exists at the location. Please advice. Regards,
  11. P

    Need to send fax

    Dear Sir, To be able to send/receive a fax what is the library provided in .Net. Regards,
  12. P

    Failing to send Attachments

    Dear Sir,My sincere gratitude for your time.The exception message is:"Invalid mail attachment 'C:\PPVS\Reports\PaymentVoucherReport\PaymentVoucherreport\bin\UsedVchReport20061014162955.XLS'." StringThe file is physically present at the stated location.The Stack Trace is:" at...
  13. P

    Failing to send Attachments

    Dear Sir, I need to send files as attachment along with a mail. I have used the following code for the same. However, the code always fails when the attachment object os being created. This is to request you to kindly let me know what is the reason for the same. Thanks in advance...
  14. P

    Not finding System.Web.Mail

    I have got it by including System.Web in the references
  15. P

    Not finding System.Web.Mail

    Dear Sir, I am using Microsoft Visual Studio 2003 and using .Net Framework 1.1. From the documentatyion, I understand that there exists a dll System.Web.Mail containing classes for sending mails using SMTP. However, when I try to add references, I do not find this dll in the list under .Net...
  16. P

    How can I gather Disk statistics

    Dear Mr. John, I will definitely delve into the links provided by you. In the meanwhile, I have found a way to work around the problem that I stated yesterday regarding the Floppy Drive. (It did not strike me yesterday possibly because it was very late in the night). The altered code is as...
  17. P

    How can I gather Disk statistics

    Dear Mr. Raven, Thanks for the input. I am using the Performance Counter. This is because I have to continuously find out the disk status (in short intervals) and raise alerts (by mail or SMS) whenever the disk space reaches a critical level. Querying using WMI may cause the Floppy Drive...
  18. P

    How can I gather Disk statistics

    Dear Sir, I have worked out the mechanism to use the UInt64 structure. I am able to get the string equivalent using the ToString method and then I can convert the string to Long. Regards, Partha.
  19. P

    How can I gather Disk statistics

    Dear Mr. John, Thanks you very much for your help. I have formulated a class with necessary methods (one of which I have included below). Public Shared Function GetTotalDiskSpace(ByVal strDriveName As String) As UInt64 Dim l_objSearcher As ManagementObjectSearcher Dim l_uintReturnValue As...
  20. P

    .Net on UNIX/LINUX

    Thanks John. You are a big help. Regards,:)
Back
Top