VS 2008 Printing a form
I'd like to ask something which might be ridiculous , but - who knows - maybe it's possible :) ! So , is there a way to print a form on a printer ? I don't know if there are any improvements or...
View ArticleFill a Combo box from a dataset
Hello again. Still pretty new to vb 2010, but starting to understand it as I use it. I have a problem with filling my combobox, which I fill from a dataset. I can get my list to show in the combobox,...
View Articleadd datasource to dynamically created DataGridView
Hello, In my form I am dynamically creating a tabcontrol with various tabpages. each tabpage has a dynamically created DataGridView. If the tab page is called 'page1' the DataGridview is also called...
View ArticleVS 2010 [RESOLVED] How to detect character position (index) of click in...
I'm making an app that allows the user to easily write words/phrases/sentences in phonemes. I made a series of buttons and put a picture of the phoneme on each one and copied the SIL Manuscript...
View ArticleVS 2010 HtmlAgilityPack getting page title and H1 tags
Hey all i am trying to get the page title and H1 tags from a webpage by doing the following Code: doc.LoadHtml(htmlSourceCode) txtTitle.Text = doc.GetElementsByTagName("title").InnerText()...
View ArticleVS 2008 Trying to read a text fule but have a problem
Hello, I was trying to read a txt file in VB.NET but it would only read the first few characters no matter how I did it. I opened the txt file in Word and saw it stopped reading when I got to a square...
View ArticleVS 02/03 String Concatenation
Hi, Can some one help me with this Program which concatenates 2 strings x(abcd) and y(1234) and return z(a1b2c3d4) as an output and check if these 2 strings have the same length before concatenating....
View ArticleVS 2010 Deleting array element runs FOR loop out of bounds. -Alternatives?
Attachment 95213Hello again, my friends. :) I have a small problem, and can't wrap my head around any other way do perform the task. In my main form, I have a timer. This timer does checks on...
View ArticleHow to extract data from a HTML table?
I recently downloaded HtmlAgilityPack but I haven't found any real instructions on how to use it. I have attempted to piece together some code based on some various discussion board posts and other...
View ArticleVS 2010 [RESOLVED] Syntax Error in INSERT INTO statement..
Code: Dim DC As New DateConverter(Now.Date) Dim day As Double = DC.GetUnixTimestamp(DC.ToAD(StrToDate(txtDate.Text))), BillNo As Double =...
View ArticleVS 2008 how to retrieve checkbox checkedstate when done in listview
kindly help me on how to retrieve checkbox checkedstate when retrieving in listview..i badly needed it,,
View ArticleVS 2010 DateConverter Class - Convert Nepali Date (BS) to English Date (AD)...
This object prototype lets you convert Nepali Date (i.e. BS) to English Date (i.e. AD) and vice versa and perform Unix Timestamp conversions Limitation: Only works between the range 1994 AD - 2033 AD (...
View ArticleVS 2010 [RESOLVED] used only active form
hi, if form2 open then lock all form and only use form2 other all form is disable how to?
View Article[RESOLVED] VB 2010: What the ...... ?
vb.net Code: Dim x As Integer Dim y As Double Dim z As String = x & y & "No!" Why isn't this monstrosity an error even with Option Strict On? :eek:
View ArticleVS 2010 Master Detail selection fails
Hi all I have 2 DataGridView that are populated with the following SQL query: Code: masterSQL = "SELECT BM.Code, BM.NumOrder, CL.Name, AG.Name, TX.Description, CM.Description " & _ " FROM...
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 Article