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

ToString Method for Saving Datetime value

how can i save date and time using ToString() Method of datetime picker in vb. dtFrom.Value.ToString("MM/dd/yyyy") // currently i m using this but it will not give me time part. which is also mandatory...

View Article


Need help!!!!!!!!!!

Hi im doing VB language, if i have a few songs in my "form_load" which is WAV format already. how can i program such that it will play it Randomly whenever i run my program??????

View Article


Requesting!!!!

Hi im doing VB language, if i have a few songs in my "form_load" which is WAV format already. how can i program such that it will play it Randomly whenever i run my program??????

View Article

[RESOLVED] Property Set? Get?

Hey, So I should know what this means but I am very unsure right now. Code:     Private _SetHum As Double     Public Property SetHum() As Double         Get             Return _SetHum         End Get...

View Article

Input String was not in correct format

Hi, I receive the error; Input string was not in a correct format.. Line 1270: Dim fileID As Integer = Convert.ToInt32(lnkDel.HRef) Code: Protected Sub lnkDelFile_Click(ByVal sender As Object, ByVal e...

View Article


VS 2010 [RESOLVED] Integer cannot be converted to UShort

I have this piece of code in C#: vb.net Code: return ((UInt16)(((0xFF00 & input) >> 8) | ((0x00FF & input) << 8))); Here is the VB code: vb.net Code: Return DirectCast(((&HFF00...

View Article

VS 2008 problems with navigating webbrowser on form1 from form2

I have webbrowser1 on form1. I would like for a user to be able to click a button on form2 and have that button do two things 1. navigate form1.webbrowser1 from one document to another (for the sake of...

View Article

Image may be NSFW.
Clik here to view.

Project won't compile

hi yesterday my project worked fine but today as soon as I went to add more code it started crying and giveing thee error. Error 1 Two output file names resolved to the same output path:...

View Article


Issue with looping a color change

I'm having an issue with my simon game that I'm updating. In a backgroundworker I'm looping through a list of button's, based on which button it is in the list, the button changes color, sleeps for a...

View Article


Image may be NSFW.
Clik here to view.

VS 2010 Looking for the proper toolset to use

Hi Guys/Gals, Sorry for the newbie question... I've got stored procedure returning a number of fields and want to display them in "List like fashion" Rather than a datagrid. I attached a sample...

View Article

VS 2008 [RESOLVED] Arrays vs. Strings

Hi again! In my project, I'm going to be handling some alphabetic data - strings of letters, perhaps 2000-3000 characters long.... The simple question is: From a performance standpoint, would I be...

View Article

HtmlAgilityPack getting page title and H1 tags

Duplicate... Mod please delete.

View Article

Vb.net 2010 Sort List(of String) : String with Integer

Hello Genius : can you help me how to sort string in List(of String) my code is PHP Code:     Dim _lst As List(Of String) = New List(Of String)({"ob1", "ob5", "ob2", "ob3", "ob33", "ob10", "ob1",...

View Article


Application.doevents

I have this code for application to wait until web page source is downloaded: Code: sub main()   Do Until downloadcomplete                     Application.doevents()   Loop end sub   Sub...

View Article

DirectoryInfo Sorted

This works pretty good for my purposes but it would work better if the files ended up sorted by LastWriteTime. Of the few examples I've tried I can't seem to get the syntax correct. Code:         Dim...

View Article


Reading and writing UTF8 file?

Hello This is probably an easy issue for experts but Google didn't help. I need to read a text file that contains addresses formatted thusly: Code: Address1 Address1 Address1 Address2 Address2 Address2...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Huge application size?

Hi guys, I'm having a strange problem that never occurred to me before. I clicked the pause button in my visual studio a couple of days ago and it threw some warning or error, I don't remember what it...

View Article


problem with keydown event

In my project which is a tile scroller similar to a JRPG, the user presses the arrow keys to move his sprite, home to open his menu and F1 for help. All these work flawlessly, but for some reason, when...

View Article

Adding characters to file name to prevent overwriting?

Hi, I'm making a small application where the user inputs some files in a listbox, and then the files are converted and saved in a folder. However, I still don't know how to make it see if there are...

View Article

How to Read Command Line Commands to your program?

I probably phrased that in a very dumb way. What I mean is let's say my program is ping.exe (the ping tool) How would I make it so that when I type in "ping vbforums.com" my program can receive the...

View Article
Browsing all 27153 articles
Browse latest View live