• Member Avatar for oussama_1
    oussama_1

    Replied To a Post in retrieve data from database access (db) file to text box

    Put dr.close in here: If dr.Read Then form2.ID.Text = dr("ID") form2.Age.Text = dr("Age") form2.Sex.Text = dr("Sex") form2.Name.Text = dr("Name") form2.show() dr.Close() Else MsgBox("No Such Account") End If Catch End Try …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching How To Use Timer Which Alert On Every 2 Minute On A Button click

    I am label which display the current time ( label8.Text = DateTime.Now.ToString("HH:mm:ss"); ) but here i want on a button click the timer would alert on two minute (i.e time …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in How To Use Timer Which Alert On Every 2 Minute On A Button click

    set timer to minutes : timer.Interval = 60000 on button click event put timer.start in timer1_tick event each tick is a 1 minute so count the minutes count = count …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Client-Server application

    oh ok..then you dont need to install anything just create the installer for the PCs and set up the right directories and you're good to go.
  • Member Avatar for oussama_1
    oussama_1

    Began Watching The last song you heard/ listened to

    it's as the title says .. mine was I'm Yours --Jason Mraz so what's yours ?
  • Member Avatar for oussama_1
    oussama_1

    Stopped Watching The last song you heard/ listened to

    it's as the title says .. mine was I'm Yours --Jason Mraz so what's yours ?
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Make a MessageBox

    Hello, guys. I need your help. :o3 I want to create a MessageBox which may "communicate" with form. Actually, i need to communicate with form. It's a kind of backtraking …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Make a MessageBox

    use a Yes/No messagebox to interact with form DialogResult MSG = MessageBox.Show("Subtitle", "Title", MessageBoxButtons.YesNo); if (MSG == DialogResult.Yes) { //code } else if (MSG == DialogResult.No) { //code }
  • Member Avatar for oussama_1
    oussama_1

    Began Watching online examination system

    *Online Examination System # Heading Here # Dear friends i have to develope online examination system in vb.net ...but there is some problem .. Inserting teacher record from combobox,Subject record …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in online examination system

    Is your table a datagrid or a database ? what's the error ? a wild guess DataGridView1.Rows.Add(1) DataGridView1.Rows(0).Cells("T_ID").Value = ComboBox1.Items(0) DataGridView1.Rows(0).Cells("Sbj_Paper_Name").Value = ListBox1.Items(0)
  • Member Avatar for oussama_1
    oussama_1

    Began Watching retrieve data from database access (db) file to text box

    Helllo I have a database acess (db) with column ID, Age, Sex, Name And a windows form1 (vb.net) with textbox as ID and a button "search". A second form2 having …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in retrieve data from database access (db) file to text box

    Imports System.Data.OleDb Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'Change Tablename,Access Full path,Password Dim CN As New OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;" & "Data Source='" & …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in SetUp App in VB.net

    Copy text file to desktop. Dim FilePath As String = My.Computer.FileSystem.SpecialDirectories.Desktop 'System.IO.File.WriteAllBytes(FilePath & "\filename.extension", My.Resources.filename) System.IO.File.WriteAllBytes(FilePath & "\Text.txt", My.Resources.Text)
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in How to create timer/timeout for form ?

    are you handling your error by Try Catch End Try ?
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Directory already exist in the path error

    Hi Dw I'm trying to copy a chosen file to a directory under 'C:\example' directory folder, I have a textbox to store the address (path) to the selected file, a …
  • Member Avatar for oussama_1
    oussama_1

    Stopped Watching Directory already exist in the path error

    Hi Dw I'm trying to copy a chosen file to a directory under 'C:\example' directory folder, I have a textbox to store the address (path) to the selected file, a …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching What language to use for desktop software

    Hi, I am wanting to create some desktop software that requires interaction with a database and possibly work alongside a mobile app which hopefully will work on 3 platforms iOS, …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in What language to use for desktop software

    If you want your FOUR INDEPENDENT apps to access the same database, you need to host your database online. Use your experience in java to create the android app (eclipse) …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Get sum of Column w/o Database

    How CAn I get the "sum" of a "Column" in a Data Grid? I dont't use /connect database with my Data Grid! How can I make this happen? Thank you …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Get sum of Column w/o Database

    Dim sum As Integer = 0 For i = 0 To DataGrid.Rows.Count - 1 sum = sum + DataGridView1.Rows(i).Cells(4).Value Next as for the second question i didnt understand it, can …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching SetUp App in VB.net

    hi i was try to setup my app in visual basic .net but my app have text file ho can i hide the text file while we set up the …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in SetUp App in VB.net

    Add your txt file to your app resources Project - Project properties - resources - upload
  • Member Avatar for oussama_1
    oussama_1

    Began Watching How to create timer/timeout for form ?

    Private WithEvents tim As New System.Timers.Timer Public Delegate Sub doSub() Private thingToDo As doSub Public Sub TimeOut(ByVal d As doSub, ByVal milliseconds As Integer) thingToDo = d tim.AutoReset = False …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in How to create timer/timeout for form ?

    how about thread.sleep(TIME)
  • Member Avatar for oussama_1
    oussama_1

    Began Watching How to get client to wait for connection

    I am having trouble as I am trying to run my clientsocket.connect until a connection has been established. However it is not running my connect method and I cannot seem …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in How to get client to wait for connection

    use a background worker, Don't use thread.sleep this will hold off your operation. good luck
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Adding Data In Access Database

    you should chnage the statment(Oledb command) like "DELETE FROM table WHERE Name =" & TxtName.Text & "" and other few modifications but this is a different question, there's a lot …
  • Member Avatar for oussama_1
    oussama_1

    Gave Reputation to tinstaafl in displaying records in listview using search button

    A Listview can't accept a datasource. You'll have to put the data into a datatable and parse each row and add the data to the listview. You might find a …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Adding Data In Access Database

    yes replace your code with mine under btnSubmit click event
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Client-Server application

    I've developed an application in vb 2010 and my back-end is sql server 2008. What are all the softwares i need to install in the client machine ?
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Client-Server application

    2 things you should take care of: 1) in your project publish settings, when the user install your application the "application files" and "prerequisites" will be automatically installed on the …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Remove String

    forget about indexes and integers, try this sentence = sentence.tostring.replace("dis","") Me.lblAnswer.Text = sentence
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Remove String

    nowhere, that's the whole code. Label.text.replace("dis", "")
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Remove String

    I am a beginner to VB.NET, and I am creating a program that displays a new string in a label. The new string should take a sentence entered by the …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Remove String

    TextToEdit.text.replace("dis", "")
  • Member Avatar for oussama_1
    oussama_1

    Began Watching How To Click Button in vb.net

    How To Auto Click Button in vb.net button of <input name="ctl00$ContentPlaceHolder1$imgBtnConvert2VB" id="ctl00_ContentPlaceHolder1_imgBtnConvert2VB" title="Convert to VB.Net" src="images/cs2vb.jpg" alt="Convert to VB.Net" onclick='javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$ContentPlaceHolder1$imgBtnConvert2VB", "", true, "", "", false, false))' style="border-width:0px;" type="image"> <a …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in How To Click Button in vb.net

    webBrowser1.Document.All("Button ID").InvokeMember("click")
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Simple Datagrid

    put the code of step1 in all qty button click and you can put the codes of step2, step3 and step4 in all item button click
  • Member Avatar for oussama_1
    oussama_1

    Began Watching how to edit time in vb.net using date/time picker

    Hi, I'm new to vb and I need to record the time the user used a certain privilege and the time s/he finished using it. i used date/time picker but …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in how to edit time in vb.net using date/time picker

    You should use a timer instead of Date/time picker when the user starts Timer1.start() when the user finishes Timer1.stop() but first you can set the time to seconds, minutes or …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Simple Datagrid

    Newbie here! How can I do this?
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Simple Datagrid

    Step1 TextBox1.Text = sender.text & "," Step2 TextBox1.Text = TextBox1.Text & sender.text Step3 Dim qty As String = TextBox1.Text.Substring(0, TextBox1.Text.ToString.LastIndexOf(",")) Dim itemName As String = TextBox1.Text.Replace(qty & ",", "") DataGrid.Rows.Add(itemName, …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Filling Datagrid without Database

    Great, Mark question solved please.
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Adding Data In Access Database

    I want to save data in to my ACCESS database from textboxes. My code is here. Private Sub BtnSubmit_Click(sender As Object, e As EventArgs) Handles BtnSubmit.Click Dim cb As New …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Adding Data In Access Database

    'add yourTableName Dim insertCommand As New OleDb.OleDbCommand("INSERT INTO yourTableName (Bank, Acno, Name) VALUES ('" & TxtBank.Text & "','" & TxtAcno.Text & "','" & TxtName.Text & "')", CN) Try CN.Open() insertCommand.ExecuteNonQuery() …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Filling Datagrid without Database

    Hello, Can you please help me? Is it posible to **input data** on a "DATAGRID" **even if it is not connected to a database**? My Datasource Connection is not working …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Filling Datagrid without Database

    DataGrid.Rows(index).Cells(index / ColumnName).Value = TextBox1.Text
  • Member Avatar for oussama_1
    oussama_1

    Gave Reputation to Reverend Jim in Are coders running out of ideas

    Too many ads. Too little privacy. Too high a ratio of crap to content. It takes away from actual (as opposed to perceived) friendship and contact. Maintaining a Facebook page …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching The last song you heard/ listened to

    it's as the title says .. mine was I'm Yours --Jason Mraz so what's yours ?
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in The last song you heard/ listened to

    Orphaned Land - Let The Truce Be Known

The End.