- Strength to Increase Rep
- +8
- Strength to Decrease Rep
- -2
- Upvotes Received
- 41
- Posts with Upvotes
- 35
- Upvoting Members
- 30
- Downvotes Received
- 26
- Posts with Downvotes
- 26
- Downvoting Members
- 6
- Interests
- Gaming, Surfing , Anime , Manga , DayDreaming(sometimes)
- PC Specs
- Processor: AMD Phenom II x6 1055TGraphics Card : Ati Radeon HD 4290 (AMD 890GX) - 1 GbRam : 4 GbHard…
224 Posted Topics
| |
Re: put a text box and button on a form then use following code [CODE] Dim conn As New SqlConnection("Data Source=server;Initial Catalog=database;User ID=id; pwd=pass") 'basically connection string Dim cmd As New SqlCommand("SELECT columnname FROM table", conn) Dim ds As New DataSet Dim da As New SqlDataAdapter(cmd) da.Fill(ds, "list") // list can … | |
Re: can u post the error please... | |
Lets say you have lots of data your listview. Now you want to Group This data According to a Perticular Subitems. For Example: Suppose i have some books data in my ListView. this listview items contains Author name and Books Title. And there are 2000 Books in list view. Now … | |
Re: 1. If all the nations in the world are in debt(am not joking. even US has got debts), where did all the money go? 2. What is the speed of darkness? 3. If the "black box" flight recorder is never damaged during a plane crash, why isn't the whole airplane … | |
Simple Encryption and Decryption Function using rijndael algorithm. Imports this: Imports System.Security Imports System.Security.Cryptography Imports System.IO Imports System.Runtime.InteropServices Imports System.Text.RegularExpressions Imports System.Text Source : [snipped] | |
Re: check this : [URL="https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B4UFpIoo5oVWMmFmMWEwOTgtYmVmOS00NTVkLTg1MWEtMTUyZTcyZjUwNGQ1&hl=en_US&authkey=CLav9_QD"]https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0B4UFpIoo5oVWMmFmMWEwOTgtYmVmOS00NTVkLTg1MWEtMTUyZTcyZjUwNGQ1&hl=en_US&authkey=CLav9_QD[/URL] | |
Re: hi Put a list view to form use following code: [CODE] Imports System.Data.SqlClient Public Class Form1 Dim conn As SqlConnection Dim cmd As SqlCommand Dim da As SqlDataAdapter Dim ds As DataSet Dim itemcoll(100) As String Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.ListView1.View = … | |
Re: see if this helps : [URL="http://www.akadia.com/services/dotnet_databinding.html"]http://www.akadia.com/services/dotnet_databinding.html[/URL] or this (its with example) :[URL="http://www.vb-helper.com/howto_net_bind_collection.html"]http://www.vb-helper.com/howto_net_bind_collection.html[/URL] | |
Re: hi suppose u have two datagrid view 1. DataGridView1 (source to copy from) 2. DataGridView2 (Destination to copy) For example assume that both the datagridview have 3 columns u have a button to perform the copy.. write the following code at copy button [CODE] Dim dr As New System.Windows.Forms.DataGridViewRow For … | |
Re: hi.. right click on your [B]Detail Section's Header[/B]. then select the [B]Selection Expert[/B] from dropdown. now check : [B]New Page After [/B] its done. see screen shot for more info | |
Re: i think dataset doest not allow select from multiple datatable, correct me if i am wrong. what could you do is, iterate through each row of datatable1 , comparing each row with each row of other datatable2. and copying the matched data to another datatable2. | |
Re: here are two tutorial on anchoring and docking which will help you get going: [URL="http://www.codeproject.com/KB/miscctrl/anchordock.aspx"]http://www.codeproject.com/KB/miscctrl/anchordock.aspx[/URL] [URL="http://www.startvbdotnet.com/forms/form4.aspx"]http://www.startvbdotnet.com/forms/form4.aspx[/URL] | |
Ever Thought if it was possible to not WebBrower control and use the Firefox Browser in your c# window Application...?? Yes ,, It is possible using GeckoFx wrapper class for C#.net and vb also. You will need the Followings: 1. [URL="http://code.google.com/p/geckofx/downloads/list"]GeckoFx Wrapper[/URL] 2. [URL="http://mirrors.directorymix.com/mozilla/xulrunner/releases/1.9.1.2/runtimes/"]Xul Runner[/URL] (Download the zip file from … | |
Re: check this .. its just wat you want: [URL="http://winform-net.blogspot.com/2011/05/numeric-only-textbox.html"]http://winform-net.blogspot.com/2011/05/numeric-only-textbox.html[/URL] | |
hi.. guys.. just joined daniweb.. and this is my first post this one's very easy... i suffered a lot to find this simple program.. i hope you guys like it.. here is a quick preview of it...[URL="http://lh4.ggpht.com/_blnOia1d0Pw/TQs3BhaCClI/AAAAAAAACco/3vPqJIlyG-M/gmail%20client.JPG"]http://lh4.ggpht.com/_blnOia1d0Pw/TQs3BhaCClI/AAAAAAAACco/3vPqJIlyG-M/gmail%20client.JPG[/URL] 1. First Of All Add the Following Line to your code: [CODE]Imports System.Net.Mail[/CODE] … | |
Re: this should get you going: [URL="http://www.daniweb.com/software-development/vbnet/code/368571"]http://www.daniweb.com/software-development/vbnet/code/368571[/URL] you can read all the excel files into dataset and export that dataset to single excel | |
Re: well these are my daily visits: [URL="http://lifehacker.com/"]http://lifehacker.com/[/URL] [URL="http://www.geeky-gadgets.com/"]http://www.geeky-gadgets.com/[/URL] i read them in google reader | |
Re: try this: [URL="http://www.vcskicks.com/3d-graphics-improved.php"]http://www.vcskicks.com/3d-graphics-improved.php[/URL] | |
Re: see the below links: [URL="http://www.dreamincode.net/forums/topic/103960-save-and-retrieve-images-with-sql-server/"]http://www.dreamincode.net/forums/topic/103960-save-and-retrieve-images-with-sql-server/[/URL] [URL="http://www.atalasoft.com/KB/Article.aspx?id=10018"]http://www.atalasoft.com/KB/Article.aspx?id=10018[/URL] [URL="http://www.codeproject.com/KB/web-image/PicManager.aspx"]http://www.codeproject.com/KB/web-image/PicManager.aspx[/URL] | |
hi.. i just made two function related to excel . 1. Merging all sheet of excel as tables in single Dataset 2. Exporting a dataset to Excel File .(all the tables of dataset as sheets) i just wanted to share.. i hope it becomes helpful to you. ps: Dont forget … | |
Re: check this out: [URL="http://blog.nielsen.com/nielsenwire/online_mobile/iphone-vs-android/"]http://blog.nielsen.com/nielsenwire/online_mobile/iphone-vs-android/[/URL] | |
Re: you can't SPECIALIZE in all the areas. choose a profession and excel in it.. choose the one you like and is in current market trend in your country or region from which you can benefit. | |
Re: or you can try this: [CODE] texbox1.Text = DataGridView1.SelectedRows(0).Cells(1).Value.ToString() [/CODE] | |
Re: you should use : NSIS or Inno setup maker.. its easy and understandable.. i use nsis and its quite powerful yet easy [URL="http://nsis.sourceforge.net/Main_Page"]http://nsis.sourceforge.net/Main_Page[/URL] | |
Re: if you are using sql database.. you can just fire a simple query. like [CODE]select MIN(yourColumnName) from yourTableName; select MAX(yourColumnName) from yourTableName;[/CODE] | |
Re: use ccleaner to clear junk [URL="http://www.piriform.com/CCLEANER"]http://www.piriform.com/CCLEANER[/URL] | |
Re: [CODE] [DefaultValue("Color.White")] [/CODE] | |
Re: here try this: [CODE] Imports System.IO Imports System.IO.Path Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim strPath As String = System.IO.Path.GetDirectoryName(Application.ExecutablePath) & "\" Dim dirInfo As New IO.DirectoryInfo(strPath) For Each file As FileInfo In dirInfo.GetFiles("*.txt", SearchOption.TopDirectoryOnly) ComboBox1.Items.Add(file.Name) Next End Sub End Class … | |
Re: see here if helps: [URL="http://www.dreamincode.net/forums/topic/149975-monitoring-network-traffic/"]http://www.dreamincode.net/forums/topic/149975-monitoring-network-traffic/[/URL] | |
Re: here try something like this: [CODE] Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim item As New ListViewItem '("Harry Potter and the Philosopher's Stone", "J K Rowling") item.Text = "Harry Potter and the Philosopher's Stone" item.SubItems.Add("J K Rowling") ListView1.Items.Add(item) item = New … | |
Lets say you have lots of data your listview. Now you want to Group This data According to a Perticular Subitems. For Example: Suppose i have some books data in my ListView. this listview items contains Author name and Books Title. And there are 2000 Books in list view. Now … | |
Re: [QUOTE]Dim myArray() As Integer = {a, b, c, d, f}[/QUOTE] why do you have character in your integer arrary?? | |
Re: or may be you want a smart Tage .. like this the one in attachement | |
Re: hi.. here [URL="http://goo.gl/6pz4S"]http://goo.gl/6pz4S[/URL] i have made this custom control and provided the smart tag coding also.. i hope it helps .. | |
Re: use something like this: [CODE] Public Function findString(ByVal strData As String, ByVal strWhatToFind As Char) As Integer Dim cnt As Integer = 0 For Each c As Char In strData If c = strWhatToFind Then cnt += 1 End If Next Return cnt End Function [/CODE] use: [CODE] Dim str … | |
Re: for starters see here: [URL="http://www.codeproject.com/KB/cs/xml_parsing.aspx"]http://www.codeproject.com/KB/cs/xml_parsing.aspx[/URL] [URL="http://support.microsoft.com/kb/307548"]http://support.microsoft.com/kb/307548[/URL] | |
Re: [QUOTE] .SelectCommand.CommandText = "SELECT Reference_Number, Year, Title, Surname," + _ "FirstName, Date_of_Birth, Origin, Phone, State_Deployed, Facility_Deployed FROM HEALTHWORKERS" + _ "WHERE DESIGNATION = BASIC MIDWIVES"[/QUOTE] a silly mistake.. you forgot a space between "FROM HEALTHWORKERS" AND "WHERE" JUST change your query to : [CODE] .SelectCommand.CommandText = "SELECT Reference_Number, Year, Title, … | |
India released a Rs.1,500 ($30) laptop / Tablet PC for students and teachers in colleges and Universities. The device is currently not available for sale in the market as government has decided to launch it for students in 2011. The price of this device (so called laptop) may even go … | |
Re: may be this will help: [URL="http://www.codeproject.com/KB/miscctrl/ControlCloneTst.aspx"]http://www.codeproject.com/KB/miscctrl/ControlCloneTst.aspx[/URL] | |
Re: this will help you: [URL="http://www.codeproject.com/KB/office/excel_using_oledb.aspx"]http://www.codeproject.com/KB/office/excel_using_oledb.aspx[/URL] and this too: [URL="http://stackoverflow.com/questions/57987/writing-into-excel-file-with-oledb"]http://stackoverflow.com/questions/57987/writing-into-excel-file-with-oledb[/URL] | |
hi everyone, i was wondering if anyone can guide me regarding TCP/IP programing in c# or vb.net . like what interview question can be asked here, some basic tutorials etc. thanks in advance |
The End.