Posts
 
Reputation
Joined
Last Seen
Ranked #364
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
70% Quality Score
Upvotes Received
36
Posts with Upvotes
33
Upvoting Members
19
Downvotes Received
18
Posts with Downvotes
14
Downvoting Members
8
20 Commented Posts
3 Endorsements
Ranked #486
Ranked #344
~65.6K People Reached
Favorite Forums
Member Avatar for shayacov

In the Combobox's property window Set AutoCompleteMode to Append Set AutoCompleSource to ListItems

Member Avatar for jiiinaguipo
0
2K
Member Avatar for renyges

It is very bad programming to store images in a database. It is much better to instead store the file name and path to point to loading the files. Images are much larger then text and will quickly accumalate the size of the database. Even if using very small resolution …

Member Avatar for Bobby_5
0
3K
Member Avatar for babbu

It depends on the type of numbers you are inputting. If whole numbers, I would suggest using the numericupdown control such as suggested above. Other options such as suggested above will be triggered with each key stroke, just of the textbox's validating event might be better since it would not …

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

You need to make a dynamic connection string. Meaning that you need a way to prompt the user (if the settings werent previously saved) to select the server & database they will be using and from there save your connection string.

Member Avatar for Ashish salve
0
266
Member Avatar for adonweb

Just went through this exact situation a few weeks ago myself. Suprisingly there is [U]not [/U]an easy solution for this although I did find a work around. There is no way to set the total height of the details section iteself, only the height of the individual item records. So …

Member Avatar for wsfaso
1
3K
Member Avatar for pepemiso
Member Avatar for bluerdanblue08

Ok first, you dont need to explictily call open and close to your database connection, your dataadapter will open & close the connection as needed. Your error is being caused by your concatenated query string. Your connection object is actually within your query double quotes becoming part of the select …

Member Avatar for debasisdas
0
399
Member Avatar for adrianSigamoney
Member Avatar for adrianSigamoney
0
123
Member Avatar for smd5049

You can use a select statement to fill a DataSet/DataTable. You can then export the entire dataset to an xml file with a single call, youDataSet.WriteXml(strYourFileNameAndPath) Exporting to a text file is a bit more involved, you have to loop thru each of the records in the datatable to extract …

Member Avatar for Satyam Kr. Jha
0
996
Member Avatar for Leodumbi

Saving pictures to a database isnt optimal and should be avoided if possible. Including pictures can greatly increase the size of your database and reduce the speed of its processing. Likewise everytime you update a record that contains a picture, even if your not touching the column with the picture, …

Member Avatar for Leodumbi
0
163
Member Avatar for tiscood

It sounds as if, the groupboxes 2-4 are contained within the first groupbox container... If you move groubbox1 around on the form, does all the other groupboxes move with it?

Member Avatar for markrtc
0
219
Member Avatar for Learning78

Take a look at "FileMode" in the help index. Your use of FileMode.Create will always create a new file including overwriting the file if it already exists. Instead you want to create a file if it doesnt exist but append to a file if it does exist.

Member Avatar for Legjendat
0
1K
Member Avatar for sackymatt

If you use the Code icon at the text area toolbar it will format your code for easier understanding here on the site. Im not sure why your closing your connection before you even open it but either way both open & close calls are not needed. When you use …

Member Avatar for sweber25
0
145
Member Avatar for JohnDove

Using database functionality you can read and write to an excel file without having to automate Excel as long as what you are writing following a consistent table structure. I definitely prefer this method it is very easy and doesnt require the user to even have Excel. However you do …

Member Avatar for gever
0
191
Member Avatar for tanvirahmad

You can create a view of your table and then use Find & Filter methods available. This has performance benefits over using datatable select methods which then lose table indexing.

Member Avatar for kvprajapati
0
107
Member Avatar for thandwandim

When you created the report using the wizard, did you point it to a database or directly to your typed dataset (.xsd file)? Im wondering if the report is somehow attempting to pull the data from the db rather then use the dataset set being passed to it. Either way …

Member Avatar for Syeda.farwa
0
207
Member Avatar for shahzadhard

The problem is in your connection statement. Your specifying the database twice, each a different way and your not specifying the security.

Member Avatar for nevintom26
0
382
Member Avatar for smile_pls

If that much isnt working then either the name given to your DataSource or Database is incorrect. Unless of course its not actually windows authenticated and you need a login & password. [Code] Dim strCon As String = "" strCon = "Data Source=[COLOR="Red"].\ISCDEV[/COLOR];Initial Catalog=[COLOR="red"]mangiamos[/COLOR];Integrated Security=True" Using con As New SqlConnection(strCon) …

Member Avatar for LennieKuah
0
307
Member Avatar for PDB1982

In the properties window make sure CheckedOnClick equals true for each of the menu items. Add to your menu item events: mnuUnitedStates_Click mnuMexico.Checked = Not mnuUnitedStates.Checked End Sub mnuMexico_Click mnuUnitedStates.Checked = Not mnuMexico.Checked End Sub

Member Avatar for L0u3
0
829
Member Avatar for ndshah

If you use a NumericUpDown control it will save you some datatype conversions and validation and will limit users to only entering numeric values. For the calculation I would use a loop; passing the days worked and starting amount. [Code=VB] decPay = decStartingAmount For intDay = 2 To intTotalDaysWorked decPay …

Member Avatar for TomW
0
547
Member Avatar for RAjushendre

[URL="http://lmgtfy.com/?q=backup+database"]Here let me google that for you[/URL] You could even possibly take that one step further and adding the type of database you want to back up...

Member Avatar for TomW
0
108
Member Avatar for ma.ali786

[QUOTE=adatapost;1148252][b]>will you provide some real good example on backgroundworker control in vb.net for doing some process in background.[/b] Not the real question. [URL="http://www.lmgtfy.com?q=BackgroundWorker+Tutorials"]Let me google that for you.[/URL][/QUOTE] Excellent answer. And surprising how much it applies to such a majority of the entire threads posted.

Member Avatar for TomW
0
119
Member Avatar for gingank
Member Avatar for london-G

A little more detail about what isnt working would be helpful. Also you should properly declare instances of each for you want to create. [Code=VB] Private Sub LoadForm3( ) Dim frm As New Form3 frm.Show() End Sub [/Code]

Member Avatar for TomW
0
87
Member Avatar for scias23

You need to clarify this and provide a bit more detail. Reading your post I have no clue what your trying to accomplish.

Member Avatar for kvprajapati
0
429
Member Avatar for avinash_545

You need to provide a bit more detail but I dont think there is any real need of using a timer just to update a status bar. For example if your looping thru rows in a returned dataset or lines in a file, you want to start by simply setting …

Member Avatar for avinash_545
0
454
Member Avatar for rotana

Wow did you even try looking up the answer for yourself before asking others to do it for you?

Member Avatar for TomW
0
96
Member Avatar for tqmd1

No need to code to keep validating texbox values. Just use a NumericUpDown control. It is essientially a textbox control that only allows numbers. Also you then wont need to keep converting your textbox values back & forth to a numeric datatype.

Member Avatar for TomW
0
174
Member Avatar for mtsaad

Your IF statement is returning that message box if you have any records in your dataset table at all. Second your insert command is never even set to execute anything to the database. You really should start by learning how to step thru your code

Member Avatar for kvprajapati
-1
123
Member Avatar for tanvirahmad

It is important to note that a datagridview is only a means of displaying an underlying datasource. When working to manipulate that data you should work directly with that underlying source. Unless the column you are searching happens to be the table primary key, using a dataview as Adapost suggests …

Member Avatar for TomW
0
103