How to begin coding a brain for a similar to 8-puzzle game to calculate least...
I managed to solve this problem with a brute force with RNG it takes around 4-5 seconds to find the best solution even though the working grid is a 3x3. I want to know how do I make it possible to...
View ArticleYou Wrote It! Why Can't You Read It? (Xml Serialization)
What started as a gentle little stroll in paths I don't usually walk has me entangled in briars! I cannot for the life of me work out why ... vb.net Code: Public Class Form1 Dim dt As New...
View ArticleVS 2012 VB.NET WebBrowser Control Problem (Object reference not set to an...
Hello all, I'm working on a project where I have a WebBrowser control which needs to have a custom user-agent set, then go to Google and fill out the search box, click the search button, then click a...
View ArticleVS 2010 How to make subtitles
Hi, I am using a windows media player control in my program and am trying to show subtitles with a transparent background over it. I tried creating a transparent form with a transparency key and...
View ArticleDns.GetHostEntry Error: No such host is known.
Dim ip As Net.IPHostEntry = Dns.GetHostEntry("http://www.example.com") Throwing run time error "No such host is known." Pinging via cmd.exe is successful and shows the servers IP. :(
View ArticleIncorrect tab order in input window
I've ran into a quirky issue and I can't seem to find a solution. Working on an textbook assignment. It's basically done, but I got one bug. Basically, I have popup window where the user enter's a...
View ArticleAdding blank lines to http header?
Hi everyone, have a unique issue I believe someone on here could help me on. I am using the HTTP POST API of a service, which is intended for programmers to utilize. However, the way their server...
View ArticleVS 2012 Updating Access databse through visual basic
I have connected my visual basic application with an access database. Showing, editing, adding of the data in a datagirdview work just fine. When I try to save the data I just edited in the database it...
View ArticleVS 2012 SQL get values from function
If I have the following SQL function: Code: CREATE FUNCTION usp_GetValueTesting ( @ID VARCHAR(10), @Description VARCHAR(10) ) RETURNS VARCHAR(50) AS BEGIN return @ID + @Description END How...
View ArticleVS 2010 At what .net framework should I compile my software for more stability?
So I coded this software for a shop, and when I presented it I kept having errors. My software was compiled in .net framework 3.0 and it ran perfectly fine in my computers and laptop who are using the...
View Article[VB2010] - show numbers in a PictureBox by line spacing size
i convert these sub from VB6 to VB2010: Code: Private Sub WriteLineNumbers() ' write the line numbers in the picture box.. ' nice and quick way with the Print method.., ie.. no fancy...
View ArticleVS 2010 webbrowser disable flash and images
I've been searching on how to disable flash and image on webbrowser for few days now but still can't find a solution. some say importing a blank msacm32.dll would do the trick but I still can't get it...
View ArticleHow to Deploy a SQL Server 2008 Express database on a different computer
First time using SQL Server. I have created a SQL server 2008 Express database called "AbcDatabase" using SSMS. I have detached "AbcDatabase" so that I can use it in my application. I have an Windows...
View ArticleHow to get same values into List(of Size)
Hi :wave: please help .... _framelayersize is a LIST(of Size) .. 1) values are .. _framelayersize .Item (0) = {10,10} _framelayersize .Item (1) = {10,10} _framelayersize .Item (2) = {10,10}...
View Articleusing a webbrequest to do functions in webbrowser
INFO: i have a webrequest that i would like to impliment into my program that will do a function on my website but sending the webrequest alone doesnt work and also sending a login request errors with:...
View ArticleMultiple Interfaces
I have an annoying problem I'm pondering: A dll has an object that implements a couple interfaces. One of these interfaces is IMetric, which exposes a couple methods that expose a means to calculate a...
View ArticleActivate a Timer that is Inside a User Control
What I have is a custom made user control, which includes within it a couple of buttons, a textbox, a couple labels, and a timer. Essentially in this control you have one button that starts the timer...
View Articlejquery effects in vb
is it possible to add javascript or anything of the kind to a vb project for visual effect like a image pop up light box when image is clicked then fade away when user exite the pop up most likely a...
View ArticleVS 2012 DataGridView Columns
Can I please have some help with some code. Code: Private Sub SetupDataGridViewColumns(DataGridView As DataGridView) Dim DataGridViewColumnCollection As New...
View ArticleVS 2012 How to replace words in a string
Hi I need to replace sum words in a string. EX: me and amanda are go to town. When I use this Dim s As String = FileString.Replace("and", "") it removes the and but it also removes the and from amanda....
View Article