<< < 155 156 157 158 159 160 161 162 163 164 165 > >>   Sort: Date

What are remotable objects in .NET Remoting?
What are remotable objects in .NET Remoting? Remotable objects are the objects that can be marshaled across the application domains. You can marshal by value, where a deep copy of the object is created and then passed to the receiver. You can also marshal by reference, where just a reference to an e...
2013-11-12, 1973👍, 0💬

The RangeValidator control supports the following datatype ...
The RangeValidator control supports the following datatype ... The RangeValidator control supports the following datatype * Integer and String * Integer, Float, String, XMLDatatypes * Integer, String and Date * Integer, Boolean, Short, String and Date Integer, String and Date
2014-07-09, 1972👍, 0💬

What does the message warning macro replacement within a string literal mean?
What does the message warning macro replacement within a string literal mean? Some pre-ANSI compilers/preprocessors interpreted macro definitions like #define TRACE(var, fmt) printf("TRACE: var = fmt\n", var) such that invocations like TRACE(i, %d); were expanded as printf("TRACE: i = %d\n", i); In ...
2015-12-14, 1971👍, 0💬

Why doesnt this code work?
Why doesn't this code: double d; scanf("%f", &amp;d); work? Unlike printf, scanf uses %lf for values of type double, and %f for float.%f tells scanf to expect a pointer-to-float, not the pointer-to-double you gave it. Either use %lf, or declare the receiving variable as a float.
2015-10-30, 1970👍, 0💬

What’s the use of System.Diagnostics.Process class?
What’s the use of System.Diagnostics.Process class? By using System.Diagnostics.Process class, we can provide access to the files which are presented in the local and remote system. Example: System.Diagnostics.Process(” c:\mlaks\example.txt”)— local file System.Diagnostics.Process(” ...
2013-12-02, 1970👍, 0💬

re-clarification of object based:
re-clarification of object based: VB6 DOES support polymorphism and interface inheritance. It also supports the “Implements” keyword. What is not supported in vb6 is implementation inheritance. Also, from above, vb6 DOES “provides access to third-party controls like COM, DCOM ” That is ...
2013-12-03, 1969👍, 0💬

When displaying fonts, what’s the difference between pixels, points and ems?
When displaying fonts, what’s the difference between pixels, points and ems? A pixel is the lowest-resolution dot the computer monitor supports. Its size depends on user’s settings and monitor size. A point is always 1/72 of an inch. An em is the number of pixels that it takes to display the l...
2013-11-25, 1969👍, 0💬

What is Serialization in .NET?
What is Serialization in .NET? Anwer1 The serialization is the process of converting the objects into stream of bytes. they or used for transport the objects(via remoting) and persist objects(via files and databases) Answer2 When developing smaller applications that do not have a database (or other ...
2013-12-02, 1968👍, 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, 1967👍, 0💬

How do you declare a static variable and what is its lifetime? Give an example.
How do you declare a static variable and what is its lifetime? Give an example. Answer1 static int Myint–The life time is during the entire application. br> Answer2 The static modifier is used to declare a static member, which belongs to the type itself rather than to a specific object. The stati...
2014-09-11, 1966👍, 0💬

The data from an XSL Transform with XmlReader can be returned in one of the following ways
The data from an XSL Transform with XmlReader can be returned in one of the following ways The data from an XSL Transform with XmlReader can be returned in one of the following ways * objReader = objXslT.Transform(objNav, nothing) * objXslT.Transform(objNav, nothing) * objReader = objXslT.Transform(...
2014-08-01, 1966👍, 0💬

Name some of the languages .NET support?
Name some of the languages .NET support? Some of the languages that are supported by .NET 1. Visual Basic.NET 2. Visual C# 3. Visual C++
2013-12-10, 1966👍, 0💬

Why cant I pass a char to a function which expects a const char ?
Why cant I pass a char to a function which expects a const char ? You can use a pointer-to-T (for any type T) where a pointer-to-const-T is expected. However, the rule (an explicit exception) which permits slight mismatches in qualified pointer types is not applied recursively, but only at the top l...
2016-01-04, 1965👍, 0💬

Which method do you use to redirect the user to another page without performing a round trip to the client?
Which method do you use to redirect the user to another page without performing a round trip to the client? Server.transfer()
2014-02-04, 1965👍, 0💬

If there is a calendar control to be included in each page of your application, and and we do not intend to use the Microsoft-pr
If there is a calendar control to be included in each page of your application, and and we do not intend to use the Microsoft-provided calendar control, how do you develop it? Do you copy and paste the code into each and every page of your application? Create the Calendar User Control The control we...
2014-09-19, 1964👍, 0💬

What are the advantages/disadvantages of viewstate?
What are the advantages/disadvantages of viewstate? Disadvantages - Because the view state for a given page must be kept on the server, it is possible for the current state to be out of synchronization with the current page of the browser, if the user uses the Back feature on the browser to go back ...
2014-11-05, 1963👍, 0💬

I am trying to use the ANSI stringizing preprocessing operator ...
I'm trying to use the ANSI ``stringizing'' preprocessing operator `#' to insert the value of a symbolic constant into a message, but it keeps stringizing the macro's name rather than its value. It turns out that the definition of # says that it's supposed to stringize a macro argument immediately, w...
2015-12-16, 1962👍, 0💬

What is the STUFF function and how does it differ from the REPLACE function?
What is the STUFF function and how does it differ from the REPLACE function? Answer1: stuff-&gt; inserts into it without removing any thing. Replace-&gt;replace the given text with the new one. Answer2: STUFF - it deletes a specified length of characters and inserts another set of characters...
2014-10-13, 1962👍, 0💬

True or False: A Web service can only be written in .NET.?
True or False: A Web service can only be written in .NET.? False.
2014-02-05, 1961👍, 0💬

When I call malloc to allocate memory for a pointer which is local to a function ....
When I call malloc to allocate memory for a pointer which is local to a function, do I have to explicitly free it? Yes. Remember that a pointer is different from what it points to. Local variablesare deallocated when the function returns, but in the case of a pointer variable, this means that the po...
2016-03-31, 1960👍, 0💬

What is the purpose of UPDATE STATISTICS?
What is the purpose of UPDATE STATISTICS? UPDATE STATISTICS- it updates information about the distribution of key values for one or more statistics groups (collections) in the specified table or indexed view.
2014-10-17, 1960👍, 0💬

What namespaces are necessary to create a localized application?
What namespaces are necessary to create a localized application? What namespaces are necessary to create a localized application? * System.Globalization * System.Globalization and System.Resources. * System.Resources. * System.Array System.Resources
2014-06-27, 1960👍, 0💬

The method that need to be invoked on the DataAdapter control to load the generated dataset with data is
The method that need to be invoked on the DataAdapter control to load the generated dataset with data is The method that need to be invoked on the DataAdapter control to load the generated dataset with data is * Bind() * Fill() * FillData() * SetData() Fill()
2014-07-24, 1959👍, 0💬

Why doesnt long int work?
Why doesn't long int n = 123456; printf("%d\n", n); work? Whenever you print long ints you must use the l (lower case letter ``ell'') modifier in the printf format (e.g. %ld). printf can't know the types of the arguments which you've passed to it, so you must let it know by using the correct format ...
2015-11-09, 1958👍, 0💬

<< < 155 156 157 158 159 160 161 162 163 164 165 > >>   Sort: Date