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

    Master Page content not visible in Content Page

    I figured out the problem. I had a pound sign in the name of one of the subdirectories of the site. I moved the application to a new location and everything is fine.
  2. GoTerps88

    Master Page content not visible in Content Page

    In Visual Studio 2008, I am not able to view the content of the master page or the content page in the designer while I am in the content page. But if I create a page not based on a master page, then I'm able to view the content of the page. Has anyone else had this nagging problem and how did...
  3. GoTerps88

    Query MS Outlook Inbox

    How would I go about querying an MS Outlook Inbox for a specific user? Do I have to create a linked server and how would I go about doing that for Exchange or Outlook? A sample query would also work for me ;) Thanks
  4. GoTerps88

    Export to Word document

    This link seems to get me started. http://www.eggheadcafe.com/tutorials/aspnet/6e1ae1a8-8285-4b2a-a89b-fafc7668a782/aspnet-download-as-wor.aspx
  5. GoTerps88

    Export to Word document

    I'm able to export text content to a Word document, but what I'm really after is to produce an HTML table displayed in Word. Right now, if I try to export html content, it only shows the markup tags. Response.ClearContent(); Response.ClearHeaders(); Response.ContentType =...
  6. GoTerps88

    associate array declaration

    I want to create an associative array that is indexed by varchar2. For example, an array of reference codes and reference periods for months of the year. TYPE t_referenceperiods IS TABLE OF VARCHAR2(25) INDEX BY VARCHAR2(25); v_referenceperiods t_referenceperiods; v_referenceperiods('M01') :=...
  7. GoTerps88

    associate array declaration

    Is there a way to declare and assign an associative array in one statement? Every example I've seen uses a separate line of code to assign each index a value. In most programming languages, you can declare and assign in one statement like so: c# int[,] nums = {{0,1},{0,2}}; Also is there a...
  8. GoTerps88

    Determine Database Down vs Invalid User/Pwd

    Obviously I am able to catch the exception. If it were just displaying the message that's easy. I have to send control to a specific Database Down error page if a user cannot connect due to a database problem. Your code quickly gets messy I think if you are looking for specific error codes...
  9. GoTerps88

    Determine Database Down vs Invalid User/Pwd

    One of the requirements of an application I am working on is to display a message to the user if they are unable to connect to the database. I need to display a "database down" message to the user if something is wrong with the database. I need to send an "invalid username/password" message to...
  10. GoTerps88

    .NET component within web application

    I have created a COM+ component that can be accessed either through ASP or ASP.NET applications. I have created this as a .NET class library. I have noticed that the component fails intermittently in the ASP applications but not in the ASP.NET applications. I'm not seeing anything on the event...
  11. GoTerps88

    Decision format question

    First, I am using Visio 2007. I am trying to implement decisions in an Activity Diagram in the Software Modeling group. One of the choices branches to the right, and I set the Guard option/display for that. This displays well. However, the other branch orients below the Decision. When I set...
  12. GoTerps88

    Confused by Security Exception

    In the ClickOnce security settings in the Project Properties Security tab you can elect to grant the assembly full trust by clicking the check box. It's not a requirement to give an assembly a strong name in order to grant it full trust. But by giving the assembly a strong name, it bypasses...
  13. GoTerps88

    <Name> usage

    Something within the angle brackets usually represent a generic type (Generic Collection), rather than a primitive data type. private List<string> private List<employees> Just means you have a list of type string or list of type employees, which is an employees class. Java also supports this.
  14. GoTerps88

    Confused by Security Exception

    I should have said that Windows or Console apps won't run off the Network drive unless you apply full trust to them. I believe Microsoft was trying to prevent a security threat by not allowing executables to run unabated on a network share.
  15. GoTerps88

    Confused by Security Exception

    Windows or Console apps won't run off of the network drive. I gave the assembly a strong name and gave the assembly FULL TRUST using the .NET Framework Configuration Tool. I put it in the intranet zone code group and used the strong name as the membership condition. This worked for me for a...
  16. GoTerps88

    Use .Net Objects

    Yes, you can use the ASP code in ASP.NET in the same way, but in the ASPX page. <% Your asp code %>
  17. GoTerps88

    Cleaning Up Resources Best Practice

    I believe the using block will also close and dispose your connection if an exception is thrown. Basically a using block mimics a try finally behind the scenes. Below is a link that describes this in better detail. http://davidhayden.com/blog/dave/archive/2005/01/13/773.aspx
  18. GoTerps88

    Cleaning Up Resources Best Practice

    Actually if you use the using statement, you don't need the close or the dispose methods because they are implicitly called by the using block. That's the real benefit. Some people prefer to enclose the using statement within a try catch or try finally block so you can catch the exceptions...
  19. GoTerps88

    Localization Issues

    This tutorial may help at least point you in the right direction. http://quickstarts.asp.net/QuickStartv20/aspnet/doc/localization/default.aspx
  20. GoTerps88

    Use .Net Objects

    In order for ASP to see the .NET component, the component needs to be registered in the registry. You could go two routes, a COM interop assembly or COM+. The COM interop gets registered with regasm.exe and the COM+ with regsvcs.exe. Either way, you still would access the component as any COM...

Part and Inventory Search

Back
Top