vb

INF Install Failure When Installing Visual Basic 6 Run-time SP 6 on Windows XP

I am trying to install the Visual Basic 6 run-time SP 6 on Windows XP. After I decompress the installer to the Desktop and run it I get the following error, "INF Install Failure". What could be causing this error? ...

Algorithm to find word on boggle board vb .net

Hello, I'm building a boggle game in vb .net. Right now, my dices are as a 2d array (0,0 0,1 ) etc... What I want it to do is, as I'm typing the word, that it hilights it on the board using the button(x,y).doclick sub which highlights it. Right now my implementation finds the first letter, then keeps trying each letter until it meets t...

Psuedocode of this algorithm

Hello, Im making a game that involves a 4*4 grid the user enters letters and the game has to highlight the letters and they have to be next to one another. I have a sub that checks if the current letter is next to (or neighbouring) the last letter. Basically what needs to happen is : for each letter iterate through the grid and try ev...

Multiple interfaces with vb .net

Hello, Im building a game with vb .net I designed the core of the game in form1 window But now I need menus. How can I implement this without having 5 or so windows that I show() and hide() ? Doing that slows it down a lot and uses lots of memory. I tried tabs, but I dont want the tabs to appear, just switch. Whats the best way to imp...

How do you declare inheritance from a more than one entity (a class and one or more interfaces) in VB.NET?

I can't get a handle on the syntax. Can anyone give me a simple demo? ...

Get "real" IP address with vb .net?

Hello, I'm looking for a function that will give me my real ip, not my local ip. the function i currently have, returns the ip in network and sharing center which is 192.168.2.100 But if I go to whatismyip, then it gives my real ip. How could I get this using vb .net? thanks ...

Hide or Disable the MS Word Pop up menu While Right Click on the Active Document of the Dso Framer Control With Vb 6.0.

I am using the Microsoft DSO Framer Control to view the word document in the Visual Basic Form. After Hosting(Open) the Word Document in the DSO Framer Control. While Right Click on the Word Document, Ms word Context Menu is Appearing. I Want to Hide this Pop up Menu. Can any One Help me out in this Problem. I am Waiting for the Sol...

Lines of code in your VB project

What is the easiest/simplest way of finding out the number of lines in your VB project? ...

'<methodname>' has multiple definitions with identical signatures error

Hi I have been trying to use Subsonic 3 in a test application in order to understand how it works. However, when it builds the vb files from the database the files are full of '' has multiple definitions with identical signatures errors. I am using Visual Studio 2008 configured for VB. Has anyone else seen this problem and have sugges...

Switching Visual Studio to C#?

trying to get my first windows form running with controls. I havent been able to figure anything out. . . and then i realized duh, it's all in VB. How do I switch the generated files to C#? Am I confused? This is what I'm getting when I try to add my first control for Button_Start: Public Class Form1 Private Sub Form1_Load(ByVal se...

Read and write to the registry with VB .Net

Hello, I made a game and I would like to store the high score and other values in the windows registry. It's made in vb .net. Could someone give me a sample code example of simple reading and writing to the registry. Thanks ...

Embed Dictionary into vb .net application

I want to embed a dictionary.txt which my program uses a streamreader object to parse. I tried to add it to resources but then the streamreader had an error. How can it be properly done? Thanks ...

Why doesn't the Union function in LINQ remove duplicate entries?

I'm using VB .NET and I know that Union normally works ByRef but in VB, Strings are generally processed as if they were primitive datatypes. Consequently, here's the problem: Sub Main() Dim firstFile, secondFile As String(), resultingFile As New StringBuilder firstFile = My.Computer.FileSystem.ReadAllText(My.Computer.FileSyste...

Cycle Through Listbox on Click Event

Hi, I have a listbox with items, and when I press a button I would like to go to the next item. I'm having a horrible brain fart and have been for quite some time. for x = 0 to listbox1.items.count - 1 label1.text = listbox1.items.item(x) x += 1 next Probably a dumb mistake on my part :( Thanks! ...

Using a Timer to Loop

Hi guys, I have a label who's text is determined by looping through a listbox upon a click event. I would like to have a timer loop through the listbox (... to set the label's text) if the button is not pressed in time ('x' seconds). Please help, so lost ...

MS Access 2003 - How can I delete records from a table that have certain criteria

Rookie question I know. I have a table with about 10 fields, one of the fields is a category field. I need this field to exist because of the multiple types of categories. However, one category in this field is wrong and is duplicating results. So can I delete all records in the table that have "Type320" in the CatDescription field, an...

Programably click and move mouse with VB .Net

Hello, I want to build a program in VB .net that will allow me to control my pc with my laptop. The only question I really have is, how can I programably click without using some kind of click event, say if I want to click the start orb and my mouse is at that exact location, I'd like a sub or something that will click on it. Right now ...

Setting Focus on DataGridView Control programmatically in Visual Basic

I want to programmatically set the focus to the last row (bottommost, its only one column wide) in the DataGridView control for Visual Basic. How can I do so? So far, I have tried DGV.Rows.GetLastRow(DataGridViewElementStates.Selected) without success, though I did not expect that to work. It absolutely must select that last cell. ...

Reference to a non shared member requires an object reference

hi guys, I have added one class under namespace BusinessLogics. I have inherited System.Web.UI.Page to class and showing error as 'end expected' in System.Web.UI.Page Namespace BusinessLogics Public Class BllUploadImages Inherits System.Web.UI.Page End Class End Namespace How can i remove my error.Can anybody help? ...

How to generate a UUID for Exchange - using WebDav for appointment creation

I have an web app that is creating appointments for clinicians within a EMR. The clinicians wanted a way to send the created appointments to their outlook calendars as a way to sync appointments to their Palms, Blackberries, etc. I am following this: http://msdn.microsoft.com/en-us/library/aa493903.aspx What I am running into is that ...