Search Result

Collapse
66 results in 0.0037 seconds.
Keywords
Members
Tags
file
  •  

  • Solemn
    started a topic StreamRead/Write filename issue.

    StreamRead/Write filename issue.

    in this example:

    Code:
    using (StreamWriter sw = new StreamWriter("D:\\BrugerID.txt", true))
    I want the "BrugerID" to be replaced with a variable. The variable should be a user input.

    In my perfect dream world the lines should be like this:

    Code:
    string fileNameToWrite = Console.ReadLine();
    using (StreamWriter sw = new StreamWriter("D:\\{0}.txt",fileNameToWrite, true))
    ...
    See more | Go to post

  • Removing spaces and empty lines from a file Using Python

    Hello

    I have a file which contains a value 2000,00. but it contains spaces after 2000,00 and empty lines.

    I want to remove all the spaces and empty lines, If some one can give some Idea,

    Thanks
    See more | Go to post

  • growthndevlpmnt
    started a topic Trying to justify text using Python

    Trying to justify text using Python

    Ok so I'm supposed to be taking a input text file and justifying it. I've have gotten the text to do character justification bar the last line. I'm trying to figure out how to iterate over each space and insert a ' ' to get the last last up to the specified length.

    If I try
    Code:
    for ' ' in new:
        insert(new,' ',find(' '))
    in the spirit of simple style that python has taught me,
    I get a non iterable error....
    See more | Go to post

  • dridia
    started a topic Log username and password
    in PHP

    Log username and password

    Hi! I'm looking for a script to keep track of players password and usernames. Simply, keep track of information that enters into a textbox. I've tried to make it work for about 1 week now, but i really can't find anything. I'm new to php but i know the bases of PHP.
    I would appreciate if someone could help me with this!!
    See more | Go to post

  • tharindu96
    started a topic Why is this code won't work
    in PHP

    Why is this code won't work

    Code:
    $itarget = "images/";
    							$ftarget = "files/";
    							$idir = $itarget.$image['name'];
    							$fdir = $ftarget.$file['name'];
    							$gquery = "INSERT INTO `games` VALUES ('','".$name."','".$content."','".$idir."','".$fdir."','','')";
    							if(mysql_query($gquery)){
    								$itarget = $itarget.basename($image['name']);
    ...
    See more | Go to post

  • RealKing
    started a topic How to code sign a cab file???
    in .NET

    How to code sign a cab file???

    can anybody plz tell how to codesign a .cab file???

    I developed a project in dotnet framework using C# and i made a .cab file of setup of that project, .inf file and .pfx key...
    whenever i want to install this .cab file via browser it is not installing successfully, giving error as unknown publisher still when i build the certificate using X509 certificate generator...

    anybody give solution plz...........t hanks...
    See more | Go to post

  • The Human Tangent
    started a topic Response.WriteFile & Response.Redirect
    in .NET

    Response.WriteFile & Response.Redirect

    I'm publishing a page URL
    eg mysite.com/disclaimer/someinfo
    this page shows an agreement, and if the user clicks the agree button then a PDF file is streamed as an attachment.

    The purpose of this is the user can then share this URL but anyone else following the link must also read the agreement before downloading the file. The actual file does not have a URL but is held elsewhere on the server so the only way to download...
    See more | Go to post

  • How to execute PHP file with parameters automatically?

    Hi there,

    I need to (re)create every couple of days a few dozen SVG files, which are created through the same PHP file, passing four parameters. I have programmed the generic PHP file so that it overwrites already created files after, say, 7 days.

    But at the beginning (after having changed any coding in the PHP file) I have to launch those three dozen files always by hand. Instead I would like to use a script which would...
    See more | Go to post

  • torstenborg
    started a topic File path to correct case

    File path to correct case

    In the Windows OS file paths are not case-sensitive.

    I wanted to identify where in my HTML-documents I have used incorrect case for any file reference so I could migrate to hosts where case-sensitivity would make misspelled references impossible to find.

    The enclosed function takes a path eg
    D:\VS FISA WEB\SITES\fisa\ MAIN\ES\ACTIVIT Y.HTM
    and, if the file exists (not case sensitive), returns
    D:\VS...
    See more | Go to post

  • how to use python to extract certain text in the file?

    i want to extract certain section of the text file. my input file:

    -- num cell port function safe [ccell disval rslt]
    "17 (BC_1, CLK, input, X)," &
    "16 (BC_1, OC_NEG, input, X), " &-- Merged input/
    " 8 (BC_1, D(8), input, X)," & -- cell 16 @ 1 -> Hi-Z
    " 7 (BC_1, Q(1), output3, X, 16, 1, Z)," &
    " 0 (BC_1, Q(8), output3,...
    See more | Go to post

  • postman
    started a topic Write-only Access to Database on Network Drive?

    Write-only Access to Database on Network Drive?

    Is it possible to set the file permissions on an Access 2007 database file stored on a Windows file server to allow users to only write data TO an Access database, but not allow them to open the database file or read data from it?

    I'm trying to find a mechanism to capture usage data from users who are using a local web application, but I don't want those users to be able to access the data.

    The mechanism uses ActiveX...
    See more | Go to post

  • geekyninja
    started a topic Getting all file properties asp

    Getting all file properties asp

    Hi all. i am trying to find out if there is a way i can all the file properties from like a video file. i can get the file type and size no problem but i am trying to access like the length properties. I am trying to get this information so i can view a folder via a webpage and have all the file lengths displayed with the other information. i know a bit about asp coding but after hours of googling this i could not find the answer.
    See more | Go to post

  • How to get a file path on Windows Network Server from Linux

    Hi,

    I am trying to get a valid path of an Excel file exsist on windows network server from a Perl script running at Linux machine.

    I have tried searching CPAN but could not figure it out.

    Any advise will be greatful.

    thanks
    See more | Go to post

  • running the files(text,video) without downloading from the server in java

    Hello all!
    is there a way to run the files(text,vide o) without downloading from the server in java?

    example: user clicks a jButton linked "localhost/mathTutor/probality.flv" and the video lecture named probality.flv will be run without being downloaded.

    [Please show me a way or give me a link where I can find a way to do it.. ]
    [I am a novice, please ask me if you don't understand above question]...
    See more | Go to post

  • NeoPa
    started a topic Select a File or Folder using the FileDialog Object

    Select a File or Folder using the FileDialog Object

    Overview

    It is often required to prompt the operator of an Access project to select a file or folder. Sure, it's possible to allow them to type it in freehand, or even paste it in from another application, but generally operators are more comfortable with the facility to select it from the existing file structure as they would in most Windows applications (with a file/folder selectioon window).

    This is perfectly possible...
    See more | Go to post
    Last edited by NeoPa; Oct 5 '14, 01:08 AM. Reason: Updated to include setting of Filters and some code explanation for any that may need it. Updated again to include a multi-filetype Extension parameter setting (*.ACCDB; *.MDB). Updated again to fix i
Working...