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. PGoRule

    Enterprise library logging block...Get log filename

    OK...I understood the problem. I will try to look into other libraries. if they satisfy other requirements then certainly I will go for it. Thanks a lot for your valuable words. Sharing the best from my side... --Prashant--
  2. PGoRule

    Enterprise library logging block...Get log filename

    Hi, I am using Enterprise library 3.1 logging block with C# and framework 2.0. I have a listner configured for writing log to flat file. The settings for this is configured in app.config as follows: <add fileName="D:\log\trace.log" header="----------------------------------------"...
  3. PGoRule

    Cannot open word document

    This following KB may help you. http://support.microsoft.com/kb/q224338/ Sharing the best from my side... --Prashant--
  4. PGoRule

    gridview with multiple buttons

    You can get that information from sender. Something like this: Button btn = (Button)sender; if (btn.Name=="B1") // Do this elseif(btn.Name=="B2") // Do this ... an so on else // Else part Try it out...This may help you. Sharing the best from my side... --Prashant--
  5. PGoRule

    string to date time conversion

    I think you need to validate the data returned from XML file before parsing it. You can validate the dRow["time"].ToString() by using DateTime regex as per your requirement. Then pass that validated string to convert it to DateTime. You can have Regex pattern for this from regexlib.com...
  6. PGoRule

    CSV File

    At my side the code is working fine in text and excel. So check excel settings or any formats. I am using Excel 2k3. Sharing the best from my side... --Prashant--
  7. PGoRule

    Firefox 2.0.0.5 problem with proxy

    It's automatically set by policy which updates on every reboot. Sharing the best from my side... --Prashant--
  8. PGoRule

    Firefox 2.0.0.5 problem with proxy

    Hi, I have Firefox 2.0.0.5 installed on my system alongwith IE. Initially the network connection setting were set and disabled by sysadmin team, so that no one is able to change the settings for both browsers. Now there is a change in our domain. So all new profiles were set for all users and...
  9. PGoRule

    How to handle Connection Timeout exception

    Hi, Thanx Chrissie for your help. As the requirement was to append a error message of "Timeout Exception" to the earlier error message, I handled that inside one catch block only, so as to minimise string operations. Here is my solution. This solves my purpose on Oracle and SQL DB...Plz. take...
  10. PGoRule

    How to handle Connection Timeout exception

    Hi, In one of the module, we need to handle Connection Timeout exception. But there are no such exceptions available, so we are using GetType() of the exception to display appropriate message that Connection Timeout has occurred. catch (Exception e) { if (e.GetType() ==...
  11. PGoRule

    XPath help needed

    Thanx for your reply. But I am not getting SelectSingleNode method with XPathDoc object. What I'm missing in this context? Thanx... Prashant Sharing the best from my side... --Prashant--
  12. PGoRule

    XPath help needed

    I have one XML file as: <MenuItems> <Menu> <Caption>&amp;Set Field Identifier Prefix</Caption> <Action>SetFieldIdentifierPrefix</Action> </Menu> <Menu> <Caption>&amp;Remove Field Identifier Prefix</Caption> <Action>RemoveFieldIdentifierPrefix</Action> </Menu>...
  13. PGoRule

    Do not create satellite assemblies

    As a test, if I add one more file as "filename.UK.qry" to the same project. It creates a "UK" folder inside the "Bin" with a .dll file. This is happening automatically as we haven't done any sort of settings like this in VS.NET environment. How to set the options for compiler in VS.NET...
  14. PGoRule

    Do not create satellite assemblies

    Hi, We have few query files in C# project and those are added as embedded resource files. Due to recent changes in DB structures for US and Canada, there are 2 changes in query files. So we separated those 2 files by different extensions. For Canada we are referring the file as...
  15. PGoRule

    Send Email Automatically

    The above namespace is available when you are creating any Windows Service project. Sharing the best from my side... --Prashant--
  16. PGoRule

    Input String Correct Format

    Console.WriteLine("{0)---------Invalid entry!\n", Signal); should be... Console.WriteLine("{0}---------Invalid entry!\n", Signal); It's missing a }... Sharing the best from my side... --Prashant--
  17. PGoRule

    Add a web reference to a web service during run-time

    Check out the System.Net.WebRequest class. System.Net.WebRequest Sharing the best from my side... --Prashant--
  18. PGoRule

    Copy data from tables present in diff. schema

    Hi, Thanx slaing...for this wonderful approach. Thanx Turkbear... Sharing the best from my side... --Prashant--
  19. PGoRule

    Copy data from tables present in diff. schema

    Hi, There are two different Oracle servers on different systems with different schema's. I want to copy data(only) from ORA1-Schema1-table1 to ORA2-Schema2-table2. The table structure is same. Do I need to follow IMP-EXP or is there any other way like insert query in above situation. Sharing...
  20. PGoRule

    Processing Text File

    Replace the code from: else Console.WriteLine(dirs[0]); to else Console.WriteLine(dirs[i]) and check whether u get expected output. Sharing the best from my side... --Prashant--

Part and Inventory Search

Back
Top