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

VS 2008 how to limit user

hi guys, as you see this is my first post, im so desperate and need your help, in my company i want to limit some users to prevent using internet etc. i just want them to use some specific apps like...

View Article


VS 2010 making windows not accessible from your program

Hallo, I have a program that must start when the pc is started (with windows 7) and must take over the entire screen. so the start bar can't be visible, program can't be minimized, no ctrl-alt-del...

View Article


General question really about vb syntax and .net

Hi Im fairly new to .net and was really just into programming as a hobby, doing general desktop apps experimenting here and there and i didnt even realise why it was called .net until recently, im used...

View Article

VS 2005 Why I am having connection error (connection was not closed).

Hi. I have a MDI form, under which i have many (child) forms right. On the form load event of every (child) form i have opened the connection right i.e. Quote: cnSql.open My problem is that when i try...

View Article

VS 2010 [RESOLVED] Is there a tidier way to do the Handles part of a sub?

Bad title, sorry. basically, I have a sub I use for many buttons. vb.net Code: Private Sub PhonemePress(sender As System.Object, e As System.EventArgs) Handles Button1.Click, Button2.Click,...

View Article


VS 2008 Search many Employee_id in one textbox

Hi Guys:wave: Can you give coding example to do search many employee_id in one textbox and each id separate with comma and all data found can be view in datalistview? Thanks

View Article

Image may be NSFW.
Clik here to view.

VS 2010 stretching and relocating controls on form.stretch

I wanted my controls to basically "zoom" in or out as the form was resized. I tried playing with dock and anchor but the results wasn't satisfactory. Controls were resized according to the form being...

View Article

Internet Explorer AUTOMATION - VB

Hi all, I am new to this forum and want to post a simple (hopefully) question: I have this website I want to log in: https://kundenportal.gaspool.de/port...let/OpenPortal this is my code: Sub GSP() Dim...

View Article


VB Express 2010: Keyboard input

Hello! I need some help with keyboard input in my forms. I use this code, VB 2010 validate it but it doesn't work in the debug-mode; The form crashing. I want to have a choice to use the keyboard...

View Article


Image may be NSFW.
Clik here to view.

ReportViewer Cannot Add Parameters?

Hello, I have managed to set a dataset to my tablix on my report viewer that will hold all items belonging to a bill. The issue I present you with is I cannot seem to add any parameters to my textboxes...

View Article

VS 2010 Name Splitting Problems

Hi, I'm just having a play around with Vb trying to make little programs, I'm trying to make one within a console that would divide a forename and surname into separate fields, and display them on...

View Article

VS 2008 [RESOLVED] Path

Hi all , I have a little problem with paths. I want to embed an icon in native resources using codedom (I dont want to use any icon injector , their way to stick icon in native flag the app as...

View Article

How do I search a list view for text?

I have a listview with several columns. I need to add a function to search all of the columns for a piece of text specified in a text box. Some of these columns include descriptions, so there could be...

View Article


VB.NET datagridview Click event Error message

I put a click event on the datagridview. Im tryin to get the content of this grid to load some textboxes on a second form. But I kept getting error message, ERRORs Error 1 'text' is not a member of...

View Article

VS 2010 Add ListBox Item

Ok, I used this code to add a listbox item: Code: Private Sub Main_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load         ListBox1.Items.Add("(Test Item)")  End Sub It worked...

View Article


get or set the instance name of sql server compact editon on local system in...

hi in my program there is a database of sql .so this program need (at least) a sql server compact edition for execute.i want to get or set the instance server name of sql server compact edition in...

View Article

please help

hello guys i have a music player and i just need a code that when i press clear button it can clear all items in listbox1 except one item which is already playing !! how to do that help appreciated .....

View Article


VS 2010 opening a dll to view/modify functions

Hi all, I don't need to do this right now but I was curious if it is possible to open a dll in visual basic express to view the code and modify the content. In the past I have worked with a dll that...

View Article

VS 2010 Any way to simplify this code by using Func, Action and lambdas?

Hi! I need to write a piece of code that has to be executed in turn, e.g. first A, then B, then C then D. The methods have to be called async, but the flow of events is sync. I solved this by adding: -...

View Article

Error refreshing DataGridView

Hi I'm having a problem refreshing a DataGridView in VB.net I'm building the view like this: Code: Private Sub Populate_DataGrid()         DataGridView1.DataSource = Nothing         Using SQLconnect As...

View Article
Browsing all 27156 articles
Browse latest View live