User Profile

Collapse

Profile Sidebar

Collapse
starlight849
starlight849
Last Activity: Jul 13 '15, 09:51 PM
Joined: Jun 24 '09
Location: Ct
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • starlight849
    started a topic PowerShell Looping Problem
    in .NET

    PowerShell Looping Problem

    Hi,

    I have two datatables that I'm attempting to loop through in a nested loop.
    I am never able to hit in the second loop when I'm using a second datatable. However, if I store the information in an array then I'm able to hit the second loop.
    I have ran tests to make sure the information is getting filled in both datatable so I know that isn't the problem.
    If I do seperate ForEach loops, I am able to loop through...
    See more | Go to post

  • starlight849
    replied to Jquery Issue
    Now I have removed the bounce of the div.. However that fourth image is still blinking when switching back between it and the first image.
    See more | Go to post

    Leave a comment:


  • starlight849
    replied to Jquery Issue
    When you hover over the first image on the left and switch back and forth between it and the last image the divs bounce a little and I see that dome picture cut in and out . I'm testing on google chrome and iphone with iOS 6
    See more | Go to post

    Leave a comment:


  • starlight849
    started a topic Jquery Issue

    Jquery Issue

    I'm having some trouble with the site I'm developing.

    Here is the link: http://www.r2maker.com/r2maker/index2.html

    As you can see the fourth image is really buggy and I'm unsure of how to fix it.

    Here is the code for that one area only.

    Here is my css

    Code:
    #content{
    	width: 922px;
    	height: 372px;
    	overflow:hidden;
    
    }
    ...
    See more | Go to post

  • CAA RADE integration with Visual Studio

    Hi,
    I am running CAA RADE R21 SP4 and Visual studio 2008.
    I am trying to connect them. Can anyone give me some advice on the step needed to do this?
    I found a tutorial with r18 and visual studio 2005 but nothing on r21.

    Thanks
    See more | Go to post

  • I got past the node name by using inTreeNode.Text = inXmlNode.Inner Text.ToString
    This works, however it takes the very top node and edits the name of it to be the contents of every node below it.
    Is there a way to skip the very top node?

    If inTreeNode.Pare nt Is Nothing Then
    'this is top level. do nothing
    Else
    inTreeNode.Text = inXmlNode.Inner Text.ToString...
    See more | Go to post
    Last edited by starlight849; May 3 '13, 03:12 PM. Reason: Solved

    Leave a comment:


  • XML issues: change name displayed in node

    Through this link is an example of importing xml into a treeview in vb.net.

    http://vb.net-informations.com/xml/v...w-from-xml.htm

    I have this example working fine in vb.net 2008.

    What I am having trouble with is how to change the name that displays in the node to an id that I set, or even the inner contents of the xml tags. Does anyone have any suggestions?...
    See more | Go to post
    Last edited by acoder; May 2 '13, 11:38 PM. Reason: Fixed URL

  • How to list only files (not path) in directory with .pl extension

    Hi, I'm trying to list files in a different directory based on a specific criteria.
    The directory is in Dir1 and I'm in HOME.
    I would like to only list files that end in .pl

    However, I do not want to include the file path in the result.

    In short, I want to ls Dir1 but only list file names that end in .pl.


    Any suggestions?
    See more | Go to post

  • starlight849
    started a topic How to do this query?

    How to do this query?

    Say I have a table that looks like this...

    Code:
    COLA  COLB  COLC  COLD COLE COLF
    I have a query that looks like this....
    Code:
    SELECT COLA, COLB, COLC, COLD, COLE, COLF
          from mydatabase
          where COLD <= '5' and COLE >= '5';
    This query works fine and returns the data I want so far.
    Now, it is possible at time that COLA and COLB could have duplicate data, yet the remainder...
    See more | Go to post

  • starlight849
    replied to Trouble unlinking files...
    in Perl
    You're right it works... It was a problem in the file that was populating my removal list. Thanks so much for all the help Ron, and helping me think. :)
    See more | Go to post

    Leave a comment:


  • starlight849
    replied to Trouble unlinking files...
    in Perl
    ok here is my sample script.
    Here is the output
    Ive been playing around with the different formats of encoding but still haven't got the syntax right.

    Code:
    abc---±.txt
    failed to unlink abc---?.txt A file or directory in the path name does not exist. at test.pl line 23.
    Code:
    #!/usr/local/bin/perl
    
    use strict;
    use warnings;
    use Encode;
    
    my @goners = ('abc---±.txt','def--±.txt');
    ...
    See more | Go to post
    Last edited by starlight849; Mar 11 '13, 08:14 PM. Reason: Update

    Leave a comment:


  • starlight849
    replied to Trouble unlinking files...
    in Perl
    When I run the encode, decode on the filename it turns the ± to a ? and still fails to remove the file.
    See more | Go to post

    Leave a comment:


  • starlight849
    replied to Trouble unlinking files...
    in Perl
    Here is the error. A file or directory in the path name does not exist. at line 176, <$REMOVELIST> line 3
    The file path is right... However the file name contains ± character in it... I was able to get it working doing the rm command but I would prefer to use unlink..

    Could you explain to me why you think I should not use prototypes?

    I followed the suggestions you made. Here is my modified code....
    See more | Go to post

    Leave a comment:


  • starlight849
    started a topic Trouble unlinking files...
    in Perl

    Trouble unlinking files...

    Hi,
    I am having a little bit of trouble with unlinking a file.

    I would like to unlink it from another directory. The file name contains special characters in it and I have not the ability to change that.

    Here is my code:

    Code:
    sub FileRemove(@)
    {
    my $RemovalFile;
    my @goners = @_;
    
    foreach $RemovalFile(@goners)
     {
     chomp $RemovalFile;
     print
    ...
    See more | Go to post

  • You were right! The Jquery animate works perfect. Thanks!
    See more | Go to post

    Leave a comment:


  • starlight849
    started a topic Best way to achieve something similar?

    Best way to achieve something similar?

    I would like to recreate the images collapsing as shown here http://www.3ds.com

    I'm not sure what would be the best way to go about this. Could anyone point me in the right direction?
    See more | Go to post

  • starlight849
    replied to Help with removing lines in a file.
    in Perl
    Oh, this isn't a homework assignment. I was trying to learn to use file::tie. I was just work this as an example to try and learn the syntax. I'll try the hash.
    See more | Go to post

    Leave a comment:


  • starlight849
    replied to Help with removing lines in a file.
    in Perl
    But I'm iterating through each line in the file. and assigning them one at a time to $Line. So on one iteration the var is Yellow then next is Orange then next is Blue.
    Sorry for the confusion. File one is sorted like this:
    Yellow
    Red
    Blue


    Then file 2 is sorted like this:
    Orange
    Pink
    Purple
    Blue

    ..since Blue existed in the first file it should be removed...
    See more | Go to post

    Leave a comment:


  • starlight849
    replied to Help with removing lines in a file.
    in Perl
    It looks like it's not catching the differences and storing them in an array.
    I'll work on it for a little while and see what I can come up with. Thanks for the tip.
    See more | Go to post

    Leave a comment:


  • starlight849
    started a topic Help with removing lines in a file.
    in Perl

    Help with removing lines in a file.

    I have two files. File1 contains a list of items that I want to remove if found in file 2.

    File1: Yellow Red Blue
    File2: Orange Pink Purple Blue

    I would like the results of file 2 to be Orange Pink Purple as Blue is in the first file, it should be removed.

    Could anyone give some advice as why the logic in my code is not working?

    Code:
    tie my @file_lines, 'Tie::File', $File2 or die;
    ...
    See more | Go to post
No activity results to display
Show More
Working...