Posts
 
Reputation
Joined
Last Seen
Ranked #426
Strength to Increase Rep
+8
Strength to Decrease Rep
-2
82% Quality Score
Upvotes Received
14
Posts with Upvotes
14
Upvoting Members
10
Downvotes Received
3
Posts with Downvotes
3
Downvoting Members
3
7 Commented Posts
4 Endorsements
Ranked #397
Ranked #585
~63.5K People Reached
About Me

IT Manager

PC Specs
IT Manager & Programmer
Member Avatar for jamshed ahmed

you can try the below DgvStock.DataSource = dt dt.AsEnumerable().Where(Function(r) r.Field(Of Integer)("qty") =0).ToList().ForEach(sub(x) x.Delete())

Member Avatar for Reverend Jim
0
387
Member Avatar for Dudestreet

You can embed Excel and Word inside vb/c# form. I also suffered alot to get a working a code where I found alot of posts says that web browser can embed excel but that did not work with me Here is my way Add a Form, Button, Panel This will …

Member Avatar for Dudestreet
0
5K
Member Avatar for Nebil

There could be some security restriction if you install the access database in `c:\program file\your_folder` or `c:\program file (x86)\your_folder` . If you do, try to to give full access to the folder where your data reside by right click on the folder and press properties >> security tab.

Member Avatar for Nebil
0
1K
Member Avatar for Satyam_1
Member Avatar for samir_ibrahim
0
728
Member Avatar for Gus_19

You are using 2 Tables, reading the row of the first table, then reading all the rows of second table, but you are not using any value from any row in any table In your IF CONDITION you have (IF TEXTBOX.TEXT = STRING), the table rows loop is useless if …

Member Avatar for PerplexedB
0
236
Member Avatar for renzlo

You can use the dataset to hold your table, then dataadapter will handle your table changes and compare the data since the time you load the row from table and when you update the row to check if any other user changed during the time you load the row (that …

Member Avatar for Begginnerdev
0
398
Member Avatar for vbshad

your query will not return the columns name "locid,locname,locadd", it will return 1 column as you put in the query your only column is MAX(locid), and since you didnot specify the a name by using `MAX(locid) as FieldName`, its hard to tell what will be the column name. You are …

Member Avatar for samir_ibrahim
0
132
Member Avatar for Start4me

Does the information in the Listbox (retreived by SQL Query) is using the same table shown in picture? or there is 2 (table and query)?

Member Avatar for Start4me
0
279
Member Avatar for samir_ibrahim

Hi I have a dataset created programatically and I want to use this dataset to bind it to Microsoft ReportViewer. I tried the Microsoft ReportViewer with DataSet created at design time and it works well. I have searched a lot and this is the best thing I can find but …

Member Avatar for savedlema
0
1K
Member Avatar for aishapot

[QUOTE]sqlda.SelectCommand = sqlcmd -- the error is pointing here[/QUOTE] How did you declared sqlda and salcmd? there should be in your declaration Dim sqlda as [B]New[/B] ...... and Dim sqlcmd as [B]New[/B] ....

Member Avatar for neeturathi
0
399
Member Avatar for babbu

I know this way which let you choose the char you want to allow to be written in the textbox [CODE=vb.net] 'Textbox KeyPress ' Allow number 0-9 plus backspace, Del + Home + End will be accepted also Dim ValidInputChar = "0123456789." + vbBack If not ValidInputChar.Contains(e.KeyChar) then e.KeyChar=Nothing End …

Member Avatar for Reverend Jim
0
3K
Member Avatar for mikejs

I clear the table, fill the table and let the bindingsource and binding unchanged, like that [CODE]' Clear the grid mydataset.Tables("payments").Clear ' Fill the grid myDA.Fill(mydataset, "payments") [/CODE]

Member Avatar for Zeth643
0
150
Member Avatar for johmolan

you can do it like that [CODE]Public Class myclasss Property one As Double Property two As Double Sub test1 one = 12 two = 10 End Sub Sub test2 Dim three As Double = one Dim four As Double = two End Sub End Class[/CODE]

Member Avatar for samir_ibrahim
0
94
Member Avatar for bklynman01

Try this Remove the msgbox() put this line instead [CODE]if cmbAssocID.SelectedValue Is Nothing then Exit Sub[/CODE]

Member Avatar for bklynman01
0
338
Member Avatar for shashikanth

This is really for Beginner like you and me :) [url]http://www.homeandlearn.co.uk/NET/vbNet.html[/url]

Member Avatar for formulav8
0
263
Member Avatar for nokomoli

[QUOTE=nokomoli;871168]Hi guys, i am facing problem when i need to create an excel file and insert some data inside. Can anyone help me? i am using vs 2005 and excel 2003.[/QUOTE] Here the way to do it, and you have to explore by your self. [CODE=vb.net]Dim _Ex = New Excel.Application …

Member Avatar for Nikita Jetani
0
2K
Member Avatar for acxes

Well, Any thing can be done by Foxpro can be done in vb.net also Try this code [code=vbnet] Dim oAccess As Object 'Create Access Database oAccess = CreateObject("Access.Application") oAccess.NewCurrentdatabase("c:\myaccess.mdb") 'Create Table Dim tdf As New DAO.TableDef Dim fld As New DAO.Field Dim db As Object db = oAccess.CurrentDb tdf = …

Member Avatar for aydinozdemir
0
2K
Member Avatar for vasaviam

[code=vb] Dim oWSH Dim cmdDOS As String Set oWSH = CreateObject("WScript.Shell") cmdDOS = "cmd.exe /c " cmdDOS = cmdDOS & "DIR *.*" oWSH.Run cmdDOS, 1 'Change the 1 to 0 if you don't want to see the dos window [/code]

Member Avatar for VBzambo
0
2K
Member Avatar for mikel07

[QUOTE=adatapost;1123991][b]>How insert , Edit and update data in datagrid?[/b] For database operations use ADO.NET data provider classes.[/QUOTE] Is that an answer :P, I thought you will post tutorial video from 5 parts :icon_lol: Just wonaa say Hi to you. :)

Member Avatar for sreeatkl
-1
90
Member Avatar for vsraju

I can think of 2 function that could able to help you. #1 Printing by IE #2 Print Any kind of File ' #1 Print By IE [CODE=vbnet] Dim oIE Dim FileName FileName = "c:\myfile.txt" ' or .html or .xml depending on where you stored the data you want to …

Member Avatar for astonvic
0
154
Member Avatar for TomB1988

Since you are filling statementResult, and updating rows in statementResult and then you are using for each row loop for the same statementResult, why don't you update the datatable? SQLDataAdapter.Update(statementResult)

Member Avatar for microdata
0
141
Member Avatar for samir_ibrahim

Hi, Is there a way to comment multiple line of code in vb.net at once? means not inserting ' in front of each line in case i want to comment 20 lines that will be tedious job? TIA Samir Ibrahim

Member Avatar for kvprajapati
0
238
Member Avatar for jackiejoe

I believe that you had used SQLClient() and you should use [B]SqlServerCe.SqlCeConnection[/B] Try that.

Member Avatar for samir_ibrahim
0
95
Member Avatar for koolsamjust4u

[QUOTE=vb5prgrmr;867085]Correct me if I am wrong maheshsayani or anyone else, but using a command object used that way will not return a recorset....[/QUOTE] I am sure you know that the result of command.execute is record set. so may be explain your question more? As I did not understand the PO …

Member Avatar for SANJAY.DESHMUKH
0
2K
Member Avatar for devz2k

There is a lot of useful tutorial, I found this, I suggest you study it, and ask question about problem that my occurs to you. 1- [URL="http://www.codeguru.com/vb/gen/vb_database/adonet/article.php/c15031/"]A Basic ADO.NET Tutorial in Visual Basic.NET[/URL] 2- [URL="http://www.codeguru.com/vb/gen/vb_database/adonet/article.php/c15033/"]A Basic VB.NET ADO.NET Tutorial: Adding, Deleting, and Updating[/URL] Don't forget to download the example.

Member Avatar for samir_ibrahim
0
105
Member Avatar for Dani

I like the current design although i am not an old user, I begin using Daniweb as my programming forum since 1 years only, since I was vfp programmer. The design is good to the eyes (my eyes at least) and the navigation is simple. I liked the new rating …

Member Avatar for feoperro
3
936
Member Avatar for ahmedlibrian

Not sure if it is the right way but - I read dll created by .net does not need to be registered. - if regsvr32 did not work try regasm [url]http://msdn.microsoft.com/en-us/library/tzat5yw6%28VS.71%29.aspx[/url]

Member Avatar for kvprajapati
0
514
Member Avatar for Maulth

[QUOTE] Any insight into how I can locate a programs path would be immensely helpful.[/QUOTE] [URL="http://samir-ibrahim.spaces.live.com/blog/cns!C20FEEA5B0493048!166.entry?&_c02_vws=1"]Get Add Remove Programs List[/URL]

Member Avatar for samir_ibrahim
0
225
Member Avatar for krajad

Since no one jumps in, let me ask you [QUOTE=krajad;1004818]Hi all, Got a real pain of a problem. Im using vb.net to write a dll for third party software (PreS) that has no COM interface but allows functionality to call DLL's. [/QUOTE] do you mean that the dll you are …

Member Avatar for krajad
0
177
Member Avatar for umairraja52

[QUOTE]I want to learn VB or VB.net and want to use for my website (ASP.net)[/QUOTE] I would say learn asp.net which is 70% of it vb.net I would add my approval to what Vineeth K has said. in my opinion, Vb.Net is nothing more than "vb6 + Powerful IDE + …

Member Avatar for Vineeth K
-1
243