• Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Record count in database

    ok here's the code Dim cmd As OleDbCommand Dim dr As OleDbDataReader Try CN.Open() cmd = New OleDbCommand("SELECT * from Receipts WHERE Bank='" & TxtBank.Text & "'" & "AND Acno='" …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Label, Server Status

    Hello Im trying to display a label when my program starts, to check the server status.. For example if the user is successfully connected to the server it should say …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Label, Server Status

    check for internet connectivity first: Try If My.Computer.Network.Ping("daniweb.com") Then dataopen() If conn.State = ConnectionState.Open Then rlabel1.text = "Connected" Else rlabel1.text = "Not connected" End If End If Catch ex As …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching select data from different databases

    i have 2 database (access,SQL) with 2 different connection string i want to select a table from the first database insert it to the second database any help
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in select data from different databases

    [Click Here](http://www.homeandlearn.co.uk/NET/vbNet.html) go to VB .NET and Databases tutorials
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Record count in database

    Friends please help me... I have Three text boxes 1.Bank 2.Acno 3.Name I am selecting record from database where Bank and Acno are =(txtbank.text and txtacno.text) If any record found, …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Record count in database

    is there any error ? if yes what is it ? what are you trying to do, just focus on name textbox or get the name value.
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Print Listview

    how to make this print fit to page my listview data doesn't fit in the page help please Private Sub PrintDetails(ByRef e As System.Drawing.Printing.PrintPageEventArgs) Static LastIndex As Integer = 0 …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Print Listview

    it's already in your code, just change/assign values to all types of MarginBounds
  • Member Avatar for oussama_1
    oussama_1

    Began Watching How to read an Excel spreadsheet using ADODB

    If your Excel spreadsheet is laid out as regular columns and rows with a header row that identifies the columns then this code will allow you to read the data …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in How to read an Excel spreadsheet using ADODB

    is it required to add a microsoft excel object library reference here ?
  • Member Avatar for oussama_1
    oussama_1

    Stopped Watching Memorable Quotations

    Once harm has been done, even a fool understands it. -- Homer
  • Member Avatar for oussama_1
    oussama_1

    Began Watching hello, I wanna ask if how to show data from MsAccess to Datagridview in c#?

    I have here my code; dataGridView1.Rows.Clear(); dataGridView1.Refresh(); OleDbDataAdapter dAdapter = new OleDbDataAdapter("select * from Personaldata", connParam); OleDbCommandBuilder cBuilder = new OleDbCommandBuilder(dAdapter); DataTable dataTable = new DataTable(); DataSet ds = new …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in hello, I wanna ask if how to show data from MsAccess to Datagridview in c#?

    dAdapter.Fill(ds); dataGridView1.DataSource = ds.tables(0);
  • Member Avatar for oussama_1
    oussama_1

    Gave Reputation to Reverend Jim in shortcut of multiple if and else statement

    @oussama - How long did it take you to unravel that? For expressions that already evaluate to Boolean there is no need to do the comparison so If q.Created = …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching shortcut of multiple if and else statement

    I'm wondering if there's a way to cut the long statement and make it shorter as possible. the case is i have 5 radiobuttons each questions. thanks in advance.. =) …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in shortcut of multiple if and else statement

    If Q1.Visible = True Then Dim numb As Integer = 5 For i = 111 To 155 Dim q As RadioButton = CType(Me.Controls("q" & i), RadioButton) If i.ToString.EndsWith("1") Then numb …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Check if there is an existing record on ms access 2007

    Can someone help me in my source code... my problem is, i need to check if there is an existing record on my current database(ms access 2007) here is my …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Check if there is an existing record on ms access 2007

    the easy and fast way for me is to load the access database into a datagrid and search through it.
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Reading contacts from windows live mail

    Hi everyone, i've been searching on the internet about how to read contacts from windows live mail account and i cant see anything in the internet to solve such problem. …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Reading contacts from windows live mail

    [Click Here](http://www.vbforums.com/showthread.php?336585-Get-MSN-Messenger-Contacts)
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Working on login system, check out!

    dlls files are editable and hackable and within reach but my solution is unreachable, did you try it? is it hard ? anyways good luck :)
  • Member Avatar for oussama_1
    oussama_1

    Stopped Watching 2D array help

    Write a program that accepts the name and ID number of 5 students and stores them in an array. After all the students have been entered, the application should display …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching 2D array help

    Write a program that accepts the name and ID number of 5 students and stores them in an array. After all the students have been entered, the application should display …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Working on login system, check out!

    Hello everyone. So I have started working on login system, yeah yet another mysql login system, boring right? Well, i made it 'little advanced' not quite like adding mysql data …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Working on login system, check out!

    since your db is safe, take this code : ![e3a2b89ddcf066b13425c4e07159bc21](/attachments/large/4/e3a2b89ddcf066b13425c4e07159bc21.png "e3a2b89ddcf066b13425c4e07159bc21") and store it in your databade, on your login button event, download this code and execute it. how to …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching How to get the Full path

    Hi Dw There is a program that I'm doing and what it does is move a chosen file/folder to a folder on drive "C:\test" and I have a list box …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in How to get the Full path

    Get all files and folders in a directory Dim f As New DirectoryInfo("C:\test\") Dim dirs() As DirectoryInfo = f.GetDirectories("*", SearchOption.AllDirectories) For Each d As DirectoryInfo In dirs ListBox1.Items.Add(d.Name) Dim di …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Hello there!

    So you did what exactly? the apps or the websites? :D
  • Member Avatar for oussama_1
    oussama_1

    Began Watching text formatting in richTextBox

    I have a rich text box in my winform. I want to format the text so that i can write a simple C code in it. I mean the indentation …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in text formatting in richTextBox

    Yes its possible. [Click Here](http://www.codeproject.com/Articles/161871/Fast-Colored-TextBox-for-syntax-highlighting)
  • Member Avatar for oussama_1
    oussama_1

    Began Watching how to del list box?

    how to Search the ListBox and del listbox all txt other than found txt and 3 lin below it in vb.net ? ex listboxbox contain txt from a file http://www.yahpoo.com/ …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in how to del list box?

    buddy your question is vague along with your other questions, i can't figure out what you want. Please Read this [Link](http://www.daniweb.com/software-development/vbnet/threads/424836/please-read-this-before-posting)
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Hello there!

    Hey everyone! Glad to be on board! Just getting acquainted with the site but overall very impressed. My name is Spencer and I work on projects like [Dead Man's Snitch](https://deadmanssnitch.com) …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Hello there!

    Welcome Spencer :D
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in error with adodb connection

    sorry, my bad. your code is working fine..but i think that you are working on 64bit computer. for your code to work you need to choose X86 platform Build - …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching error with adodb connection

    can someone help me to identify what is wrong with my code? i recheck and recode it many times as possible but still cant figure out the one error. it …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in error with adodb connection

    try this Dim Connection As New OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;" & "Data Source='" & "your path" & "';" & "Persist Security Info=False;" & "Jet OLEDB:Database Password=" & "your pass" & ";") Connection.Open()
  • Member Avatar for oussama_1
    oussama_1

    Began Watching KILL(OSK)

    i use vb.net 2012 on Windows 7.0 64 bits pc. If I try to kill osk.exe is get this error: System.InvalidOperationException: Cannot process request because the process has exited. at …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in KILL(OSK)

    start osk.exe process Dim OSKProces As System.Diagnostics.Process OSKProces = System.Diagnostics.Process.Start("osk.exe") Kill osk.exe Process Dim proc = Process.GetProcessesByName("osk") For i As Integer = 0 To proc.Count - 1 proc(i).Kill() Next i
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Add Files to application itself.

    ![c93cf2cca6488324256a29d11d3292f9](/attachments/large/4/c93cf2cca6488324256a29d11d3292f9.jpg "c93cf2cca6488324256a29d11d3292f9") when the user add a file,compress that file into a zip file and store it into a protected folder. and create a fake image of that file in …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching publish c# project

    hi all i have made c# project that use sql database and i want publish this project and make a setup file and include sql server program to the setup …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in publish c# project

    [Click Here](http://techbrij.com/install-sql-server-database-with-visual-studio-setup)
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Automatically search

    Hi everyone, If anyone knows how to make a automatuic search through datagid? for instance i've a list of data which polulate in datagrid(Grid master), another set of data(one at …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Automatically search

    Search through datagridview from combobox data : For i As Integer = 0 To DataGridView1.Rows.Count - 2 For j As Integer = 0 To Me.DataGridView1.Rows(i).Cells.Count - 2 If DataGridView1.Item(j, i).Value.ToString().Contains(ComboBox1.Text) …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Get text using Span Id without Webbrowser ?

    I need To get a specific Text From http://example.com/ .(Webbrowser) For That I use - Span Id Can i get text using Span Id without navigating the page ?
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Get text using Span Id without Webbrowser ?

    Dim StringFromWeb As String = New System.Net.WebClient().DownloadString("example.com") RichTextBox1.Text = StringFromWeb then find your Span ID
  • Member Avatar for oussama_1
    oussama_1

    Gave Reputation to Minimalist in Many Labels in an Event Handler

    O.K. You got the addhandler and an event. There is more to it. I have whipped up some minimal code you can start a new project,copy it in, put a …
  • Member Avatar for oussama_1
    oussama_1

    Began Watching Many Labels in an Event Handler

    I'm writing a program that generates labels at runtime, and then has them be "dragged and dropped" by the user. I have the drag and drop code working, but right …
  • Member Avatar for oussama_1
    oussama_1

    Replied To a Post in Many Labels in an Event Handler

    Dim NewLabel As Label = New Label Me.Controls.Add(NewLabel) AddHandler NewLabel.Click, AddressOf MyLabelClick Private Sub MyLabelClick(ByVal sender As Object, ByVal e As EventArgs) 'code End Sub

The End.