Type: Posts; User:
November 29th, 2003
I am trying to enable or disable a particular IE window using EnableWindow win32 API using P/Invoke in my C# code.. This API requires to pass the handle of the window to be disabled or...
November 27th, 2003
have a windows user control in .NET. How can I convert it to an ActiveX control?
November 27th, 2003
I have a windows user control in .NET. How can I convert it to an ActiveX control?
August 14th, 2003
How to know which key is being pressed in a key press event of a textbox??
August 6th, 2003
you can define properties like this:
private ArrayList myArr ;
return myArr ;
August 6th, 2003
U can use
DataGrid1.Items[selectedItem].Cells.Text to get the text of a particular cell in the selected row.
A difference between executing a Windows service and other Visual Studio .NET applications is that the dialog boxes raised from a Windows service are not visible to the user. In addition, the...
I have used
set obj = CreateObject("MSComDlg.CommonDialog.1")
I don't know why it is not working. in my case it worked.
try using visual studio "Add reference" dialog box. Visual studio will automatically create AxShDocvw.dll and Shdocvw.dll and put it in your...
simply type AxImp at your command prompt it will show all the options u can use with AxImp.
you should use AxImp ShDocvw.dll /out:NewFile.dll so AxImp will not override original ShDocVw.dll....
but what if you don't even know that u r creating a textbox control or any other control.
here is the solution which I found and it is working. Here I am sure that i will be creating...
Which method for security is more fast : Declarative or Imperative?
this is really very useful.
Now another issue is there,
we can have a private .net assembly or a shared .net assembly. if we are going to interop these assembly with COM we have to...
but how can I create the TextBox control and place it on the form with the Type object I am having?
Here I will not know the type of the control to be created until runtime.
My user will give the type name and based on the type name I have to show the Members of that type. So until runtime I will not know the type. That's why this solution will not work.
I want to display property of the controls in the listbox.
But the following code which I got from an example in MSDN doesn't work properly.
On line 1 if I use "System.String" it is...
That's what I wanted to know!!!
can you send me the link of the MSDN article?
now tell me what happens when an unmanaged code or COM components calls a .NET component? as again...
Hi all gurus,
How .NET manages the life time of a COM object that is called from a
.NET assembly using COM interoperability? My doubt is, COM uses
reference counting for life time management while...
But couple of issues..
First issue is that to have this kind of solution to be worked you should have some server control like check box control with AutoPostBack property set to true,...
Don't know where to put this query, I could't find any suitable category for this question. This is regarding Enterprise Template in Visual Studio.NET
I have gone through the walkthroughs...
Can we have a custom config file other than web.config in asp.net application and app.config in windows application?
Is .NET framework provides any way to access such config file...
Can it be done without the use of crystal reports?
Or, suppose we don't want to send it to client, but we want to save it on the server?
Still I couldn't get you?
can you provide sample example for what you are saying?
I couldn't get you.
If on my aspx page no HTML will be there then what it will convert ?
I need to convert HTML to PDF file not to display existing PDF file?
I think your solution...
I have tried your code but it didn't work.
I have on my page just to labels with some text. I put your code in my page_load event, but it shows the text of the label as such not the...
Click Here to Expand Forum to Full Width