2,977 Topics

Member Avatar for
Member Avatar for absu

Hello, I am trying to open a txt file from a link in a gridview. this is code i have, [code] <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" EmptyDataText="No records found matching your criteria" Font-Bold="true"> <Columns> <asp:BoundField DataField="file_name" HeaderText="File Name"/> <asp:TemplateField HeaderText="Open"> <ItemTemplate> <asp:HyperLink ID="Open" NavigateUrl='<%# Eval("file_name") %>' Text='<%# Eval("file_name") %>' runat="server" /> …

Member Avatar for LizR
0
668
Member Avatar for perltoday

hi, Is it possible to generate an output file and print the output to it within the program? So that the program automatically generates a file, where in it prints the output to it. Is it possible for the program to generate two output files and print respective results to …

Member Avatar for KevinADC
0
51
Member Avatar for artemis_f

Hello, I don't know any Perl but I do know Java. I am studying about Push down automatas at the moment and wanted to make a simulator for myself. I have found some code in Perl that does it but I do not know how I can go about using …

Member Avatar for KevinADC
0
478
Member Avatar for annie_singh

Hello, I have a file with the data as shown below: ATOM 2 CA ARG A 1 6.324 32.707 50.379 ATOM 13 CA THR A 2 5.197 32.618 46.826 ATOM 20 CA ASP A 3 4.020 36.132 46.259 ATOM 28 CA CYS A 4 7.131 38.210 45.919 I am a …

Member Avatar for KevinADC
0
522
Member Avatar for iNeedHelpPlease

Hello, Here's the details: User inputs sentence Program checks sentence for 3 magic words ("chicken", "egg", "rooster") Program keeps count of every magic word found and displays results Here's my code: [code=c++]#include<iostream> #include<string> using namespace std; const string chicken( "chicken" ); const string egg( "egg" ); const string rooster( "rooster" …

Member Avatar for dougy83
0
269
Member Avatar for annie_singh

Hello, I am new to perl, but I would like write a perl script that can convert xyz cordinates from a pdb file to distances using the formula: distance = SQRT[(X1-X2)^2 + (Y1-Y2)^2 + (Z1-Z2)^2] eg: line 1 xyz to line2 xyz line 1 xyz to line3 xyz line 1 …

Member Avatar for Salem
0
181
Member Avatar for WaferLove

OH hi. Sorry no zomibes here, just me. Anyway my name is Corie, you can call me "waferlove" if you want. I'm currently a student at the UofA in Tucson working with programing because of a Computer Science Minor, and of course because I want to! My favorite language is …

Member Avatar for LabASSistant
0
90
Member Avatar for jlm699

First you'll need to learn how to use code tags. As your code stands, it is unreadable because all indentation has been lost. If you use code tags, your code is not only readable, but forum members can easily copy and paste it into their code editors to tinker with. …

Member Avatar for vegaseat
0
119
Member Avatar for koteswarvijay

Hi All, I am connecting to Unix host from Windows and using SFTP connection. I am able to connect and do put & get. But I need to do even more. I want to write a function to which I will pass the command and that commands needs to be …

Member Avatar for KevinADC
0
121
Member Avatar for knightsg

I'm having a problem with an XSL script, using perl's XML::XSLT library. The code I'm dealing with is below: The XML: [code=xml]<eprint><eprint_status>archive</eprint_status><eprintid>3</eprintid><userid>5</userid><datestamp>2004-06-04</datestamp><type>journalp</type><abstract>Issues about young people&#x2019;s use of public and community spaces are now commonly raised in many countries. As urban space becomes more intensely used and the patterns of use …

Member Avatar for knightsg
0
118
Member Avatar for viktorijakup

Hi !!! This script create folder. I need what this script create and open created folder. What I must add in this script...??! [CODE] @rem = '--*-Perl-*-- @echo off if "%OS%" == "Windows_NT" goto WinNT perl -x -S "%0" %1 %2 %3 %4 %5 %6 %7 %8 %9 goto endofperl …

Member Avatar for KevinADC
0
151
Member Avatar for karan_21584

hai. currently i m using asp.net with vb (2.0 framework). here i have created a gridview and values has been populated. for the column 3,4,5 alone, i want to make the values as hyperlink, so that if user clicks that link it will redirect to a particular page (all links …

Member Avatar for Kusno
0
118
Member Avatar for klactose

Hello, I am writing some testing scripts. At the end of each test I may have to return my environment back to it's default state using various subroutines in various modules. I realize that using the END block I can run these subroutines, however I have hundreds of these test …

Member Avatar for klactose
0
121
Member Avatar for bagera

this method on dataNavigateUrFromatSting that i gave it a parameter for the popup() window it doesn't work but it's open with no data but when i gave it just the formname with the datalink its work correctly so how i can pass to it the width and the height and …

0
59
Member Avatar for 115cruiser

Where should i look for this answer: Hi, If you don't know the answer if you could please point me in the right direction it would be appreciated. looking to search for more then 1 term at a time with user interaction as shown in the script below. I have …

Member Avatar for 115cruiser
0
104
Member Avatar for jyotiu

Hi all, I have a html file, i need to extract name , address and phone no. from it. now name is in <span class="name"></span> add is in <span class="list_address"></span> phone is in <span style="display:none" ID="phoneVal11"></span> I have used following code for getting name,add and phone: [code] <?php function get_name($file){ …

Member Avatar for KevinADC
0
156
Member Avatar for SS7

[COLOR="Green"]like ::: this is for perl script sample.pl a.exe xx xx xx where the last two xxs are the credentials of the exe and 1st xx is the IP of the machine the exe is present[/COLOR]

Member Avatar for Salem
0
43
Member Avatar for yair7190

hello everyone, i have a script in which i enter a log file into an array and then i go line by line to search for a line containing "free disk space". once the line is found i want to check if the value is greater than 75. the line …

Member Avatar for yair7190
0
103
Member Avatar for sobam15

I have to create and run a program that can take any column and row value and print the corresponding number. I think I understand how to do this manually: 1. Initialize row and column ($i and $j). 2. Make sure row/column combination exists, row must be larger or equal …

0
55
Member Avatar for yair7190

hi everyone! i'm kind of new to perl and having some problems with a script i wrote. hope i came to the wright place :) here's my problem: i wrote a script that goes through each line in a file (i loaded the file into an array "RevLogFile") and when …

Member Avatar for yair7190
0
139
Member Avatar for akmittal

i am new to assembly programming,can anybody help me out to solve this problem - i have a assembly code which does the atomic increment [code=assembly] Atomic_Add (volatile unsigned int *addr, int additive) { register unsigned int previous; __asm__ volatile ( "pushf;" "cli;" "movl (%2), %0;" /* previous = *addr; …

Member Avatar for Salem
0
156
Member Avatar for navsaug

Hi - Please help me with the following. I have to a parse a log file and here is the part of the log file which is occurs repetitively. [Text1] [Text2] [Text3] [Text4] [Text5] [Text6] [Text7] [ ===== PATTERN1 ======= Text8_line1: value1 Text8_line2: value2 Text8_line3: value3 Text8_line4: value4 . . …

Member Avatar for katharnakh
0
81
Member Avatar for sobam15

Hi, I am a college student who recently signed up for a Computer Science course despite being an utter mess when it comes to math or science (as an aspiring writer, I have a way with words instead). I needed the extra 3 credits and didn't really have any other …

Member Avatar for vkumar42
0
88
Member Avatar for Th3_uN1Qu3

A lot of blah blah, scroll down for the matter i need help with... Hello everybody. I'm a moderator of a gaming forum and a big fan of bishoujo games. I sometimes do my own game releases/revamps, but what i've did till now didn't involve much "real" coding. I want …

Member Avatar for Th3_uN1Qu3
0
199
Member Avatar for sobam15

This triangle shape full of numbers is the reference I have to use for the first part of a homework problem, but I haven't the slightest clue as to why the rows and columns are indexed starting at zero and what that means in terms of all the other rows. …

Member Avatar for sobam15
0
244
Member Avatar for neslihan

printing RTF document in VB was OK. After converting to VB.NET, the RTF file being printed is placed wrongly on the paper and there is next page problem the code is like that Public Function Yaz(ByRef argFileName As String, ByRef argValues As Dictionary(Of String, String), Optional ByRef argPreview As Boolean …

0
85
Member Avatar for alc6379

Thanks to Dani for adding Python to the scripting languages category! ...I haven't heard many people mention Python around here... Am I the only Python fan here? I know its usage isn't as widespread as Perl, but it is, IMHO, as powerful and useful as Perl, for general scripting, web …

Member Avatar for ZZucker
0
526
Member Avatar for hariom40019

hi i am new bee of perl development canu tell me perl manual link for download

Member Avatar for ithelp
0
32
Member Avatar for anklos

Hi~! I am using perl webcrawl from a few url links(given by a enclosed set of htmls), but I can't succeed to crawl disconnected components. Could anyone give some advice on it? Thanks for any suggestion!

0
52
Member Avatar for APablico

sony vaio laptop VGN CR407E hello everyone! i've joined this website for the sole purpose of getting answers to fixing my laptop. for any info/help, i thank you in advance. so this is the story: opening an email from a legit website (intercontinental hotels group), then my computer suddenly freezes. …

Member Avatar for selom
0
164
Member Avatar for kkarimi

I'm developing an application that sends emails to customers. The body of the email contains a URL encoded hyperlink back to our site kind of like this: [url]http://myserver/myfolder/test.cfm?id=%409%20%2DW9I74%3D%402%5CN8%2A5%3D%3D5%2D%40%3C%3D%3DQ%5B%40%3AB%5D2Q%2B%2BN%3C44%3A3%3E3%3C%20%0A[/url] In Yahoo, GMail, Outlook, etc. the link works fine. However Hotmail is decoding the link before it sends: http://myserver/myfolder/test.cfm?id=@WUE^[MA6 9J?%3D5B%258D^K5@^%2BD<;5U) '((OZ<,%2BFU%25( Anyone …

0
44
Member Avatar for Dizdain

Hello. I'm new to the community so hello everyone! I am having some difficulties with my php script. I am trying to generate a list of the latest 10 news topics in my site and code those topic titles to hyperlink to another page, news.php, which will show the entire …

Member Avatar for Dizdain
0
173
Member Avatar for uan_Blr

Hi there, could you please help me with the following script: [CODE]my $gnuplot = "/usr/local/bin/gnuplot"; my $sample = "foo"; open(GNUPLOT, "|$gnuplot"); print GNUPLOT <<gnuplot_Commands_Done; set grid set title "$sample" plot "$sample" u 1:6 w lines pause -1 gnuplot_Commands_Done close(GNUPLOT);[/CODE] I would like to be able to call gnuplot in a …

0
85
Member Avatar for osjak

Hi All, I am very new to Perl and trying to practice a bit. I am rebuilding my website and decided to take on a project - convert an Simple Machine Forum database into vBulletin database. At the present stage my script successfully converts users and topics, but I am …

Member Avatar for katharnakh
0
101
Member Avatar for viktorijakup

Hello !!! My directory D:\conv\ESSD\YJCIS\YJCIS14183\bbb.doc I must send to X:\sgml_db\ESSD\YJCIS\YJCIS14183\ directory and rename bbb.doc to MMC1.doc. If X:\sgml_db\...\....\YJCIS14183\ don't exist, i must create it. "X:\sgml_db\" constant directory. My script must choose path itself ! What I must add to this script !!! [code=perl] use strict; use warnings; use File::Copy; use …

Member Avatar for khess
0
122
Member Avatar for shnippy

Hello, I have been scouring the web trying to find as much information on mod_rewrite as I can, but the solutions I have found do not suit my need. I have a website that has been up for almost 3 years, and I am having a hard time getting pages …

Member Avatar for bigtalk
0
143
Member Avatar for uan_Blr

Hi everyone! I have just signed in at daniweb, I hope you can help me. I am new to perl and have the following problem to solve: I have loads of files with 16 columns full of numbers. I need to 1. take column 6 and substract column 10, store …

Member Avatar for uan_Blr
0
519
Member Avatar for bhall

This seemed like it would be easy when I decided to do it but it turned out to be a bit more difficult than I would have thought. Basically, I've got a file. data.txt that is full of data formatted like this name|value and in side a script i've got …

Member Avatar for KevinADC
0
129
Member Avatar for SNN

Hi, I am new to Perl and I appreciate if someone can help me. I have a tab delimited file that contains 100 columns and 300 rows. The first row is the ID. I need first to read the file into a matrix or a table and delete the columns …

Member Avatar for KevinADC
0
159
Member Avatar for somename

Hello. My question is about perlTk. I'm wondering how to write a gui app like that: it has 2 buttons, 1 is "run" and 2 is "stop". App should run some function and when i press "stop" button, it should stop. But when "run" button pressed whole app gets inactive …

0
54
Member Avatar for tonydm

Hi, I'm a newcomer to Perl. Don't know why it took me so long. I've been having a blast writing various scripts to ease my life as a sysadmin. I'm working on a script to cat log files for a hex address. In our system it is in decimal format. …

Member Avatar for tonydm
0
179
Member Avatar for katharnakh

Hi, [B]Background:[/B] I have task of calculating dependencies of project(s) of a scenario. Dependency calculation is done using an external command. Since this dependency calculation time depends on how big is the project is, it is difficult to guess how much dependency calculation of a scenario(a set of projects) takes. …

Member Avatar for katharnakh
0
129
Member Avatar for Achmat

Hi guys, I've been fiddling with Perl for the past 2months and still I have difficulty with it, I've read 3books already but I'm kinda in the deep end cause I'm in a working environment. I'm currently working on this: [CODE]#!/usr/bin/perl print "Content-type: text/html\n\n"; #all variables starting with 'i' are …

Member Avatar for jephthah
0
282
Member Avatar for bmz

hey... i currently making a web application, in VS 2008 - visual web developer 2008, for our final project and it makes use of an ocx which has methods to enable VOIP. What i did, since the control cannot be added to the tool box in order for it to …

0
104
Member Avatar for knarffrank

I'm looking for an MRTG program that will save all the incoming phone numbers and group them through their country code.

Member Avatar for KevinADC
0
104
Member Avatar for buchistyle

I am a newbie as in Johny NC. I'd love to get connected to people at my own level of experience or above it in IT so we can learn from each other. I'm a guy from Nigeria and I like to relate with people who have a high need …

Member Avatar for Jx_Man
0
49
Member Avatar for buchistyle

I am a newbie as in Johny NC. I'd love to get connected to people at my own level of experience or above it in IT so we can learn from each other. I'm a guy from Nigeria and I like to relate with people who have a high need …

Member Avatar for Jx_Man
0
56
Member Avatar for baba786

hi all, as we are talking about the python ,so can you tell me what is a weakness's and strength of the python in comparison of the other language. 1.c 2.c++ 3.java 4.perl 5.vbs tell me fast.

Member Avatar for Gribouillis
0
106
Member Avatar for Vandithar

Hi, I have a string like "The quick brown fox jumps over the lazy dog" (or longer) I have to search through this string using boolean operators like "quick AND brown OR fox" mantaining the logical order, so "quick AND (brown OR fox)". (consider that the search string can be …

Member Avatar for raul15791
0
91
Member Avatar for iamdaniel123

hi, i'm working on a project and i was wondering how to open a hyperlink from access. the data type of one of the fields is a hyperlink, because the data of it is in a text file. i can DISPLAY the hyperlink in a label on vb, but i'm …

0
54

The End.