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...
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...
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,
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...
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...
Hi,
I have defined a class derived from Panel class (let’s call it MyPanel).
It contains three buttons, called btn1, btn2 and btn3.
I have defined an event called BtnClicked, and I have thrown it in the code of btn1_Click, btn2_Click and btn3_Click (in practise, it raises when the user clicks on...
Hi,
I’m writing a C# program (using Visual Studio 2005 Professional Edition).
I have defined a class MyPanel in the following way:
class MyPanel : Panel
{
...
}
In this class I have put a btn Button control, and I have defined the event handler:
btn.Click += new EventHandler(btn_Click)...
Hi,
I’m developing a form in Visual Basic Access (I use Access 2003).
In the form I have two TextBox controls (lets call them txt1 and txt2) in which the user must insert integer values.
The integer value in txt1 must be >= than the integer value in txt2. If the user doesn’t respect this rule, I...
Hi,
suppose that you have a C# form with two buttons, that are the classical “btnOk” and “btnCancel” (besides them, of course in the form there can be many other controls).
When the user clicks on btnOk, the program makes some confirm operations and closes the form.
When the user clicks on...
Hi,
I would like to find a way in C# so that, when the user presses the “Esc” key, the form closes; the problem is that I have a lot of controls in the form.
At the beginning I have tried with the following form event handler:
protected override void OnKeyPress(KeyPressEventArgs e)
{...
Hi all,
I'm writing a C# program, and I was wondering: is there a way to raise by code the click event of a Button control, as if it was the user to have clicked on it?
Thank you very much
Hello,
I’m developing a C# program using Visual Studio 2005 Professional Edition.
In the main form I have inserted a ListView control that is populated in a different way depending on the item selected in a ComboBox.
I have written a procedure that reads the ComboBox selected item and populates...
Hi,
I’m writing a C# program that interfaces with a SQL Server 2005 database (I use Visual Studio 2005 Professional Edition as compiler).
I have defined the classical ADO.NET SqlDataAdapter, DataSet and DataTable objects so that, once the database has been loaded with the SqlDataAdapter Fill...
Hi,
I have noticed a strange behaviour of CurrencyManager objects in C# (I use Visual Studio 2005 Professional Edition).
Suppose that you have a SQL Server database with 2 tables called “Cities” and “Persons”, and that:
“Cities” has 2 fields called “IDCity” and “NameCity”
“Persons” has 3 fields...
Hi,
I have two Access tables (we can call them Table1 and Table2) with the same structure, that is 4 fields: IDRecord, num1, num2, num3.
I would like to delete from Table2 the records whose couples of values num1, num2 are not present in any record
of Table1.
For example, suppose that Table1...
Hi all,
I have a DataLogic BlackJet PDA with Windows CE 5.0 installed, and I would like to know if is there a way to search for a file in the device (I didn't find any function to do that)
Thank you very much
Hi,
I’m writing a program in Visual C# 2005 Professional Edition.
This program connects to a SQL Server 2005 database called “Generations” (in which there is only one table, called “Generations”), and it allows the user to add, edit and delete the various records of the table.
“Generations”...
Hi,
I'm writing a program using Visual C# 2005 Professional Edition, and
I was trying to assign multiple MainMenu objects (one by one, of
course) to the same Form (let's suppose 2 MainMenu objects).
It is possible (and it's my case) that these 2 MainMenu objects use
some different MenuItem...
Hi all,
before writing this thread I have noticed that many other people have my problem…
If I use a ComboBox in a C# form, there is no way to change its height (unfortunately it hasn’t an “AutoSize” property settable to “false” as the TextBox).
Perhaps, changing the font size, one can change...
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.