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 Chriss Miller 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: ralphtrent
  • Content: Threads
  • Order by date
  1. ralphtrent

    Base class question

    Hello I have the following code public class LoggedEvent : Microsoft.Practices.EnterpriseLibrary.Logging.LogEntry { } this code is exposed over a WCF. public void LogEvent(LoggedEvent loggedEvent) { el.LogWriter elw =...
  2. ralphtrent

    set an class's app.config values in a web.confg

    I have been searching all morning but nothing seems to be what I need to do. I have a class that will create an Excel workbook. I need to have some settings set at run time; client id etc. etc. etc. I initially wrote this all in an exe but need to not give it a web-presence. I need to keep...
  3. ralphtrent

    How to return all data in one column at once

    I have been looking for away to retrieve all the data in a data column with out a manual loop. this is what I have come up with. DataTable ldtDataTable = new DataTable("Data"); ldtDataTable.Columns.Add("Column1", typeof(String)); ldtDataTable.Columns.Add("Column2", typeof(String))...
  4. ralphtrent

    set value in base class, access from derived

    I have a base "Family" class. I will derive from this class for my "Father", "Mother" and "Child" class. I want to set the last name only once in the base class. This is my code class Family { private string last_name; public virtual string LastName { get { return last_name; } set {...
  5. ralphtrent

    format a number a specific way

    Hello I need to format int,12345678 as 1.23.45.678 What style can I use? I have tried several and nothing is working I do not want to have to style the string manually. I was hoping something like this would work: string.Format("{0:#.##.##.###}", 12345678) but it doesn't. Thanks, RalphTrent
  6. ralphtrent

    One Codefile, two aspx pages = Publish Errors

    Hope someone can help as this is annoying. I have been researching for hours and all the resolutions on the web about this topic have not helped me out. I have created a mobilized version of a page by modifying the aspx page to display the data differently. I still have a normal page for...
  7. ralphtrent

    include sql files in project

    Hello I have a dll that is my api to a database. To access the database, I have sql files as part of that project. I currently embedd each sql file into the dll. To read it, I need to create a stream of the file and read it. Each time I make a change to the sql files, I need to recompile...
  8. ralphtrent

    Network credentials not taking

    I have an ASP.net 3.5 app that will attempt to connect to an internal webpage to make sure it is accepting request. I need to pass a user id because this process is a service and the user running the service may not have access to that page if Windows Authenication is being used. I have the...
  9. ralphtrent

    clicking image button causes clears page

    Hello I have a datagrid that I want to export to an excel file when the user clicks an image button. This works great, execept when I click the button, I need to rebind the datagrid. How do I avoid that. The datagrid is already bound and display, I just want to take that and save it to a...
  10. ralphtrent

    Remove elements of a List<DirectoryInfo>

    Hello I have an app that list folders matching some naming critera. I saved the folder paths to a List<System.IO.DirectoryInfo> object. I allow the user to delete folders of their choosing's. When they do, I need to remove the folder from the list. Obviously its not working. Here is my...
  11. ralphtrent

    Get value of DataGridViewCheckBox

    Hello I have a datagridview which containts a checkbox column. I need to konw what the value is of the checkbox in order to enable or disable a button. it seems like any events I try to capture this with is too early. id offer code, but lets just say I scrapped it all Any help is...
  12. ralphtrent

    access web page to check for availibility

    Hello I need to access a website so often to make sure it is up and available to users. (Long story short, it is a 1.1 web app running on windows 2003 and for some reason, the site keeps betting put in app pools that cause it to break). So I have a service that runs the following code: string...
  13. ralphtrent

    Java Applet not execute external class code

    Hello I am jsut starting out with java so please pardong any ignorence on my part. I have create a java class that reads weatherundergrounds xml feed (using nu.xom) and then creating a seperate java applet reference this class. Using the Java Tester this all works great. But I can not get the...
  14. ralphtrent

    check excel version at install

    Hello I need to check the version of excel during an install. I have a console app that will look for a reg key. I added this to an install CustomAction, but not sure what to do from there. I tried googleing for help but that got me more confused. Also, I am using the Excel object from...
  15. ralphtrent

    Stream Object is null when I go to close it

    Hello I have the following situation. I have a windows service that multi threads a process. this process will then do its thing and then call a static class to write to a file. the file writing happens in an other object. In that file writer, I have the code to write call a function to...
  16. ralphtrent

    remove comment tags in c#

    Hello I have a xnl document that has tags commented out. I would like to create a UI that will allow the user to remove the <!-- -->. Is there a way I can do this? Thanks, Ralph
  17. ralphtrent

    SoapUI Question

    Hi All the forums at Soapui are not working today so i hope you do not mind me posting my question here. I need to create many (over 100) WSDL projects in SoapUI. Is there an automatic way I can do this or do I need to create one test at a time manually? Thanks, RalphTrent
  18. ralphtrent

    Save Clients UTC Offset in Cookie to be Read by asp.net

    Hi All After many hours of trying to figure this out, I think I may have done it. I needed a way to save my clients UTCOffset to a cookie so I can adjust GMT time to their Local Time. This is how I accomplish it. I have an htm page, called SetDefaults.htm, that has the following code...
  19. ralphtrent

    get current Page in class file

    hello I have an aspx page that calls a class in a .cs file. I need to read a cookie in the cs file. Since the cookie object lies in the System.Web.UI.Page.Request namespace, I need to pass in my current page's object to my class file example // in aspx object cookieValue =...
  20. ralphtrent

    reference same name/different version com object, same c# project

    Hello I have been searching for this answer for a while but come up short. I have a non-dot net com object with three different versions that I would like to reference in one c# application. Each version will only go against that version's database. How do I do this? The file name is also...

Part and Inventory Search

Back
Top