Hi,
I would appreciate if some one could help me out.
I have to read a client side ini file in Aspx page and use that data in
server side processing. Can any one help me out here?
Please refer to a link if possible.
Thanks,
Dinoo 6 9532
"dinoo" <di***@discussi ons.microsoft.c om> wrote in message
news:66******** *************** ***********@mic rosoft.com... I would appreciate if some one could help me out. I have to read a client side ini file in Aspx page and use that data in server side processing. Can any one help me out here?
Presumably, this is an enclosed environment where every client PC is set up
so that this INI file is in precisely the same location...?
Hi Dinoo,
If the ini file is on the client, you're going to have to use an ActiveX
control inside the browser (and adjust permissions to get it) and then send
the contents to the server. That's messy.
Or, you have to convince the user to upload the ini file using the browser
so the server can process the contents.
Perhaps you could explain more about what you need to do?
Ken
Microsoft MVP [ASP.NET]
"dinoo" <di***@discussi ons.microsoft.c om> wrote in message
news:66******** *************** ***********@mic rosoft.com... Hi, I would appreciate if some one could help me out. I have to read a client side ini file in Aspx page and use that data in server side processing. Can any one help me out here?
Please refer to a link if possible.
Thanks, Dinoo
There is a INI file which is shared across applications. One of the
applications would be converted to web applications now and will require the
ini settings details to process the request. Hence I need to read this ini
file at the client and send some of the details to server for further
processing.
Can you recommend a activex control/ code to do this?
If I go for uploading a ini file to server then is there a way that I can
automatically upload the file to the server without user's intervention. The
path is always the same for all the clients.
Thanks,
dinoo
"Ken Cox [Microsoft MVP]" wrote: Hi Dinoo,
If the ini file is on the client, you're going to have to use an ActiveX control inside the browser (and adjust permissions to get it) and then send the contents to the server. That's messy.
Or, you have to convince the user to upload the ini file using the browser so the server can process the contents.
Perhaps you could explain more about what you need to do?
Ken Microsoft MVP [ASP.NET]
"dinoo" <di***@discussi ons.microsoft.c om> wrote in message news:66******** *************** ***********@mic rosoft.com... Hi, I would appreciate if some one could help me out. I have to read a client side ini file in Aspx page and use that data in server side processing. Can any one help me out here?
Please refer to a link if possible.
Thanks, Dinoo
dinoo,
to be a little more specific, browser security restrictions prevent
client-side code from reading / writing to the client machine's filesystem
(except for cookies and IE userData behavior xml files, if the browser is set
to accept them).
Same with "automatica lly uploading" - the only way to upload is to present
an HtmlInputFile control and have the user click it's "Browse" button, select
a file, and press the "upload" (submit) button.
If you are still working on digesting this as new information, then it's
unlikely that you are quite ready to author an ActiveX control to perform
these functions, although as other posters have indicated, this is likely
your only choice.
Peter
--
Co-founder, Eggheadcafe.com developer portal: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
"dinoo" wrote: There is a INI file which is shared across applications. One of the applications would be converted to web applications now and will require the ini settings details to process the request. Hence I need to read this ini file at the client and send some of the details to server for further processing.
Can you recommend a activex control/ code to do this?
If I go for uploading a ini file to server then is there a way that I can automatically upload the file to the server without user's intervention. The path is always the same for all the clients.
Thanks, dinoo
"Ken Cox [Microsoft MVP]" wrote:
Hi Dinoo,
If the ini file is on the client, you're going to have to use an ActiveX control inside the browser (and adjust permissions to get it) and then send the contents to the server. That's messy.
Or, you have to convince the user to upload the ini file using the browser so the server can process the contents.
Perhaps you could explain more about what you need to do?
Ken Microsoft MVP [ASP.NET]
"dinoo" <di***@discussi ons.microsoft.c om> wrote in message news:66******** *************** ***********@mic rosoft.com... Hi, I would appreciate if some one could help me out. I have to read a client side ini file in Aspx page and use that data in server side processing. Can any one help me out here?
Please refer to a link if possible.
Thanks, Dinoo
Hi Dinoo,
I've never needed to do that, so I can help you except to say that a search
on Google for
activex read .ini file
shows quite a few components.
Good luck!
Ken
Microsoft MVP [ASP.NET]
"dinoo" <di***@discussi ons.microsoft.c om> wrote in message
news:38******** *************** ***********@mic rosoft.com... There is a INI file which is shared across applications. One of the applications would be converted to web applications now and will require the ini settings details to process the request. Hence I need to read this ini file at the client and send some of the details to server for further processing.
Can you recommend a activex control/ code to do this?
If I go for uploading a ini file to server then is there a way that I can automatically upload the file to the server without user's intervention. The path is always the same for all the clients.
Thanks, dinoo
"Ken Cox [Microsoft MVP]" wrote:
Hi Dinoo,
If the ini file is on the client, you're going to have to use an ActiveX control inside the browser (and adjust permissions to get it) and then send the contents to the server. That's messy.
Or, you have to convince the user to upload the ini file using the browser so the server can process the contents.
Perhaps you could explain more about what you need to do?
Ken Microsoft MVP [ASP.NET]
"dinoo" <di***@discussi ons.microsoft.c om> wrote in message news:66******** *************** ***********@mic rosoft.com... > Hi, > I would appreciate if some one could help me out. > I have to read a client side ini file in Aspx page and use that data in > server side processing. Can any one help me out here? > > Please refer to a link if possible. > > Thanks, > Dinoo
"dinoo" <di***@discussi ons.microsoft.c om> wrote in message
news:38******** *************** ***********@mic rosoft.com... There is a INI file which is shared across applications. One of the applications would be converted to web applications now and will require the ini settings details to process the request. Hence I need to read this ini file at the client and send some of the details to server for further processing.
Can you recommend a activex control/ code to do this?
Apart from what has already been suggested, I would *strongly* suggest that
you take a step back here and consider replacing the INI file with a
server-side solution - maybe a database table or ActiveDirectory ... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: David Thomas |
last post by:
Hi there,
I am trying to store data in a text file and output it to the browser
using PHP. All very easy - if I was using English! the problem is, I
want to use Japanese and I'm finding it a tad difficult to get PHP to
understand. I have two files, a text file containing data to display
and a php file with a script to display the data. I can get the
contents of a text file displayed in English, no problemo, but in
Japanese, it's another...
|
by: Erik Kullberg |
last post by:
I have a text file, produced on a Macintosh. I want to read that file on my
PC.
Can you tell me how to proceed?
/ Erik
|
by: Feng |
last post by:
I have a web form A that contains a TextBox. A pop up
window started by my form A will return a value and put it
into the TextBox. What I need to do is that when this
happens (when the value gets into the textbox), capture
this client side event and fires up a JavaScript function
to do my stuff.
I am having program to make this happen. I tried both
HTML's "input" text box and ASP:TextBox and I
tried "OnChange", "OnLoad", ... and none...
|
by: Saravanan |
last post by:
I need to read in a text file as strings and then write some of these strings into another text file. The output file is in the working directory while the input text file is not. how can I implement...
saran
|
by: arf |
last post by:
Hello,
i have a problem where i need read dataset from text file and keep them into a vector.
e.g. dataset:
"0012 0033 00045 0044 0047"
Based on this dataset, i need to keep every 4 numbers separately into a vector.
| |
by: Joh |
last post by:
I have a vb.net application where I have a client side html input:
<td><input name="CurrentUserStatus" type="text" id="UserStatus" /></
td>
Is there anyway I can acces the value of this control from server side
inside my vb.net code? (please note I don't want to have runat=server
for the input control)
|
by: parveen |
last post by:
Can We read client side files using javascript? not only text files
|
by: memiller |
last post by:
I know this generally not recommended, but I'm working in the confines
of the company's intranet.
Goal: permit managers to load an XML file from thier PC into an
intranet ASP.NET webpage where validation and data submit will take
place. I have the page written that allows the user to select a
file. I'm hitting a wall when, after selecting the file, trying to
open a new page and inserting the XML into the page. From there I can
start...
|
by: kino |
last post by:
Hello,
I am supposed to read from a text file a series of numbers and then store them in a struct array.
Here's my code:
int main()
{
ifstream In;
string folder, filename, name2, line;
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |