Jx_Man 987 Nearly a Senior Poster Featured Poster
ProgressBar1.Value = 100
Jx_Man 987 Nearly a Senior Poster Featured Poster

i didnt know that, i used crc-32 in my antivirus program.
see this link for sha224, there are an example for sha224

Jx_Man 987 Nearly a Senior Poster Featured Poster

well, i didn't know that. but you can visit this link.
there are example for SHA224

Jx_Man 987 Nearly a Senior Poster Featured Poster

see this link
But code has written in vb.net, u can convert to c#

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Nigel...Welcome to Daniweb Friend :)
you can post your question in java section

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi there...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Josh...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

well this not a simply program. when u scan you must have a pattern of virus. did u have it? cause you must get the virus file.

Jx_Man 987 Nearly a Senior Poster Featured Poster

see this following code :

Private Sub AutoNumberNo()
        Dim myReader As SqlDataReader
        conn = GetConnect()
        conn.Open()
        Dim temp As String
        Try
            Dim sql As String = "SELECT MAX(NO) 'IDNumber' FROM Student "
            Dim comm As SqlCommand = New SqlCommand(sql, conn)
            myReader = comm.ExecuteReader
            If myReader.HasRows Then
                While myReader.Read()
                    temp = myReader.Item("IDNumber") + 1
                End While
            End If
            myReader.Close()
        Catch ex As Exception

        End Try
        conn.Close()
        txtId.Text = String.Concat(temp) ' result will appear in textbox txtId
    End Sub

call that procedure in button click event.
on button click event...
AutoNumberNo()
end sub

Jx_Man 987 Nearly a Senior Poster Featured Poster

Actually i didn't get the point. What do you want exactly?
if you want to group the radio buttons like majestic0110 said, just use GroupBox and add radio button in GroupBox.

Jx_Man 987 Nearly a Senior Poster Featured Poster
Private Sub Command1_Click()
Shell "C:\Windows\notepad.exe", vbMaximizedFocus
End Sub
Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Andy...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

post in vb.net section...
This section for vb 4/5/6

Jx_Man 987 Nearly a Senior Poster Featured Poster

Use print screen and paste in ms word.

Jx_Man 987 Nearly a Senior Poster Featured Poster

could you please send me the codes for the program.

no.. we won't send u a codes. we directing u and give an example but not all codes friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

you didn't explain what the problem is...
this is problem in programing language or in your operating system??
if this programing question post on software development section, but if this concerned with OS you can post your question on tech talk section.
Then u can choose what operating system in used. I guest u used Windows

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster
Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)
you can post your question in VB Section or VB.Net Section.

Jx_Man 987 Nearly a Senior Poster Featured Poster

well great for help, but this section for vb.net so please write code in vb.net code not in c# friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

i do some googled and found These error messages may be caused by the WORM_KLEZ.E virus, or one of its variations. The executable file name "qbw32[xxx].exe" may vary, where "[xxx].exe" is a randomly generated and false executable name.

Jx_Man 987 Nearly a Senior Poster Featured Poster

on form Properties set StartUpPosition as CenterScreen.
it will make your form always start in center of screen.

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb friend.
Many members need your help :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Prathima...Welcome to Daniweb friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Oh I didn't realise the OP meant in code! lol, oops! my mistake!

Actually he want code to detect .net framework present or not but i didn't know it. but it your link posted (msdn) has a link to some site that it give a code to detect .net framework but not in C#

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)
what kind of language you want to learn?

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

This following code to connect vb 6 with access
place this code in module :

Global Conn As ADODB.Connection
Global rs As ADODB.Recordset

Sub Access_Connector()
    Set Conn = New ADODB.Connection
        Conn.Provider = "microsoft.jet.oledb.4.0"
        Conn.CursorLocation = adUseClient
        Conn.Open App.Path & "\SIS.mdb"
End Sub
Jx_Man 987 Nearly a Senior Poster Featured Poster

This following code to detect .net version, Hope it help u :

using System.IO;


public string GetNetVersion()
{
    string functionReturnValue = null;
    
    ///'''''''''''''''''''''''''''''''''''''''''''''''''
    
    //   PURPORSE : Get the highest .NET framework version from the directy name
    
    //              support.microsoft.com/kb/318785/en-us
    
    //
    
    //              Assumes microsoft will continue naming convention
    
    //              %systemroot%\Microsoft.NET\Framework\vN.N.NXXXX
    
    //
    
    //   SECURITY : Authenticated Users (Win2000)
    
    //
    
    //    RETURNS : Numeric portion of direcory name as a [String]
    
    ///'''''''''''''''''''''''''''''''''''''''''''''''''
    
    string SystemDirectory = Environment.GetEnvironmentVariable("SystemRoot");
    
    string strWorkingDir = SystemDirectory + "\\Microsoft.NET\\Framework\\";
    
    Directory NetFramework;
    
    string[] strProcessDirs;
    
    string strVersion;
    
    double intNetMajor;
    
    double intVal;
    
    int i;
    
    int j = Strings.Len(strWorkingDir) + 1;
    
    if (System.IO.Directory.Exists(strWorkingDir) == true) {
        
         // ERROR: Not supported in C#: ReDimStatement

        
        // get the subdirectories that match the filter
        
        NetFramework.GetDirectories(strWorkingDir, "v?.*").CopyTo(strProcessDirs, (0));
        
        //
        
        for (i = 0; i <= strProcessDirs.GetUpperBound(0); i++) {
            
            if (strProcessDirs(i) != "") {
                
                // strip the path and the 'v' from the directory name
                
                strVersion = Microsoft.VisualBasic.Right(strProcessDirs(i), Strings.Len(strProcessDirs(i)) - j);
                
                // get the left three chars as a decimal
                
                intVal = (double)Microsoft.VisualBasic.Left(strVersion, 3);
                
                //resolve the highest version number
                
                if (intVal > intNetMajor) {
                    
                    intNetMajor = intVal;
                    
                    // return the higer version as string
                    
                    functionReturnValue = strVersion;
                    
                }
                
            }
            
        }
        
    }
    return functionReturnValue;
    
}
private void Form2_Load(object sender, System.EventArgs e)
{
    Label1.Text = GetNetVersion();
}
Jx_Man 987 Nearly a Senior Poster Featured Poster

Also u can try this foll code too :

while (listBox1.SelectedItems.Count > 0)
{
     listBox1.Items.Remove(listBox1.SelectedItems[0]);
}
Jx_Man 987 Nearly a Senior Poster Featured Poster

Or you can try this, but this following code not working in .net 1.1 :

public void RemoveItem()
{
   for (int i = 0; i < listBox1.Items.Count; i++)
   {
      if (listBox1.Items[i].Selected)
      {
         listBox1.Items[i].Selected = false;
         listBox1.Items.RemoveAt(i);
         RemoveItem();
      }
   }
}
Jx_Man 987 Nearly a Senior Poster Featured Poster

this section for vb.net but this following code will help :

protected void Button1_Click(object sender, EventArgs e)
{
while (listBox1.SelectedItem != null)
   {
      listBox1.Items.Remove(listBox1.SelectedItem);
   }
}
Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Bizman ...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi Vasu...Welcome to Daniweb Friend :)
There are many members from India

Jx_Man 987 Nearly a Senior Poster Featured Poster

Hi...Welcome to Daniweb Friend :)

Jx_Man 987 Nearly a Senior Poster Featured Poster

Great...
So Please share your answer, it will helps other members to learn if they got some problem with you friend :)