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

    How to do namespace references in CodeBehindModule

    I have a MobilePage app running with all the script in the aspx module and want to move it to the CodeBehindModule. I can't get the namespace references right. If I do: using System; using System.Data; using System.Data.OleDb; using System.Web; Public Class DeliveryList6...
  2. johnfrederick

    Referencing dll From Web Root

    Thanks for your patience, AGIMA. It doesn't sound like the jscript and virtual directories have anything to do with my problem. My question is: 1. If I develop a project named test3, I get a real directory named test3 under my local IIS5 root, a dll named test3.dll in bin, which apparently...
  3. johnfrederick

    Referencing dll From Web Root

    AGIMA, I may have misunderstood you. I see that my IIS5 installation has a directory named "aspnet_client" under the root. What is that for?
  4. johnfrederick

    Referencing dll From Web Root

    Thanks, AGIMA, for your prompt response to my call for help. 1. In my above example, I assume what you refer to as the "ASPNET _client directory" would be test3. If I'm putting my pages in the root, there will not be a directory with that name on the production server. 2. You...
  5. johnfrederick

    Referencing dll From Web Root

    To develop, I have to make a project and give it a name. ASP.NET makes a directory with that name under the IIS5 root and project builds make a dll with that name in bin. For production, I want to put the main page in the web server root. I can't figure out what to name the dll and how to...
  6. johnfrederick

    Retrieving QueryString in Mobile Form

    superCerealKiller solved this problem for me in another thread in this Forum. The right way is: Request.QueryString("DP") with NameSpace System.Web imported.
  7. johnfrederick

    Server Side Code Does Not Work

    This sounds like a problem I had running examples in a book that put all the script in the .aspx file rather than in the CodeBehind. The CodeBehind file generated by the ide had a Page_Load routine that had the parameter clause and "Handles Page_Load ... " etc. I just copied all...
  8. johnfrederick

    Retrieving QueryString in Mobile Form

    In the Page_Load routine in my mobile web page, I'm having trouble retrieving a caller ID from the calling browser. The following line works in a conventional .aspx page, but not in my mobile page: lngDeliveryPersonID = Int32.Parse(HttpRequest.QueryString("DP")) The error message...
  9. johnfrederick

    How Do You add NameSpace lines to the CodeBehind Module

    Thanks, jfrost10, for your help. It looks like you have the right answer. I put: Imports System.Data Imports System.Data.OleDb Public Class DeliveryList3LoadsDeliveryListAndMsgs Inherits System.Web.UI.MobileControls.MobilePage With some OleDb I/O code in the Page_Load event routine...
  10. johnfrederick

    How Do You add NameSpace lines to the CodeBehind Module

    I've tried to put my code in the CodeBehind module, but when it needs NameSpace lines, e.g., for I/O, I can't figure out where to put them to avoid an error message. Event routines not requiring NameSpace lines are ok. Can anyone advise?
  11. johnfrederick

    Best way to learn

    I'm programming for microbrowsers using the mobile add-ons to ASP.NET and having a lot of trouble. Problem 1 is that I don't know how to find out the meaning of these BC??? error messages, such as: BC30311: Value of type 'System.Data.DataSet' cannot be converted to 'String'. I get this when I...
  12. johnfrederick

    Taking the first field from a DataSet

    I'm trying to load data into Mobile Controls. One of my routines isn't working, so I tried to get the record count to see if anything was coming in. I have code that populates a datagrid in conventional ASP.NET, but when I ported it to populate a Mobile list, I got some strange dataset...
  13. johnfrederick

    Loading Lists From Comma Delimited text files

    I want to use comma delimited text files as the sources for the data I use at Page_Load time to populate a web page. I'm pretty sure I've seen references to an OLE_DB provider for text in the general ADO capability, but it looks like only a few providers are offered with ADO.NET data objects...
  14. johnfrederick

    Trouble sequencing numbers in Access.

    This is a bit off topic, but it looks like it is still open. It appears to me that you're adding records to an order table and assigning unique id numbers to them. As link9 suggested, the natural way to do that is to let Access manage an AutoNumber field. If you don't need to immediately know...
  15. johnfrederick

    Putting Project Data on Separate Disk From IIS5

    My custom is to keep all my data on a separate disk from the C: partition, so when an OS partition gets damaged or cluttered, I can just gen a new one or plug in a backup copy. If a machine poops out, I can pull the data disk and take it to a backup machine. For Visual Interdev 6.0 projects, I...
  16. johnfrederick

    Moving .aspx From Dev to Production Web Site

    Many Thanks, D'Arcy, for your tip. That was the problem. My page is now running at: http://www.johnifrederick.com/DeliveryList2.aspx I transferred both the .dll and the .pdb files. It works both in IE and the Openwave 6.2 http simulator. Getting back to my other problem of copying pages, is...
  17. johnfrederick

    Moving .aspx From Dev to Production Web Site

    I have some more on this problem. I have a working .aspx page with event code in the CodeBehind file. If I copy it, give it a new name and put that name in the CodeBehind as the Class name, and in the Inherits parameter in the header of the .aspx page, it doesn't work. When viewed in browser...
  18. johnfrederick

    Moving .aspx From Dev to Production Web Site

    I just finished a version of a new mobile internet .aspx page and moved it to my demo web site to show. It failed. The problem is in the Inherits="Test1.DeliveryList2" parameter in the .aspx page header. The message is that it cannot inherit from Test1.DeliveryList2. Here, Test1 is...
  19. johnfrederick

    Mobile Controls - problems setting VS.NET up

    I downloaded the MobileIT package from msdn which was described as adding mobile device support to .NET Framework 1.0 and I also tried the .NET Framework 1.1 Final Beta. The namespace I need is System.Web.UI.MobileControls. So far, I don't see it in Object Browser, don't see it in one of the...
  20. johnfrederick

    ASP.NET web page hosting

    I have my personal showcase web site and maintain the database parts of three client web sites on Hostway.com. They offer SQL Server, but I use Access. I recommend them.

Part and Inventory Search

Back
Top