|
I am Thankfull for ur response.
Here I am facing 2 Problems.
1. From my ASP.Net web application I am calling an exe using javascript.
Here is my code.
var h;
h=new ActivexObject("wscript.shell");
h=run("c:\\sample.exe /v") ;
h=null;
So I am able to run it on client side. But as it is a third exe I am unable to set its location, size attributes. I pleed ur help in this regard.
2. In some other application I need to call a third party exe from my windows application. I am completely new to these C APIs and using dlls in applns, so suggest whate are the APIs to be used in what manner. Where from do I get this information.
I feel sorry for confusing you,
Thank U all,
kiran
|
|
|
|
|
1 - AFAIK, you can't set size and other attributes via JS.
2 - You can use Process class and call Process.Start() . It allows you to control how the targeted exe should run.
|
|
|
|
|
Hi Friends,
I have a dropdownlistbox which contains all name of the colors like (white,black...) and another dropdownlistbox i am having font names when i select the color from the first dropdownlistbox the web page background color should be changed and when i select font names the web page title should be changed.Please help me how to do.
Thanks in Advance
|
|
|
|
|
The best way create Diffrent Skin and Css File [ Theme ] and apply them runtime based on selection of color and font.
|
|
|
|
|
hi,
Have any method that can retrieve record from database then export it to Excel file(the function that set the width of each field is needed)
Have any idea....
From:Eva wonG
|
|
|
|
|
The server can do this. ASP.NET will not be involved in the process tho. It will be code that uses the Excel libraries, and will require excel on the server.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi, Christian Graus
Can you send me the regarding code to me for refer.....
THANKS
From: eva
|
|
|
|
|
When you download the Microsoft tools for Office, so you can do this, it will come with samples.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I didnt come across any such method ? But you can acieve it using this code.
-----------------------------------------------------------------------
string s = "select * from person";
DataSet ds = GetDataSet(s);
GridView1.DataSource = ds;
GridView1.DataBind();
Response.ContentType = "application/ms-excel";
Response.AddHeader("Content- Disposition", "inline;filename=ExcelFile.xls");
------------------------------------------------------------------------
I am not convince with Christian Graus answer.
Excel is optional at Server. But it is required at Client Machine. If it is not installed
at Client Machine, user cannot display the excel file, but he can download.
|
|
|
|
|
The original post said " export it to Excel file(the function that set the width of each field is needed)"
Christian is quite correct, to do this you need Excel installed on the server. What you are proposing is to display the data as Excel in a web page - not the same thing, but a viable work around as long as the fiel does not need writing to the server for some reason.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
|
|
Reethika wrote: URgently needed
Yeah, I bet.
You can play videos through embedding the windows media control. ASP.NET can't help you.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
How to identify two colors are similler or not. What make both color as simillar color. How to specify range of color for similler color.
|
|
|
|
|
This question is unlikely to have anything to do with ASP.NET. Did you mean to ask in the C# or VB forums ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Sorry Friend but I am not getting anything.
|
|
|
|
|
hi all,
Can any guide me to send values to stored procedure using paramenters dynamically.
Thanks in advance
Senthil.S
Senthil.S
Software Engineer
|
|
|
|
|
All this time, and you still have no idea how to ask in the right forum ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I am using Obout splitter. I want to collapse and expand panel left using java script in to child page. I had written following code for javascript function. I perfectly get the object of splitter and check box, but whenever I click that check box it display error that Error:45 Object doesn't supporting this property or method.
So ,how i remove this error and collapse panel.
function chk_changed()
{
var mySpl1 = window.parent.document.getElementById ('mySpl');
var check = window.document.getElementById('header1_chkenable');
alert(mySpl1);
if (check != null)
{
if (check.Checked() == "true")
mySpl1.CollapsePanel("left");
}
}
|
|
|
|
|
Hi,
I would like to know if it's safe to program a site with members where I use usernames rather than user id in the querystring to retrieve user information from a database.
I see some sites have user ids nad some usernames.
Any response is appreciated.
|
|
|
|
|
Hi,
User Id is obviously prefered and secure choice, because username is understandable to others.
But Whether its Id or Name both must be associated with Password and without the combination of both,access of applicaiton is not possible.
But if i know the username,databasename, and tablename and i have the access of Database server, i can fetch the user information from database.
Same is possible with user Id as well. But its diffcult to guess which Id belong to which User.
Hope this will bring u decide ID or Name.
|
|
|
|
|
Thanks a lot for the useful information. One thing though is that user id is just as visible as a username in the querystring when you for example click on a profile of a certain user. Also assuming that a person have logged in to a certain site how can he possibly retrieve the database name and a table name, and also have an access to a database server? is it easy possible to do or it's extremly difficult to retrieve that?
Thanks again.
|
|
|
|
|
Albert, you are correct, User id is just as visible as a username. But statement ?UserID=1234 or ?UserName='Albert' makes difference in visibility.
For a end user its impossible to retrieve information from database.
All the best for endeavour.
|
|
|
|
|
|
Hi to all,
I am using ajax calendat in my textbox...,
After that textbox one dropdown list box is there...,
Whenever my calendar control getting view the dropdowwnlist over on my calendar control...
I tried all type of css:
These are the css i got from net, those i include eventhough its getting over...,
.ajax__calendar_container { z-index : 1000 ; }
.ajax__calendar {
position: relative;
}
.ajax__calendar iframe {
left: 0px !important;
top: 0px !important;
}
But the control working cool in my ie7 but its giving probs in ie6...,
How do I get the CalendarExtender to show over a dropdown
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|