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

Highlighted a selected line in a textbox

I would like to know if it is possible to create a textbox in vb.net such that whenever I select/clicked on a certain line, I am able to highlight that whole line in multiple textbox. Sounds rather...

View Article


VS 2012 Windows Store Application: Image Source

OK, this really sucks! :mad: I just want to display a picture from a dynamically created path. This is my code : Code:     Private arrFolderNames() As String     Private arrSubFolderNames() As String...

View Article


vs 2010 how to add to that another field in database

assuming i had only one field named "ID" then. Table1TableAdapter.Insert(Me.TextBox1.Text) then the datagrid will input the textbox1.. my question is how if i have two fields "ID" for the 1st column...

View Article

Image may be NSFW.
Clik here to view.

Error: Operation must use an updateable query

hello guys :wave: im getting following error for using Insert query using table adapter and my query is: Code: Me.PendingtblTableAdapter.InsertQuery(PFNOtxt.Text, namev, brcdv, branchv, regionv,...

View Article

Alternatives to Letter Merging in Word in .net?

I am currently writing a .net app to integrate with an access database. I am curious performing document generation (.pdf creation) / mail merging (dynamic letter generation). This feature is available...

View Article


VS 2012 reportviwer11.0

Hello, I am new to vb.net.Worked around 8 yrs on vb6.0 projects.Now working on vs2012. I hv developed one small project with one report.I hv used reportviewer for reporting. Now when i make setup and...

View Article

Summarising arrays

I have four arrays that will have up to ten values in each. Some of the values will be zero or nothing so that the table may look like (i) txtL(i) txtQ(i) txtO(i) S35Q(i) 0 500 20 2 18 1 350 10 0 10 2...

View Article

how to allow multiple users to log in

I have a vb.net application with a database in MS access stored in a machine.The MS access file is stored in a machine and i have around 5 client machines which are supposed to access the MS Access...

View Article


VS 2008 Facing Issue while finding a file on my handheld device through my...

Hi, I am facing issue while finding a file (CeFindFirstFile(..)) on my handheld device through my Desktop application. My Desktop application is VB.NET application and OS is Windows 7. On the other...

View Article


VS 2012 My aplication uses 100% of a CPU core even if idle.

I'm developig a simple aplication with vb.net on visual studio 2012 but it's very CPU consuming, i'm running it on a I5 with 4 cores and always cosumes exactly 25% of the CPU, one full core, even if...

View Article

VS 2010 [RESOLVED] Diff btw

Code:         HTML Code:         Public Class Person         Public personid As integer                         Public Sub New(ByVal id As integer)             Me.personid=id         End Sub End Class...

View Article

VS 2008 Save Checkbox Value in Access databse thru SQL

Hey bro., Please help me to save the checkbox value into access database. below is my code to save one record. Thanks, vb kid Code:     Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e...

View Article

VS 2012 [RESOLVED] Get data mismatch with sql statement

Hi, I have been struggling with this sql statement for my vb application and was hoping someone could offer me a bit of help please? What I'm trying to is basically count all Bookingnumbers that = 1...

View Article


Not a valid Win32 Appliation

i created a small billing software for my friend, the software is connected to an 2007 MS Excel File. Everything was complete and i copied the .exe file from my laptop to his computer. But it did not...

View Article

VS 2012 multithreading question

Hi, I am a vb6 user not much of a vb.net. I was informed in vb6 thread that multithreading is not good to implement. Its either c# or vb.net. May I ask for help on how to do multithreading in vb.net...

View Article


VS 2008 Cannot change text in a string with value of a string array from memory

Hi, i have a little problem, i am doing a application that takes the username stored as string array in process memory and i have a little problem. This string array contains Environment.Username...

View Article

VS 2010 Loading a form in Windows form similar to "modalPopup" in web

I am loading a "loading" indicator in a separate form named popup, while I have a job running. This issue is: The form is blank when it is loaded, I have seen many suggested solutions on web, but none...

View Article


[VB2010] - is there 1 function for test if is numeric and a letter?

i'm testing the keyboard. how can i test if the e.keycode is numeric or a letter? or theres VB2010 cames with a function for testing if is a letter?

View Article

Detect debug mode

Hello, I would like to know whether is it possible to detect, in runtime, via some property, if application is running in debug mode, hosted inside IDE, or as a stand-alone independent executable....

View Article

Fastest way to populate Unbound DataGridView from 2D Array of Strings

Hey Folks, I have an Unbound DataGridView that will display roughly 700 columns and 50 rows of unbound data (it gets calculated by the code and is not a lookup from a database of some sort). Right now,...

View Article
Browsing all 27351 articles
Browse latest View live


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