Forum: VB.NET Oct 27th, 2008 |
| Replies: 11 Views: 3,282 What does it do when you try to run it? I think thats just a warning, but it would actually have the value when you run it. |
Forum: VB.NET Oct 27th, 2008 |
| Replies: 1 Views: 663 Is your key an autonumber field? If so, just go to the tableadapter , select the update command that you are using, and under parameters, remove the parameter for the key, so that it isnt expecting... |
Forum: VB.NET Oct 24th, 2008 |
| Replies: 7 Views: 2,107 Well. Im still kinda new to VB .NET, but Datagrids are basically only representative of a dataset, they dont actually store the data. So in effect, the datagrid only shows what the actual dataset... |
Forum: VB.NET Oct 24th, 2008 |
| Replies: 7 Views: 2,107 You have to remove the item from the database that the datagrid is getting the information from, instead of just the actual datagrid. Heres a example.
If Grid2.SelectedCells.Count <> 0... |
Forum: VB.NET Oct 24th, 2008 |
| Replies: 1 Views: 3,611 What you'll have to do is add the prerequisite for Crystal Reports under your setup properties, or project properties depending on if you are using a install wizard or not. If you have a installation... |
Forum: VB.NET Oct 24th, 2008 |
| Replies: 1 Views: 1,183 Well when u create the table adapter, it should automatically setup your insert query, so you should be able to just call the query and pass it what you need inserted, like:
... |
Forum: VB.NET Oct 24th, 2008 |
| Replies: 1 Views: 295 Are you using an openfileDialog? If so you can just use the openFileDialog to select the xml, and when you call the loadxml function, just use the openfileDialog.Filename to pass the file for it to... |
Forum: VB.NET Oct 24th, 2008 |
| Replies: 11 Views: 3,282 One way is you can store the prices in an array, and u can store those in the same loop as the items.
Dim prices() As String
For i = 0 To paths.Length()
num = paths(i).IndexOf(Chr(32))
... |
Forum: VB.NET Oct 22nd, 2008 |
| Replies: 11 Views: 3,282 You should be able to just split the string on the space character, and just loop through the array of items. Kinda like this:
Dim paths() As String
Dim path As String =... |
Forum: VB.NET Oct 8th, 2008 |
| Replies: 3 Views: 1,039 Thanks for the information. I actually did get the problem almost corrected by adding the data in each table in its own subreport. This is actually getting the information correctly and showing it on... |
Forum: VB.NET Oct 6th, 2008 |
| Replies: 3 Views: 1,039 Anyone familiar enough with crystal reports to assist with this? |
Forum: VB.NET Oct 1st, 2008 |
| Replies: 3 Views: 1,039 Hows it going everyone. Im pretty new to Crystal Reports, and I have been trying to create a report. The report that Im creating is loading a dataset and right now I am using 5 tables from it. Its... |
Forum: VB.NET Sep 4th, 2008 |
| Replies: 6 Views: 2,183 Ohh ok I get it, thanks a lot guys, I knew it was something simple I was just looking over |
Forum: VB.NET Sep 3rd, 2008 |
| Replies: 5 Views: 2,388 Set the timer interval to however long you want it to wait until it closes, Start the timer in whatever triggers the form, and In the timer's code Form.Close() |
Forum: VB.NET Sep 3rd, 2008 |
| Replies: 3 Views: 467 You should be able to just right click in the main window where the code is and go to designer view, or go to the Solution Explorer and right click on the name of the form and go to Designer View. |
Forum: VB.NET Sep 3rd, 2008 |
| Replies: 6 Views: 2,183 I mean like since I have filled the datatable in this sub function, and I need the information from the datatable to fill a grid later in a button_click function, how would I pass this filled... |
Forum: VB.NET Sep 3rd, 2008 |
| Replies: 6 Views: 2,183 any1 able to help with this? |
Forum: VB.NET Aug 20th, 2008 |
| Replies: 3 Views: 754 Why are you using html to write a post? lol. If you hold your mouse over his first line the tooltip shows all of what he typed, its not all showing up. |
Forum: VB.NET Aug 20th, 2008 |
| Replies: 6 Views: 2,183 Hows it going everyone. Im pretty sure theres a simple way to do this, but cant figure it out right now. Im still relatively new to vb .net, and have a function that reads a csv file into a datatable... |
Forum: VB.NET Aug 13th, 2008 |
| Replies: 0 Views: 1,006 Can anyone help me translate this regex match in Perl to a VB.Net Regex match? Heres the perl regex:
if ($line =~ /\\([\w\d\s\-]+?\.\w{3})\"\t\"/) { print "LINE: $1\n" } # regex match
And... |
Forum: VB.NET Aug 12th, 2008 |
| Replies: 0 Views: 1,569 Im having trouble trying to pass a parameter to a SQL query that I am trying to run on a DataTable, that Im using to Dynamically populate a treeview. Im not having any trouble filling the first... |
Forum: VB.NET Aug 11th, 2008 |
| Replies: 0 Views: 1,015 Right now Im having trouble getting data from a MySQL table and creating a new datatable to store this. I have a TreeView control that I am trying to dynamically add nodes to. The query that I have... |
Forum: VB.NET Aug 1st, 2008 |
| Replies: 6 Views: 1,426 Hmm, getting a directory not found error when it gets here:
objFolder = objFSO.GetFolder(strTempFolder)
strDest = "The following files are found in '" & strZipFile & "':" & vbLf
strDestTarget... |
Forum: VB.NET Aug 1st, 2008 |
| Replies: 6 Views: 1,426 Can anyone help me convert this VB6 code to get zip filenames to .Net?
Option Explicit
Const strStartPath = "C:\"
Const strDestFile = "c:\output.txt"
Const strDestTargetFile =... |
Forum: VB.NET Jul 31st, 2008 |
| Replies: 6 Views: 1,426 |
Forum: VB.NET Jul 28th, 2008 |
| Replies: 6 Views: 1,426 Is this library able to just list the files? I was reading over it and mostly only saw that it zipped and unzipped files, etc. |
Forum: VB.NET Jul 25th, 2008 |
| Replies: 6 Views: 1,426 Hows it going everyone. Right now I am working on a project with VS2008 that parses directory and subdirectories and lists all filenames/paths/size/etc. This is working correctly, but I also need to... |
Forum: VB.NET Jul 8th, 2008 |
| Replies: 0 Views: 701 Hows it going everyone. I am having trouble clearing the data in an access DB that I am using in my program. I have two DataGrids and each have a table from my access DB bound to them. Im not having... |
Forum: VB.NET Jun 26th, 2008 |
| Replies: 2 Views: 1,815 Dim obj As New Form1
obj.lvitem1 = obj.ListView1.Items.Add(Me.TextBox1.Text)
obj.lvitem1.SubItems.Add(Me.TextBox2.Text)
obj.lvitem1.SubItems.Add(Me.TextBox3.Text)
If you just want each of the... |
Forum: VB.NET Jun 26th, 2008 |
| Replies: 2 Views: 2,000 For a = 0 To ds.Tables(0).Rows.Count - 1
lststock.Items.Add(ds.Tables(0).Rows(a).Item("Brand_Name"))
lststock.Items(a).SubItems.Add(ds.Tables(0).Rows(a).Item("Generic_Name"))
Next... |
Forum: VB.NET Jun 6th, 2008 |
| Replies: 1 Views: 2,928 Query was setup wrong! Got it workin |
Forum: VB.NET Jun 6th, 2008 |
| Replies: 1 Views: 2,928 Having some trouble adding children to tree view. All of the parent nodes are created correctly, but it wont add more than 1 child to each parent like it should. It just adds 1 to each parent. Thanks... |
Forum: VB.NET Jun 5th, 2008 |
| Replies: 5 Views: 4,687 Right, you should use the =@studentno for your query, so it will be something like
SELECT StudentName FROM StudentTable
WHERE StudentNo = @StudentNo
Where StudentNo is the name of the... |
Forum: VB.NET Jun 5th, 2008 |
| Replies: 1 Views: 9,905 Hows it going everyone. Right now I am trying to read data from a text file into a datatable, and display the datatable in a new form. I am trying to use a string array to store the variables before... |
Forum: VB.NET Jun 3rd, 2008 |
| Replies: 4 Views: 2,039 Ohh ok I get it now. So it splits it into the same array, for some reason I thought that it was stopping the reader there. That got it working for me, Thanks a lot |
Forum: VB.NET Jun 3rd, 2008 |
| Replies: 4 Views: 2,039 Thanks a lot for your response. I tried the Split, and now it is actually reading the first Table correctly, but when it gets to the Xml for the second it says that the root element is missing. So I... |
Forum: VB.NET Jun 3rd, 2008 |
| Replies: 2 Views: 2,144 Thanks a lot, that got it working for me. Just created the table with the query, databind, and there it was. Thanks again |
Forum: VB.NET Jun 2nd, 2008 |
| Replies: 2 Views: 2,144 Hows it going everyone. Im trying to compare two tables, and display the rows that are not in both tables in a DataGrid. Im using Visual Basic 2008, and created a query in the TableAdapterManager,... |
Forum: VB.NET May 29th, 2008 |
| Replies: 4 Views: 2,039 Im pretty new to VB, using .Net 2008, and I am saving two DataGrids, ComboBoxes, and Textbox to a txt file, using "*99*" as a terminator between each, but I am having trouble reading it back into... |