Quantcast
Channel: VBForums - Visual Basic .NET
Browsing all 27554 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.

[RESOLVED] 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

How to add DataColumns by looping through DataGridViewCheckBoxColumn

I have two forms in my project. They are named "Criteria" and "Screen". The Criteria form contains DataGridViewCriteria. The Screen form contains DataGridViewScreen. DataGridViewCriteria's first column...

View Article

Searching for Lib (.dll)

Hi all, Im searching for Lib (.dll) that becomes string to expression. For example if we have function with an argument string: "3 + 1" we will get result: 4 as int for example ||||||| "(3+4)*2 +5" ,19...

View Article

Image may be NSFW.
Clik here to view.

How can I send text from a virtual keyboard i made in VB.net to another program?

I made a simple virtual keyboard to use with my remote on my HTPC to input text, you use the arrow keys to select which selection of keys you want to use then you press corresponding number key on the...

View Article


Refresh datagrid view?

I have a datagrid that is bound to a table in my database (SQL Compact Edition). I can insert, update, delete data to/in/from the database, and the datagrid DOES update EVENTUALLY, however; it seems...

View Article

VS 2010 Reading bits in Big Endian format.

I have never had to bother with Big Endian format before. Recently, my work has required me to mess with it a bit and it's a complete headache. I understand that to convert from little endian...

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
Browsing all 27554 articles
Browse latest View live