User Profile

Collapse

Profile Sidebar

Collapse
sevak316
sevak316
Last Activity: Nov 16 '09, 03:00 PM
Joined: Sep 29 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sevak316
    started a topic unexpected error (Does anyone know XQuery?)
    in XML

    unexpected error (Does anyone know XQuery?)

    ok, im going nuts, why am i getting an error here? PLEASE HELP

    Code:
    xquery version "1.0";
    let $count := 0
    for $dept in doc("store.xml")/root/dept
    
    return 
    	<total_items>
    		{		
    				<name>{ $dept/name/text() }</name>,				
    				<count>
                        {  
                        if (contains($dept/toys, "test"))
    ...
    See more | Go to post

  • sevak316
    started a topic comparing dates using XQuery
    in XML

    comparing dates using XQuery

    Hi,

    I would like to compare 2 dates and see which one is older using XQuery.

    Anyone?

    -Thanks.
    See more | Go to post

  • sevak316
    replied to parsing text file
    in Perl
    This problem has been resolved. Please remove the thread.
    See more | Go to post

    Leave a comment:


  • sevak316
    started a topic parsing text file
    in Perl

    parsing text file

    Hello,

    I stored a text file into an array. Now I am going through the array looking for a particular string. When I find that string, I want certain things that come after it to be stored into a variable until I reach a flag which tells me that I am done. I would like to repeat this for the entire file.

    So this is what I have so far:

    Code:
    foreach $line (@raw_messages)
    {
    	if ($line =~ /ca69/)
    ...
    See more | Go to post

  • sevak316
    replied to mysql counting occurances in a table
    Code:
    SELECT person
    FROM my_table
    GROUP BY person
    HAVING Count( person ) = Count( has )
    this is what i have right now and no luck.
    See more | Go to post
    Last edited by Atli; Nov 3 '09, 05:15 AM. Reason: Please use [code] tags when posting code.

    Leave a comment:


  • sevak316
    started a topic mysql counting occurances in a table

    mysql counting occurances in a table

    Hi,

    Here is a table that I am working with:

    PERSON | HAS
    --------------------------------------------------------
    John | Laptop
    John | Cell Phone
    John | PS3
    Sally | Cell Phone
    Sally | Laptop
    Jane | Laptop


    I want my query to return the...
    See more | Go to post

  • sevak316
    replied to C beautifier
    in C
    Ya, I know what you mean. We use the beuatifier as the basis of our original written code. It is just a nice way to keep everybody's code consistent. We also use file comparison tool (like Beyond Compare) to see the changes the beuatifier made, to make sure it was only formatting and nothing else.
    See more | Go to post

    Leave a comment:


  • sevak316
    started a topic C beautifier
    in C

    C beautifier

    Searched the forum and didn't find any topics on this.

    Does anyone know where I can find a user friendly C beautifier. We are using Indent right now, but it doesnt have a friendly interface.

    If you have used a beautifier that you are happy with, please let me know.

    Thanks.
    See more | Go to post

  • sevak316
    replied to compile code in Visual Studios
    in .NET
    i am not comparing source code nor projects. You must have misunderstood the point of this thread which was how to link/compile files located outside of VS2008.

    With that said, I have solved the problem. It was in my "Additional #include directory" located under the project properties. The directories were mapped to a different project, so the project was not compiling correctly.
    See more | Go to post

    Leave a comment:


  • sevak316
    replied to compile code in Visual Studios
    in .NET
    i am not sure what you are talking about. please explain.
    See more | Go to post

    Leave a comment:


  • sevak316
    replied to compile code in Visual Studios
    in .NET
    Ok, so i did update VS to SP1.

    Still no cigar.

    I did however discover something. You are running a C# project. I created a C# project and guess what? I can add items "as Links" with that little trianle thing. However, I am under a C++ project (Win32 Console Application), which doesnt have this magical option. =\
    See more | Go to post

    Leave a comment:


  • sevak316
    replied to compile code in Visual Studios
    in .NET
    so do you think the updates might fix the problem?
    See more | Go to post

    Leave a comment:


  • sevak316
    replied to compile code in Visual Studios
    in .NET
    well,

    i ran into another problem. let me explain:

    1. My visual studio project is located on my local drive.
    2. I added the source code (which is located on a network drive) by right clicking and going to "add exisiting item".
    3. yesterday i compiled the code and it compiled with no errors/warnings.
    4. Today, I came in and there were changes made to the code and I tried compiling it again,...
    See more | Go to post

    Leave a comment:


  • ianinini
    ianinini posted a Visitor Message for sevak316
    Hello,

    I am trying to open COMx where x is anywhere between 1 and 4.

    I wondered, did you find an answer to your post on 4th November:
    ----
    I am not sure what that is? (multibyte)

    Oh and by the way, it works. I am getting data out of COM1.

    My question now is, how do I make this dynamic. Can I pass a var to TEXT()?
    It doesn't look like I can because it takes in a "quote"...
    See more | Go to post

  • sevak316
    replied to compile code in Visual Studios
    in .NET
    Yes.
    Havent done updates.

    Microsoft Visual Studio 2008
    Version 9.0.21022.8 RTM
    Microsoft .NET Framework
    Version 3.5

    Installed Edition: Professional
    See more | Go to post

    Leave a comment:


  • sevak316
    replied to compile code in Visual Studios
    in .NET
    mine doesnt have the triangle thing. :(
    See more | Go to post

    Leave a comment:


  • sevak316
    replied to compile code in Visual Studios
    in .NET
    tlhintoq: I am having trouble finding the triangle you are talkin about. This is in Visual Studio 2008 right?
    See more | Go to post

    Leave a comment:


  • sevak316
    started a topic compile code in Visual Studios
    in .NET

    compile code in Visual Studios

    I wasn't sure how what subject to put for this, but what I really want to know is how to compile code which is located outside of my Visual Studio project folder.

    For example if my project is located in C:\my project\...
    But the source files are located X:\source files\....

    May I add the point that I cannot move the source files and nor the project files together. They have to remain seperate. How can I tell my...
    See more | Go to post

  • sevak316
    replied to How do i find out if a file is locked?
    in C
    The files are under source control.

    I just wanted to let you guys know that it is possible to know what user has locked a file. I just don't know which API call can make this possible.
    See more | Go to post

    Leave a comment:


  • sevak316
    replied to How do i find out if a file is locked?
    in C
    It is possible!!!

    Found a program which does it. Now all I have to do is to find the method this guy used to get the name!

    The file upload size for the forum is to weak, so I can post a picture. However, I can give you the link to the download page of the program. It's free!

    I would still like to know how this guy did it. If anyone has a clue let me know.

    WhoLockMe Explorer Extension v1.04 beta...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...