Posts
 
Reputation
Joined
Last Seen
Ranked #926
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
7
Posts with Upvotes
5
Upvoting Members
6
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
7 Commented Posts
0 Endorsements
Ranked #746
Member Avatar for samaru
Member Avatar for dtbn

hi I want to know how to read from excel file i know how to open it but how to store cell's value from excel to the variable i wrote varname=xlsheet.Cells(1, 1) and i got run timeerror "cast from range to "string not supported

Member Avatar for ice23
0
14K
Member Avatar for debasisdas

"Never argue with idiots, they'll just bring you down to their level and beat you with experience." :)

Member Avatar for James_28
8
16K
Member Avatar for Sin Savada

i hope this link will help you [url]http://www.vbdotnetheaven.com/UploadFile/aghiondea2/StoringImagesInVB11122005034248AM/StoringImagesInVB.aspx?ArticleID=7ed1fe42-0819-4912-88ae-bbc43829d8a6[/url]

Member Avatar for winstongel
0
5K
Member Avatar for geetajlo
Member Avatar for yveslemy
1
1K
Member Avatar for jaz854

I am not sure if I understand you well :S do you want to clear the textbox from data when user click some button ? you do like this [CODE]Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click TextBox1.Text = "" [/CODE] and that for all ur …

Member Avatar for leyyy
0
150
Member Avatar for yaya_star

Add ColorDialog control to the form , then change its property to the way you want it to show . to show the dailog [CODE]ColorDialog1.ShowDialog()[/CODE] you can get the color that user selected by ColorDialog1.Color after this you can set the backcolor of form to this color

Member Avatar for kvprajapati
0
214
Member Avatar for manal

Salam... I need to get value that has been selected from combobox .. the values in combobox is taken from column's contents of one of tabel in database..so once i write if x=combobox.selectedvalue..i got error that i Additional information: Operator is not valid for type 'DataRowView' and string

Member Avatar for kvprajapati
0
8K
Member Avatar for lllllIllIlllI
Member Avatar for William Hemsworth
7
133
Member Avatar for Time Indicator

[QUOTE]I am getting an error called 'Data type mismatch in criteria expression'. This only happen when I tried to add an item.[/QUOTE] I think the error means that you have variable from one type and you are trying to store in it value from other type . since you have …

Member Avatar for nayanika
0
739
Member Avatar for The Dude

I got 27 [QUOTE]You are an average on-line user. You may surf the Web a bit too long at times, but you have control over your usage.[/QUOTE]

Member Avatar for GrimJack
-1
131
Member Avatar for MichelleCrews

hi MichelleCrews, welcom to Daniweb ! I hope you will enjoy here and learn more to get A :D

Member Avatar for manal
-1
73
Member Avatar for gabanxx

i do not understand your code. >>"this the code for button next n previous" you mean that the same code for next and previous ? each one has its own code [CODE] i = 0 [B]For i = 0 To -1[/B] TextBox1.Text = varDataSet.Tables("tbl_rop").Rows([B]0[/B]).Item("Name_User") TextBox2.Text = varDataSet.Tables("tbl_rop").Rows(0).Item("Date_of_birth") TextBox3.Text = varDataSet.Tables("tbl_rop").Rows(0).Item("Hobbies") …

Member Avatar for obicerno
0
509
Member Avatar for manal

hi every one . does any one know how to insert checkbox in datagrid so user can select row and how to know which rows selected

Member Avatar for manal
0
164
Member Avatar for Mashimar

[QUOTE]plz...m relly need a immediate coding.. plz sumbody solve my probs.. i want to subtract my current quantity stock went m enter any amount at a textbox... currentquantity = fullquantity - amount(type in the textbox) then save to database can sumbody help mee..plzzz[/QUOTE] As Teme64 said open new thread with …

Member Avatar for dyadarling
0
171
Member Avatar for laghaterohan

[QUOTE]When i click on the ID field that id should get displayed in the ID TEXT FIELD...[/QUOTE] do you mean display it on TextBox? if yes then use MouseUp event handler inorder to know when user select the cell, and then display the cell content in textbox [CODE]Private Sub DataGrid1_MouseUp(ByVal …

Member Avatar for manal
0
126
Member Avatar for uma625010

[QUOTE][CODE] Private Sub add(Of T)(ByVal x As T, ByVal y As T) Dim res As T res = x + y MsgBox(res) End Sub[/CODE][/QUOTE] what type T ??

Member Avatar for uma625010
0
124
Member Avatar for mugun

do you get error, or the program run but no change made to database or what ?

Member Avatar for mugun
0
135
Member Avatar for laghaterohan

it would be better if you post your code any way , I think you didn't convert from string to double before calculating, you wrote like this [CODE] Balance.Text = coursefees - installment1.Text[/CODE] it may work but if user did not enter value and leave the textbox empty then you …

Member Avatar for laghaterohan
0
168
Member Avatar for elrayiss

[QUOTE]i have to input number in all textboxes so it gives me a zero in the total. also i have an error coming up its text is not member of double. please help on this.[/QUOTE] sorry but I don't understand the problem , you mean the total is always zero? …

Member Avatar for manal
0
126
Member Avatar for ablago

[QUOTE] I just wanna discuss about that difficulty, have some advises and know about difficult that you find or found out to plan yours careers.[/QUOTE] About me I had job interview few days ago , he asked me what your career plan for the next 5 years :S I really …

Member Avatar for ablago
0
110
Member Avatar for asmit1987

1/to use image in the form you need [URL="http://www.startvbdotnet.com/controls/gbox.aspx"]PictureBox Control[/URL] 2/in order to change the picture whenever the user select item from the comboBox you use the SelectedIndexChanged event, you can get the item that user selected by [CODE] dim selectedItem as string selectedItem = ComboBox.Text [/CODE]

Member Avatar for Teme64
0
2K
Member Avatar for asdengler

there are many good tutorials in net like [URL="http://www.homeandlearn.co.uk/NET/nets12p4.html"]this [/URL] and [URL="http://www.itwriting.com/pcw/vbdotnetdata.php"]this[/URL] you can search for more and it will help you to come up with your code if you need help you can ask here

Member Avatar for asdengler
0
292
Member Avatar for lukechris

to read from file line by line you need to use ReadLine method as you did , plus checking if you reached the end of file or not by Peek method [CODE]While loadf.Peek <> -1 Line = loadf.ReadLine() ... ... End While[/CODE] [QUOTE]Please just give me the code to read …

Member Avatar for manal
0
126
Member Avatar for gouki2005

[QUOTE][CODE]Public Sub save(ByVal sav As Double) If sav= 0.0 Then Console.WriteLine("Is not valid") Else mainsave = sav End If[/CODE] [/QUOTE] what I understand that the user will enter the value in textbox , after you check that user did not leave it empty you can use it . [CODE] Dim …

Member Avatar for manal
0
118
Member Avatar for mafaisal

you will need dataAdapter and dataset by using dataset you can [B][I]update[/I][/B] the value of any cell in database [CODE]Me.DataSet11.Tables("Table_Name").Rows(0).Item(1) = TextBox1.Text[/CODE] this will not update your databse , to change it you must write [CODE]Me.OleDbDataAdapter1.Update(Me.DataSet11)[/CODE] inserting new row is like updating, you first add new row into dataset then …

Member Avatar for manal
0
138
Member Avatar for BORAX

first thing you need to store the special characters in [URL="http://www.startvbdotnet.com/language/arrays.aspx"]array [/URL], so you will declear array [CODE]Dim SC(36) As char[/CODE]after that store values [CODE]SC(0) = "Ï" SC(1) = "Î" .......[/CODE]2-go through the user's string using For loop and for each character in user's string ,which you can get by …

Member Avatar for manal
0
98
Member Avatar for kahaj

[CODE] If myGuess = randNum Then[/CODE] here you compare between [I][B]integer[/B][/I] and [I][B]class Random [/B][/I] to solve this [CODE]If myGuess = randNumGenerated Then[/CODE] same thing in the "<" and ">" but you need to define randNumGenerated as global variable I think.. any way your game is hard :S at least …

Member Avatar for Jx_Man
0
186
Member Avatar for swappy

[QUOTE]My Question is should I create a database first...if yes then how and with what? if No then what i`m suppose to do...?[/QUOTE] as Jx_Man said you need to have database so you can make it as source of your data you can use Microsoft Access to create it read …

Member Avatar for swappy
0
90
Member Avatar for cindynicole

and[URL="http://www.java2s.com/Tutorial/VB/0160__Collections/0220__ArrayList.htm"] this [/URL]is other site now we are waiting your code :)

Member Avatar for manal
0
93