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

Image may be NSFW.
Clik here to view.

Collision troubles

Greetings, I am making simple Pong application using just one picturebox, which is used as an canvas for everything happening. The code for collisions is : Code: Public Sub Collision()         If...

View Article


resetting question!!!!

hello! my question is how to reset a private sub, I'm not sure if I'm saying it right, but here is an example, Code: Private Sub btnOne_Click (...) Handles btnOne.Click    lblOne.ForeColor = Color.red...

View Article


How to override NULL value returned by a SQL command?

I have a "small" problem. Namely, I want to delete data associated with p_ID value from a table. Before of that, I'm trying to check is there data which should be deleted or not. vb Code: Dim amnt As...

View Article

VS 2012 Multiple Textboxes that read from one textfile

I am in the middle of developing an application that will load lines of text from a txt file to specific textboxes. For example textbox1 would read from line one on the text file. I have this codes...

View Article

VS 2012 Form2.Textbox1 update text from form1.textbox1

So I have been successful in importing form1.textbox1.text to form2.textbox2.text, however it does not update immediately. I have to either begin typing in form2.textbox1 for it to load. Is there a way...

View Article


VS 2010 Need help with a probably simple error im new to this

im really new at this so sorry if its stupid but when I run this code it comes up with the error operator "=" is not defined for types system.windows.forms.labels and integer can you tell me whats...

View Article

VS 2010 Question about Thread.Sleep.

Quick question. Does anyone know if Thread.Sleep yields explicitly yields to other threads while its blocking ?

View Article

Image may be NSFW.
Clik here to view.

How to display the name of every column in a chart?

Hi, I am trying to create a graph to show the user the amount of times they have pressed the keys 0-9. However my graph is only showing the numbers 1,3,5,7 and 9 as shown in the image. Is there anyway...

View Article


VS 2010 AddHandler - With Params

As I understand Code: AddHandler xxx, AddressOf RoutineToRun Will execute the 'RoutineToRun' when the handler is triggered, What I would like to do is pass a param with the RoutinrToRun, so effectively...

View Article


database design for unbalanced tree

Hi every one I need to draw an unbalanced tree in a web page and i need to get the values from a database i have no resource to do such thing , if any one have a reference i'll be thank full :) .

View Article

VS 2010 [HELP]Grab text from website to textbox

HTML Code: <input id="email" type="text" readonly="readonly" value="email@email.com" /> Hi, can someone teach me how to grab the text email@email.com to textbox?

View Article

Editing an excel file downloaded from a server and opened with Process.start

Hi, I have a template that is an excel file. This template had been uploaded to the server. My application downloads this template but I would like to populate it with values from the application. I...

View Article

Help With Combo Box

Hey guys, im getting this error trying to when trying to import a txt file and use it as my combo box. "Handles clause requires a WithEvents variable defined in the containing type or one of its base...

View Article


VS 2012 startup object

in vb6 i know i can choose sub main as startup object but in vb2012 i dont see that startup object. how can i use sub main in vb2012?

View Article

VS 2012 Encrypt/Decrypt an Object

In VS2012, Visual Basic, is it possible to encrypt/decrypt an object? If so, is it similar to a serialize statement with a Cryptography stream, except rather than saving to file, an encrypted object is...

View Article


Image may be NSFW.
Clik here to view.

VS 2010 Simulating a link click

There is a part of an HTML code of my website www.mysite.com Code: <span id="my-footer">   Visit my <a target="_blank" href="http://www.mysite2.com/">second website</a> </span>...

View Article

Image may be NSFW.
Clik here to view.

Webbrowser how to exit site (Leave this page, Stay on this page)?

Don't navigate google.com, javascript msgbox (Leave this page, Stay on this page): Code: WebBrowser1.Navigate("http://www.4guysfromrolla.com/demos/OnBeforeUnloadDemo1.htm")...

View Article


need help with whats probably basic code

im trying to make something were if I click a label it will change the colour of the icon in the label so that it becomes visible when I click it nothing happens this is the code Code: Public Class...

View Article

VS 2010 Need help with a glitch in my game

Hello, I have a glitch in my game that I have no clue how to figure out. The original game has 15 cards and one will flip once the start button is clicked, they will turn back once clicked and change...

View Article

Get String From String

I have this string Code: 91.202.165.65:8080 and I want to take everything before the Code: : and the string will always change the only thing that stays the same is : Ideas? Thanks in advance

View Article
Browsing all 27329 articles
Browse latest View live


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