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

VS 2012 Sending Packets with a button and text box?

So I have been looking for an easy way to do this but sadly I can not find anything on this. I am up to more complex options/scenarios because I love to learn but sadly I am not very knowing in this...

View Article


How to Delete records from one table and same needs to be updated in another...

Hi, i need help because i'm new to Visual Basic 2010. I have 2 tables with the same fields in MS ACCESS Database 2007 (pending, confirmed) and i am importing data from 1st table to listview control of...

View Article


Image may be NSFW.
Clik here to view.

Looking for people who could help me with a text search

Looking for people who could help me with a text search. Code that I want to make work perfectly, but it finds only one word. So far I have only this code. Code:   Dim a As String         Dim b As...

View Article

VS 2010 Receiving error while passing parameter to query

Hello to all. I have the following code: Code: Dim cn As ADODB.Connection             Dim rs As ADODB.Recordset             Dim cmd As ADODB.Command             Dim pm As ADODB.Parameter             cn...

View Article

VS 2012 Custom date for DateTimePicker

Hello, I'm building program, where i need to put some custom month names in DateTimePicker, because Regional parameters won't get correct month name for me, and i'm really stuck at this time, can't...

View Article


VS 2012 .net 4.5 App on a server with .net 4.0 exporting data to excel

Hi all, i have an application that runs in a virtual desktop. These desktops i believe run .net 4.0 . Mine application targets .net 4.5. The application itself works ok. Except if i want to export data...

View Article

[RESOLVED] Error when creating form

As soon as I click debug, I get the following error: InvalidOperationException was Unhandled An error occurred creating the form. See Exception.InnerException for details. The error is: Value of...

View Article

Windows 8 and Windows Phone 8 Apps

Have you build a Windows Phone 8 or Windows 8 app yet? We are considering a program on the site that would promote (at a minimum list) apps built by our members (you). I'm wondering if there are a few...

View Article


Add Column Header Names at Runtime

How do you add the column header names at runtime? Either using the variables or values from a collection. I can't figure out how I can do this. Please help me. Reference reading is welcome. Thanks

View Article


[RESOLVED] [VB2010] - how use the rectangule Intersection?

i'm testing a collision with rectangule Intersection, but i get an error: Code: Private Sub Sprite2D_Move(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Move         Dim Rec1 As New...

View Article

Question about My.Computer.Network.Ping(ip, timeout)

Gentlemen, I am currently in the process of maintaining a project which I created from the ground up. I won't bore you with the nitty-gritty, but suffice to say that it pings workstations with the...

View Article

Why do some.NET classes use specialized initialization methods and not the...

Hi everyone, basic question that could use someone to enlighten me on... I noticed that the Net.HttpWebRequest class is not initialized using the New Keyword, instead you need to call a shared method,...

View Article

date query in OLEDB

how can I convert a date inside my query to a character using an OLEDB? just like this code Code: "SELECT * FROM Table1 WHERE [Date] ='1/1/2013'" the problem is the date is displaying always like...

View Article


VS 2010 WebBrowser1_DocumentCompleted event handleing

Ok i am struggling with this WebBrowser1_DocumentCompleted. As i see it this code should Set Flag to “1” Navigate to google.com Loop while Flag = “1” When the web page has loaded the event should set...

View Article

Keeping Child Forms within the Parent Form?

I have a Parent form that controls many Child forms. The user is able to move the child forms around within the Parent form to the point where they literally can't see the child form. Is there a way to...

View Article


VS 2012 SetProperty function.

Hello everyone. I'd like to do something, a function called SetProperty. This function will set the property you give it to to the value you set it to. For example, a class full of properties, like...

View Article

VS 2010 [RESOLVED] Reducing class coupling/complexity in this method

I'm trying to streamline my project a little bit today and the Code Analysis shows that this method has a maintainability index of 30 and Class Coupling of 37. From what I've read, that's pretty poor...

View Article


Issues with Entity Framework

Hello all, I am trying to get familiar with the Entity Framework to evaluate if it will be the way to go for my next project, a small POS software. To do so I found a tutorial for vb.net and EF dating...

View Article

Help Looping through a listbox

Hi i am using a timer and the following code to loop through a listbox. i want to be able to stop the timer when the last item in the listbox is selected. any help with this would be Greatly...

View Article

[RESOLVED] [VB2010] - about IntelliSense list

can i change how the IntelliSense lists are showed? or it's a VS problem? i love the way that IntelliSense lists are showed in VB6. but sometimes, in VB2010, make me crazy:( can anyone advice about...

View Article
Browsing all 27349 articles
Browse latest View live


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