Can let *.ini file not exist ?
I have buit an EXE application, multiple, there are an *.ini file, as I deleted it, but it will be created new one automatically, though it is empty, can I let my EXE lonely ? I don't like that INI file, any setting can reach ?
thanks in advance.
I don't know, maybe some option in the ini file.
Anyway, why do you want to get rid of this file? It will not harm your application.
It can also be useful in some cases. For example, if you create in the ini file a section like this one:
[name_of_your_exe_without_.exe]
HideRootWindow=True
you will get only one window in the task bar (under Windows).
This double window hurted my esthetical feeling more than a useless file.
Paolo
Paolo
LV 7.0, 7.1, 8.0.1, 2011
Similar Messages
-
File not exist in application server
Dear experts,
Can anybody told me that if file not exist into the application server then what will happen to open dataset statement?
it will show error or what?
regards,
sameek.Dear Sameek,
Please check in code if file is exist then proceed next statement otherwise should not proceed with next statement.
Best Regards
Arun Jaiswal -
"Can't open file - not a valid pdf"
Hi,
This seems to have been asked before but I can't find an answer!!
I have a small app that i use for work which essentially just links to pdfs stored on a wordpress site
All has been working well until recently when android phones can no longer open the files - they get a "can't open file - not a valid pdf file" message
It seems to happen with many but not all the files. Some examples of problematic ones are:
http://uhbsosguidelines.files.wordpress.com/2014/02/transfusionmajorhaemorrhagecompressed. pdf
http://uhbsosguidelines.files.wordpress.com/2014/02/aagbi_la_toxicitycompress.pdf
http://uhbsosguidelines.files.wordpress.com/2015/01/anaphylaxis-under-anaesthesiaupdated02 14compresresave.pdf
Oddly, it seems only to be a problem when trying to open directly from the link in the app into adobe reader. If you download the file onto the phone THEN open it in Reader it works fine!
As I say, this seems to be a recent problem - has been working perfectly up until now.
I'd really appreciate it if you have any thoughts / suggestions - I don't want to have to ask all the users to install a different PDF reader app!Thanks for reporting the issue. We have been able to reproduce it at our end and shall let you know when this gets fixed in one of the future releases.
Thanks,
Adobe Reader Team -
Hi There,
i have a Problem about a cfm-Script that use a ini-File to
connect to my MS-SQL 2000 Server.
We have here a productive System with Windows 2000 CF 4.5.1
SP1 with MS-SQL 2000 (SP4) and IIS 5. We plan to move all Content
to an newer Hardware on Windows 2003 Server.
Once ive installed a Windows 2003 Server with CF MX 7 Trial
and MS SQL 2000 (SP4) an IIS 6.
My Script use an ini File to Connect to my MS-SQL 2000 Server
on the local Machine. When i start the Script there prompt an error
about "e:\inetpub\wwwroot\mysite\upload\upload14964.txt from {ts
'2006-06-28 11:48:00'}
/ INI-File not found!"
In the Script it looks like that:
quote:
<cfx_mysiteImport
IniFile = "e:\inetpub\wwwroot\mysite\renet.ini"
ImportFile = "#physName#"
error = "errimport"
uploadid = "uploadID"
>
Does anyone have an idea to resolve this Problem?
Best regards
Olli
ps.: maybe i can post the complete source ...lhood7214,
I understand that the Recovery disks came with the notebook, and they are not allowing you to do the recovery. Again I suggest contacting HP support and explaining the issue. They should be able to assist you in obtaining Recovery material that will work.
Sparkles1
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping! -
If image file not exist in image path crystal report not open and give me exception error problem
Hi guys my code below show pictures for all employees
code is working but i have proplem
if image not exist in path
crystal report not open and give me exception error image file not exist in path
although the employee no found in database but if image not exist in path when loop crystal report will not open
how to ignore image files not exist in path and open report this is actually what i need
my code below as following
DataTable dt = new DataTable();
string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
using (SqlConnection con = new SqlConnection(connString))
con.Open();
SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
cmd.CommandType = CommandType.StoredProcedure;
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
da.Fill(dt);
foreach (DataRow dr in dt.Rows)
FileStream fs = null;
fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
BinaryReader br = new BinaryReader(fs);
byte[] imgbyte = new byte[fs.Length + 1];
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dr["Image"] = imgbyte;
fs.Dispose();
ReportDocument objRpt = new Reports.CrystalReportData2();
objRpt.SetDataSource(dt);
crystalReportViewer1.ReportSource = objRpt;
crystalReportViewer1.Refresh();
and exception error as belowFirst: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
Second : Drag And drop this image Filed Where I want.
private void LoadReport()
frmCheckWeigher rpt = new frmCheckWeigher();
CryRe_DailyBatch report = new CryRe_DailyBatch();
DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
DataTable dt = GetImageRow(table, "Footer.Jpg");
report.SetDataSource(dt);
crv1.ReportSource = report;
crv1.Refresh();
By this Function I merge My Image data into dataTable
private DataTable GetImageRow(DataTable dt, string ImageName)
try
FileStream fs;
BinaryReader br;
if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
else
// if photo does not exist show the nophoto.jpg file
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
// initialise the binary reader from file streamobject
br = new BinaryReader(fs);
// define the byte array of filelength
byte[] imgbyte = new byte[fs.Length + 1];
// read the bytes from the binary reader
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dt.Rows[0]["Image"] = imgbyte;
br.Close();
// close the binary reader
fs.Close();
// close the file stream
catch (Exception ex)
// error handling
MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
return dt;
// Return Datatable After Image Row Insertion
Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP] -
Can't open file--"not compatible with this version"
I can not open a photoshop file, although it was saved with the same version. "The file is not compatible with this version" can someone help me.
thankshi kirsti
I use windows 7 and photoshop cs5
thank you
Am 02.05.2012 19:06, schrieb Kirsti Aho:
>
Re: Can't open file--"not compatible with this version"
created by Kirsti Aho <http://forums.adobe.com/people/Kirsti-CA> in
/Community Help Application/ - View the full discussion
<http://forums.adobe.com/message/4374618#4374618 -
Why java only can display GIF file not jpeg and BMP ??
Did anyone know why java only can display GIF file not in jpeg and BMP ?? This is because the quality of GIS is not as good as Jpeg and BMP
any code to load the display process ??
thx guys !!!you can do jpegs but im not sure about bmps.
The only thing ive noticed is that java cant support transparent jpegs, only transparent gifs
Jim -
T-FV-1030 CIN File Not Exists in required Path.
Dear Gurus,
When executing FVU 3.0 I am getting error as T-FV-1030 CIN File Not Exists in required Path. Please guide where I have missed something .Dear Gurus,
When executing FVU 3.0 I am getting error as T-FV-1030 CIN File Not Exists in required Path. Please guide where I have missed something . -
When sycning photos get error message: can't sync file not found
Trying to sync my wife's new 3gs to my macbook Pro. Never had any problems syncing my phone. With hers I can sync everything but photos. I get an error message saying can't sync file not found. I have no idea what file it is looking for or whether it is missing from the phone or my computer.
Thanks so much. The file path wasn't exactly the same as the link said, but it was close enough that I found it in a few minutes. Trashed the ipod cache as instructed, and now all my iphones and ipods have synced photos. Thanks again, would have never found that file on my own.
-
How to create a new excel file using Excel Destination when Destination file not exists.
how to create a new excel file using Excel Destination when Destination file not exists.
Just need to set an expression for excel connectionstring and set delay validation to true and it will create it on the fly.
The expression should return the full path with dynamic filename in each case.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
OK, i create a directory i have read/write permissions on the directory, but still even if the file exists its bringing back the result as if it doesnt i need help with this...
set serveroutput on
DECLARE
fexists BOOLEAN;
flen NUMBER;
bsize NUMBER;
BEGIN
sys.utl_file.fgetattr('TMP_LOCATION', 'test.txt', fexists, flen, bsize);
IF fexists THEN
dbms_output.put_line('File Exists');
ELSE
dbms_output.put_line('File Does Not Exist');
END IF;
dbms_output.put_line('File Length: ' || TO_CHAR(flen));
dbms_output.put_line('Block Size: ' || TO_CHAR(bsize));
END fgetattr;
File Does Not Existmy directory.. CREATE or replace DIRECTORY tmp_location AS 'Server-1\configsheets\completed\pdf approved'Good afternoon,
If you are loooking at a mapped drive, you can only see it if you change how the Oracle services start. You need to have them start with a specific user ID rather than starting as system services. The problem is that the system services cannot see mapped drives.
So, do this:
<li>Create a user to be used by Oracle services. Make sure they have the correct rights (I gave mine Server ADMIN so as to have all the access I needed)
<li>Log into the server and modify the services
<li>Click the 'Log On' tab and enter the account and password you created for the Oracle Processes
<li>Reboot the server, allowing the Oracle services to log in with this new ID.
This should then fix your problem.
Thanks,
Don.
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! :) -
DignosticF​ile= setting in .ini file not working?
When editing Lookout.ini file in Lookout 6.1 and adding setting as follows:
[COM9]
DiagnosticFile=C:\com9.txt
or
[COM3]
DiagnosticFile=C:\Program Files\National Instruments\Lookout 6.1\com3.txt
No logs are created for the named COM port.
I know I used this feature sucessfully back in Lookout 4.5 and earlier, maybe even in Lookout 5.1.
Please confirm and help!You can configure this in Lookout. Go to Option->Serial ports, select COM9, check "Enable", input the diagnostic file path, "Accept".
Close Lookout, then open lookout.ini. You will see the following codes.
DiagnosticFileEnable=1
DiagnosticFile=c:\test.txt
DiagnosticAllHex=1
DiagnosticTimeStamp=1
DiagnosticTimeStampDateFormat=73
So, you need to add DiagnosticFileEnable=1 to make it active.
I'm not sure how it worked in Lookout 4.
Ryan Shi
National Instruments -
Hi all,
I store configuration data in an ini file and give this file a custom extension.
If users open this file in a text editor I don't want it to be readable. Without encrypting the text how can I do this?
I cant seem to get the binary VIs to work. Maybe somebody could show me?
Cheers,
Battler.You haven't really defined how secure you want your data, but if you just want a simple way to hide the information from a casual user, this may work.
Obviously, if someone really wanted to, they could figure this out.
steve
Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
question. Give "Kudos" to replies that help.
Attachments:
write scrambled file.vi 14 KB
read scrambled file.vi 13 KB -
RStoneFUpdate.ini file not found
I purchase a HP Pavilion G7 series. After running Recovery Disks an error message pop-up stating 3 possibilities why the RStone Factory Update could not determine OS edition. First, C:\HP\BIN\RStoneFUpdate.ini was not found. Second, C:\HP\BIN\RStoneFUpdate.ini doesn't include the valid Win7ConfigurationFlag value.... Thirdly, There might be the unexpected interruption during process.
This question was solved.
View Solution.lhood7214,
I understand that the Recovery disks came with the notebook, and they are not allowing you to do the recovery. Again I suggest contacting HP support and explaining the issue. They should be able to assist you in obtaining Recovery material that will work.
Sparkles1
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping! -
Trigger alert for file not existing in sender FTP server
Hi all,
I have a scenario file to file.In the sender FTP server a file is placed every 3hours.If file is present it will work in the normal file to file procedure.But when no file exists it should trigger an alert.
Scripts on FTP server is not accepted as a solution.
Can anyone let me know how this requirement can be achieved.
Points will be awarded generously.
regards,
padmaHi
But when no file exists it should trigger an alert.
EMAIL can be used : assign an EMAIL ID to the corresponding user in the transaction SU01 and then set up SCOT and you can send emails when the ALERT is triggered.
Once you have configure Alerts, you will get the Alerts into ALERT INBOX in RWB of the user. To also get the email, the following needs to be done,
1. In SU01 -- Assign the Email ID for the Recipient of the ALERT.
2. In , RWB>ALERT INBOX> PERSONALIZATION--> Time Independent Delivery and Email are selected.
3. Finally, SCOT needs to be set up to send Emails. Check this for the same. You can ask your BASIS team to do this step.
http://help.sap.com/saphelp_nw04/helpdata/en/23/1edf098ea211d2b47300609419ed29/frameset.htm
Also, In ALRTCATDEF, go to SETTINGS--> CONFIGURATION. By default, the option selected is INTERNAL PROCESSING. Select the option SMTP FORWARDING AS XML and give the email id. This will enable you to send an email alert whenever an error occurs in XI.
Also, to test your Alerts, execute the report RSALERTTEST in SE38.
Also go throuh the following links...
The specified item was not found.
The specified item was not found.
http://help.sap.com/saphelp_nw04/helpdata/en/3f/81023cfa699508e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm
Configuring scenario specific E-mail alerts in XI-CCMS: Part 3
Configuring scenario specific E-mail alerts in XI-CCMS: Part 3
Configuring scenario specific E-mail alerts in XI-CCMS: Part-2
Configuring scenario specific E-mail alerts in XI-CCMS: Part-2
Configuring scenario specific E-mail alerts in XI-CCMS: Part u2013 1
Configuring scenario specific E-mail alerts in XI-CCMS: Part - 1
Regard's
Chetan Ahuja
Maybe you are looking for
-
BIzTalk schema exposed as wcf service deployment in WIndows server which dont have bizTalk installed
Hi All, I am deploying my Biztalk wcf service (exposed from Schema) in SIT environment which dont have BizTAlk installed. But BizTalk is installed in One server and Webservices are there in another server. When I browse the service, it is throwing e
-
hi there, i bought my iphone from my telephone compagny in Canada but the fact i travel often to usa i made my mind to buy a sim card usa in order to be able to use for phone in usa, someone is telling me first i need to unblocked my iphone how i do
-
my friend gave me an 80GB iPod classic, because it wont start up anymore. i have tried everything and nothing works. i reset it and a white apples pops up with a gray background, then after a few seconds it changes to another screen that tells me to
-
Hi All, Is their any way we can just upgrade the app server from 10.1.2 to 10.1.3 with uninstalling the older 10.1.2 and reinstalling 10.1.3 ? Thanks Raghavendra
-
Problem handling SMTP address with OIM 11gR2 Exchange connector
Hello, I have a problem in regarding the primary SMTP address with the Exchange connector. The connector doesn't seem to be able to update it. Changing a user's primary SMTP address from its account details in OIM creates a new secondary address in E