<< < 11 12 13 14 15 16 17 18 19 20 21 > >>   Sort: Rank

Where are shared assemblies stored?
Where are shared assemblies stored? Global assembly cache.
2014-12-19, 1557👍, 0💬

How can you debug failed assembly binds?
How can you debug failed assembly binds? Use the Assembly Binding Log Viewer (fuslogvw.exe) to find out the paths searched.
2014-12-19, 1714👍, 0💬

How can you tell the application to look for assemblies at the locations other than its own install?
How can you tell the application to look for assemblies at the locations other than its own install? Use the directive in the XML .config file for a given application. &lt;probing privatePath=”c:\mylibs; bin\debug” /> should do the trick. Or you can add additional search paths in the Properties ...
2014-12-17, 1483👍, 0💬

What’s the difference between private and shared assembly?
What’s the difference between private and shared assembly? Private assembly is used inside an application only and does not have to be identified by a strong name. Shared assembly can be used by multiple applications and has to have a strong name.
2014-12-17, 1546👍, 0💬

Suppose I call a COM object from a .NET applicaiton, but COM object throws an error. What happens on the .NET end?
Suppose I call a COM object from a .NET applicaiton, but COM object throws an error. What happens on the .NET end? COM methods report errors by returning HRESULTs; .NET methods report them by throwing exceptions. The runtime handles the transition between the two. Each exception class in the .NET Fr...
2014-12-15, 1303👍, 0💬

Can you inherit a COM class in a .NET application?
Can you inherit a COM class in a .NET application? The .NET Framework extends the COM model for reusability by adding implementation inheritance. Managed types can derive directly or indirectly from a COM coclass; more specifically, they can derive from the runtime callable wrapper generated by the ...
2014-12-10, 1356👍, 0💬

I want to expose my .NET objects to COM objects. Is that possible?
I want to expose my .NET objects to COM objects. Is that possible? Yes, but few things should be considered first. Classes should implement interfaces explicitly. Managed types must be public. Methods, properties, fields, and events that are exposed to COM must be public. Types must have a public de...
2014-12-10, 1394👍, 0💬

Can you retrieve complex data types like structs from the PInvoke calls?
Can you retrieve complex data types like structs from the PInvoke calls? Yes, just make sure you re-declare that struct, so that managed code knows what to do with it.
2014-12-08, 1338👍, 0💬

How do you call unmanaged methods from your .NET code through PInvoke?
How do you call unmanaged methods from your .NET code through PInvoke? Supply a DllImport attribute. Declare the methods in your .NET code as static extern. Do not implement the methods as they are implemented in your unmanaged code, you’re just providing declarations for method signatures.
2014-12-08, 1439👍, 0💬

I can’t import the COM object that I have on my machine. Did you write that object?
I can’t import the COM object that I have on my machine. Did you write that object? You can only import your own objects. If you need to use a COM component from another developer, you should obtain a Primary Interop Assembly (PIA) from whoever authored the original object. The answer to (5) is only...
2014-12-04, 1508👍, 0💬

How do you generate an RCW from a COM object?
How do you generate an RCW from a COM object? Use the Type Library Import utility shipped with SDK. tlbimp COMobject.dll /out:.NETobject.dll or reference the COM library from Visual Studio in your project.
2014-12-04, 1486👍, 0💬

So can a COM object talk to a .NET object?
So can a COM object talk to a .NET object? Yes, through Runtime Callable Wrapper (RCW) or PInvoke.
2014-12-02, 1329👍, 0💬

Are COM objects managed or unmanaged?
Are COM objects managed or unmanaged? Since COM objects were written before .NET, apparently they are unmanaged. Any code not written in the Microsoft .NET framework environment is UNMANAGED. So naturally COM+ is unmanaged because it is written in Visual Basic 6.
2014-12-02, 1503👍, 0💬

What is the test coverage?
From the following code, atleast how many test cases are needed to guarantee 100%coverage Input Number_of_Coins Total=0 While Number_of_Coins>0 Input Value_of_Coin Total=Total + Value_of_Coin Number_Of_Coins=Number_of_Coin s- 1 End Loop Print "Your coins are worth" & Total What is the correct op...
2014-11-24, 1374👍, 0💬

what is Application testing
Why is it important to test applications before the product reaches the end user? The software can hold deviations, which can lead to a loss in trust from supplier From contract and leagal point of view, it is important that the product has been tested properly To assure that manuals are correct
2014-11-24, 1341👍, 0💬

Describe the advantages of writing a managed code application instead of unmanaged one. What’s involved in certain piece of co
Describe the advantages of writing a managed code application instead of unmanaged one. What’s involved in certain piece of code being managed? The advantages include automatic garbage collection, memory management, support for versioning and security. These advantages are provided through .NET FCL ...
2014-11-19, 1392👍, 0💬

How do you create thread in.NET?
How do you create thread in.NET? 1) Import System.Threading 2) Create a new thread using new Thread() and assign the address of the method 3) Use Thread.Start method to start the execution using System; using System.Threading; public class Test { static void Main() { ThreadStart job = new ThreadStar...
2014-11-19, 1594👍, 0💬

How do SQL Server 2000 and XML linked? What is SQL Server agent?
How do SQL Server 2000 and XML linked? What is SQL Server agent? Every Request or the Response to or from SQL Server is converted into XML format. Its purpose is to ease the implementation of tasks for the DBA, with its full-function scheduling engine, which allows you to schedule your own jobs and ...
2014-11-17, 1420👍, 0💬

What are the different types of replication? How are they used?
What are the different types of replication? How are they used? Replication is used for distributing data and the execution of stored procedures across an enterprise. The replication technology allows you to make duplicate copies of your data, move those copies to different locations, and synchroniz...
2014-11-17, 1167👍, 0💬

How do u call and execute a stored procedure in .NET?
How do u call and execute a stored procedure in .NET? system.Data; system.Data.SqlClient; SqlConnection sqCon = new SqlConnection(”connection string”); SqlCommand sqCmd = new SqCmd(); sqCmd.Connection = sqCon; sqCmd.CommandText = procedure_name; sqCmd.CommandType = CommandType.StoredProcedure; sqCom...
2014-11-14, 1205👍, 0💬

How will you register COM+ services?
How will you register COM+ services? Through X-Copy Deployment.
2014-11-14, 1381👍, 0💬

How does you handle this COM components developed in other programming languages in.NET?
How does you handle this COM components developed in other programming languages in.NET? Answer1: add the component in add reference window, click .NETCOM tab. Answer1: While adding the refferences we can handle the COM components in other .Net programming languages.
2014-11-12, 1086👍, 0💬

If I have more than one version of one assemblies, then how will I use old version in my application? Give an example.
If I have more than one version of one assemblies, then how will I use old version in my application? Give an example. Change the assembly version number in the AssemblyInfo.vb file
2014-11-12, 1239👍, 0💬

What are the differences between User control and Web control and Custom control?
What are the differences between User control and Web control and Custom control? Answer1: Usercontrol-&gt; control that is created as u wish. Web Control-&gt; any control placed in web page (web application page) Custom Control-&gt; same as user control with some difference. user contro...
2014-11-10, 1159👍, 0💬

<< < 11 12 13 14 15 16 17 18 19 20 21 > >>   Sort: Rank