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

VS 2008 add numbers from a text file

Hi How can I add numbers from a text file (and there are only numbers in that txt file), without using IO.File.ReadAllLines is there any other method? I can't use the above because my code must work on...

View Article


MS Excel 2010 with VB.net...close opened excel file...

Hi. I have two scenarios I need to do but don't know how. 1- Check to see if that excel file is already opened. If so then close it before writing to it else VB.NET will complain that the file is...

View Article


DataGridView BackColor won't reset?

I have a datagridview in which the user can select multiple rows. When they do this, the row's background color changes. That works fine, however, I have a button on my form that when clicked, should...

View Article

OLEDB connection question

I am querying and appending to a database using OLEDB in some of my code. However, this code is going to be used on quite a few computers on my network. All of them have access to the .mdb file I am...

View Article

HttpWebRequest only working with a Fiddler proxy?!

Hi VBForums, I will keep this short and too the point. I am sending POST requests to a web service API using the HttpWebRequest/Response objects. During testing, the POST requests we're working totally...

View Article


VS 2012 How do I verify a button if it's clicked

HTML Code:   For i = 0 To TABLE.Rows.Count - 1  matchformat = "( " + UCase(league.Substring(0, 3)) + " ) " + " - " + TABLE.Rows(i)("ora") + " - " + TABLE2.Rows(0)("nume") + " - " +...

View Article

VS 2012 Find 5 digit numbers in a bulk text

Hi guys! Let's say I have a bulk of text contains numbers and letters randomly -totally a meaningless paragraph. What should I do to say "find a five-digit number phrase in this bulk"? Thanks a lot!

View Article

Vb2010

Hi, I am new to vb 2010 and am in the process of converting program's that I have written in vb5 ( yes, I am late ). My vb5 program is a map with a label on every country which I can click on to bring...

View Article


[RESOLVED] Preventing the Blue color from showing when selecting a dgv row?

How do you prevent the default Blue from showing when a user clicks on a row of a DataGridView? Can it be disabled? Thanks,

View Article


VB 2010: Show form every other minute

Hello! I need help with my current application. I have a form with a video player, and I want it to show up every other minute in front of another form (My startup form). When you switch to the third...

View Article

VS 2010 Datatable expression COUNTIF or equivalent

Hi there.. In Excel it's possible to do a COUNTIF function on a column... eg say I had a named range called REF filled with A A A A B A B formula would be =COUNTIF(REF,"A") In my datatable I have a...

View Article

VS 2012 Toolbox builder (Get inside for more info).

Hey all. I was wondering if it's possible (and how) to create something like this. I want to make a program that makes you a launcher for a game. You import the game's .exe, and you can also resize the...

View Article

problem with deleting rows in datagridview using the delete key !!!

hello every one i have a strange problem with my app datagridview ? when i select any row and press the delete key it just do nothing . the allow user to delete row propriety is set to true , and i...

View Article


Image may be NSFW.
Clik here to view.

can't save to Excel in Windows 7 but Windows XP ran fine...

Hi. I have a VB.NET application written in Visual Studio 2010. The application was completed in Windows XP professional and worked fantastic - including saving the Excel file (C:\test.xlsx) before...

View Article

VS 2010 Multi Key Hotkeys

Hello, I am working on a program and need to be able to use Multi-Key hotkeys to activate other forms w/in the same solution. Below is the bit of code that I am currently trying to use. Code:...

View Article


problem exporting datagrid values to excel

i am trying to export values in datagrid control to excel .the problem is after debugging ,when i click the button,the application just gets stuck. and i cannot close the form either. i have to click...

View Article

Basic .dll creation questions

I've been writing code in a vb form project for a while, but now it turns out I need to build the code into a .dll file to be used by labVIEW. Long story short I don't really know how to write .dlls,...

View Article


I Need Help Asap!! Please

Ive gotten the file to come up in the list box but thats about it Task 1) A Comma Separated file contains an unknown number of entries. Each entry (record) contains a sales record. The sales record has...

View Article

[RESOLVED] Help!

Read a text file containing a single student's grades. Each line simply contains a letter grade. You can assume that each course is 3 credits Task: Compute the student's GPA Grade table is as follows A...

View Article

best way to download files

Im currently working on a program and am stuck at the point where it auto updates my program seems to always freeze when i download a file from a url link is there a another way to download thus file...

View Article
Browsing all 27554 articles
Browse latest View live