I have two pictureBoxes & two Panels. On PictureBox1_Click, I want that Panel2 is Fadeout & Panel2 is Fadein. & on vice-versa on PictureBox2_Click.

I write the foll. code-- But with that code form is also fade in & fade out.

[code] Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click
Me.Panel1.Visible = True
Me.Panel2.Visible = False
Me.Opacity = 99
End Sub

Private Sub PictureBox2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox2.Click
    Me.Panel2.Visible = True
    Me.Panel1.Visible = False
    Me.Opacity = 99
End Sub

Private Sub FormFade(ByVal FType As String)
    Select Case FType
        Case ("in")
            Dim FadeCount As Integer
            For FadeCount = 10 To 90 Step 5
                Me.Opacity = FadeCount / 100
        Case ("out")
            Dim FadeCount As Integer
            For FadeCount = 90 To 10 Step -5
                Me.Opacity = FadeCount / 100
    End Select
End Sub[/code]

To achieve that only panel is fade in & fade out.I write the foll. code,But its not working,Plz help out where i m wrong-

[code] Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click
Dim FadeCount As Integer
Dim Opacity1 As Double
Dim Opacity2 As Double
Dim FadeCount1 As Integer

    For FadeCount = 90 To 10 Step -5
        Opacity1 = FadeCount / 100
        Panel2.BackColor = Color.FromArgb(Opacity1)

    For FadeCount1 = 10 To 90 Step 5
        Opacity2 = FadeCount1 / 100
        Panel1.BackColor = Color.FromArgb(Opacity2)

    Me.Panel1.Visible = True
    Me.Panel2.Visible = False
End ...


I go to start & type the Coomand,Msg is threre DllRegisterServer in msdxm.ocx failed...What was it?????????????/

What does it mean make sure you have registered the component using regsvr32 utility.

Hello frnds, i add the languages in combobox on form load,I want that suppose i select Hindi from the combobox, All the Projects text is converted to hindi...& so on.
Can somebody help me,as i have no idea!!!!!!

Suppose mine textfile contains the foll. records--
Sunday, July 13, 20086:29:55 PM^^1^^ritu
Sunday, July 13, 20086:29:55 PM^^2^^ritu
Sunday, July 13, 20086:29:55 PM^^3^^ritu
Sunday, July 13, 20086:29:55 PM^^4^^ritu
Sunday, July 13, 20086:29:55 PM^^5^^ritu

Ion Form_Load,I want that in Combobox only date is picked.
My code is as follows-
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    Dim sFilename As String
    Dim sFileReader As System.IO.StreamReader
    Dim sarr() As String
    Dim sInputLine As String

    sFilename = "C:\test.txt"
    If Dir(sFilename.ToString) <> "" Then
        sFileReader = System.IO.File.OpenText(sFilename)
        sInputLine = sFileReader.ReadLine()
        Do Until sInputLine Is Nothing
            sarr = Split(sInputLine, "^^")

            sInputLine = sFileReader.ReadLine()
    End If
End Sub

But with mine code--Same date is added in the Combox 5 times. I want that only dat dates are added in the combobox that have different times. & Dates.

hey frnds, Firstly I pick the records from the databse into the DataGridView, Then I want that If we made changes to the records in the GridView & Click on Update Button, Changes are Reflected into the Datbase .Plz do reply back the ..

hey frnds i want to know that how to add Textbox entry into the dataGridView.

Suppose I have DataGridView with two Columns-
First Column--name
Second Column--marks.

On the Form--
I have a Combobox ,Two Textboxes ,Button,Gridview.
User select roll from combobox,Suppoes he Select Rol number 1 ,I want that on button click Name & marks of Roll Number 1 are added to the DatatgridView.

I know call them but i have already told i wnat code

Hey frnd tell me that in Vb to scan a registry we define our own function. In Vb.Net to scan a registry we define our own function or using the inbuilt function,it can also be done??

Plz give me some steps from where to start???????????

I m not getting it,how to scan a registry........

I want to know how to have Registry keys into the combobox on the form_load automatically.

Hey frns I want to record the time that the application takes. I want that when i click on Start Button in label time starts from 00:00:00, & when we click on cancel button time resets to zero.
I include system.diagnostics.stopwatch

I just know start,stop & Reset methods are there.But i do not know how to use it,Can somebody frd me the coding............

I try the foll. code---

protected void Button1_Click(object sender, EventArgs e)
int i;
for (i = 0; i <= ListBox1.Items.Count - 1; i++)


But it's not working.

I have three labels & three textboxes on the form, I bind the data to the textboxes using DATA FORM WIZARD & Binding Navigator to naviagte thru the records.
Suppose if i do any changes, I also want to update in the database.
I drag one button on the form & write the foll. code--

[B]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
End Sub[/B]

Bank1 is the table name in the dataset & Yogesh is the database name dats y YogeshDataSet

Hey frnds, I know about Ctype??
Please forward me what is Directcast,Cz i hace faced this question in Interview.Difference B/w the aboce two???/

What is @@rowcount and with small code snippet explain the usage?
Is the foll. code is rite--
Create procedure get_emp_count ( @emp_id int) As Select * from emp where
emp_id =@emp_id
If @@rowcount = 0
Select 'no rows with emp_id= ' Select @emp_id
End .

Can u pls explain the above code.

I know only three differneces.
[B]1)[/B] ADO wroks on Connected architecture, while ADO.Net on DisConnected Architecture.
[B]2)[/B]ADO is used to create Client Side Cursors while ADo.net create both client as well as server.
[B]3)[/B]In ADO,data is converted before transmitted whike in ADO.Net no transformation takes place.


I understood.
I have SQL Server 2000/2005 installed on my computer(Same m/c).
If I do not give server name in Connection name,then by default it takes SQL 2005 version,means higher version. Is it so??

hi,nileshsarode, I had done all the steps of connectivity.

One thing ,After clicking on Test Connection button,Msgbox is displayed that shows Test Connection Successed.
After that u write click on Finish Button, instead there is no finish button on that screen,I click on cancel button.

Second thing, When I open the save with notepad,no text is generated,it is still empty.

Thx I have Got it...

SET @myInt = 1

select dbo.myFunction() as 'Simple Number'

This Function is not returning any value,Error is coming
[B]Cannot find either column "dbo" or the user-defined function or aggregate "dbo.myFunction", or the name is ambiguous.[/B]

create function dbo.add1(@num1 Int,@num2 Int)
Returns INT

select dbo.add1(10,20) as result

Above function is working fine,but dbo is optional IF I write the above Function without dbo
create function add1(@num1 Int,@num2 Int)
Returns INT

select add1(10,20) as result
Then the Function is Contructed successfully , But when I call the function usimg Select statement
Error is there--
'add1' is not a recognized built-in function name.

Plz reply whether its necessary to write owner name to prevent errors.

Can u plz tell me in the more clear way,I m not getting.

[code=sql]CREATE TABLE Persons
FirstName VARCHAR,
[Last Name] Text,
Gender int,
[Date Of Birth] DateTime,
MaritalStatus Integer,
IsMarried Bit,
PersonalIncome Money,
HouseholdIncome Currency

Can u plz tell me where I have to write this Query in MS-Access to craete the Table.

hi clue,plz tell me I also want to create a form that add two nos, but I do not know form where to place Textboxes & command button on the form.plz tell me I will be very thankfulto you.

Can Somebody plz tell me how to give the form ,a footer & header. I want to write in Heaer-REPORT FIRST
But i m not getting how to type the text in Header & Footer, plz reply.

Bydefault the user is able to resize the form,I also want that the user is not able to resize the form.

U all r talking in this thread abt the form In MS Acess or anyelse.

hey I know how to Create a form Using Wizard. Can somebody plz tell me how to create from on which u place controls like Textbox,CommandButton.
Plz reply.

But nothing is added in the toolbox to which I can Drop onto the form,after doing this. As when we add ADO,it is added in the toolbox.

There is so such control in the Components... Microsoft Active X Plug in ..Is it same as which u r saying?/I m working on 6.0.

hey tell me dat ADODC is always used on all the form,if we deal with the database.

Where u have posted the thread. Actually u r online.dats y i told u. If u don't want to reply then its's OK.