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
P

Phrone

@Phrone
About
Posts
26
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Help with pattern
    P Phrone

    I need help with regular expression for a javascript I'm working on. I have some html code into a variable that is named xmlDoc. The string includes a table and there are some things there that I want to pick out with regex.

    6
    Prentice, Bob
    340584305858
    Logged out

    [Edit](javascript:doEditAgent("56746")),
    [Delete](javascript:doRemoveAgent("56746", "fn1")),
    [Log in](javascript:doLoginLogout("4", "56746","fn1"))

    In this code I want to pick out: 1. The name, "Prentice, Bob" 2. The status, "Logged out" 3. The content from doLoginLogout(), "4", "56746","fn1" What pattern(s) should I use? There are five rows similar to this in the table that I need to do this on.

    Regular Expressions regex javascript html help question

  • Regular expression
    P Phrone

    Thanks, I totaly missed that there where a special Regular expression section here.

    JavaScript regex question javascript html help

  • Regular expression
    P Phrone

    I need help with regular expression. I have some html code into a variable that is named xmlDoc. The code includes a table and there are some things there that I want to pick out with regex.

    6
    Prentice, Bob
    340584305858
    Logged out

    [Edit](javascript:doEditAgent("56746")),
    [Delete](javascript:doRemoveAgent("56746", "fn1")),
    [Log in](javascript:doLoginLogout("4", "56746","fn1"))

    In this code I want to pick out: 1. The name, "Prentice, Bob" 2. The status, "Logged out" 3. The content from doLoginLogout(), "4", "56746","fn1" How do I do this? There are five rows similar to this in the table that I need to do this on.

    JavaScript regex question javascript html help

  • Formula problem
    P Phrone

    As said, the formula is working now, but.... When a file is changed, new major version etc, the formula returns blank. If I go to library settings > choose the column and saves again, without changing anything, it shows correct values in the column again. Why? And what can I do about it?

    SharePoint sharepoint help announcement

  • Formula problem
    P Phrone

    Thanks. That solved my problem.

    SharePoint sharepoint help announcement

  • Formula problem
    P Phrone

    Hi, I'm new to Sharepoint and have a problem with a formula to display different messages in a column. I have a column named Version that contains a files version. If the version is 0.x I want Draft to displayed in another colummn, if version is 1.x display Revision 1 etc. This is what I have now, and as you probably understand it doesn't work. :^) =IF(ISNUMBER(FIND("0.",[Version])), "Draft", OR(IF(ISNUMBER(FIND("1.",[Version])), "Review 1"), OR(IF(ISNUMBER(FIND("2.",[Version])), "Review 2"), OR(IF(ISNUMBER(FIND("3.",[Version])), "Final")))))

    SharePoint sharepoint help announcement

  • Read xml from SSL server [modified]
    P Phrone

    Yes, I'm sure that it's the same file.

    ASP.NET sysadmin security xml help question

  • Read xml from SSL server [modified]
    P Phrone

    I'm reading an xml file that is stored on a webserver that has SSL. But I get an error " '>' is an unexpected token. The expected token is '"' or '''. Line 3, position 46." It works fine if the xml file is on a webserver that doesn't have SSL. I'm using XmlDocument.Load(url) Is there some other way that I can try? Edit. If I was unclear, the xml file is on a different server than my web application.

    modified on Friday, December 12, 2008 2:40 PM

    ASP.NET sysadmin security xml help question

  • DataSet relationship
    P Phrone

    Yes, that's the way I thought that I hade to go. I can't affect the indata as it is a export (xml) from a CMS system.

    ASP.NET sales question

  • DataSet relationship
    P Phrone

    I have a DataSet with two tables with a relationship.

    dataSetNodeData.Relations.Add(new DataRelation("Relationship",
    dataTableTransmittal.Columns["Node ID"],
    dataTableDocuments.Columns["Parent"]));

    This is working, but now the customer have changed the indata so Parent is now a commaseparated string with id numbers so the same document can belong to several Node ID's. Can I make the DataRelation work with a commaseparated string? Or do I have to rewrite my application totaly?

    ASP.NET sales question

  • DataSet problem [modified]
    P Phrone

    I'm using a DataSet because I want to be able to add, delete and change data in it. What do you mean with specifying maximum number of documents? Haven't seen that option, so how do I do that?

    ASP.NET help csharp asp-net xml question

  • DataSet problem [modified]
    P Phrone

    I'm working on my first ASP.NET application ever, so this might be an easy problem to solve for you. I'm collection data from different xml files and want to store them in an DataSet. The data will be shown with an repeater. The page will show something like this: (Short version, will be lots of more information) Miami Engineering 1. General Doc one Doc two 2. Feasibilty calculations Doc three Doc four Doc five When I try to add the data to my DataSet the way I was thinking, I get the error "A DataTable named 'Document' already belongs to this DataSet." This is when I try to make a DataSet with this structure: <projects> <project> <projectname> Miame Engineering <projectname> <project> <part> <partname> 1. General </partname> </part> <document> <documentname> Doc one </documentname> </document> <document> <documentname> Doc two </documentname> </document> <part> <partname> 2. Feasibilty calculations </partname> </part> <document> <documentname> Doc three </documentname> </document> <document> <documentname> Doc four </documentname> </document> <document> <documentname> Doc five </documentname> </document> </projects> How will I build my DataSet so I can get the output that I want?

    modified on Monday, November 17, 2008 5:03 PM

    ASP.NET help csharp asp-net xml question

  • Send mail with System.Net.Mail
    P Phrone

    That part is no problem, but I will use System.Net.Mail instead of System.Web.Mail that you linked to. But how do I catch the POST variables in ASP.NET? In PHP I can get them with $_POST['myFormField'] and I suppose that there are some way to get them in ASP.NET (C#) also.

    ASP.NET sysadmin xml question csharp asp-net

  • Send mail with System.Net.Mail
    P Phrone

    Hi. First of all I think that I have to let you know that I never made any page in ASP.NET :) We are running a XML based site on the local network and I will create a feedback form with XSL. We have ASP.NET 2.0 running on another network server and I'm thinking of making a script that can send the mail from the form. But I have no idea if this works? How do I catch the data from the form? The form method is POST.

    ASP.NET sysadmin xml question csharp asp-net

  • Is it possible to change Intranet Zone to Full Trust thrue code?
    P Phrone

    I'm currently developing a desktop application in C# that will be installed on a network drive. This will cause FileIOPermission error because the users don't have the Full Trust on the Intranet Zone. I don't want that the user should have to install the SDK to change the settings and wonder then if it possible to change the settings to Full Trust thrue the application?

    C# csharp sysadmin help question

  • Tool for designing applications
    P Phrone

    I'm developing some desktop applications in Visual Studio 2005 and wonder if there are any tools to change colors(gradient) and shapes on controls in a easy way?

    C# csharp visual-studio tools question

  • Configuration settings - Howto? [modified]
    P Phrone

    I'm trying to find out how the config file works. This is how my config file looks like now.

    foo The Sampletext is connected to a textbox and the default value shows. But how do I make if i want to write a new text and save it for the user, and next time I run the program the new value should show up in the textbox? I've tried with ConfigurationManager to store the new value, but I only get System.NullReferenceException so I do something wrong. -- modified at 13:11 Monday 15th October, 2007

    C# question workspace

  • Create xml file from InfoPath (xsn) file
    P Phrone

    I'll take a look at it. But I'm not to hopefull that it works with InfoPath forms because according to Microsoft it only works with: * This download works with the following Office applications: o Microsoft Office Excel 2007 o Microsoft Office PowerPoint 2007 o Microsoft Office Word 2007

    C# csharp xml question

  • Create xml file from InfoPath (xsn) file
    P Phrone

    Thanks, it looks interesting. Are you sure that it works for InfoPath files? It's a part of MS Office, but it is not listed. Have you or anyone else done this before? Would be nice to see some examples on how to make the xml file.

    C# csharp xml question

  • Create xml file from InfoPath (xsn) file
    P Phrone

    I have an InfoPath file and want to create an xml file of it using C#. The xml file should look exactly like the one that would be saved if I opened the form with InfoPath and saved it as xml. Can that be done somehow with C#? I've tried to rename the xsn file to cab, extract template.xml and sampledata.xml, but they are nothing like the xml file that is created from InfoPath.

    C# csharp xml question
  • Login

  • Don't have an account? Register

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