How to find out where the exe file was installed?
Hi there,
I have the following problem: In my VI, I'm reading a .txt file through the vi "Open Config Data" in which I specify the path of the txt. file and it returns me a refnum that is used to read the file. When I made the installer to this application, I included this txt, thus, the txt is kept together in the directory where the application is installed. The problem is that the path that is specified to the vi "Open Config Data" is not valid anymore, since the instalation directory is different. I'd like to know if there's a way to know where the application was installed. Maybe through a registry? If you have a suggestion, I'd be glad to hear it.
Kind Regards,
Bruno Ponne
In addition to the information that JB provided, you can also do something like what is shown in the attached VI that I use. It takes the approach of stripping the current VI's path till it gets to something that doesn't end in .exe, .llb or .vi. This will give the OS path regardless of where the VI is located. I find this useful because I sometimes build applications utilizing a library of plugins and, depending upon where the plugin library is located, the path to it may not be the same things as the path to the executable.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
Attachments:
Extract my OS path.vi 42 KB
Similar Messages
-
How can I find out where the Library files currently used by iTunes are located?
I have had a bit of a nightmare sorting out my iTunes files so I have various versions of Library files all over the place. How can I tell where the Library file that iTunes is currently using is located? In Preferences I can see the Library "Name", but I don't think that is much help. Preferences also shows where my i-Tunes media folder is but not where the Library files are.
Any help greatly appreciated.
JAh, I was assuming you would search in Finder and display some details. All alternative approach is to Option start iTunes and click the Choose option. It should show a file selection box targeted at the folder of the currently active library.
tt2 -
How to find out where the tablespace physical file *.dbf ?
How to find out where is my tablespace physical file *.dbf ?
Can I increase tablespace_name: TEMP and how to increase it.
First, I need to know where is the TMP *.pdf file, am I right?
Thanks in advanceThis forum is for issues with the SQL Developer tool. You'd get more response in the General Database forum.
Have fun,
K. -
One Mac Book Air was stoilen frm me, I can still see it on Find my Iphone and can see that it has been renamed. The computer was offline for longer than 24 hours, so I am wondering if there is any way how I can find out it's last online location?
No, you cannot find out where the computer has been. Find My Mac only shows you were the computer is right now if it is online.
I strongly recommend you change all your internet passwords immediately, notify the police (do not try to recover your MBA yourself), and your insurance company so you can get reimbursed and buy a new Mac. Once you have done all this go back to Find My Mac and click the "Erase" button. -
when I look at my I tunes library on my computer I have an exclamation point next to some of the songs and apps. when I click on this it tells me the original file couldnt be found. How do I go about finding the original file to correct this?
See this article: iTunes: Finding lost media and downloads
B-rock -
Application Insights Online does not show data. How to find out where the problem is?
Hi,
I have application insight set up, sometimes I see data online, but sometimes I don't. I am wondering how to:
1. Make sure the monitor is running for my application?
2. see there is data has been sent to cloud server? I tried to run DebugView but it does not show up anything. Is there a log flag that can be turned on so I can log everything to a log file while it is being sent to server?
Thanks.Hello ChadKaKit,
You can try Fiddler2 to see whether something gets out of the box to dc.services.visualstudio.com.
Make sure to either run application under the same account as a Fiddler or set a .NET proxy settings in web.config (app.Config for executables) to redirect to Fiddler.
Also, you can take a look at the AI traces with PerfView:
Perfview.exe /onlyProviders=*Microsoft-ApplicationInsights-Extensibility-Web,*Microsoft-ApplicationInsights-Core,*Microsoft-ApplicationInsights-Extensibility-RuntimeTelemetry,*Microsoft-ApplicationInsights-Extensibility-Rtia-SharedCore collect -
How to find out where the business views are being used in the Crystal
I am using Crystal Reports 2008 and BOE 3.1. We are using business views to populate the drop down for the dynamic parameters. I would like to know if there is a way to find out which reports are using a specific business views. This will help me modify the exisisting Business Views.
I would not like to edit all the reports to see them. Is that info stored in CMC or any BOE database.
Thank You.
Neeta
Edited by: Neeta Prasad on Apr 21, 2010 11:05 PMHello Vijay,
On MSSQL truncation of transaction log does not shrink the size of the transaction log. It simply removes the content within the transaction log and writes it to the backup.
Meaning the free percentage within the transaction log will increase.
If you want to Resize the transaction log size, you need to do something else.
The shrinking procedure is given here:
http://support.microsoft.com/kb/907511
Regards,
Siddhesh -
How to find out where the project directory is located
I can't get Flex 2.0 to see my class library. I have been
going to property and adding a source path --- it doesn't
work.Thanks Tracy,
I don't mind being barked at --- it helps me learn --- I
assure I have no wish to rearrange the way these forums work ---
but I'm a little dense at the forward part of the learning curve.
Not being able to get Flex to work I thought I'd try to see
if plain old Flash would clarify the problem for me for Flex. I
really want to use Flex and not Flash. So, I get an extra clue as
to what I'm doing wrong. You'll see it if you can open the attached
(.fla, .as, a set of classes files named (ASCB3Library)) files. I''
suffer another bark or more if you'll help. Thanks either way.
1. .fla file has nothing in it except a reference the the .as
file named gsaras.as. Here it is:
package {
import flash.display.Sprite;
import ascb.drawing.Pen;
public class gsaras extends Sprite {
public function gsaras() {
gsaras.graphics.lineStyle(1,0,1);
gsaras.graphic.lineTo(300,200);
var pen:Pen = new Pen(gsaras.graphics);
pen.drawArc(100,100,50,80,20, true);
The classes file contains a package named drawing.Pen.as.
I wish I could attach them but don't know how. -
How to find out, where the iphone is from?
I bought an iphone from a friend and its locked. i want to know about its details, like when and where it is bought.
Try asking your friend.
-
I was bought a voucher for Xmas.I redeemed it and the balance showed as £15.A few weeks later the balance is at 0.03p and i have not bought anything.How do i find out where the money has gone to.
ThanksLogin to iTunes on your computer: Store>View My Apple ID>Purchase History.
-
How do I find out where the missing filter is used?
After upgrade, Premiere CS4 is complaining missing filter upon opening a CS3 project. How do I find out where the filter is used?
Thanks!When I have opened older Projects in later versions, I have gotten a very useful dialog screen, telling me of missing Transitions (exact name and TimeCode), and of missing Effects. Do you not get such?
When you Open the CS3 Project, is any Clip flagged?
Considering how well PrPro has picked up on missing 3rd party stuff, I would be surprised, that it did not give you all of the necessary info.
Good luck,
Hunt -
I activated an iTunes gift card, my iPod showed the amount available ($15) then after downloading 2 songs my balance was $.04. Any ideas on what happened to the rest of my funds or how I can find out where the rest of my money went?
- Have youwent to yur iTunes account looked at your puchase history for purchases thant y might have forgotton?
- Maybe you had an unpaid balance before redeeming the card.
- Contact iTunes
Apple - Support - iTunes - Contact Us -
My MBA is full, and cannot find out where the unidentified photos are.
"About this Mac" says I have 89GB of photos saved. When I check my iPhoto, it only has 36GB of photos. My SSD is full, so I need to find out where the rest of 53GB of photos are. Can someone help?
First, empty the Trash if you haven't already done so. Then reboot. That will temporarily free up some space.
To locate large files, you can use Spotlight as described here. That method may not find large folders that contain a lot of small files.
You can also use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
Proceed further only if the problem hasn't been solved.
ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
Back up all data now.
Install ODS in the Applications folder as usual.
Triple-click the line of text below to select it, then copy the selected text to the Clipboard (command-C):sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
Launch the Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means.
When you're done with ODS, quit it and also quit Terminal. -
How to use Client_Host without the exe file path
Hi,
i'm using oracle forms 10g,
in my application the users can upload any type of files (doc,xls,pdf,avi ,.. etc) and any user can download and open any of these files.
i implement this using client_host and including the path of winword.exe or AcroRd32.exe ,...
in many cases i don't know where these exe files are installed in the client side or whether it is installed or not.
i tried this command : client_host('calc.exe') it works and show me the calc without including the path of this exe file.
what i want to do is to just call the target file(doc,pdf,avi,..) in the client_host without having to precede this with the exe and path like the calc.exe example.
if you go to start->run and write for example c:\ahmed.mpeg , windows automatically call the real player or any other video software installed and open the movie.
can we implement this in oracle forms? and how?Hi, you attach a procedure to download a file in the local runs from Windows and to close it updates in the database and then delete the local directory
PROCEDURE OPEN_FILE (V_ID_DOC IN VARCHAR2)
IS
-- Open a stored document --
LC$Cmd Varchar2(1280) ;
LC$Nom Varchar2(1000) ;
LC$Fic Varchar2(1280);
LC$Path Varchar2(1280);
LC$Sep Varchar2(1) ;
LN$But Pls_Integer ;
LB$Ok Boolean ;
-- Current Process ID --
ret WEBUTIL_HOST.PROCESS_ID ;
V_FICHERO VARCHAR2(500);
COMILLA VARCHAR2(4) := '''';
BOTON NUMBER;
MODO VARCHAR2(50);
URL VARCHAR2(500);
Begin
V_FICHERO := V_ID_DOC;
-- Ruta y nombre del fichero temporal --
LC$Sep := '\';--WEBUTIL_FILE.Get_File_Separator ; -- 10g
LC$Nom := V_FICHERO;--Substr( V_FICHERO, instr( V_FICHERO, LC$Sep, -1 ) + 1, 100 ) ;
--LC$Path := CLIENT_WIN_API_ENVIRONMENT.Get_Temp_Directory ;
LC$Path := 'C:';
LC$Fic := LC$Path || LC$Sep || LC$Nom ;
-- Descargamos el fichero --
If Not webutil_file_transfer.DB_To_Client
LC$Fic,
'TABLE_NAME',
'ITEM_NAME',
'WHERE'
) Then
Raise Form_trigger_Failure ;
End if ;
-- Abrimos el fichero temporal en local --
LC$Cmd := 'cmd /c start "" /MAX /WAIT "' || LC$Fic || '"' ;
Ret := WEBUTIL_HOST.blocking( LC$Cmd ) ;
LN$But := WEBUTIL_HOST.Get_return_Code( Ret ) ;
If LN$But <> 0 Then
Set_Alert_Property( 'ALER_STOP_1', TITLE, 'Host() command' ) ;
Set_Alert_Property( 'ALER_STOP_1', ALERT_MESSAGE_TEXT, 'Host() command error : ' || To_Char( LN$But ) ) ;
LN$But := Show_Alert( 'ALER_STOP_1' ) ;
LB$Ok := WEBUTIL_FILE.DELETE_FILE( LC$Fic ) ;
Raise Form_Trigger_Failure ;
End if ;
-- Actualizamos el fichero en la BBDD --
If Not webutil_file_transfer.Client_To_DB
LC$Fic,
'TABLE_NAME',
'ITEM_NAME',
'WHERE'
) Then
NULL;
Else
Commit ;
End if ;
-- Eliminamos el fichero temporal local --
LB$Ok := WEBUTIL_FILE.DELETE_FILE( LC$Fic ) ;
Exception
When Form_Trigger_Failure Then
Raise ;
End ; -
How to find out about the SMTP Server
Hi,
I have been trying to configure groupware in the portal - in particular I want to enable the sending of emails through the portal. I already have a how-to-guide that that seems to explain the steps quite well. However, it mentions that I need to know the SMTP Server of the email. Can you tell me how to find out about the SMTP Server? Where do I need to look for the name of it?
Thank you and regards,
KatharinaHi Katharina,
you need the SMTP server of your company. This means you can't look for it in the portal, but have to ask the responsible person in your company.
Kind regards,
dominik
Maybe you are looking for
-
Cannot connect to iTunes store on my Windows 7 computer
iTunes 9 worked fine on my system but ever since version 10 was introduced I haven't been able to connect to iTunes store from my computer. The screen remains blank. Diagnostics show everything is ok and I can download applications and sync my iPad b
-
Date of origin for subtype of infotype 15
Dear Guru New wage type is created under infotype 15 = Additional Payments for festival advance while adjusting the subtype system is showing Date of origin is 31-08-2012 for Auguest month deduction instead of Date of origin 31-08-2011... where we ha
-
Version:1.0 StartHTML:0000000186 EndHTML:0000002354 StartFragment:0000001670 EndFragment:0000002318 SourceURL:file:///Users/armandodiaz/Desktop/I%20recently%20installed%20MacK.doc I recently installed MacKeeper on my iMac. It was a
-
My alias has become unlinked from my Apple ID - can I relink?
Hi there, I haven't seen this issue addressed before- I appreciate any help! I have had an Apple ID from the way-back days when you didn't need it to be an email address. Let's say it was username:Irene, password: XX. I have an alias in Discussions t
-
Email handoff doesn't work if started from picture roll
Handoff from email works fine if I start in the email app on my iPhone, start to draft an email, insert pictures, and then switch to my mac pro; however, if I start in my camera roll and select a couple of pictures, then choose to email them---the au