Forum: VB.NET Sep 9th, 2008 |
| Replies: 3 Views: 2,560 Hmm, I would be interested in this as well....any takers? |
Forum: VB.NET Sep 4th, 2008 |
| Replies: 2 Views: 721 Is your question, "how do i read from an xml file?" if so, try something like this....it returns the element value for datasource.
Dim xReader As New XmlTextReader(value &... |
Forum: VB.NET Sep 3rd, 2008 |
| Replies: 6 Views: 2,156 Yeah, you would declare it as a form level variable....for instance:
Public Class Form1
Private dtTable1 as Datatable
Private Sub LoadDataTable
dtTable = new DataTable
dtTable =... |
Forum: VB.NET Sep 3rd, 2008 |
| Replies: 3 Views: 567 VB 2005 by Murach is my all-time favorite! |
Forum: VB.NET Sep 3rd, 2008 |
| Replies: 6 Views: 2,156 you can pass a datatable just like any other class (string, integer, object, etc). What do you mean by another function? |
Forum: VB.NET Sep 2nd, 2008 |
| Replies: 4 Views: 3,806 Do you have remote debugging turned on over on the web service server? Also, you need to attach the remote debugger in visual studio before stepping into the web service. This is only in the event... |
Forum: VB.NET Sep 2nd, 2008 |
| Replies: 2 Views: 383 That's an open-ended question, try to be more specific.... |
Forum: VB.NET Sep 2nd, 2008 |
| Replies: 2 Views: 271 my first question would be what does number 3 equal when you are sending number 1 and number 2 as the same number? If number 3 is -1, then I could see this result occuring... |
Forum: VB.NET Aug 30th, 2008 |
| Replies: 2 Views: 1,629 Cool, thanks for following up with that. |
Forum: VB.NET Aug 8th, 2008 |
| Replies: 3 Views: 1,208 Or you can make sure you have your application setting set to shutdown the application only after all forms close. My guess is that it's set to form1 right now. |
Forum: VB.NET Aug 8th, 2008 |
| Replies: 6 Views: 596 So did that solve the problem? |
Forum: VB.NET Aug 8th, 2008 |
| Replies: 1 Views: 359 how about saying
Combobox6.text = vbnullstring
instead. |
Forum: VB.NET Aug 7th, 2008 |
| Replies: 3 Views: 1,776 why are you attaching the database every time?
if you attach it, then the second user doesn't need to attach it since it's already there.... |
Forum: VB.NET Aug 7th, 2008 |
| Replies: 6 Views: 596 Actually, the more I look at your code, the more confused I get. You have a select statement from Table1, but then you put it into a dataset with a table name of Table2. Then you put the values into... |
Forum: VB.NET Aug 7th, 2008 |
| Replies: 6 Views: 596 It seems to me you are clearing your list before returnging it from the function. Is that what you want to do? |
Forum: VB.NET Jul 23rd, 2008 |
| Replies: 2 Views: 408 You shouldn't use LIKE when comparing numeric values. I would start by using something else there.... |
Forum: VB.NET Jul 23rd, 2008 |
| Replies: 4 Views: 1,525 Try using the following:
If nim = vbnullstring Then
xobjCommand.Parameters.AddWithValue("@nim", dBNull.Value)
Else
... |
Forum: VB.NET Jul 18th, 2008 |
| Replies: 3 Views: 2,550 Get Setting:
MySettingValue = My.Settings.Default.SettingName
Save Setting:
My.Settings.Default.SettingName = ConnString
My.Settings.Save() |
Forum: VB.NET Jul 18th, 2008 |
| Replies: 3 Views: 1,511 Well, one advantage you would have with .net would be the disconnected dataset architecture. You would open a connection get your dataset and then immediately close the connection and return your... |
Forum: VB.NET Jul 18th, 2008 |
| Replies: 3 Views: 1,231 Yeah, definitely go with clickonce deployment, but I disagree about the access comment. I work for a company with 20 plus users hitting an access application/database.
Clickonce is very simple to... |
Forum: VB.NET Jul 17th, 2008 |
| Replies: 1 Views: 1,029 dim intColumn as integer
intColumn = 1
dim cellvalue as string
dim lastcellvalue as string
lastcellvalue = vbnullstring
for i = 1 to 1000000
cellvalue = cells(i,intColumn)
if cellValue =... |
Forum: VB.NET Jul 17th, 2008 |
| Replies: 6 Views: 5,200 I wasn't sure, but I thought it was worth mentioning just in case:) |
Forum: VB.NET Jul 17th, 2008 |
| Replies: 6 Views: 5,200 I think it's
Me.BindingSource.Filter = "Column LIKE '%" & Textbox.Text & "%'" |