Hello,
I'm preparing a simple mask in Access 2003.
The RecordSource of this mask is a table named Persons, whose fields are "IDPerson" (counter field and primary key), "Name", "SecondName" and "Age".
In the mask there are some textboxes linked to the fields above, and there are the classical...
Hi,
I'm writing a program using VBA 2003, I have a Form called "Form1" that has 1 "txtName" TextBox and 1 "btnOpen" CommandButton.
I would like that, when the user clicks on "btnOpen", another modal form (called "Form2") opens, where the user can insert a text in a "txtNameInsert" TextBox and...
Ok, I have discovered an interesting thing, the TopItem property functions, but only after you have loaded the form...
If you add a button in the form and insert the following code in its click event handler, the item at the top of the ListView is selected. The problem is that it should happen...
Hi Aptitude,
I tried your suggestion (it seemed perfect for my case), but unfortunately it doesn't function...
If you have time to spend, I have prepared two files with the code samples.
The project creates a ListView object with 2 columns, the first one (column 0) with numbers from 1 to 10, the...
Hi,
I’m using Visual C# 2005 (part of Visual Studio 2005 Professional Edition), and I have the following problem:
I populate a ListView object with several items, and at the end of this process I put a statement that orders the ListView by a certain column and in a certain order (ascending or...
Ok combo, thank you for your suggestion.
This weekend a friend explained me also another way, that is: open the window in a modeless way (the default way is modal), and than repaint the form, so I can write
Public Sub OpenWaitForForm()
Load WaitForForm
WaitForForm.Show vbModeless...
Hi,
I'm developing some macro in an Excel file.
As one of these macro (when the user clicks on a button) requires 20 - 30 seconds of execution, I would like to create a "wait for" window for the user... The window is loaded and shown at the beginning and is unloaded at the end of the process.
In...
Hi guys, thanks for your answers.
Chip, I have tried to add your two methods as you suggested me:
cslvList.SuspendLayout();
PopulateList();
cslvList.ResumeLayout();
I have put my two statements
cslvList.LooseSorting();
and
cslvList.SortColumn(cslvList.LastColSorted...
Hi,
I see bugs everywhere, but this time I think I’m right (probably most of you has already discovered the problem).
I’m writing a C# program using Visual Studio 2005 Professional Edition, and I have prepared a class called ColumnSortedListView, that is a derivated class of ListView, with the...
Ok, it is because, in the project properties, my project was set as Console Application. It is sufficient to go to Project -> Project Properties and, in the Application tab, change Output type from Console Application to Windows Application.
Hi,
I would like to know if there is a way to avoid the DOS window appearing when I execute my C# project (it appears in both cases: when I launch the project from Visual Studio, clicking on Debug -> Start Debug, and when I double click on the .exe file in the bin/Debug or bin/Release...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.