Error while loading RTF file in system.windows.controls.RichTextBox control
I have a System.Windows.Controls.RichTextBox control and trying to load rtf files using below code:Public Sub LoadRTFDocument(fileName As String) Dim range As TextRange Dim fStream As...
View ArticleDesigner elements just vanished?
I was working on a project that I've been working on for months now and I decided I would play with adding a background to the main form window. After doing so and adjusting the background slightly...
View ArticleThe Satellite Assemblies never works for my .NET application
I tried to test the localization function for my console applcation by creating an satellite assembly to host the culture resources.What i did is 1. Add a *.resx file into my project.2. using...
View ArticleHow to get FlowLayoutPanel to re-WrapContents now, please?
FlowLayoutPanel's WrapContents behavior is mostly working well for us... whenever it wraps, it does the right thing. The problem is when it doesn't re-compute its wrapping... We have its FlowDirection...
View ArticleHow to get multiple inputs in Windows Forms Application and how to get a...
Okay, for the Windows Form Application program I am making...I have a textbox where I enter a year, and it should display information in the MessageBox that appears about something from that year that...
View ArticleDataRepeater Control
Guys,I am trying to drag and drop items in my data repeater control (VS2010), For some reason mouse events are not raised in the ItemTemplate section of the repeater.Can someone show me how to drag and...
View Articleusing gridview with Access Database
I have a windows Form application and have dropped a gridview control on the form.When I add the data source it tests the connection OK and displays the data fine.When I select Tables option from the...
View ArticleHow to set Multi language support Drop Down or Lookupedit(Dev Express) ?
Hi,I am developing windows application with our local language enabled (Tamil).. The Data's are stored and retrieved from Database is correct. but after assign the Data source to Dropdown or...
View ArticleWebbrowser control on WIN 7 64 bit
I have a vb.net application that uses the webbrowser control and runs on several versions of 32 bit windows with no problem. When I went to 64 bit Windows 7 the system immediately crashes right after a...
View Articlehow to make hijri date time packer and Gregorian date time packer?
how to make hijri date time packer and Gregorian date time packer in same form using vb.net ?
View ArticleCounting duplicate values > X
I have some real time data being passed in a listbox as a string.I need to find duplicate values that are > x then I need to count how many instances of values > xEventually I want to send an...
View ArticleModalWindow Referencing Opening Window
I have a form "fUpdateBall". On this form, the user enters as much of the ball's information as they know. It goes out to the database and if there are more than one ball that match the criteria (after...
View ArticleRadTimePicker should accept only PM values not AM values
Hello All,I am having editable gridview,where i was having TimeIn and TimeOut fields.Both, fields are RadTimePickers.In TimeOut field,i need to enter only PM values.For Example,If i enters, 10:00AM...
View ArticleSql Compact Edition 4.0 - New Records not showing up in datagridview after...
I have a really weird problem here so bear with me. I have a C#.net application that I've built. I'm in the process of testing. Data gets inserted just fine into the database, however, the new record...
View ArticleCan i Hide unwanted events from the designer and intellisense just like...
Hi Everyone,I have a custom control so can i hide the unwanted events from the designer just as we hide the properties using "[Browsable(false)]"?,if we can then please suggest the code.Regards,Natiq
View ArticleLabel Array while Designer still working?
Hi everyone,I would like to create an array of labels. My code works pretty fine, but the designer won't work with it.System.Windows.Forms.Label[,] _TempLabels = new System.Windows.Forms.Label[4, 16];...
View ArticleRichTextBox control formatting issue
I have an extended RichTextBox control which is working properly in Windows 7. It is loosing formatting if I run the same on Windows 8. Please find the images I had for Windows 7 and Windows 8.RTF is...
View ArticleCreatePopupMenu() with api
Hi...i want to know how can i create menu with createpopupmenu() this method...i write this but it dont work...any idea...? [DllImport("user32.dll")] static extern long DestroyMenu(long hMenu);...
View ArticleUhm, why isn't this working for the picture viewer tutorial?
For the end of http://msdn.microsoft.com/en-us/library/dd492148.aspx tutorial, my background, clear, and close buttons do not work? Here is my ending codeusing System; using System.Collections.Generic;...
View ArticleComo utilizar loading gifs em um FORM ???
Pessoal,tenho uma dúvida básica:qual a melhor maneira de usar um gif para um loading num formulário enquanto ele executa uma ação de consulta no banco ou qualquer outra tarefa. Pelo que pesquisei,...
View Article