I am writing an add-on for my intranet to allow my users to just email "itsupport" and parse the from as the user who logged the job and the body as the issue. Does anyone know if their is a free parser available so I don't have to look at writing something myself?
I was trying yesterday to create a CSS Parser in VB.Net with no luck.. I took a look on this article: [URL] and tried to convert from C# >> VB.Net using:[URl] The conversion went great but, when I tried to run the program, I got errors, such as: -- line 1 col 9: "{" expected ... I tried to parse the same document on the C# version, and it worked fine! But not in the VB version, so my question to you is:
I would like to take data, from a dataset, and parse it out in XML. but, i would want the XML to be based on a particular XSD schema. The dataset is being filled from a database (wich i have no problems doing).
I am wanting to develop a VB program that will access a web page containg XML format data and pick out 1 number.I have opened the web page and see the number between tags <*> <>
how do I point my search to the web address, I have foubd XML example of data being searched when the file is on your hard drive, how to point my program to a http:// web address and then how do I scan or search for my number?
I know there are several libraries of code out there that can parse CSV files according to the standard, but, for various reasons, I need one simple routine (not an entire library) that parses a CSV into a DataTable or array. Does such an animal exist or is it extinct? (Preferably C# but i can translate vb.net too)
I have a CSV file which I want to parse according to user input and then display the results in a datagrid. My SQL query works fine in Log Parser,and it generates the CSV file when run from the command prompt, but I can't get it work in my VB aplication. I am not usng SQL database sinceI don't think it's necessary (and I am quite new to VB)So how to run the Log Parser from Visual Basic in a way that the resulting CSV file could then be shown in the datagrid? I am able to display CSV file in a datagrid already, but the problem is running the Log Parser properly. I am trying the following:
SQLSTR = "select REPLACE_STR(TO_STRING(pvm),TO_STRING (100000),TO_STRING(10)) AS PAIVA, aika, maara INTO Report.CSV from SK_History.CSV where customer_id='"+ C_id + "' AND SUBSTR(TO_STRING(pvm),3,2)='" + C_month + "' GROUP BY PAIVA,aika,
Anyone know of an HTML parser for VB.NET or C#? I know .NET has a lot of XML support, like XMLReader and XMLWriter. Is there an HTMLWriter or HTMLReader?
Ultimately what I'd like is a library that will parser an HTML file and raise events based on the tags it finds.
I am trying to make a simple log parser that pulls info from a constant (real time updating) log file.it is CONSTANTLY being updated, and i'm having issues. [code] Basically, its messing up when its time to rescan it. I can't use the 'New' on it, as it throws a error on the stream reader.And if it's throwing an error with that, i'd be curious what other errors it will throw.The file doesnt necessarily HAVE to be deleted, but it DOES have to be cleared out. (so the program doesnt have to reparse all the lines).
I've got a problem with parsing some XML. This is an example of the XML Layout
<tag1> <tag2> <tag3></tag3> <tag4>
[CODE]...
The problem I have is I only want to read data from the first tag2 block and not the second. Does anyone have any ideas the line of code I need to read just that first block?
I am having difficulty writing to cvs files. My application is a text parser that scans a txt file, removes punctuation, and then stores the individual words in another txt file for later analysis. My end aim is to process txt for semantic similarities. I'm very new to this so my code is very chunky But I'd really like to pull each sentence from txt file, put into an array, and then place each array item into a CSV file with commas between words. [Code]
I have textbox1.text ( multiline) that is filled with data from a external .txt file. On each line of textbox1.text i have the folowing data:50ABCDEFGHIhsfgsdf60JKLMNOJ55JK4
I need a way to display in my second textbox ( textbox2.text - multiline also) on each line the fallowing data: "NUMBER1" & ABCDEFGHI & "NUMBER2" & JKLMNO So basically i need to find the "50" string,remove it, read "9" characters after it, same goes with 60 and JKLMNO I have a undefined non-fix numbers of lines in textbox.text1
I have found a midi parser, it WILL work, but first, I need to create a file called consol.I havent got a clue what language this will be in, or is in. I really don't know.
I'm a newb to ASP.NET and I made an app in VS2010 using NET 4.0 (Working all fine in debug mode) I tried to host my app @ aspspider and I'm getting the following error: Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'AuthStealerPanel._Default'. Source Error: Line 1: <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="AuthStealerPanel._Default" %> I also tried to rebuild the .dll and upload it to the /bin/ and application's root.
I'm Trying to write a Cisco Command Line Parser to have an automated Graphical User Interface replacement for the Cisco console output. I have been able to get the ping time using Regular Expressions from a ping output and graph it, but am now stuck with more detailed out put of other commands like "Show interfaces" command, how I can parse the Show Interface command output and extract all the useful info which i need?
how I would go about designing and making a parser for a basic-like language:
var my_string = "Hello World" var my_number = 10 Print my_string Print my_number + 10
Quite simple (although not very simple when it comes to programming it ). Does anyone have any ideas on where I can get started/how I would go about parsing it? I know it would involve a parser tree, but how would each node be structured?
Getting command parser to work. I've made a new topic for this, because the old one isn't getting much attention, but also, I wanted to refine my questions, so that they would be easier to work with..
Here's how I have this code set up in my project..
I have a function module with public functions like so..
Code:
in my public class GameWindow I have the sub for the first rooms look command..
Code:
Now everything is going to be fed through a button click. User imputs MyString, and presses button. Here's the button code.
Code:
This isn't generating any output.. not sure how to go about getting it working. ha, I'm learning though...slowly, but surely. I like the hands on approach of implementing things into my project, and working with them. I learn better that way, plus the project'll get completed eventually.
.:Error:. Server Error in '/' Application. -------------------------------------------------------------------------------- Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
I have created a resume parser which as it stands now, opens word documents and parses the content for specific tokens. It also converts the doc into html format but my problem involves natural language processing. I was told to use the SharpNLP in order to recognize specific phrases, these are typically of the type:
I am using VB.NET to read an XHTML file. I need my program to find every element within the XML structure which has the "class" attribute set to a specific value.IE: I need an array (or similar list) of all elements from the document which contain class="mytag".There is a list of several values I need to detect, all of which start with the same word 'mytag' followed by another word - so using a "contains" function seems sensible here
how to detect if MSXML parser is installed on a machine or not. I looked for a registry entry,but unable to get one. I am writing a VB.NET application.
I'm trying to read data from a text file with multiple records and fields separated by tabs to store into arrays, which I later want to output into a textbox on the form. The problem is that with the code I've written, when I debug it it exits the sub procedure when it enters the first loop where the parser is reading the text file. There are no error messages, it just exits? I'm not even sure if what I've written is possible. Here's what I've written so far:
login.aspx generates the following error on load, this file worked great for over 2 years, problems with Godaddy forced us to create a new account IIS6 ASP 1.1 which matched the original hosting environment. However now after the migration this file generates this error. Any Ideas why this parsing error is generated?
Parser Error:
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'HopeCounselingWeb.login'. Source Error: [Code]
I'm a new vb.net user and am creating a page on a Windows 2003 Server. When I try to view the page with a browser I get the following error: Parser Error Message: The file '/Sandbox/fileinput.aspx.vb' does not exist. Here is the code for the page:
I just put all my aspx files on the local folder and made a website in IIS7. I added a virtual directory to it and then converted the virtual directory to application. The website loads properly but when i click the link that calls my application i get this error message.
Description: An error occurred during the parsing of a resource required to service this request. review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type 'XXXX.xxxx'.
The error line in code is this -
Line 1: <%@ Master Language="VB" Inherits="_XXXX.xxxx" Codebehind="XXX.xx.vb" %>
I have a loop that uses threading to manage an untrappable error in a function that runs from Excel. If the function processes with out issues, Excel closes. However, if a time out occurs Excel cannot close and the following error occurs: "An attempt has been made to free an RCW that is in use. The RCW is in use on the active thread or another thread. Attempting to free an in-use RCW can cause corruption or data loss."
The error occurs at FinalReleaseComObject(Me.xla) xla.Type is Excel.Application and Excel will not close unless it is released.
How can the thread be completely closed when a time out occurs?
How can the Runtime Callable Wrapper, RCW, be freed from use?[code]...