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

[RESOLVED] VB2012 - How to set form to center position and make it modal at...

Hi, I need a form to start in the center of the screen but I need it to be modal so it always remains on top. I have code that centers it great but the form is not modal. How do I make this form modal...

View Article


moving from VS 2003 to VS 2012, trying to resolve missing references

Please be warned: I am not well acquainted with .NET programming as I only have occasional need for it. I'm working with a smallish app/solution written in VS 2003 (VB) and I want to make it run on...

View Article


VS 2010 I am new coder and I need help, thanks

I want to create a app to convert a simple sentence in a HTML tag for example I enter in a textbox "visual basic is nice" then I choose the tag H2 then the software create a html code like <div...

View Article

VS 2012 What type of collection would you recommend?

I have been using VB.net (very old versions) for quite a while but not in the last 7-8 years. I have VS 2012 and .net 4.5 and it is clear that they have added a dizzying array (no pun intended) of...

View Article

VS 2012 How to check for specific process and terminate app when the process...

Hi, I have an app to be used as a dialog box that needs to be running as long as the wscript.exe or cscript.exe processes are running. It will be launched by a vbscript so wscript or cscript will be...

View Article


VS 2010 WebBrowser1 Problem.

Good day. I'm having problem with webBrowser1 in VB win forms application. My problem is when i'm try to open external links inside the VB webBrowser1 IE will pop up in newtab by default. All i want is...

View Article

VS 2008 Avoid Form Goes Blurr or blank while loading

i am having 2 datagridview controls which are gets populated with data from database on form load event during the course the form goes for 1 or 3 seconds blank or blurr & then creates the controls...

View Article

Binary Access Read Write Lock Read Write in vb.net?

Hello, I am looking for Binary File read Write Lock access in vb.net. In VB6 we can lock any file with the following code: Code: Open filename For Binary Access Read Write Lock Read Write As #1 How to...

View Article


How to fix Null error

Value cannot be null. Parameter name: objectType Is the message that I get as soon as I load my application. I have tried to go edit the program but cannot get it to allow me to edit anything. The...

View Article


VS 2010 txtboxes into ActiveCells (Excel)

Hi First time poster here I have a problem cant seem to figure out. I have three text boxes, i need to copy into three active cells excel on a workbook i already have open First problem I cant get it...

View Article

Form Load, Focus on multiple textboxes.

Well I have a formatted some textboxes to accept currency which is; Try 'if theres nothing entered default it to 0.00 If txtTotalGPMA.Text.Length = 0 Then txtTotalGPMA.Text = "$0" 'convert the text to...

View Article

Image may be NSFW.
Clik here to view.

How do I add 3 textboxes in a GridView?

I have a gridview which gets first column description from the database table. However I want to add 3 more columns with texboxes for each row. Users will enter a number in any of the textboxes. They...

View Article

POST Data website login not working

Hello, i have constructed a POST request to log into the website www.buyincoins.com Here is my code; Code: Private Sub Button6_Click(sender As Object, e As EventArgs) Handles Button6.Click         Dim...

View Article


Image may be NSFW.
Clik here to view.

VS 2012 How to update database [ example ]

Hello I'm working on little project and i stuck . I Add a row and add a record into database but when i reopen database there is no new record .. Example Code: Private Sub Btadd_Click(sender As Object,...

View Article

Help (re) arranging code!

I'm programming a robot! Which is cool... *but* even though I can program the robot in it's proprietary language, it requires that for a custom GUI, I need to write it in vb.net, which I'm new at. The...

View Article


VS 2010 Random amount of contextmenustip items

In my current application I have a ContextMenuStrip which can hold a random amount of items. Because I can't know how much items it will hold I can't just make a sub for each menu item. Can anyone tell...

View Article

Image may be NSFW.
Clik here to view.

How do I customize GridView by adding 3 textboxes and 4 headers for each column

I have a gridview which gets first column description from the database table. However I want to add 3 more columns with texboxes for each row. Users will enter a number in any of the textboxes. They...

View Article


Image may be NSFW.
Clik here to view.

VS 2010 newbe needs some help with a simple program (code included and screen...

Hello VB community, I am taking a intro to VB class this fall and the assignment for this week is to create a program that keeps a running total of the numbers a user enters and also can average out...

View Article

VS 2008 struggling to understand tableadapter/datagridview/bindingsource/dataset

I read about these things and it does not make any sense to me at all. From my perspective the dataset/tableadapter/bindingsource come togethter to form the datagridview in the same way that the...

View Article

[VB2010] Get the REAL OS datetime format

How to get the datetime format set in the OS control panel for every single user? System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern gets the CURRENT THREAD DateTime...

View Article
Browsing all 27329 articles
Browse latest View live


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