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 Mike Lewis 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: glyns
  • Order by date
  1. glyns

    Simple Regex Help

    Try 0[0-9]{1,3}-[0-9]{5,7} Which is based on http://www.zytrax.com/tech/web/regex.htm In the section titled "Iteration 'metacharacters'" Firefox has a nice addon called "Regular expressions tester" which is handy for getting regexs :-)
  2. glyns

    Writing to a DB behind a firewall

    Is it possible (and if so how) to connect and write data to a SQL server DB on a PC behind a firewall from a site on the internet in VB.Net? I know how to connect to a DB that is externally linked to the net, say from my site to the PC at 152.541.55.97, but can I get to a PC on the internal...
  3. glyns

    Where does Metadata come from?

    And strangely I *did* google this first for quite a while, that's why I said "I think I've got the gist of what metadata is" I couldn't find the answer to the question or make any headway to answering it via google, that's why I asked it here. The link you [i]helpfully[i] provided was the...
  4. glyns

    Where does Metadata come from?

    They're members are part of the class Membership The text of this class is held at the following location c:\users\me\appdata\Local\Temp\3152$System.Web.dll$v2.0.50727\System.Web.Security.MembershipUser.cs Trimmed down as it's huge it looks a bit like this using System; namespace...
  5. glyns

    Where does Metadata come from?

    I've been given a c# project to look after while the guy is on honeymoon for a month so I can't ask him this :-(. In the project in the App_Code folder is a file called helper.cs. In it are lines like this MembershipUser user = Membership.GetUser(Username) When I go to definition on...
  6. glyns

    Referencing a master page's variable from a user control

    Yeah that ties in with what I've found in other places. Think I'm going to have to have a rethink about all this Thanks
  7. glyns

    Referencing a master page's variable from a user control

    I think I'm misunderstanding the masterpage/page relationship according to http://www.odetocode.com/articles/450.aspx "we shouldn’t treat master pages as the "masters", but as just another control inside the page" which ties in to the problem I've having :-( So I think I can't do what I'm...
  8. glyns

    Referencing a master page's variable from a user control

    A moment of madness/inspiration had me renaming the class public partial class MasterPages_mymasterpage : System.Web.UI.MasterPage public partial class abc : System.Web.UI.MasterPage This popped up a little box saying "Options to update references" Clicking "Rename 'MasterPages_mymasterpage'...
  9. glyns

    Referencing a master page's variable from a user control

    At the moment I'm trying either. In the end I want it in the user control but as that wasn't working I decided to try it in the page following an example I found on the net. That's pretty much what I've got now and that's the same code that is in the other examples I found. When copy/pasting...
  10. glyns

    Referencing a master page's variable from a user control

    Tried that one and variations on a theme with typename, that didn't work either :S
  11. glyns

    Referencing a master page's variable from a user control

    I should, but for some reason it doesn't have xyz after "this.master." [surprise] I think it might have something to do with the masterpage being built/compiled incorrectly as it works sometimes and "((MasterPages_mymasterpage)this.Master).xyz" is error free but at the moment, it says it...
  12. glyns

    Referencing a master page's variable from a user control

    This is my master page using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class MasterPages_mymasterpage : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) {...
  13. glyns

    Referencing a master page's variable from a user control

    This is my master page using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class MasterPages_mymasterpage : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) {...
  14. glyns

    Creating an assembly custom control with a namespace in vb.net

    I developed the exciting control using "<%@Register Src" and got that working (so I knew I wasn't totally spannering it up :P), now I want to be able to compile the control into a DLL and use it that way using "<%@Register Assembly" the way we access the 3rd party controls we use like this...
  15. glyns

    Creating an assembly custom control with a namespace in vb.net

    Underneath, sorry, cut-n-paste joy <%@ Control Language="vb" AutoEventWireup="false" CodeBehind="hello.ascx.vb" Inherits="GControlNS.hello" ClassName="hello"%> Hello World
  16. glyns

    Creating an assembly custom control with a namespace in vb.net

    It's just a custom control that I want to compile into a DLL as opposed to putting into the project as a .ascx file. Which I've managed to do :-) We use a few at work and I've replicated the way they're incorporated into the code (or so I thought) but while the user control project compiles...
  17. glyns

    Creating an assembly custom control with a namespace in vb.net

    'm trying to create a compiled user control I can use I've not got any useful code in at the moment it should just show "hello world" This is hello.ascx page's code <%@ Control Language="vb" AutoEventWireup="false" CodeBehind="hello.ascx.vb" Inherits="GControlNS.hello" ClassName="hello"%>...
  18. glyns

    Creating an assembly custom control with a namespace in vb.net

    I'm trying to create a compiled user control I can use I've not got any useful code in at the moment it should just show "hello world" This is hello.ascx page's code <%@ Control Language="vb" AutoEventWireup="false" CodeBehind="hello.ascx.vb" Inherits="GControlNS.hello" ClassName="hello"%>...

Part and Inventory Search

Back
Top