Quantcast
Channel: VBForums - Visual Basic .NET
Browsing all 27349 articles
Browse latest View live

VS 2010 Tables Database Question

I needed that my database would update instantly after i input a name to the textbox2.text i use this code.. StudentTableAdapter.Insert(TextBox2.Text) but i need to close the form to able to see the...

View Article


VS 2010 [RESOLVED] Isn't this how you SAVE settings after you change them?

Code:     Private Function RunFolder(FolderToProcess As String) As Boolean         Dim rtnStatus As Boolean = False         My.Settings.Item("FolderToProcess") = FolderToProcess & "xxx"...

View Article


Create a desktop application that acts like a web service?

I would like to create a desktop application that can handle post/get requests, similar to what a web service can do. But it MUST be a .NET desktop application. I am not sure how to go about this? The...

View Article

Image may be NSFW.
Clik here to view.

OutOfMemoryException

In one of my vb.net application i am getting error while running the application.This error does not come always.So i am not able to reproduce the error also.No exact sequence also to reproduce the...

View Article

AutoRedraw Form?

This question coincides with a previous question regarding keeping a child form within the boundaries of a Parent Form. I have since figured the latter out but now my issue is when a user hits any edge...

View Article


Program running in IE

I saw this software and got me curious and i will like to ask questions I visited a company last Monday and saw that the software they use runs in an Internet Explorer The user just type an IP address...

View Article

[VB2010] - why the ElseIf is ignored?:(

Code: Module mdlConvertCode     Public Function ExtendedSplit(ByVal strInputString As String) As String()         Dim i As Integer         Dim objRegExp         Dim objMatch         Dim colMatches...

View Article

XMLWriter I want multiple nodes or tags in a single xml file but my code...

Hey all, I did a search on XMLWrtier here and couldn't find what I am looking for and I am sure it is a simple thing as I see it done all of the time but I am knew to writing to XML I usually use...

View Article


Referencing a DataGridViewCheckBox?

I have a DataGridView that has a column defined as a CheckBox. In the CellClick Event I want to be able to check to see if that CheckBox has been checked or not. I'm not sure how to check it. Any...

View Article


VS 2008 make my form fit any size screen, same resolution

This is probably a classic problem that others have had. I have done some reading, and some websites say "Do it this way", and others give a solution that is totally different. I designed my program...

View Article

NetworkStream.Read() only ever reads first five bytes?

Hi Folks Im struggling along with what is essentially my first TcpClient and first .Net project. I have a windows forms application project with a TcpClient and NetworkStream opened OK, CanWrite and...

View Article

VS 2010 Read and split strings from a text file

Hello everyone i am making an account follower so i have made a program creates accounts and writes the login details in a textfile in this format loginid:pass so i need help in reading the text file...

View Article

Parsing Commands from 3rd party dlls/classes....

So heres basically what I would like to do.... I will have a rich textbox that will allow people to write in commands on each line...so for example Code: Browse [url] [time] Delay [5] Click...

View Article


VS 2010 Copy text from webpage in (unseen) web browser - help please?

I'm looking to load a simple Google search query into a web browser that is not displayed on screen, and then get the text of the page (similar to Ctrl-A, Ctrl-C from the keyboard) to work with. With...

View Article

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 Article


You 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 Article

VS 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 Article


VS 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 Article

Dns.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 Article

Image may be NSFW.
Clik here to view.

Incorrect 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 Article
Browsing all 27349 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>