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 ArticleNeed 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 ArticleRequesting!!!!
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 ArticleInput 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 ArticleVS 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 ArticleVS 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 ArticleProject 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 ArticleIssue 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 ArticleVS 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 ArticleVS 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 ArticleVb.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 ArticleApplication.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 ArticleDirectoryInfo 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 ArticleReading 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 ArticleVS 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 Articleproblem 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 ArticleAdding 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 ArticleHow 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