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

HTTPLISTENER - decoding a client POST

I'm (trying) to write a simple HTTP server in VB.NET I have it up and running using threads, seems to be working fine, serving up web pages and processing HTTP GET's I now need to process HTTP POST's...

View Article


Problem with FileOpenDialog

I just started to create a new program and the program crashed before the first form was shown. I narrowed it down to the fileopendialog but am not sure why I am getting the error. Running in VM...

View Article


Problem with username and access database

Hello all, I have a problem with this code, I created an application with severals programs inside. Some of those programs are banned to some people, those people are clasified into an MS access...

View Article

Help with Timers in visual basic

Hi, i am a beginner trying to learn some visual basic games from youtube so i decided to follow along this persons tutorial on youtube for a mouse game but his timer is confusing me. Can somebody tell...

View Article

VS 2010 Losing Class Variables

I have a class pro_6502 with a few private variables set as, I am assuming, globals within the class: Code:     Private accumulator As String = "00000000"     Private current_address As String =...

View Article


VS 2010 Runtime Picturebox Help

So I'm trying to create a picture box at runtime, but my code just isn't working, no error or anything. Code: Dim componentVisual(10, 10) As PictureBox 'Global Variable Sub displayNewComponent()  Dim...

View Article

Image may be NSFW.
Clik here to view.

Listbox wth Textfiles titles

Hey, This is a part of my program. In the listbox, I want titles of textboxes I made or already opened. (On the picture it is a Combobox, but now it is a Listbox. thank you Attached Images  

View Article

VS 2012 How to get stream from Image (WP8)

Hi! I have been playing around with developing WP8 apps, and noticed I can through an API save contacts to the Peoples Hub programmatically. I found an example on a website that looks like this: Code:...

View Article


Datagrid

My datagrid displays results of a query. The query returns one column and many rows. If the query return 4 rows,Is it possible to display the results like 2 row is on column and 2 rows in another...

View Article


Non-Responsive App when Loading?

Pretty much, as VB does, when a thread/function is in the process of being operated, the program becomes unresponsive (you cant do anything till that function is done executing) This is a problem for...

View Article

[RESOLVED] Keep form active while program is busy

Hi I have a form which asks for user input. Based on this input a database is queried. The found result is then enriched by more queries and presented to the user in the form of a overview. Because...

View Article

[RESOLVED] PropertyGrid - Show certain properties

I'm creating a pretty neat program which implements the PropertyGrid control. Whenever I'm creating my own classes, using the PropertyGrid is fine because the properties it shows are the properties...

View Article

[Help] Creating VPN client

Hello :wave: im a newbie member in this forum , i wanna make a VPN client like Hamachi ...... it allows to connected computers to access my ip like [195.16.78.60] in web browser and it get the web...

View Article


VS 2010 Display Datagridview in msgbox

Hello to all, is it possible to display Datagridview in msgbox? Code:         If MsgBox("Are all data correct? " & vbNewLine _                   & "Data in datagridview: " & Datagridview...

View Article

HtmlAgilityPack get contents in a comments line

I want get content value in a comment line string: HTML Code: <!-- <meta itemprop="contentURL" content="http://**.com/za6dc7.mp4" />--> Code: Dim node As HtmlAgilityPack.HtmlNode =...

View Article


Downloading Automatically a file from an .ASPX page

Hi, i'm working on this project, it requires real-time information from the market. This is the page: http://matonline1.matba.com.ar/operaciones.aspx . I need to automatically download a .csv file, the...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Convert VBA Outlook GetDefaultFolder code

I am attempting to convert vba to vb.net. What is the syntax to convert the following code? Current vba: Code: oCalendar = Application.Session.GetDefaultFolder(olFolderCalendar) My attemp vb.net :...

View Article


Simple Date formatting issue

I have a button that takes the date in a text box and adds 7 days Code: AirDate.Text = Format(datAir.AddDays(7).ToString, "Short Date") it works however it will format it in this 12/1/2013 where i want...

View Article

[RESOLVED] trying to get the smallest number from an array always return "0"

I am writing a dice roller program with VB 2010 express that rolls many different types of dice and up to 15 of each type. I currently have 4 options on for the program. Choose how many dice, Choose...

View Article

Find all available windows by class

Hi! I'm trying to find all windows that have a specific class name. I heard about FindWindowLike, but I tried it and not worked. Anyone have the solution? Thanks anyway.

View Article
Browsing all 27554 articles
Browse latest View live