Search Results

Showing results 1 to 40 of 319
Search took 0.03 seconds.
Search: Posts Made By: TomW
Forum: VB.NET 19 Hours Ago
Replies: 3
Views: 118
Posted By TomW
MSDN Database Walkthroughs (http://msdn.microsoft.com/en-us/library/fxsa23t6.aspx)
Forum: VB.NET 19 Hours Ago
Replies: 2
Views: 183
Posted By TomW
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.
Forum: VB.NET 20 Hours Ago
Replies: 4
Views: 168
Posted By TomW
The record is either added/inserted to the dataset/datatable or it is not. AcceptChanges will only change the rowstate (if it already exists in the dataset) of the record from New to Unchanged and...
Forum: VB.NET 20 Hours Ago
Replies: 2
Views: 112
Posted By TomW
Im trying to understand your project and a bit confused. Why would you want to extract data from the XML file and store in multiple flat text files? It would seem to me (without know more about your...
Forum: VB.NET 4 Days Ago
Replies: 1
Views: 150
Posted By TomW
It is much more efficient (specially using access) to store just the file name & path of your file in the database and retrieve that info to use in loading your file. Images take up larges amounts of...
Forum: VB.NET 4 Days Ago
Replies: 2
Views: 188
Posted By TomW
You dont need to automate Excel at all to output your dataset/datatable to an Excel file. You can use OLEDB to create your file.
Forum: VB.NET 4 Days Ago
Replies: 9
Views: 152
Posted By TomW
Also Im not sure what the insert line is doing (the first line) you have already added the rows to the table in the first example unless you removed that coding too...

Altogether I would say the...
Forum: VB.NET 4 Days Ago
Replies: 9
Views: 152
Posted By TomW
Perfect sense, the DataAdapter.Update is what sends the new records to the database. The AcceptChanges isnt needed (its redundent), the call to the Update method automatically changes the records row...
Forum: VB.NET 4 Days Ago
Replies: 9
Views: 152
Posted By TomW
Take a look at AcceptChanges in the help file, it does not insert data to the database. I cant say much besides that since I dont know what else your code is doing.
Forum: VB.NET 4 Days Ago
Replies: 2
Views: 171
Posted By TomW
cboMonthC.Items(""))
The parameter should be an interger value not a string
Forum: VB.NET 4 Days Ago
Replies: 1
Views: 120
Posted By TomW
The footer section is not like the details section and does not list multiple records. Its more for summaries (single rows) type of info. Im not sure of the type of info your looking to display but...
Forum: VB.NET 4 Days Ago
Replies: 9
Views: 152
Posted By TomW
Ok I'm lost I guess because this is marked as solved. AcceptChanges does not save the data to the database; it instead changes the row state properties of the dataset/datatable making the new records...
Forum: VB.NET 7 Days Ago
Replies: 5
Views: 194
Posted By TomW
Here are some tutorials for working with VB.Net & Sql Server:
Data Walkthroughs (http://msdn.microsoft.com/en-us/library/fxsa23t6.aspx)

Here is a link dedicated soley to connection strings:...
Forum: VB.NET 7 Days Ago
Replies: 2
Views: 171
Posted By TomW
Agree with Adapost, not many will help those that at least are not attempting to do the work for themselves. A quick suggestion that may help though, using the proper controls will help make...
Forum: VB.NET 7 Days Ago
Replies: 3
Views: 193
Posted By TomW
There are several ways you can accomplish this. You can either define there security through coding as mentioned above and then handle it in the project depending on the users level or you can define...
Forum: VB.NET 8 Days Ago
Replies: 4
Views: 201
Posted By TomW
If you want an inputbox where the user enters the input into the messagebox, then you do have to assign the return value to a string variable. But as Sknake say above, its not needed if it is only...
Forum: VB.NET 10 Days Ago
Replies: 2
Views: 206
Posted By TomW
Lots of different ways you can do the import but automatting Excel is probably the last one I would pick. First if you are importing directly from an Excel file, there is no reason to automate Excel...
Forum: VB.NET 11 Days Ago
Replies: 3
Views: 245
Posted By TomW
Its pretty easy, your basically just making a different connection string that attaches to the file rather then to a database. Plenty of examples online showing how to do it. If your unable to figure...
Forum: VB.NET 12 Days Ago
Replies: 5
Views: 283
Posted By TomW
Nothing really needed, just add a Module file and start creating your public or private subs & functions. If created as public they can be seen and accessed from anywhere else in your project. The...
Forum: VB.NET 12 Days Ago
Replies: 5
Views: 283
Posted By TomW
Public Subs/Functions are best off put into a module file so that all forms within a project can access these methods.
Forum: VB.NET 12 Days Ago
Replies: 3
Views: 245
Posted By TomW
Is this being run on a different computer then what it was created? Reference problems like this are usually a case of having a different version of Excel (or no version) then which it was created...
Forum: VB.NET 12 Days Ago
Replies: 1
Views: 196
Posted By TomW
MSDN Data Walkthroughs (http://msdn.microsoft.com/en-us/library/fxsa23t6.aspx)
Forum: VB.NET 13 Days Ago
Replies: 4
Views: 289
Posted By TomW
All programming languages are dependent on some type of base class files that it calls for functionality. Dot net attempts to include all in the dot net framework instead of a ton of seperate files...
Forum: VB.NET 14 Days Ago
Replies: 2
Views: 219
Posted By TomW
Seem to be that it is expecting you to pass an integer value in the c.GetDisplayText function but instead you are passing a tab string. Of course im only taking a guess here since I dont know what...
Forum: VB.NET 14 Days Ago
Replies: 3
Solved: Overflow error
Views: 235
Posted By TomW
None of the parameters even have datatypes defined.... An overflow error is usually caused by trying to force a bad value that doesnt fit into a specific datatype.
Forum: VB.NET 14 Days Ago
Replies: 3
Views: 276
Posted By TomW
I guess that mostly depends on what info you are displaying. If you want to display multiple records at a time I would use a DGV. If it is only one record at a time then controls such as Labels or...
Forum: VB.NET 15 Days Ago
Replies: 2
Views: 212
Posted By TomW
The problem is in your connection statement. Your specifying the database twice, each a different way and your not specifying the security.
Forum: VB.NET 15 Days Ago
Replies: 9
Views: 326
Posted By TomW
Time will automatically be applied as 12am thats why its better to use a between statement to give you all records for the specified day.
Forum: VB.NET 15 Days Ago
Replies: 9
Views: 326
Posted By TomW
Also dont forget to include the # signs surrounding your date
Forum: VB.NET 15 Days Ago
Replies: 9
Views: 326
Posted By TomW
Database's hold a DateTime value so its important to include the time such as using a between Todays date at 12:00am and tomorrows date
Forum: VB.NET 17 Days Ago
Replies: 8
Views: 363
Posted By TomW
The field parameters seem to be correct unless im missing a misspelling somewhere between them. I would start by making two changes and see if you still have the same problem.

01) Convert the...
Forum: VB.NET 18 Days Ago
Replies: 4
Views: 255
Posted By TomW
You need to take a look at some tutorials on how to program for databases. What you are asking is rather simple but it seems that you dont yet have a grasp on even connecting to a database since your...
Forum: VB.NET 18 Days Ago
Replies: 2
Views: 201
Posted By TomW
Just to clarify, you want to show a messagebox when the form first loads correct?


Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)...
Forum: VB.NET 19 Days Ago
Replies: 8
Views: 363
Posted By TomW
Can you show your insert statement from the stored procedure? Without seeing it, I'm guessing either the parameters are wrong, missing or misspelled.

Also assuming that DesignationID is an numeric...
Forum: VB.NET 19 Days Ago
Replies: 7
Views: 310
Posted By TomW
In that example you are still not closing the connection if there is an error. I would add a FINALLY section to that Try/Catch block to close the connection.
Forum: VB.NET 19 Days Ago
Replies: 7
Views: 310
Posted By TomW
Your error should be tripped on the line actually executing your statement. Therefore all that coding in your class sub should be within a Try Catch Finally block. In the finally section you should...
Forum: VB.NET 20 Days Ago
Replies: 3
Views: 276
Posted By TomW
You have to point the datagridview's datasource property to the table you are storing the results

DataGridView1.DataSource = myDataset.Tables("myTable")

As to the pictures, this can be done but...
Forum: VB.NET 20 Days Ago
Replies: 1
Views: 224
Posted By TomW
The following link has many walkthrough examples of how to work with vb.net & sql server. If you still are having a problem, let me know

Data Walkthroughs...
Forum: VB.NET 24 Days Ago
Replies: 5
Views: 390
Posted By TomW
I actually agree with you. I definitely think OOP has its place but for the most part I limit it to things such as needing multiple instances with different data at the same time. If its a case of...
Forum: VB.NET 24 Days Ago
Replies: 5
Views: 390
Posted By TomW
Yes
Yes
Showing results 1 to 40 of 319

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC