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

Last row in Microsoft.Office.Interop.Worksheet

In Excel Worksheets("Sheet1").Cells(Rows.count, 1).end(xlup).row will give me the last row in column "A". What is it in VB.net? Sub LastRow() Dim xlApp As Microsoft.Office.Interop.Excel.Application Dim...

View Article


Image may be NSFW.
Clik here to view.

VS 2012 Express: File Search Using Explorer Dialog Window

I'm using a small project to search for files. What I'm finding is that while this does recursively search, there will be times when I want to target a specific folder inside of the search area. I...

View Article


VS 2012 vb.net reference

I am using vb.net 2012 and right now I am trying to figure out about reference. And I arrived in Reference Manager and I wanted to access crystal reports activex designer and runtime library 10.0, I...

View Article

VS 2012 vb.net toolbox

hi, I added new com components to the toolbox which is crystal activex reprt viewer control 10.0 and i was successfully added but when I drag it to the form it causes the vb.net IDE to shutdown? what...

View Article

InterTask communications. Service-to-UI

I have an old VB6 nt service that has a UI. The idea was that the service would start automatically before user logs in. It's a monitoring/logging system for some external devices. If a user logs in to...

View Article


Image may be NSFW.
Clik here to view.

VS 2012 Need help!

I'll keep this simple. I have 3 TextBoxes: TextBox1TextBox2TextBox3 In the TextBox1 i have this text Rp.1,000.00 In the TextBox2 i have this text Rp.2,000.00 So, in the TextBox3 i want to have some...

View Article

Save Listview XML

Every time i search i find loads of different approaches to exporting a ListView and sub items to XML. Kev offers loads of different approaches. http://www.vbforums.com/showthread.p...t%92s-contents...

View Article

Looking for some advice on best practices

I have a few questions on what the best practices of certain things in VB.Net might be. 1. If I am displaying an number in a label, should I convert it to a string myself or should I just leave it as...

View Article


[visual Basic 2010] - can i use Assembly in Visual Basic 2010 projects?

can i use Assembly in Visual Basic 2010 projects?

View Article


Creating a Super Simple WWW Link, Copy, & Paste into Spreadsheet Program

Hi, I'm new to VB. Would someone be able to write me and/or to show me how to write a simple program that: 1-follows a hyperlink from MS Excel to the internet (one of many links like this,...

View Article

Upgrade ASP.NET

I am an old VB6 programmer who is just getting into VB.NET. I bought an old version of VB.NET (2003) just to make sure I would feel comfortable to make the transfer. I am working on Windows 8. My...

View Article

VS 2010 [RESOLVED] Read Last 30 Lines of Text File

Hi all, Really need some help with this, basically I have a text file located at "C:\test.txt" it is populated regularly with visitor information (date & time, name, company etc..). I'm trying to...

View Article

VS 2012 Searching for and copying a file listed in a Datagridview

I am just getting back into VB.net programming...its been a long time! I am writing an app that: 1. takes two columns from an excel spreadsheet and puts them into a datagridview. One column is...

View Article


VS 2010 [RESOLVED] How to find data and delete it from a text file

Hi all, What I'm trying to do is select data from CheckedListBox1.SelectedItem and then search C:\in.txt for that line and delete it entirely. I've tried the replace command, but isn't doing want I...

View Article

VS 2012 EOF - End of file

Can anyone tell me What it Does exactly mean and end of file (EOF) ?

View Article


VS 2012 Print screen shot of every form in a folder

I want to create a document (probably MS Word) containing screen shots of every form in each of my company's projects. There is no one .sln that contains all the .proj files. However, the .proj files...

View Article

if else statement

hi im using thses line of code to pull stuff of an excel sheet Code:        oRng = oWSSheet2.Cells.Find("Class B", , _ Excel.XlFindLookIn.xlValues, Excel.XlLookAt.xlPart, _...

View Article


VS 2010 want to see a grown man cry..errors after changing framework 4.0 to 3.5

Long story short a few weeks ago my pc crashed and I lost my entire project. I have spent every spare minute getting back to where I left off. I the last 2 days I have been working on crystal report...

View Article

VS 2010 Ensure "Sleep" is disabled

Is there any easy way to check if sleep mode is disabled as my program is loading? Ideally I would have the program automatically disable the setting as well. Reason for this is because the PCI card...

View Article

Deleting characters in a texbox

Hello, I'm trying to automatically add a hyphen at a certain position in the textbox whenever i type something new, but I'm unable to delete the second hyphen if I want to edit what I've typed in the...

View Article
Browsing all 27554 articles
Browse latest View live


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