|
Hello , I am developing an ASP.net applicaion, which will Connect to oracle instance running on different servers depending upon the user choice.
Since I have TNS on my machin it is working fine, Now I am going deploye the application.
Can please advice how to handle the situation.
|
|
|
|
|
hi all
i am using vb.net 2005 with office 2003
i want to identify the word having different font style
let's take an example
i have a word
best
in this word all font style is same means normal
but in this
best the letter s is bold
so i have to identify those words from my para
how can i find them ???
if i try for fornt.Bold thenit returns me False (0) if the number of chrar's are less in word
what can do ???
thankx in advance
koolprasad2003
If the message is useful for U then please Rate This message...
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
Hello,
i have made a dll in .net. and i want to call this dll on submit buttonm of Html Page .How to call DLL in Html page?
Thanks & Regards
Raushan Kumar
|
|
|
|
|
You can call using javascript ..
sabarimd
|
|
|
|
|
Sabari MD wrote: You can call using javascript ..
How ?
|
|
|
|
|
yes, i want to call dll using javascript.
how to call...???
|
|
|
|
|
functin(parameter1,paramaeter2)
{
var Dll;
var Obj= new ActiveXobject("InstallDLL.Install");
Obj.ValidateUser(paramet1,paramet2,DLL);
return Dll;
}
sabarimd
|
|
|
|
|
u have given two parameter in function, what will pass in these parameter, actually i haven,t details knowledege about Javascript..
so please clear it...
|
|
|
|
|
userid and password
sabarimd
|
|
|
|
|
|
thanks for reply,
i have gone through url which is gven by you, but where i put my dll. actually i have only a Html page and this page i have taken a Button then i want to call dll on this submit button. dll is developed in .net. i have call the JS function on submit button then how to call Dll on Javascript function and where define the path of dll. by which the dll will call in JS function.
Thanks
|
|
|
|
|
First specify ..are u using any code behind html..i s you can call dll server side on click event[ i can help u , if this) other wise solution is to run using javascript Active X controls. Serch Active X + Javascript + dll lot of solutions are there...
sabarimd
|
|
|
|
|
thanks for reply,
no, i am not using any code behind server side actullay i want to use only javascript Active X controls.
|
|
|
|
|
raushan_9 wrote: i want to use only javascript Active X controls
Then It will work only on IE.
|
|
|
|
|
function CallDll()
{
var oShell = new ActiveXObject("WScript.Shell");
}
sabarimd
|
|
|
|
|
thanks,
how to define the path of dll.which is passed in ActiveXObject("abc.dll");. how to define path for dll.?
|
|
|
|
|
this is an exapmle:
sReg = 'HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows\\Device' //put your path here
sName = ""
sName = oShell.RegRead(sReg) // Execute using command
sabarimd
|
|
|
|
|
But only IE can call ActiveX?
What about other browsers
|
|
|
|
|
|
Abhishek Sur wrote: But only IE can call ActiveX?
What about other browsers
I have asked the same question in my previous post of this thread. But I don't actually what they are looking for.
|
|
|
|
|
as the possibility of virus attack is more by enabling thses actice x controls .so that other than IE (to my Knowledge) is not keeping Actice X But you can make it active for example in Mozilla you type about:config in your browser url space...
Try it
sabarimd
|
|
|
|
|
this is what am using try its working
just check custom security checks before that
Enable
Initaializze acticex components
Runand Enable ActivX components
<div class="ForumSig">sabarimd</div>
|
|
|
|
|
I am little bit afraid of your question
i have one question for you ....
1. Are u developing a web Application ?
2. if yes do you want to run this dll at the client side ?
if yes then i doubt if below answers can help you
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
Hello guys,
I needed to create a proxy by adding a web reference into my C# class library project, but there's been some issues configuring the thrid party product and the webservice they expose....so I have manually downloaded the WSDL file (its not asmx, its actually java/ibm web service).
Anyways, since i can't use the add web reference wizard from Visual studio anymore, I'd like to know how to I create a porxy (Reference.cs) file in my project using the WSDL file located on my C drive.
Can anyone point me to the right direction, I treid looking into Wsdl.exe but looks like it only support a URL and not a local path, if it does can someone point me to the right command syntax?
I'd appreciate your help.
Thanks
Tina
|
|
|
|
|
hi all,
how can i maintain gridview page index while navigation from the form and getting back by browser back button.
i tried to use this approach:
public int PageIndex
{
get
{
if (Session["DGApplicationPageIndex"] != null)
{
return (int)Session["DGApplicationPageIndex"];
}
else
{
return 0;
}
}
set
{
if (value != -1)
{
Session["DGApplicationPageIndex"] = value;
}
else
{
Session["DGApplicationPageIndex"] = null;
}
}
}
protected void DGApplication_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
DoSearch(TextBox1.Text);
DGApplication.PageIndex = e.NewPageIndex;
PageIndex = DGApplication.PageIndex;
}
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
DoSearch("-1");
}
DGApplication.PageIndex = PageIndex;
PageIndex = -1;
}
|
|
|
|