I'm using vb.net 2005, I've got the following code running a thread to download a file. However, the process fails sometimes when trying to read the local copy of the file. I think I may need to unlock the local file somehow but I'm not sure how to do this. Can someone take a look and advise me ?
Dim BP1Ended As Boolean = False
Private ...
hello,
how can i append the text in rich text box say i need to append in line 40 and column 30
...
Basically, i am trying to determin if an application made for 1.x will run on a computer with just one copy of the .NET framework installed which is a higher version than what i am targetting, ie: it only has one copy of .NET 2.0, or 3.0, or 3.5 or 4.0 - has one copy of either of these and thats it, the hypothetical computer would not ha...
hello,
is it is possible to scroll an image inside an picture box while pressing the key down event....
...
Hi,
Hopefully a question with a very quick and simple answer; In previous versions of Visual Studio and Visual Web Developer I've been able to type 3 apostrophe's (i.e ''') on the line before a function that results in the auto generated comment like:
''' <summary>
''' </summary>
''' <param name="sender"></param>
''' <param nam...
Hi!
I've just recently added a rather large flash header to a customer's website. It works ok, but the flash takes a really long time to load.
I was thinking that I might be able to make it load faster by loading it on the server side rather than the client in visual basic.
Will this help? If so, how do I do it? If not, how can I impr...
I've got a "Loading" form which I display as a modal form when doing lengthy processes.
I'm using the below to keep the form centred within the child form performing the process. However, when minimising\maximising the "Loading" form appears before the parent making it look a little unprofessional.
Anything I can do about that (Delay it...
Hi guys,
i have a problem. I have database with a tableadpater. i want to get the userid with this tableadapter.
Dim dsGN As New ForumTableAdapters.Message2TableAdapter
Dim dtBetrieb As Data.DataTable = dsGN.GetUserIdFromThisMessage(ConversationID)
For Each objRow As dsGN.Message2Row In dtBetrieb.Rows
mystring = ob...
Is there a way to have a class collection of inherited types be initialized?
For example, here is my code:
Public Class CamryCar
Property Name As String = "Camry"
Property Color As String
End Class
Public Class RedCamry
Inherits CamryCar
Sub New()
MyBase.New()
Color = "Red"
End Sub
End Class
Public...
I have a question. I have a class of Cars that I need to display in a simpli-ish string if they will be sold or not base on their number.
So like this:
Public Class Car
Property Index As Integer
Property Sell As Boolean
End Class
Public Class Cars
Property Vehicles As New List(Of Car) From {
{New Car Wit...
I want to create a combobox like winform control in VB.Net that makes suggestions dynamically; exactly as the address bar does in Google Chrome or IE 8/9. Basically on each keypress, get a list of items that match the entered text on a background thread(s) and show these items in the dropdown list as they are (possibly slowly) returned -...
Hi i want to convert following number to character equivalent but without using any special character. Please Help me. Thank you very much
32545352515049515448524848495270484848484870706670666970
...
Hi,
Sorry for the lame question, but I can't think of a decent way to ask.
When I have certain text selected, Visual Studio highlights certain other related text. If my caret is within "Get", the "Return" and "End Get" lines are highlighted. If I put the caret within the name of an instance, all references to it are highlighted. "If" h...
I need to create a table with just 1 column containing times (starting from 4hrs) which increase in increments of 10 seconds for each row. So it needs to look something like this:
04hrs 00mins 00secs - 04hrs 00mins 09secs
04hrs 00mins 10secs - 04hrs 00mins 19secs
04hrs 00mins 20secs - 04hrs 00mins 29secs
.....
06hrs 59mins 50secs - ...
I have in my project a report that calculate some event ...i want insert a chart in this report but its unshown when i complie it ....
its shown like un appernce image :(
RunTime
Application
Thanks in advance
...
i am using vb.net2005 and ms sql server2005 i want source code for autogenerate the empid in my table . for example' sb1001'
...
Hi i Have Used Database file for storing Data in my Application.
Now I want to take backup of data in Access, Excel or in Any other
Format. Thank You..
...
I'm deserializing a custom object from a file to an object in my app using the XmlSerializer. My issue is that I want a field in the object to default to "True" rather than "False" for a new property that doesn't exist in the file that I am deserializing from.
By default, .Net is assigning this value to be false because it doesn't exis...
I'm quite comfortable with VB and have a very large project i need to do. I've come across SubSonic and it looks awesome.
I am not clear if i can use it in VB. I've seen a a couple of posts that suggest they did but on the site it specifically shows C#.
Can I use SubSonic with VB.NET?
...
Imagind I have the following in VB:
function doSomething()
From ou In ctxt.Users.Where(Function(p) p.UserName = username)
...
end function
how can I send the filter as parameter (something like below)?
function doSomething(filter as whatTypeHereAndHowToInstantiateInCallingFunction)
From ou In ctxt.Users.Where(filter)
...