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                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories >> Software >> Microsoft-Related >> Dot-Net >> Dot-Net-WindowsForms
 
 


 

Back to Questions Page
 
Question
how to create a set up in vb.net for desktop application 
please say me steps with examples
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
1.Goto file<new project<select setup and deployment in the 
template
2.Add your project by right click the project that u newly 
created(In Solution Explorer)
3.Add Project ouput and localised resources by right 
clicking the existing project in solution explorer
4.Finally build the project 
(or)

Take a Setup project from Visual Studio Deployment 
Projects. By default you will get. 
File System on Target Machine
Different Editors in Setup project

1. File System on Target Machine.
2. Registry on Target Machine
3. File Types
4. User Interface
5. Custom Actions
6. Launch Conditions
 
3
Karthik
 
 
Question
I have two combobox .. and i have some items in both combobox
now i need to check the item in both combobox if same item
is Present in both combobox i need to display that item in
message box
Rank Answer Posted By  
 Question Submitted By :: Baskar
This Interview Question Asked @   CSS , Wipro
I also faced this Question!!   © ALL Interview .com
Answer
For inti As Integer = 0 To ComboBox1.Items.Count - 1
      For intj As Integer = 0 To ComboBox2.Items.Count - 1
          If ComboBox1.Items(inti).ToString =  
ComboBox2.Items(intj).ToString Then
             MessageBox.Show(ComboBox1.Items(inti))
          End If
      Next
  Next
 
0
Usha
 
 
Answer
For inti As Integer = 0 To ComboBox1.Items.Count 
      For intj As Integer = 0 To ComboBox2.Items.Count 
          If ComboBox1.Items(inti).ToString =  
ComboBox2.Items(intj).ToString Then
             MessageBox.Show(ComboBox1.Items(inti))
          End If
      Next
  Next


The answer should be modified. The loop should not go upto 
the count-1 but should go upto count. Rest all is OK.
 
0
Mona
 
 
 
Answer
/* C# Version */

for (int i=0; i<= ComboBox1.Items.Count)
  {
    for(int j=0 ; j<= ComboBox2.Items.count)
       {
         if (ComboBox1.Items[i].Text == ComboBox2.Items
[j].Text)
            MessageBox.Show(Items[i].Text);
       }
   }
 
0
Cutee
 
 
Answer
Compare the values in both the comboboxes :


if(comboBox1.Text == comboBox2.Text)
{
    MessageBox.Show(comboBox1.Text);

}
 
0
Guest
 
 
Answer
bool found = false;
string item = string.Empty;
foreach (string item1 in comboBox1.Items)
{
	foreach (string item2 in comboBox2.Items)
	if (item1 == item2)
	{
		item = item1;
		found = true;
		break;
	}
	if (found) break;
}
MessageBox.Show(found ? item : "Not found");
 
0
Pavel
 
 
Question
Hi, I am implementing one windows form. I am inserting some 
values into ms access. In that table 5 columns there. But I 
want to insert three columns only. when I am clicking 
another button then other two values also insert into that 
table. please help me
Rank Answer Posted By  
 Question Submitted By :: Chantii999
This Interview Question Asked @   Satyam
I also faced this Question!!   © ALL Interview .com
Answer
first time insetr five columns but two columns are empty 
value thats null value when we click another button update 
query is used insert remaining columns (where condition 
filled columns value)
 
0
Balaji
 
 
Answer
1st button
Insert into table names (@column1,@column2,@column3,'','')
2nd button
update tablename set column4=@column4,column5=@column5 
where column1=@column1 and column2=@column2 and 
column3=@column3
hope it will help
 
0
Karthik
[S.V.U. Computer Centre]
 
 
Question
how barcode create in the report
Rank Answer Posted By  
 Question Submitted By :: Amarkavi
This Interview Question Asked @   Wipro
I also faced this Question!!   © ALL Interview .com
Answer
Its very easy. 
1-Take a barcode font like we used Arial, Time new Roman
2-Install this font at window fonts directory
3-Use Steric (*) at both ends of a field of Report with the 
help of double/single commas 
4.Change this field Font Like from Time new roman to 
Barcode font
e.g Bar is field that contain digit from 1 to 8 as shown 
below
  *12345678*
After changing font these digit were converted into Black 
Lines mean barcode
|||||||||||||||

5-Take print of barcode and enjoy.

If you feel any problem then email me at 
salmansahb@hotmail.com and i will furhter send you font or 
report.
 
0
Muhammad Sulman Saeed
 
 
Answer
Hi Sulman,

I actually didn't get how to install it in Windows forms 
and how to actually get it from there. Can you tell me in 
detail. 
It will be greatful to you.
 
0
Mona
[Wep Peripherals Ltd]
 
 
Question
How insert recored in the database
Rank Answer Posted By  
 Question Submitted By :: Amarkavi
This Interview Question Asked @   Wipro
I also faced this Question!!   © ALL Interview .com
Answer
insert into <tablename> values (Parm1,parm2....)
 
0
Sesu
 
 
Question
We are facing problem with the compatibilty of IE 7 and IE 
6.We are calling a showModal window that is working fine in 
IE6 but with IE7 it opens a new Window and Data is not 
getting poputaled.In some pages it Gives an error "The 
webpage you are viewing is trying to Close the window.Do 
you want to close this window".
Rank Answer Posted By  
 Question Submitted By :: Kavita
This Interview Question Asked @   Wipro
I also faced this Question!!   © ALL Interview .com
Answer
<base target="_self"> is the only available fix. You can
delete all the cache & offline files from your browser.
 
0
Sajid
 
 
Question
What are the new events in textbox that has been included 
in VB ?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
Validate
 
0
Sajid
 
 
Question
what is the Difference between listbox and combo box?
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
In List Box we have to choose one of the option from the 
drop down list 
In Combo just like radio button we have to choose any one
 
0
Venkateswaran
 
 
Answer
ListBox is used to select one item out of diffenrent we 
have.
But
ComboBox is used to enter an item at run time.
 
0
Venkatesh_kumar
 
 
Answer
in ListBox u can select multiple items.
but in Combo box u can select only one item.
 
2
Ashish Gupta
 
 
Answer
The listbox control is used to display a list of items to a 
user.
Combobox control is used to display a drop- down list of 
items . It is a combination of a text box in which a user 
enter an items,and a drop-downlist from which the user 
selects an item.
 
0
Teepu
 
 
Answer
In listbox we can select more than one item.
but in case of combobox we dont have that chance,we have to 
select only one item from the list of items.
 
0
Sree
 
 
Answer
1) Combo Box:												
a. User should be able to enter text in it.												
b. Pressing the arrow should give list of options available
to the user. List can be scrollable but user should not be
able to type in.												
c. Pressing Ctrl-F4 should open the list box.												
d. Pressing a letter should bring the first item in the list
starting with the same letter.												
e. Items should be in alphabetical
order in any list.												
f. Selected item should be displayed on the list.												
g. There should be only one blank space in the
dropdown list.												
												
2) List Boxes:												
a. Should allow single select, either by mouse or
arrow keys.												
b. Pressing any letter should take you to the first element
starting with that letter												
c. If there are view/open button, double clicking on icon
should be mapped to these behaviour.												
d. Make sure that all the data can be seen using
scroll bar.
 
0
Shivanand G
 
 
 
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