|
Hi Rich,
Thanks for timely suggestion. It worked.
Thanks again
-Puran
puranonnet
|
|
|
|
|
Hi All,
I need a code for extracting the word file and Excel file in ASP.Net (Web Application) using C#. Plz do me that favour.
Regards,
Sandeep...
Hi, its Sandeep here working in a S/W company as a Quality member, I have also intrest in ASP.Net.
So consider me as a member of this group.
Thanks,
Sandeep...
|
|
|
|
|
sandeepraw wrote: I need a code f
Golden Advices of the Lord Chris[^]
There are a couple of ways you can use to work with the word/excel documents:
+ Use the automation[^]
+ Use the ADO.NET with the excel.
+ Use a third party component.
|
|
|
|
|
First of all the execl and work automation is bad because you have to manage the exe server and its ROT table
But, excel documents can be saved as xml files.
Carlos aguilar has a free c# excel assembly
--------------------------------------------------------
1 line of code equals many bugs. So don't write any!!
My mad coder blog
|
|
|
|
|
I have searched everywhere for a solution for this.
I have a gridview that is bound to a datatable. The gridview has a footertemplate so i can add new records. The problem I have is when the pageloads the footer is not being displayed when there are no records.
Any help with this would be most appreciated.
|
|
|
|
|
If the datasource is empty, you may use the EmptyDataTemplate to add a new record.
|
|
|
|
|
hi,
I have an asp.net C# application .It contain on text box and one Browser... button.om click of this browser button it open another window and it should explore all the folder in a system.like "FolderBrowser" in windows application.
kamalnath
|
|
|
|
|
for this you have already been answered yesterday. Check this link:
http://www.4guysfromrolla.com/webtech/091201-1.shtml
and don't be impatient(posting the same question multiple time) because whenever somebody will get the free time they will answer your question.
Best Regards,
Apurva Kaushal
|
|
|
|
|
You'll also find that posting many times when you already have an answer does not make people want to help you...
|
|
|
|
|
hi,
Sorry for inconvenience. Still I didn’t get exact solution to my problem.
kamalnath
|
|
|
|
|
Then you might want to consider taking some of the feedback people have given you and re-wording the question...? Continually asking the same thing and hoping for some kind of dawning inspiration amongst the people here is not going to get you too far...
|
|
|
|
|
some times its not possible to give answer exactly wot you looking for but give you the idea and hint to solve your problem and then you have to use you own programming skills to come up with a solution....
sorry if you not getting wot you looking for...
Nav.
|
|
|
|
|
hi all
i have a problem in my asp.net page i want to add .exe file in my aspx page,this .exe file can convert the english date into Arabic date and this conversion application is a desktop application,now we i want to embed this application in my asp.net.how can i get the solution of my problem.
best regards
|
|
|
|
|
First of all, you cannot include an exe, but ofcourse you can execute.
You can pass your asp.net page variables as arguments to exe, also you can get return data from exe by writing it to some text file.
Here is simple code snippet in C#:
try
{
string yourArgs = "bla bla bla";
p.StartInfo.FileName = System.Web.HttpContext.Current.Server.MapPath("yourapplication.exe");
p.StartInfo.UseShellExecute = false;
p.StartInfo.WorkingDirectory = Path;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
p.StartInfo.Arguments = yourArgs;
p.EnableRaisingEvents = true;
p.Start();
p.WaitForExit();
p.Close();
p.Dispose();
}
catch (Exception exp)
{
}
Regards,
Ketan.
|
|
|
|
|
thnks
but kindly if u give me some vb.net code snippet to execute the .exe form my asp.net applicion,it would be very healthy for me ...
one more thing is that Can i give the path of my Install desktop application.
would you like u tell me that running .exe from this way will not harmfull from the application.
thnks
bestRegards
|
|
|
|
|
Hey, its not a big deal to convert this simple c# code to vb.net. Although, you can google for c# to vb.net converters and get the code converted.
You can mention your dekstop application path whatever it is.
nabeelkhan wrote: would you like u tell me that running .exe from this way will not harmfull from the application.
thnks
I think you are a new player thats why asking such questions.
Regards,
Ketan.
|
|
|
|
|
thnks ketan,
i will try and let u know
BestRegards
nab
|
|
|
|
|
I'm not going to answer your question, but maybe you will find my post usefull anyway
I realy wonder, why you want to execute desktop application from web application (that is quite weird) to convert dates from one calender to another, if .NET can do it for you as well.
Check good example here on codeproject:
http://www.codeproject.com/cs/samples/hijrigregorianclass.asp
I hope it helps, it is much better solution for your problem, I think.
Pilo
|
|
|
|
|
|
Hi,
Is it possible to auto-deploy webpages to multiple sites/servers at a time using visual studio .Net 2003?
Or is there any another tool using which we can create a setup which allows to deploy web pages to multiple sites?
Anyone having any idea on it. Please update.
HV
|
|
|
|
|
Although InstallShield is much better
I have used to setup and deplay to delpoy multiple suites in one shot
--------------------------------------------------------
1 line of code equals many bugs. So don't write any!!
My mad coder blog
|
|
|
|
|
hello
i have 10 rows in a listbox
i selected 2 rows
how to get the selected values from a checked listbox
code will be helpful
Thanks
|
|
|
|
|
You can iterate through all the items in the listbox and if the item is selected the get the values of them.
Best Regards,
Apurva Kaushal
|
|
|
|
|
e.g.
foreach (ListItem anItem in myListBox.Items)
{
if (anItem.Selected)
{
}
}
-- modified at 3:57 Tuesday 25th July, 2006
|
|
|
|
|
Hi, I really need help on this one.
I have a very simple website setup going. 1 Master page, 1 default page (auto gen code with 1 label welcoming the user.) and 2 other pages.
When I run from .Net all is well, but when I try to hit the published page (or even just the default page in the dev directory) with IE I get this error:
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
A name was started with an invalid character. Error processing resource 'http://localhost/annas/intiendo%20heirachy%20stuff...
<%@ Page MasterPageFile="~/IntiendoTrafficIncident.master" Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.c...
I don't have the faintest idea whats going on, at least nobody else in the office does either
This one is giving me a headache, since it happens on auto gen code, with or without the use of a css...(which I initially thought was the prob.) Is there some setting I need to change when using master pages? (first time I'm using them as well.)
Thanks for your time.
|
|
|
|