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

[vb2012] How to maximize a panel state .

Hi guys, I have a webbrowser code calling a google map into it ( this code was published in this forum) , when I click on search button after filling the address it shows the webbrowser with the search...

View Article


Image may be NSFW.
Clik here to view.

VS 2010 Problem Using GetElementById

Hi Guys, could anyone tell me what I'm doing wrong here? and the correct method to use. Thanks in advanced!

View Article


[RESOLVED] Timed Code

Hi All Looking for the user to be able to enter a time into a textbox in the format: 17:00:00 And when the programme is running, and the time reaches 17:00:00, it will trigger some code. Here's some...

View Article

Audio and RTB

Hi I'm looking for a way to be able to import audio information into a rich text box. Whether this is by drag and drop, or by an "import" menu/ button doesn't matter. I'd like the name of the file to...

View Article

Color from Fontdialog

I am using a fontdialog and all is working well except for a couple things. When I use fontDlg.Color.ToKnownColor I get a integer and was really wanting a color name. So I tried color.tostring and I...

View Article


[RESOLVED] Detect Drive

Hi is there a function in VB.NET somewere werte I can detect if a string is a drive. for example something like this isdrive("c:\") or isdrive("C:") I tryed to make a function but I don;t think it very...

View Article

VS 2010 Importing a text file to a List Box

Hi Guys, I am working on a project, and would like to be able to import text files into a listbox. So that one line in the text files makes one item in the list box, I have successfully been able to...

View Article

VS 2005 Looping through openfiledialog.filenames

I'm currently using VS 2005 on my computer and I realized that I can't do: Code: Dim ofd As New OpenFileDialog Dim str As String If ofd.ShowDialog = .Ok Then         For i As Integer = 0 to...

View Article


Image may be NSFW.
Clik here to view.

VS 2010 Getting Icon for a particular extension..?

Dears, I am making a attachment module where a user selects a file and add to a list which later gets saved into db. So, while the user selects the files the listview shows this all files along with...

View Article


Visual Basic Console Application Copy Percentage?

I am making a Console Application that will copy larger files (up to 2 GB) (with My.Computer.FileSystem.CopyDirectory) and I would like make a percentage indicator. I just want it to show the current...

View Article

Inverting Bits

Hi, I am trying to find a way to invert the lower 4 bits of a byte. For example, I need to convert: 0x64 (0110 0100) to 0x6B (0110 1011) I can do it with what I think is an unreasonable amount of code....

View Article

VS 2010 Unhandled exception on other computers

I made a program with visual basic 2010. It works perfectly fine on my computer, but when I give it to my friends they get an "Unhandled Exception". They even tried running the program as an...

View Article

VS 2008 Open File Solution??

Well, I'm trying to program something(Don't want to get into the specifics) and I want it a file with a certain extension to open in it. For example, it will be able to open internet shortcuts(It has a...

View Article


Looping through collection/group of controls

I searched but didn't see what I was looking for. I'm sure this has been asked/answered before but I couldn't find it. I have a number of checkboxes and would like to loop through all of them to see...

View Article

VS 2010 Creating table at runtime

Okay, I have a project where I created a local database using VB 2010 (mapInfo.sdf). I added a new datasource and had it create the database from that. When I select the Create New Map button, I want...

View Article


[RESOLVED] ReGex Woes...

Hello everybody, I am trying to pull data from a PHP Array. The information is as follows: PHP Code: Array (     [status] => Expired     [registeredname] => First Last     [companyname] => My...

View Article

VS 2010 Testing in Visual Basic .NET

I have written an application in Visual Basic.NET. I am now wishing to do some testing. I have had a look on Google for some resources but still do not know exactly how to create tests. I can see that...

View Article


Resetting Web Browser Anchor Properties gives error at run time

Hi Folks, I have a web browser window that opens html files stored on disk. WHen I try and reset the anchor properties and then run the program, the web browser size remails as originally drawn, and an...

View Article

VS 2010 GeckoFX - How to properly build & release a project?

I've been experimenting with GeckoFX 15.0 recently (great library) but when I want to build my project to a release, the resulting EXE doesn't run. It crashes. I know this has something to do with...

View Article

VS 2010 2D Array Question

Hi guys, I have a text file named "grades.txt" and in it is a list of students with corresponding grades, an example is below: Code: James,46/100,61/100,54/100,57/100 I want to be able to load this...

View Article
Browsing all 27411 articles
Browse latest View live


Latest Images

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