ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories >> Software >> Microsoft-Related
 
  Visual-Basic (595)  C-Sharp (526)  ASP.NET (1113)  VB.NET (112)  COM+ (37)
  ADO.NET (173)  IIS (64)  MTS (2)  Crystal-Reports (48)  BizTalk (17)
  Exchange-Server (75)  SharePoint (2)  Microsoft-Related-AllOther (41)
 


 

Back to Questions Page
 
Question
CRETE A BACKUP FILE
Rank Answer Posted By  
 Question Submitted By :: Charm_nirmal1988
This Interview Question Asked @   RRB
I also faced this Question!!   © ALL Interview .com
Answer
Open a project which have one text box name as 'txtbackup' &
one command button name as 'cmdBackup'. After that, put the
following code for Back up the file which is present in that
current folder with the name sample.mdb 



Dim obj As Object
Dim path As String
Dim j As Integer
Dim b As String
Dim a(100) As String
Dim i As Integer


If txtbackup <> "" Then
'******************************************
Dim c, c1 As String
i = 0
c = txtbackup.Text
For j = 1 To Len(c)
c1 = Mid(c, j, 1)
If c1 <> "\" Then
 a(i) = a(i) & c1
Else
 i = i + 1
End If
Next
'*******************************************

Set obj = CreateObject("Scripting.FileSystemObject")
path = txtbackup.Text
b = a(0)

'**** Folder Creation ****

Dim fso As New FileSystemObject
For j = 1 To i
 b = b & "\" & a(j)
 If Not fso.FolderExists(b) Then
  obj.CreateFolder (b)
 End If
Next

'**** File Creation ****

If Not fso.FileExists(path & "\sample_" & Format$(Date,
"dd_mm_yy") & ".mdb") Then
 obj.CopyFile "" & App.path & "\sample.mdb", "" & path &
"\sample_" & Format$(Date, "dd_mm_yy") & ".mdb"
 MsgBox "Data Base Successfuly Back Up in Loction :" & path
& " ", vbInformation, "Back Up"
Else
 If MsgBox("Data Base is already exists. Do u want to
replace it?", vbQuestion + vbYesNo, "Confirmation") = vbYes Then
  obj.CopyFile "" & App.path & "\sample.mdb", "" & path &
"\sample_" & Format$(Date, "dd_mm_yy") & ".mdb"
  MsgBox "Data Base Successfuly Back Up in Loction :" & path
& " ", vbInformation, "Back Up"
 End If
End If


Else
 MsgBox "Enter the Destination Path.....", vbExclamation
 
End If

txtbackup.Text = ""
txtbackup.SetFocus
End Sub

 
1
Haiipl25
 
 
Question
How can we read a columnised text data in ASP.Net C#? 
Columnised means my data is stored in a text file and I 
have numeric data or string data in this file. For ex. If I 
am searching for the data of gender and I know that gender 
data is stored at column 32 in text file. How can I get 
this data in ASP.Net page. Thanks for help in advance.
Rank Answer Posted By  
 Question Submitted By :: Abhinavsaxena24
I also faced this Question!!   © ALL Interview .com
Answer
we need that text file convert into integer for example 
cint(Textbox1.text)..
 
0
Sandeep Kumar Shaw
 
 
Answer
string OpenPath, contents;
            int tabSize = 4;
            string[] arInfo;
            string line;
            DataTable table = CreateTable();
            DataRow row;
            try
            {

                OpenPath = Server.MapPath(".") + @"\My
File.log";
                string FILENAME = OpenPath;
                //Get a StreamReader class that can be used
to read the file
                StreamReader objStreamReader;
                objStreamReader = File.OpenText(FILENAME);
                while ((line = objStreamReader.ReadLine())
!= null)
                {
                    contents =
line.Replace(("").PadRight(tabSize, ' '), "\t");


                    // define which character is seperating
fields
                    char[] textdelimiter = { ']' };

                    arInfo = contents.Split(textdelimiter);
                    for (int i = 0; i <= arInfo.Length; i++)
                    {
                        row = table.NewRow();
                        if (i < arInfo.Length)
                            row["Type"] =
arInfo[i].ToString().Replace("[", " ");

                        if (i + 1 < arInfo.Length)
                            row["Source"] = arInfo[i +
1].ToString().Replace("[", " ");
                        if (i + 2 < arInfo.Length)
                            row["Time"] = arInfo[i +
2].ToString().Substring(1);
                        if (i + 3 < arInfo.Length)
                        {
                            row["Description"] = arInfo[i +
3].ToString().Replace("[", " ");
                            table.Rows.Add(row);
                        }
                        i = i + 2;
                    }
                }
 
0
Praveen Kumar
[CoreMind]
 
 
 
Question
Tel me a bit about Site replication in the AD? what is th e
meaning of the cost in the AD site replication.
Rank Answer Posted By  
 Question Submitted By :: Guest
This Interview Question Asked @   Wipro
I also faced this Question!!   © ALL Interview .com
Answer
Site replication is nothing but AD replication between two
DCs which are located in two different AD sites.

Cost is one the parameter for deciding the path for site
replication. The path with lower cost will take the precedence.
 
0
A Sriram
 
 
Question
Tel me the Features of the Exchange Server 2007?
Rank Answer Posted By  
 Question Submitted By :: Prashanthkumar.dv
This Interview Question Asked @   Wipro
I also faced this Question!!   © ALL Interview .com
Answer
• Management tool is Exchange Management console
• Compatible on 64 bit OS
• RE-written OWA with browsable GAL
• Restore database to any server
• Message routing based on AD Site
• Storage capacity in STD-5stores Each is 75GB + 
ENT-50stores unlimited database
• Unified messaging
• Transport rules
• No in place upgradation
 
0
Nishat
 
 
Answer
Anti spam connection filtering.transport rules.
 
0
Hemraj
[Wipro]
 
 
Answer
Exchange Server 2007 is much more advanced with lots of facilities which were laking in Earlier Versions. Click the below given link and read its full product information.

http://docs.docstoc.com/orig/652202/bd2e05e7-f0d7-4b73-a4a7-da43ed817a5b.pdf
 
0
Dhanraj
[Wipro]
 
 
Answer
Auto Discover feature inbuild in Exchange  2007 but its 
work only with office 2007
 
0
Alok Srivastava
[Wipro]
 
 
Answer
Version	Features
Standard Edition	
The Standard Edition has: 
•	Up to 5 storage groups 
•	Up to 5 databases 
•	16 TB per database 
The Standard Edition supports
Local Continuous Replication. 
Enterprise Edition	
The Enterprise Edition has: 
•	Up to 50 storage groups 
•	Up to 50 databases 
•	16 TB per database 
The Enterprise Edition supports:
•	Local Continuous Replication 
•	Single Copy Clusters 
•	Cluster Continuous Replication
 
0
Giri
[Wipro]
 
 
Question
What is ITIL? What is the use of ITIL and how it works?
Rank Answer Posted By  
 Question Submitted By :: Santosh252551
This Interview Question Asked @   IBM
I also faced this Question!!   © ALL Interview .com
Answer
ITIL-IT INFRASTRUCTURE LIBRARY
It has globally accepted IT Busineess Solution Rules.
It Has Couple of Category 
   1)Service Supporting Desk
     under this we have 5 managements
        1)problem mgmt etc...
   2)Delivery Supporting Desk
 
0
Govind
 
 
Question
Hi i need fast track course maximum to complete within a month....courses are 
Asp.net,c3,vb.net n sql server........at hyderbad location ..best institute n cost
Rank Answer Posted By  
 Question Submitted By :: Prysujatha
This Interview Question Asked @   Chevron
I also faced this Question!!   © ALL Interview .com
Answer
hii dear, u going to waste ur money if u get any institute
that promised u to teach .NET(ASP.NET, c#, vb.net, n sql
server)only in 1 month, becoz .NET is not a fast track 1
month game. To become a .NET professional whole carrier
sometimes becomes less. so i personally suggest u to join at
least 6 month course of .NET even after u being experienced.
thnx n regard
 
0
Ashish Chaturvedi
 
 
Question
any body help me. Is it possible to convert text in gif 
images into word document with the same text? thanks in 
advance.
Rank Answer Posted By  
 Question Submitted By :: Priya
I also faced this Question!!   © ALL Interview .com
Answer
Yes.It's possible to convert text in gif images into word 
document with the same text.
 
0
S. Nageswararao
 
 
Answer
yes, it is possible by writing a new http module with the 
file extension.
 
0
Venki
 
 
Question
What is Assert Method ?
Rank Answer Posted By  
 Question Submitted By :: Anil
I also faced this Question!!   © ALL Interview .com
Answer
In debug compilation, assert takes in a Boolean condition as
a parameter, and shows the error dialog if the condition is
false. The program proceeds without any interruption if the
condition is true.
 
0
Anandkbs
 
 
Answer
Assert is a method that can be called on code access 
permission classes and on the PermissionSet class. You can 
use Assert to enable your code (and downstream callers) to 
perform actions that your code has permission to do but its 
callers might not have permission to do. A security 
assertion changes the normal process that the runtime 
performs during a security check. When you assert a 
permission, it tells the security system not to check the 
callers of your code for the asserted permission.
 
0
Vathsala
 
 
Question
describe about the ado.net object model
Rank Answer Posted By  
 Question Submitted By :: Guest
This Interview Question Asked @   TCS , Aaa
I also faced this Question!!   © ALL Interview .com
Answer
ADO object model includes five components.
They are:
SqlConnection Object,SqlCommand Object,SqlDataReader 
object,Dataset object,SqlDataAdapter object.
 
4
Priya
 
 
Answer
Not Sql ADO Object Model Only.But ADO.Net has the following 
methods also

1.OLEDBProvider
2.SQLProvider
3.ODBCProvider

the above all has the Connection,Command,Data Reader, Data 
Set, Data Adapter Also.So Finally List Only Common Object 
Models , They are

 1. Connection Objects
 2. Command Objects
 3. DataReader Object
 4. DataSet Object
 5. DataAdapter Object
 
0
Prakash
 
 
Answer
The main object model of an ADO.Net architecture is "Data 
Provider". It provides data access to SQl server ,Oracle, 
Access in order to retreive,update and insert data in the 
datastore.

the main objects of ADO.Net object model are....

1.connection object : used to establish connection to 
database.

2.command object: it is used to execute commands and stored 
procedures.

3.dataAdapter object: used to establish connection between 
datastore and dataset.

4.dataReader object: used to read data from dataset in 
forward only.
 
0
Sandyni
 
 
Question
what are the advantages and diadvantages of active reports 
over crystal reports ?
Rank Answer Posted By  
 Question Submitted By :: Pnvreddy
This Interview Question Asked @   IBM , Kotak
I also faced this Question!!   © ALL Interview .com
Answer
active reports has a better performance over crystal 
reports.

because AR or even telerik controls use ajax support not 
like crystal report

and also you can modify the schema file easily at run time.

better security.

AR is a latest version
 
0
Vishy
 
 
Question
One more interview question

If I have the data where some columns have multiple values 
in a given row of data returned from the database. The 
stored procedure returns data as it is that is blanks 
values and non blank values.

However, I need to suppress the blank values not by showing 
0 values but by shifting the cells up.  Is there a way 
using a formula to shift the blank cell one row up based on 
a selection critieria?

In the example below, I want to get rid of the blank values 
under Exposure column without replacing with 0.
example:

Company           Margin    Exposure
AB                 500         3
                                
                               10
                                7
                                 
                                 8

ABC                  200          4
                                  2
                                  5
 
                                  10

Thanks
Anita
Rank Answer Posted By  
 Question Submitted By :: Novice123
This Interview Question Asked @   Barclays
I also faced this Question!!   © ALL Interview .com
Answer
This answer is for suppressing the Columns with Condition at
runtime

Just right click on the Columns that you want to suppress
and write the function for suppressing the columns if
parameter value is 0 then True(i.e Suppress)
 
0
Pankaj
 
 
Answer
right click on the detail - from the menu select the 
section export check the "suppress blank Section".
 
0
Mk
 
 
Question
which is the new version of  IIS SERVER
Rank Answer Posted By  
 Question Submitted By :: Pooja
I also faced this Question!!   © ALL Interview .com
Answer
IIS 7.5 is the latest update to the IIS server. This release
comes with Windows Server 2008 R2 and Windows 7.
 
0
Anandkbs
 
 
 
Back to Questions Page
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com