- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
19 Posted Topics
Hmm, I would be interested in this as well....any takers?
Is your question, "how do i read from an xml file?" if so, try something like this....it returns the element value for datasource. [CODE] Dim xReader As New XmlTextReader(value & "\xmDatabasePath2.xml") Dim strReturnString As String = vbNullString xReader.WhitespaceHandling = WhitespaceHandling.None Do While True If xReader.Name = "Datasource" Then Return xReader.ReadElementString …
you can pass a datatable just like any other class (string, integer, object, etc). What do you mean by another function?
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...
That's an open-ended question, try to be more specific....
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 that the web service is on a different server than your development machine...
Cool, thanks for following up with that.
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....
It seems to me you are clearing your list before returnging it from the function. Is that what you want to do?
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.
how about saying [ICODE]Combobox6.text = vbnullstring[/ICODE] instead.
Try using the following: [ICODE] If nim = vbnullstring Then xobjCommand.Parameters.AddWithValue("@nim", dBNull.Value) Else xobjCommand.Parameters.AddWithValue("@nim", nim) End If[/ICODE]
You shouldn't use LIKE when comparing numeric values. I would start by using something else there....
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 dataset. That way you don't have to worry about the internet connection being reliable.
Get Setting: [CODE]MySettingValue = My.Settings.Default.SettingName[/CODE] Save Setting: [CODE]My.Settings.Default.SettingName = ConnString My.Settings.Save()[/CODE]
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 set up, you simply create a publish location (which is typically the same as your update location). Then you …
I think it's Me.BindingSource.Filter = "Column LIKE '%" & Textbox.Text & "%'"
[code] 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 = vbnullstring then cells(i, intColumn) = lastcellvalue else lastcellvalue = cells(i, intColumn) endif next i [/code] hope that helps!
The End.
asnider