Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
M

Muntyness

@Muntyness
About
Posts
63
Topics
24
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Validating with out Validators
    M Muntyness

    Because the validators I do know how to use are no longer working. So far I've tries two different types of validators that used to work under 2003. This bit I don't know how to do via asp validators is limiting the accepted character sets. Thanks for the Expresso comment. I'll try that out. (The link you point to leads to a parked domain, but I was able to find it here) - Munty

    ASP.NET regex tutorial question

  • Validating with out Validators
    M Muntyness

    Hi all, I have a number of text boxes that the user can fill in. I want to make sure that the user can only use the following characters: . + - _ ( ) A-Z a-z 0-9 Unfortunately asp:validators are not working. (And I don't know why, as they used to work before importing the project from vs2003 to vs2005. Plus I don't know how to set this in the validators anyway...) I'm guessing that regular expressions are the way to go in this case (using Regex.Match(inputString, Pattern), but I don't know how to make a working regular expression. (The patterns I've been trying have ended up crashing when I include a character such a # or ' at the end of the input string.) So, any suggestions? - Munty

    ASP.NET regex tutorial question

  • Weird Validation Problems
    M Muntyness

    I'm not getting any errors. It's just immediately submitting the page. This is how the validators are set up: * - Munty

    ASP.NET csharp javascript visual-studio sysadmin help

  • Weird Validation Problems
    M Muntyness

    Hi All, I've got some weird validation problems. I've been using in my web page, and up till now they've been working perfectly. However I recently migrated the webpage from Visual Studio 2003 to Visual Studio 2005. The validators are no longer working. Now I really like these validators, and I don't want to be foreced to use JavaScript or Server side validation. Anybody have any clue as to what could be going on with the validators and how to fix them? - Munty

    ASP.NET csharp javascript visual-studio sysadmin help

  • Getting Dynamic Rows From Code Behind
    M Muntyness

    Hi All, I have another question. I have a table, and I want the user to be able to dynamically add multiple rows to this table. Then during the final submit, I want to get information from these dynamic rows. However the table isn't passed to the code behind by either Request.Form or Request.Params. Do you know where I would get access to the table in the code behind? - Munty

    ASP.NET question

  • Problem auto tabbing
    M Muntyness

    I'm using VB as the code behind language :) there is no PageUtility function either. :/ For now im sticking with the tags, as I can get auto tabing to work. My next problem is getting the tags to clear after the page has loaded. (I can't do it on submit because that will clear all of the form, which I don't want. And i cant have a seperate form, because ASP only allows me one form that can run at the server. help! - Munty

    ASP.NET javascript help tutorial question

  • Problem auto tabbing
    M Muntyness

    Hi all. I have a problem auto-tabbing. I need the text boxes on my form to auto-tab to the next textbox when they're full. I can do this using JavaScript and input controls, but unfortunately, I need to get at the contents of the text boxes using the code behind page. (And I can not for the life of me figure out how to call javascript from an asp:textbox control.) Does anyone have any suggestions of examples on how to do this? (I couldn't find anything that worked with google :/ ) - Munty

    ASP.NET javascript help tutorial question

  • Problems selecting records
    M Muntyness

    Name is reserved? Bah. Well I've changed the field to Job now. and I've tried both: "SELECT * FROM TheLog WHERE job='123' AND recdate=#01/02/2003#" And "SELECT * FROM TheLog WHERE [job]='123' AND recdate=#01/02/2003#" Neither of them work. This does work however: "SELECT * FROM TheLog WHERE job='123'" - Munty

    ASP.NET database sysadmin help question

  • Problems selecting records
    M Muntyness

    Nope, didn't work. :/ The string I used was: SELECT * FROM TheLog WHERE name='123' AND recdate BETWEEN #01/02/2003 00:00:00# AND #01/02/2003 23:59:59# Also,just to note, when I ouput the date field to a text box, I get: 01/02/2003 - Munty

    ASP.NET database sysadmin help question

  • Problems selecting records
    M Muntyness

    Hi, I'm having a problem selecting records from my database to display on the web page. I want to select all records with a specific name, and on a specific date. The code I'm using looks like this: StrConnect = Server.MapPath("./MyDataBase.mdb") cn = Server.CreateObject("ADODB.Connection") cn.Open("PROVIDER=MICROSOFT.JET.OLEDB.4.0;Data Source =" & StrConnect) rs = Server.CreateObject("ADODB.Recordset") rs.Open("SELECT * FROM TheLog WHERE name='123' AND recdate=#01/02/2003#", cn, 3) Now despite there being about 5 records with that name and date, I don't get any records returned. Does anyone know why? P.S. The database is a Access database, the name field is set to "Text" and the recdate field is set to "Date/Time" - Munty

    ASP.NET database sysadmin help question

  • How to get text from dyanmically created texboxes
    M Muntyness

    Well I have now. *cough* Thanks. Can you think of any way of doing this for multiple new follow-ups? (I can think of a way of doing it with multiple old follow-ups, mainly by using whatever ID they have in the database as the ID for the textbox, and then when submitting the form, getting all of the IDs from an array, then looping through the array to get the information for the old followups from the text boxes and updating the database if needed. Of course if you know of a better way, I'd be happy to use it.) For new followups, I can only think of how to add 1 at a time, and I would prefer to be able to add multiple new ones if possible. (And I can't submit them to the database when adding new followups, as I need a ID which won't be generated until the entire form is submitted.) Thanks, Muntyness

    ASP.NET database help tutorial question

  • How to get text from dyanmically created texboxes
    M Muntyness

    HI, I have an ASP form, and I want to make it so that if you click on an "Add Follow-Up" button, a text box gets added to a table. I then want what ever the user puts in that text box to be saved when the submit button is pressed. My problem is that while I can create that text button the first time the Add Follow-up button is pressed, I can't save it to the database. When stepping through the code, it looks like there's nothing in the placeholder controls. (The followup textbox is added to a placeholder so I can get it to go where I want it to.) Is there any way to save this information to the database when pressing the Submit button? Thanks, Muntyness

    ASP.NET database help tutorial question

  • Problem getting information from a database. [modified]
    M Muntyness

    Ahhh goddammint! I figured out what the problem was. I was using "SELECT * FROM IDs WHERE id='2'" when I should have been using "SELECT * FROM IDs WHERE id=2". :mad:

    ASP.NET database help question

  • Problem getting information from a database. [modified]
    M Muntyness

    Edit: Bah. problem has been fixed. -- Hi, I have a slight problem with getting records from a database. The problem is simply when I use the following SQL string, it throws me up an error message. Problem string: "SELECT * FROM IDs WHERE id='2'" However when I use this SQL string, it works. Working SQL string: "SELECT * FROM IDs WHERE name='bob'" I have no idea why one is working and the other isn't. The only thing I could think of is a type mismatch (The id field is set to AutoNumber). I get the same error when trying to use both Strings and Integers. Anyone have any ideas? - Munty -- modified at 10:20 Thursday 26th July, 2007

    ASP.NET database help question

  • 3 Vista questions
    M Muntyness

    Hi Pete, Thanks for the other 2 answers. They're doing what I want them to. :) Net Start doesn't work on the Vista machine I have. It gives me an "System Error 5" message. Just to note, but the "myservice.Start()" and "Net Start "myservice"" works on my XP machine. Some further information about the service. As long as I start the service from the Services admin tool, it does what I want it to. It's just getting the service started by the program that's the problem. (The program needs the service running in order to work.) Any ideas? - Munty -- modified at 10:29 Monday 23rd July, 2007

    C# question help security tutorial workspace

  • 3 Vista questions
    M Muntyness

    Hi Guys, Thanks for the answers. I'm going to test them out now. - Munty

    C# question help security tutorial workspace

  • 3 Vista questions
    M Muntyness

    Hi, I have 3 quick Vista questions. The first question, is how can I tell if my program is running on Vista? (I've run accross the OperatingSystem class and the Environment.OSVersion value in my googling, but I can't find out if this class should be used for Vista, or what values I'd need to look for.) My second question, is how do I get to the users applications folders? (I know that they're all in the C:\Users\ folder, but I don't know how to get to a specific users folder.) My last question is to do with Services in Vista. I need to start a service from my program if it hasn't already been started. However when trying to start it (using the myservice.Start() function) I get a InvalidOperationException. I've been told that this is a security issue with the program, however running the program as administrator doesn't help. Anyone have any clue as to how to get around this problem? Thanks in advance, Munty

    C# question help security tutorial workspace

  • Generating a program ID
    M Muntyness

    Alrighty then, I guess I'll just stick with the Process ID. Thansk All. - Munty

    C# question

  • Generating a program ID
    M Muntyness

    I have a quick question. I have a program, and I need every instance of the program to have it's own uniqure ID. (E.G the first one opened has and ID of 12345, the second one has an ID of 74982, etc.) At the moment the only way I can see of doing this is getting the process ID. Is this the best way of doing it or are there other, better, ways of generating a unique ID? - Munty

    C# question

  • Listening to program events.
    M Muntyness

    Hi Dave, Thanks for the reply. That was exactly what I needed. Silly thing is, is that I had already tried that, and it didn't work the first time. Then after you suggested it, I decided to try it again. But I've got it working now :) - Munty

    C# question winforms
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups