Display name of file when searching data?

hi All,
i write a coding that i want to read data in file and i get it.
after that i want to display a name of file that contain the data.
can anybody suggest how to get it?
thanks..

I still don't get the question. If there are many files, how do you pick one to read from? Or if you read from every one in turn, how do you manage to do that? Whatever you do, once you've got a file to read from, getting its name shouldn't be a lot of trouble.

Similar Messages

  • Can't find my iweb domain file when searching for it in iweb seo tool

    I am trying to get my iweb website recognized by Google. Can't seem to get the google html code to work in html snippet. So am now trying to use the iweb seo tool but can't find my iweb domain file when searching for it in iweb seo tool. My file is in user/library/applicationsupport/iweb/name.sites2
    It shows in the folder but is not active, so I can't choose it.

    The SEO ftp client is not what I'd recommend using. Once you add the metadata to a local copy of the files use a 3rd party ftp client like the free Cyberduck to upload the files. Much more reliable.
    Google does not use keywords for it's searches although other search engines do. Create a test page on your site (leave it out of the navbar) and try adding Google Analytics to it with Wyodor's instructions. If you get it to work then all you need to do is copy and paste the HTML snippet from the test page into your site pages.
    For information on visitors to your site you can also use StatCounter. It records the number of visitors and a lot more: where they are from, what browser used, which page visited and what site/page then came from for just a few. SC is easy to add to the pages as you get the code for your account, put it in an HTML snippet add the snippet to each page. Old Toad's Tutorial #13 - Adding a StatCounter as an HTML Snippet describes how to do it.
    Again use a test page or a separate test site to work out the details before adding to your site pages.

  • How to display names without file extension in Content Query Web Part in SharePoint 2010

    I try to display names in Content Query Web Part  but it shows file extension. I cannot find a way in CQWP editor that can exclude file extension.  Is there a way to display names excluding file extensions thru settings in the CQWP editor?
    I have to edit the code in SharePoint Designer, right?
    Thanks in advance for any tips!

    In the file ContentQueryMain you have already a function to get the file without extension.
    So we just can use this:
    <xsl:call-template name="OuterTemplate.GetFileNameWithoutExtension">
    <xsl:with-param name="input" select="$DisplayTitle" />
    </xsl:call-template>

  • IR Search bar display on the right when no data found

    How do I get the Interactive Search bar to be left justified when no data is found. I'm using Sand 10 Theme, and the region my interactive report is in is Page Template Region Position 3
    Does anyone have a suggestion on this?
    Edited by: deandyno on Aug 22, 2011 12:31 PM

    deandyno wrote:
    How do I get the Interactive Search bar to be left justified when no data is found. I'm using Sand 10 Theme, and the region my interactive report is in is Page Template Region Position 3
    Does anyone have a suggestion on this?Have you actually considered where Region Position 3 is located on the page? Content in regions that are located on the right tends to be displayed on the right.
    From the dimensions specified in the page templates it's also clear that region position 3 is intended to be used for narrower content than the average interactive report.
    Consider using either a more appropriate region position or a different theme (theme 10 is ugly as sin anyway).

  • The name of File when Saving New Keynote has "~" attached at the end

    When I do a save file in Keynote, the name of file has "~" attached at the end. It creates a new file so now I have two files which look like this:
    StolbaCh22.key
    StolbaCh22~.key
    Why is this happening? What am I doing wrong - can I delete either one of these?

    Have you nominated in Preferences to have a backup version every time you save?
    Or this maybe be a temporary file whilst you are working on the original.
    If they are both on your desktop without Keynote being open, you could safely assi=ume the one with the most recent time/date is the last one you worked on.
    Peter

  • Firefox 33 doesn't display a pdf file when using the response object

    Firefox 33.0.2 does not display pdf files when using the code below from an asp.net program, which works for previous versions of Firefox, and also works with IE. I'm using the built-in pdf viewer. All of my plugins are disabled.
    Dim strPDF As String
    strPDF = Session("filname") 'pdf filename
    Response.Clear()
    Response.ClearHeaders()
    Response.Buffer = True
    Response.ContentType = "application/pdf"
    Response.CacheControl = "Private"
    Response.AddHeader("Pragma", "no-cache")
    Response.AddHeader("Expires", "0")
    Response.AddHeader("Cache-Control", "no-store, no-cache, must-revalidate")
    Response.AddHeader("Content-Disposition", "inline; filename=" + strPDF)
    Response.WriteFile(strPDF)
    Response.Flush()
    Response.Close()
    Response.Clear()
    Response.End()
    Session("filname") = ""

    Thanks cor-el. You pointed me in the right direction. It appears to me that a reported Firefox 33 bug with the handling of compression (Transfer-Encoding: chunked) is the culprit (https://support.mozilla.org/en-US/questions/1026743). I was able to find a work-around by specifying the file size and buffering. Below is my code, with some code from http://www.codeproject.com/Questions/440054/How-to-Open-any-file-in-new-browser-tab-using-ASP.
    Dim strPDF As String
    strPDF = Session("filname") 'pdf filename
    Dim User As New WebClient()
    Dim FileBuffer As [Byte]() = User.DownloadData(strPDF)
    If Not (FileBuffer Is Nothing) Then
    Response.Clear()
    Response.ClearHeaders()
    Response.CacheControl = "Private"
    Response.AddHeader("Pragma", "no-cache")
    Response.AddHeader("Expires", "0")
    Response.AddHeader("Cache-Control", "no-store, no-cache, must-revalidate")
    Response.ContentType = "application/pdf"
    Response.AddHeader("content-length", FileBuffer.Length.ToString())
    Response.BinaryWrite(FileBuffer)
    Response.Flush()
    Response.Close()
    Response.Clear()
    Response.End()
    End If
    Session("filname") = ""

  • HP Officejet 6700 installed desktop program displays xml text files when run

    Afer installing the printer software and drivers on 64 bit Windows 7 Pro, the desktop shortcut and start menu entry "HP Officejet 6700" returns xml code text files .  When the icon is first clicked a window asks me to choose which installed printer, then displays two xml files.  The first file is titled "HPSPProgress" the second "HPSolutionPortal" using windows notepad.
    The shortcut points to the following:
    "C:\Program Files\HP\HP Officejet 6700\Bin\HP Officejet 6700.exe" -Start UDCDevicePage
    The printer drivers and web based access run fine, and the desktop installed HP Scan program runs fine too. All printer functions work correctly. But this one desktop installed program will not run. 
    I have uninstalled, rebooted  and re-installed multiple times as administrator and with various compatibility settings with no success.  I have tried to install from CD as well as over the internet with the same result.
    Advice please.
    This question was solved.
    View Solution.

    Hey,
    I would advise running the patch fix posted by Kyle_W in the 4th message of the thread linked below.
    http://h30434.www3.hp.com/t5/Notebook-Operating-Sy​stems-e-g-Windows-8-and-Software/officejetpro-8600​...
    Let me know if this fixes your issue,
    Jason
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
    I am not an HP employee.

  • Random Quiz Slides not displaying in published files when on server

    version 4.0
    Output - swf\htm
    Hello
    Have been working on some elearning now locally for a while which combines straight slides then ends with random quiz slides.
    Have published locally to c:\ drive and tested the swf\htm files and they play and display fine . However have now published the files to our organisations elearning server so everyone can access and played them back. All works fine till you get to the first random question slide - its just a green blank screen ! The green is the same as the skin I have on the project as a whole.
    So basically the problem must be on the server. I have no idea what to try !!
    thanks in advance
    ps - just adding this bit, I meant to put it in quizzing forum but didn't . Can't see how to move it now
    Also just tried adding a normal quiz slide and that displays fine - its when I am using the random quiz slides from a pool. Thanks
    Message was edited by: marktko

    thanks for this - feel a bit thick now !
    I had no idea they created separate files. That serves me right for not working in separate folders when I am testing and working in the root of the directory (with about 50 other cp files in it !)as I missed it.
    Mystery solved - thanks again !

  • Play sound in specified duration and desired file when reading data with VISA functions ?

    Hi.
    I read data with VISA read function and then I use functions like multiple for showing data on Chart. every thing is OK.
    now I want play a specified sound (like a 3s song in my desired folder) when signal amplitude cross over from specified value. then after desired time, it will be wait for new cross over from specified value and this procedure repeat again until I stop the program. 
    Data comes from MCU and it doesn't stop when system play sound and when system play sound, incoming data for this part (play sound) will be ignore them until specified expired.
    I use this VI for reading data and mentioned part which is sound part is empty and I don't know what I must done ?
    altougth I use another while loop for sound apart because I want save CPU time.
    Thanks.
    Solved!
    Go to Solution.

    I would recommend making the data type of the notifier a cluster that contains a path and a numeric (double).  The path tells the player which file to play.  The numeric is the duration.
    Now for a slightly complicated, but really neat, way to stop your second loop.  Do not use a second notifier.  Instead, send the normal notification but use Not A Path for the path in the cluster.  Your second loop can do a check for the Not A Path and stop when that is recieved.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Design Studio - Display a dummy image when searched photo does not exist

    hello,
    I would like to display an employee photo, which should be searched on the server folder with URL.
    Each photo name in my folder is : "employeeId.png".
    But some employees do not have a photo, and in this case I try to display a dummy photo, which I have in the same folder with employee id 00000000.
    My variables are :
    - URLlink variable is global variable type URL, which gives a path to my folder with employees photos
    - empnb variable is filled with employee id through getSelectedMember on cross table
    - filename variable to search a photo on the server
    - filename0 variable for those employees for which photo does not existe
    I tried to test the existence of an employee photo with getHeigh() method or getImage() method, to check if a photo filename set in Image1 is a real
    one. Cause if a photo does not exist, the Design studio put by default a small black cube inside Image.
    Unfortunatelly these tests are not working .
    My script:
    var filename =  URLlink + empnb + ".png";    // existing employee photo
    var filename0 = URLlink + "00000000" + ".png";  // dummy profile photo
    IMAGE_1.setImage(filename); //Try to put a photo found on the server 
    var height = IMAGE_1.getHeight(); 
    if (height == -1)
    { IMAGE_1.setImage(filename0);   }
    else   {IMAGE_1.setImage(filename);}
    Does anyone have other idea how to test if a photo exist or not in my folder.
    Many thanks!
    Bea

    I do not think it is possible today (at least not via checking of the image size). Such function would require
    * code extension in image component -> boolean IMAGE.exists()
    or
    * could be made by custom image implementation via design studio SDK. This custom image would send a request via Ajax and check response status. in case not existing some dummy images would be placed.
    for both options there are no plans as of today.
    the only option I see today is to generate in the folder "dummy" images for all employes who do not have any real image.

  • Do I really need to name the file when making a PDF?

    When I use Export for making a PDF, the name of my open InDesign file is not automatically offered as the name of the PDF.
    Does anyone know if I change this? My filenames are long and very precise, and any typo would be bad.
    Thanks.

    That's what I thought I would do when I noticed the PDF creation was not using the InDesign file name, but I can't because since I am making a PDF, only PDFs are shown in my source folder. All other file types are filtered out.
    I've never seen this behavior before - I gotta be missing some PDF creation setting somewhere, but I can't find one.
    I'm suppose I will have to copy a filename to Notepad and paste it in the export window. (Doesn't that seem a little lame though?)

  • How can I display a avi-file while acquiring data from a DAQ-CARD at the same time

    While my system is acquiring analog data and controlling a motor, I want to display a avi-film (preferably in full-screen, so that the LabView GUI disapears during this process). Are there any VI's to open external players? May I face some problems to lose samples, due to the calling of external players?

    mhi wrote in message news:<[email protected]>...
    > I've already found this example, but it doesn't work with the latest
    > media-player. Anyhow, thank you for your answer!
    you can also try out this free vi from my website:
    http://www.geocities.com/irene_he/FunStuff.html
    Irene

  • How to spilt files when using DATA UNLOAD (External Table, 10g)?

    Hi,
    I am runnin 10gR2 and need to export partitions by using data_pump driver
    via dmp files (External Tables).
    Now as requierment the created files can not exceed 2GB mark.
    Some of partitions are larger than that.
    How could I split the partition so I could be able to create files smaller than 2GB? Is there any parameter I am not aware of or do I need to do SELECT COUNT(*) FROM source_table PARTITION(partiton_01);
    and than to work with ROWNUM?
    This example working fine for all partitions samller than 2GB:
    CREATE TABLE partiton_01_tbl
    2 ORGANIZATION EXTERNAL
    3 (
    4 TYPE ORACLE_DATAPUMP
    5 DEFAULT DIRECTORY def_dir1
    6 LOCATION ('inv_xt1.dmp')
    7 )
    8 PARALLEL 3
    9 AS SELECT * FROM source_table PARTITION(partiton_01);

    You could specify multiple destination files in the LOCATION parameter (the number of files should match the degree of parallelism specified). I am not aware of an option that would allow the external table to automatically add new data files as the partition size increased, so you'd likely have to do some sort computation about the expected size of the dump file in order to figure out how many files to create.
    Justin

  • Display Name of Approver when Content Approval is enabled

    Hi,
    is there a way to see who is the approver in case that Content Approval was set on a document library?
    i saw that there is a column named "Approver Comments" which may be added to the view but it doesn't show the approver name
    keren tsur

    Hi
    The user Approver
     is not the user "Modified
    by"
    If you use Content Approval,
    SharePoint does not save the name of the approver.
    If you use approval workflow, the information
    is saved in Tasks lists
    workflow and workflow history
    Miguel de Hortaleza

  • Photo app that displays names of files?

    Hello,
    I have iOS 4 on my iPhone and now, I came across a question: Is there any app that displays photos with their filenames on my iPhone? For example, I want to use the albums I already have on my iPhone not only showing the picture itself, but also the filename such as "summer 2009 in Paris.jpg". If there is a possibility to cut off the extension (in this case .jpg) this would be the best solution.
    Greets,
    Michael

    I think it is possible for a third-party app to look at and do things with your Photo Library, not just your Camera Roll.
    One of these might show the filename, or might be good candidates for a feature request:
    http://appshopper.com/photography/exif-wizard
    http://appshopper.com/photography/exif-iptc-metadata-browser
    You can send requests to Apple here:
    http://apple.com/feedback

Maybe you are looking for

  • Document text blurry

    Hi, i have two word documents, one looks blurry and washed out, the other one is crystal clear. Any idea? both are arial 11pt Both pdf are created from a word 2010 documents with the same settings from within acrobat the view settings in acrobat are

  • Urgent help requested- MSS

    Hello people, consider the following scenario work flow is getting triggered to the Line manager (chief) and so on to next agents How can we make use of substitution in following scenarios scenario1- planned leave by Line manager (I think this can be

  • Writing a delegating CharsetDecoder?

    I want to write a CharsetDecoder that wraps an arbitrary existing decoder. Basically I want to run a standard decoder, but do special things for all the malformed input, not just the first bad sequence. The CharsetDecoder interface requires that I do

  • Inheritance component controller

    Hi all! Usually I use my methods of component controller(like work with popup or display messages) in every WD component. After create new WD component I copy my methods from another controller to current. How can I call methods from "parent" compone

  • Where can i find my sinchronized recordings in Windows XP SP3?

    Hello guys, i'm in trouble with recordings that i made in my iPhone 3GS. I made an interview and i recorded it. It is about 1:57 hours of interview and i can't send it by e-mail or MMS. I saw in the manual of iTunes how to transfer the recording from