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

Similar windows (WPF) sharing the same methods

In winforms I could just use a base class (form) that has all the methods I would like the derived classes to use but since WPF prohibits 'visual' inheritance how can I do the same 'method'...

View Article


VS 2010 cusotm textbox key event?

Hello anyone has seen this before when you have a custom textbox and the key event don't work vb code Code: Private Sub OnBaseKeyDown(ByVal s As Object, ByVal e As KeyEventArgs)             If...

View Article


VS 2008 How to look for files with certain suffix?

Hello everyone!:) I just started learning VB and I am having fun! This is my first post on VB forum, please help a newbie! In the design window, I have added a list box item named lstData and a botton...

View Article

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 RegEx to find link in source

hi I'm not sure how these work so did some research and did this: Code: 'Scan the source and find download link                 Dim src As String = WC.DownloadString(url)                 Dim st As...

View Article

Storing and Updating Excel Worksheet in an Access Database

I've been trying to store an Excel Worksheet in an Access database and then update the database when changes are made to the worksheet. The main idea that i've had is to use a DataAdapter to fill a...

View Article

[RESOLVED] To give SerialNo of the Record in DatagridView

I'm Retrieving datas into a DGView with a datareader object. In the process is it possible to automatically give Serial numbers for the records (starting from 1) to the first column of the DGV... ??...

View Article


VS 2010 Merge Text Files To Display Specific Values In Certain Areas Only

Hello, I am creating a program in Visual Basic 2010 Express where a list box (lbCurrentStudents) displays a text file (CurrentStudents.txt) to show the current students in a company. There is a text...

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 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
Browsing all 27554 articles
Browse latest View live


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