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

VS 2008 i need help for complet my project

i am working with vb.net.......i need code for dijikstras algorithm in vb.net.......i hav taken 5 nodes........the paths are 1-2-5,1-2-4-5,1-3-4-5 can any one tell me the coding for these.........pls

View Article


Pause main form till a secondary is closed

Hi all, I want to open a secondary form from my main form, using Dim form As New Form2 form.Show() and after the secondary form is closed to run a subroutine on the main form. For some reason this code...

View Article


How to arrange bit side by side

I have some problem to arrenge bit side by side. I have a binary value of a charecter is 00010000. which is stored in LSB of a pixel in an image, with the pattern of 3:3:2 from the char bit. ie r =...

View Article

VS 2010 How to get the sum of a column and display it on txtbox

Good day everyone! i am new in using vb.net. my concern is how can i get the sum of a particular column in a datagrid and display it on a textbox. if i click a button, it will sum the total of all...

View Article

Issues saving data from datagridview to database

Hi All, I'm new to this forum and straight off the bat I start bothering you guys with an issue, or as we call it at work a "challenge". I'm quite new to Visual Basic and mainly have thought myself to...

View Article


Finding Printed Circuit Board dimensions using Gerber file co-ordinates

Hi, I have found this Python code Code: #!/usr/bin/env python # Gerber query script # Usage: ./gerber_query.py board_edges.gbr # Written by Matthew Beckler for Wayne and Layne, LLC # Based on a script...

View Article

VS 2013 Syntax Highlighting is not efficent

Ive created a function for Syntax highlighting but when it comes to having to check for over 100 of the same words, it gets to the point where it continues to go and check the words selecting them all...

View Article

about printer

i'm building a database program, but i need do a print way too. in these case, i don't need show the print viewer. so anyone can advice me how to print a 'table'? (i never used the printer object)

View Article


VS 2012 Add treenodes from files within directories

Hi, Im using the below code to look through a directory and add the folder names as treenodes to a treeview control. I'm needing then to search the folders and add to each respective node any file that...

View Article


Image may be NSFW.
Clik here to view.

VS 2012 Replicate the Windows desktop text shadow effect

Hi, Does anyone know how to make that shadow effect on a Winforms label control? Maybe with an API call or something?? I have tried quite a few 3rd party controls lately with some kind of shadow...

View Article

VS 2012 Shortcut doesn't appear

I tried creating a shortcut, however, the shortcut only appears when the Alt key is pressed. Is there a way to show the shortcut when the form loads.

View Article

Copy/Paste Keys

So example i have Box1, Box2, ..., Box5. All are Textboxes Its in row for serial key, if you dont understand screen : http://screencast.com/t/3S742kon6Y Is there anyway i could Copy/Paste all data from...

View Article

How to cancel and exit when the user clicked inside inputbox

Is it possible if I didn't change rainfall as string? I need it as integer to put in numbers. Code:         Dim rainfall(11) As Integer         lstInput.Items.Add("Monthly Rainfall Input")...

View Article


Issues deploying application to web Server 2012 R2

Hello, I have an application that I am trying to deploy. The application is an offline and online capable app, I want it on the web server so that employees off site can download the app as well as...

View Article

Calculate 10 days from current day minus weekends

Hi all, I need to calculate the date 10 days after the current date minus the weekends. Someone could help me?. .

View Article


VS 2008 How to replace a word in this code?

Hello! I was wondering if someone could please offer some advice on how I could do this, as I am completely stuck. Code: Sub Main()...

View Article

VS 2010 Simulate a mouse click Without activate the window

With the API SendMessage NativeMethods.SendMessage(Hwnd, WM_LBUTTONDOWN, 1, lParam) NativeMethods.SendMessage(Hwnd, WM_LBUTTONUP, 0, lParam) I can simulate a mouse click even if the window is NOT in...

View Article


VS 2010 telnet to several servers one at a time using a loop but only get the...

Hello group. I need to connect to several unix boxes one at a time using a loop but once I connect to the first one then disconnect from it I cannot connect to any of the others. I have to close my...

View Article

VS 2010 When application closes, close a process?

Hey guys, so I am attempting to create a nice simple Anticheat. So how do I make it so whenever my application closes, to kill a process? I have: Code: Private Sub Form1_FormClosing(ByVal sender As...

View Article

collision = stop moving

Hello, I'm kinda new to visual basic and i'm working to a game but there is a problem: When i move my person to a tree it stops moving but i cant start moving again. I just want to stop my person to...

View Article
Browsing all 27569 articles
Browse latest View live


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