HOW TO CHECK IF THE ITEM FOUNDED, if (wordApp.Selection.Find.Execute)...
I have to get the first match and if the item found, I need to get the next character.This returns error: Error1Cannot convert method group 'Execute' to non-delegate type 'bool'. Did you intend to...
View ArticleHow to multiply a datatable column with a number which of 30,000 rows
Hello TeamI have a requirement in c# winforms datagrid viewDataGridview with 6 columns,30,000 rowswhen user converts one column to a specific format, i need to multiply the entire column of the grid...
View ArticleWindows Forms
Hi,What would be the justification for using XAML over conventionalOOPS paradigm with C# .XAML may not be easily portable for other languages and noteasy for programmers from other languages to...
View ArticleAutomatically Changing of Control Positions--DevExpress
Hi Everybody:I am new in C# and I met one problem when writing an window form application, I am using DevExpress. I was trying to add a new text editor to an existing form but the location of all other...
View ArticleTextbox Reference between forms
I have 2 forms form 1 calls form 2 with a showdialog() callin form 2 I need to see textbox 1 value to be used in form2
View ArticleopenFileDialog filter "xls" showing "xls" and "xls*" files
When setting the filter of an OpenFileDialog instance to "XLS Files (*.XLS)|*.XLS" all files with extensions starting with "xls" are shown like ".xlsx" files, How the filter property has to be set...
View ArticleHow to get winform webbrowser zoom value?
As we know, we could set winform webbrowser zoom value byvar browserInst = ((SHDocVw.IWebBrowser2)(webbrowser.ActiveXInstance));browserInst.ExecWB(SHDocVw.OLECMDID.OLECMDID_OPTICAL_ZOOM,...
View Articlec# timer
Hello; I am writing to write a program. I want to use a timer that is like a stop watch. I dont want to put other threads to sleep. I want a function to fire up after every 10 seconds whilst other...
View ArticleHow to replace variables cross form
I am currently working on a video game project,And have 3 forms.Room1, Room2, and Battle forms.My question is, is there a way to pass variables(like you would to a method) so that it replaces the ones...
View ArticleAutomatically loading new Form Panel on button click
Hi, and thanks for viewing my post. I currently have a windows form built in VB. I have a panel that has a series of text boxes with a next/back button. It also has a check box for when the entry is a...
View ArticleWin Forms Web Browser Object Causes Application to Crash - VS2008
Hi,I have a web browser object in one of my forms.When I open the form and try and load this URL .... 'http://www.bbc.co.uk/news/world/' the application crashes.But if I try and load...
View ArticleCan I detect wordwrap in a RichTextBox?
Hello everyone,I want a RichTextBox's height to dynamically change depending on how many lines of text are in it. As long as no wordwrap happens, I can just retrieve the string[] and calculate the...
View ArticleTextbox.maxlength value in winforms from Entity Framework model
In our project we've many TextBox controls bounded to the database (Business Object Data Source). We use Entity Framework Code first with additional attributes in metadata to create database business...
View Articleusing timer with label text changed event
Hi all. I have a problem. In my project I used a timer and a label. Timer interval is 1000 and timer tick event controls a memory adress changed or not changed. I take this value to a label text...
View Articleusing a search form in vb 2010
I am developint a program for amateur radio contacts using vb 2010 Express and Access 2007 tables. The contact table has 3200 plus rows of 23 fields. I want to construct a seach form using the station...
View Articlevisual c# , Array of form controls, keydown event trigger another
I have an mySQL query which fetch product information from database. According to the count of rows, visual c# code generates array of form controls :"Select * from products" The generated controls are...
View Articleseeking opinions and other thoughts for file upload
Seeking opinions regarding uploading files. I've worked with asp.net and the upload control which placed the uploaded filed into a special directory on the server. In this case the db table recorded...
View ArticleChange the visible status for row of Datagridview (VB.net)
I try to implement collapse/expand rows by change the "visible" status.1. For i As Integer = startIndex To endIndex ' collapse Me.dgv.Rows(i).Visible = false Next2. For i As Integer =...
View ArticleCollapsible Menus in Windows Forms
Hi, I would like to build a collapsible Menu with gradient background In Visual Studio 2010 VB.NET. Is it possible ? If yes could i have the source code to accomplish this ? It is rather urgent...
View Articlec# One program execute BindingNavigatorSaveItem_Click event in another program
Hello Community I have a Windows program that has 2 forms that appear on one screen at the same time, each occupying half of the screen. The forms each have their own DatagridViews and their...
View Article