VS 2010 Need Help! Making a game.
Hello. I have been working on a game the pass few nights. The game is similar to Space Invaders. When the bullet hits an npc I would like the npc to go invisible. Due to the npc being now not visible...
View ArticlePainting a gradient
Hello! I have 5 alarm times, morning, noon, afternoon, sunset and night. Now I want my form background to change color depending on what time we are in. If for example it is night at the moment, I will...
View ArticleVS 2008 how to this code (VB.net 2008)
I have a code like this : Dim hasil As String For i = 1 To BinaryStr2.Length Step 3 // 7 hasil &= Mid(BinaryStr2, i, 3) & " " // 1101011 Next hasil = Trim(hasil) // 110 101 1 how does it make...
View ArticleReturned handle is wrong and changes every time.
hello, this Is pete, I've written some code, found out it didn't work, stripped it down to just the problem, and no matter what I do I can't seem to fix it. I'm trying to get the window handle of "test...
View Articlea contorol like lineshape but by more node
Hi I need a contorol like lineshape but by more node. I can't draw it Manual becuse for a project I neet to events : click , mouse up , double click thank
View ArticleCommission Calculator
Hello, I just started my commission calculator VISUAL BASIC PROJECT.. And here is how far I have got,the thing is the pay and summary buttons are not working.. Thank you (IT IS URGENT) Code: Option...
View ArticleVS 2010 [RESOLVED] Text box selection based on a sender
Okay this is hard to explain in words (makes it even harder to search for an answer online) but I will try to explain it below is the code I currently have: Code: Private Sub ClearFocus(ByVal strText...
View ArticleVS 2010 Using MSXML2.XMLHTTP to read table from webpage
I have tried to use a webbrowser in my VB program to load a web page and the table on the web page. It works but VERY slowly and a lot of the time it freezes. I found some sample code that reads the...
View Articlevb 2012 convertall?
So I was trying to translate this code from vb 2008 to vb 2012 and I found some surprises... Dim text As String = u Dim bytes As Byte() = Encoding.ASCII.GetBytes(text) Dim hex As String() =...
View ArticleCheck if Items are in a List Box Using Do While Loops
I need a code that using a do while loop will display a message if: the text is in list box 1 the text is in list box 2 or the text is in neither list boxes this is the code i came up with, but it only...
View ArticleVS 2010 My.Application information in a plugin
Is there some way to return the My.Application information for the dll instead of the application the dll is loaded into? Example, I Have a plugin called PluginTest and it's AssemblyName is PluginTest....
View ArticleVS 2010 How to keep a webbrowser from refreshing?
I tried adding a timer with the fastest interval possible like this- Code: Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick WebBrowser1.Stop() End Sub -But it...
View ArticleVS 2010 How to backgroundworker to update the progress bar?
Hi, i have a program which contains two forms. The main form have a worker thread to run all the processes and in one of the process, it needs to perform some extensive IO operation. During this IO...
View ArticleVS 2010 :D Click all elements in webbrowser besides 1
If I wanted to use a code like... Code: Dim tag As HtmlElement For Each tag In WebBrowser1.Document.All tag.InvokeMember("click") Next ...but I wanted to exclude one element...
View ArticleVS 2008 Not able to insert data into SQL Server using List view in VB 2008
Hi All: I am Creating a Windows application using VB.Net. In which i have written code to insert data into SQL Server using listview in VB 2008 and Showing msg as successfully inserted. But not...
View Articlechange publisher name
hello, i have changed everything in publish setting but it still says publisher : Microsoft see here : http://www.himisoft.uni.me/project/deadfly/publish.htm This didn't happend to me before on...
View ArticleProblem with selectionchangecommited of combobox
Private Sub cmbGroupName_SelectionChangeCommitted(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmbGroupName.SelectionChangeCommitted MessageBox.Show(cmbGroupName.Text) Dim da As New...
View ArticleVS 2010 Returning the difference between two strings
I have done a quick search online and have had no luck so I thought I should post a thread here. Can I please have some help to find and then return the difference between two strings. E.g String1:...
View ArticleVS 2010 My stopwatch in vb
Hey guys, so I made this stopwatch and posted on youtube how to make it. But I wanted to know if my way of making the double digits like in 00:00:07 instead of 0:0:7 is the best solution. Stopwatch Tut...
View ArticleVS 2010 [QUESTION]can some one explean what the boolen fection for?
i saw alots of people using boolen in there codes and i was wandering for what this fanction for.... so can some one of you please explean why do coders use this for? and i use visual basic so if...
View Article