Web based timesheet application
http://www.livetecs.com
TimeLive Web Collaboration Suite is an integrated suite that allows you to
manage project life cycle including tasks, issues, bugs, timesheet, expense,
attendance.
TimeLive is available in two different flavors. Hosted version and
downloadable version. Downloadable version required certain system
requirement to install on local server. Whereas hosted version is already
installed on our fully managed server on state of art datacenter.
Free Lite version is available in both hosted and installable version.
Here are some key features of "TimeLive":
TimeSheet·
-----------
· Track your contractor and employee's timesheet using full featured and
easy to use Time Entry tool. You can then use detailed and summarized view
of all time records using different tools.
· Time Entry Day View for entering full day timesheet in just one server
hit.
· Time Entry Week View for entering full week timesheet in just one server
hit.
· Organization setup like Departments, Locations, Roles
· Different type of Off day monitoring like Sick Days, Vacations etc.
· Client Setup
· Project Setup
· Task setup with multiple assignees for single task.
· Audit Trail
· EMail notification of different timesheet related activities to users.
· Different billing type setup like Hourly / Task based / Call based
· Timesheet approval
· Four Timesheet Approval Paths (None,Administrator,Project,TeamLead)
· Reports with all possible filter selection to get your required output.
· Detail Timesheet Report
· Different timesheet summary reports for based on Client, Project,
Employee, Date
· Timesheet Approval status report
· Reminders to employee for their pending entries.
Attendance
------------
· Web based Attendance system to record and monitor all employee attendance
using simple / fully featured tool.
· Time In
· Time Out
· Off Day reporting for different purpose like Sick leave, vacation etc
· Working Day setup
· Daily Attendance report
· Summary reports for employee off days to track employee Sick leave,
vacation etc.
· Detail report employee off days.
Bug Tracking
------------
· Full integrated bug tracking tool to monitor all bugs / issues using
simple and full featured tool.
· Bug can be add with fields
· Subject
· Description
· Project
· Milestone
· Parent Task
· Duration
· Due Date
· Priority
· Files to be attached
· Multiple assignee of single bug.
· Dashboard view of bug showing All open task / All Reported Task
· Project based open bug summary view
· Bug comments
· Audit trail of every bug modification
· Updating of Bug status
· EMail notification of bug addition and update.
· ReOpen bug tracking and monitoring.
· Quality control reports summarizing bugs by Project / Milestone / Assignee
/ Status
· Personalized overall summary view of projects for Project Manager and Team
Lead.
Expenses Tracking
------------------
· Manage and monitor your project expenses with easy to use integrated
TimeLive Expense management tools.
· Expense entry view for employee to enter their expenses occurred on
project.
· Billable / Unbillable expenses.
· Detail Reports for monitoring expenses
· Different summarize report by Project / Employee / Expenses.
· Approval of Expenses with 4 different approval paths.
· No Approval
· Team Lead
· Team Lead --> Project Manager
· Team Lead --> Project Manager --> Administrator.
· Expenses approval monitoring.
Project Monitoring
---------------------
· Full featured tool to manage your projects and their task with single
integrated tool.
· Nested Task with task hierarchy.
· Tracking of project status
· Assigning of projects to multiple employee
· Tracking of project tasks
· Different dashboard view for Project Manager, Team Lead and Team Member.
· Different report to track and monitor overall project status.
Other Features
----------------
· Exportable reports in PDF and XLS file.
· Downloadable / Hosted version
· Free basic version
· Unlimited disk space for all plans
. International date formats supported. Tag: Question on WPF Tag: 112689
Uninstalling SmartClient on XP
I installed a .Net 2.0 SmartClient on an XP machine. The options for the
SmartClient install was that the 'Application is only available online'. How
do I remove it? How do I view a list of installed SmartClients and their
versions?
Thanks for your help!
Terry Tag: Question on WPF Tag: 112687
Context menu depending on panel
I have a form that has 3 different panels in it. I want to have a different
context menu depending on which panel the mouse cursor is in at the time of
the right click on the mouse. How do I achieve this?
Bill Tag: Question on WPF Tag: 112684
memory not being released
Hello all,
I have a winforms app running on framework v2.0.50727 which isn't not
releasing memory back to the OS after closing forms. Simple forms (a list +
button)
or complex ones (tabs, lots of text boxes, third party masked edit control)
behave the same way,
Every time is instantiated it allocates memory which never gets released.
The code sequence is
Dim frCustomer As New frmCustomer
..
custom code to populate form
...
frCustomer.ShowDialog()
frCustomer.Dispose()
If Not frCustomerIs Nothing Then frCustomer= Nothing
Where should I start troubleshooting? What am I doing wrong.
Thanks a million,
Gigel Tag: Question on WPF Tag: 112683
Difficult issue with ITypedList and subclasses
I am employing ITypedList to expose properties of contained classes and am
having trouble with properties nested a few levels down. My class structure
looks something like this:
EmployeeCollection ' A collection of Employee objects,
Implements ITypedList
Employee ' Decorated with an attribute that
points to a CustomTypeDescriptor. This CustomTypeDescriptor class exposes
properties of an Activity class that is contained in Employee.
Activity ' A Simple class, also decorated
with an attribute that points to a CustomTypeDescriptor-derived class. This
class exposes properties of the Attribute class, contained by Activity.
Attribute 'A simple class contained by Activity.
I bind a DataGridView to the EmployeeCollection class. I've been successful
in using ITypedList when going one level deep, but when I cannot seem to
expose the properties of the Attribute class at the highest level. In other
words, I want to display properties of Employee, Activity, and Attribute in
the datagridview, but cannot see below the Activity class's properties.
Any insights would be appreciated.
P.S. Sorry if this message posts several times. Not sure why this happens. Tag: Question on WPF Tag: 112682
RDP ActiveX control in winform
i'm writing a simple c# program to start an RDP session from a windows form.
everything works fine except i can not determine how to cause the program to
allow me to execute a specific application on connection:
try
{
rdpSession.Server = myServer;
rdpSession.UserName = myUserName;
rdpSession.AdvancedSettings2.ClearTextPassword =
"************";
rdpSession.Domain = "myDomain";
rdpSession.AdvancedSettings2.ConnectToServerConsole = true;
if (rdpSession.SecuredSettingsEnabled >= 0 )
{
rdpSession.SecuredSettings.StartProgram =
"c:\\Windows\\notepad.exe";
rdpSession.SecuredSettings.WorkDir = "c:\\temp";
}
else
{
MessageBox.Show("Can't access the secured setting
(startprogram)");
}
rdpSession.Connect();
}
my understanding from the documentation of the control is that:
These restricted properties are accessed using the IMsTscSecuredSettings
interface and the IMsRdpClientSecuredSettings interface, and are available in
the following Internet Explorer URL security zones:
My Computer
Local Intranet
Trusted Sites
They are disabled in these zones:
Internet
Restricted Sites
when i examine the value at SecuredSettingsEnabled in the debugger it is
always -1 and therefore skips executing the startup application.
[it does start a desktop session in which i can execute the application -
which seems to circumvent the intended "security feature"??? - but perhaps i
am thinking wrongly???]
is there a way to cause the application to evaluate what Internet Explorer
URL security zones it is running in - the concept seems inappropriate and
inapplicable to running my executable? but again perhaps i am not thinking
correctly?
TIA Tag: Question on WPF Tag: 112677
Do I need to call base.WndProc in this scenario?
Hi all,
I have been working around the notorious 'Automatically scroll
selected control into view' 'feature' of the .net framework using the
following code. Now I read that if I do not call base.WndProc, this
can cause problems like 'Error creating Window Handle' and I am
getting this error.
My code is as below. How do I modify it to prevent the WM_SETFOCUS
from being handled but still call base.WndProc()? Thanks!
private const int WM_SETFOCUS = 0x0007;
protected override void WndProc(ref Message m)
{
// Listen for operating system messages.
// The WM_SETFOCUS message is sent to a window after it
has gained the keyboard focus.
if (m.Msg != WM_SETFOCUS)
{
base.WndProc(ref m);
}
} Tag: Question on WPF Tag: 112676
Active application
Hello,
I have 2 applications.
A menu command in the first communicates to the second by ipc remoting.
When the second application has finished the remoted operation, it must
activate itself.
I tried lot of things... For example, with SetForegroundWindow, the
second application's icon flashes in the task bar but it is not activated.
Have you any idea ?
Thanks.
Jean Tag: Question on WPF Tag: 112673
Multiple AddHandler for multiple Controls on a form
Hello all,
We have a bit of a problem. We have a form where we have to add controls
dynamically during runtime. That part is quite simple. Now, we have to add a
ButtonClick event for each of the controls. That's where it becoms tricky.
Here is the bit of code we use:
-------------------------------------------------------------------------------------
TextControl = New Asd.ControlLibrary.AsdTextControl
Me.TextControl.BackColor = System.Drawing.Color.Transparent
....additional properties setup
If CheckStoredProcedure <> "" Then
Me.TextControl.CheckStoredProcedure = CheckStoredProcedure
Me.TextControl.ButtonBook = True
Me.TextControl.ErrrorProvider = True
Me.TextControl.CheckRequired = True
End If
AddHandler TextControl.ButtonBookClick, AddressOf TextControl_ButtonBook
Me.Controls.Add(TextControl)
--------------------------------------------------------------------------------------
Now, everything works fine and each control acts as a separate control, but
the TextControl_ButtonBook fires only for the very last created control. I
have tried adding 'sender' parameter to the procedure but the addressof
won't accept it.
Any help and/or insight is much appreciated.
Thanks in advance.
GAZ Tag: Question on WPF Tag: 112672
Programmatically changing the size of a textbox
I have a textbox that is multiline but I only want to show one line at the
start until that line is filled in. I am going to use the textchanged event
to check the length of the text in the field. If the length of the text is
greater than the length of the field, I am going to change the height of the
textbox to show another line and when that is filled I am going to add a new
line etc etc. My question is what is the easiest way to move all the
controls below this textbox down?
Bill Tag: Question on WPF Tag: 112665
Help. Problem with MaskedTextBox in DataGridView control
Hi,
I am adding a MaskedTextBox control to a datagridcontrol. So far, I
can see the masked value, but when I start the application up, the
maskedtextbox cell is blank. When I select it, I can see the masked
value "00000-000-00000-0". I change the value and click a readonly
cell. The maskedtextbox values goes blank. When I click on the cell
again, the value reappears on selection event. However, When I click
on a non readonly cell, the maskedtextbox value totally disappear.
At startup, the masked value 00000-000-00000-0 is invisible until I
select the value. Here is my code. Any help is greatly appreciated.
public class MaskedTextBoxCell : DataGridViewTextBoxCell
{
public MaskedTextBoxCell()
: base()
{
}
public override void InitializeEditingControl(int rowIndex,
object
initialFormattedValue, DataGridViewCellStyle
dataGridViewCellStyle)
{
try
{
// Set the value of the editing control to the current
cell value.
base.InitializeEditingControl(rowIndex,
initialFormattedValue,
dataGridViewCellStyle);
MaskedTextBoxEditingControl ctl =
DataGridView.EditingControl as
MaskedTextBoxEditingControl;
ctl.Mask = "00000-000-00000-0";
//ctl.Value = (DateTime)this.Value;
}
catch (System.ArgumentOutOfRangeException)
{
// do nothing
}
}
public override Type EditType
{
get
{
// Return the type of the editing contol that
CalendarCell uses.
return typeof(MaskedTextBoxEditingControl);
}
}
public override Type ValueType
{
get
{
return typeof(MaskedTextBox);
// Return the type of the value that CalendarCell
contains.
// return typeof(DateTime);
}
}
public override object DefaultNewRowValue
{
get
{
return "00000-000-00000-0";
}
}
}
public class MaskedTextBoxColumn : DataGridViewColumn
{
public MaskedTextBoxColumn()
: base(new MaskedTextBoxCell())
{
}
public override DataGridViewCell CellTemplate
{
get
{
return base.CellTemplate;
}
set
{
// Ensure that the cell used for the template is a
CalendarCell.
if (value != null &&
!
value.GetType().IsAssignableFrom(typeof(MaskedTextBoxCell)))
{
throw new InvalidCastException("Must be a
MaskedTextBoxCell");
}
base.CellTemplate = value;
}
}
}
class MaskedTextBoxEditingControl : MaskedTextBox,
IDataGridViewEditingControl
{
DataGridView dataGridView;
private bool valueChanged = false;
int rowIndex;
public MaskedTextBoxEditingControl()
{
this.Mask = "00000-000-00000-0";
}
public string MaskFormat
{
set
{
this.Mask = "00000-000-00000-0";
}
}
// Implements the
IDataGridViewEditingControl.EditingControlFormattedValue
// property.
public object EditingControlFormattedValue
{
get
{
return this.Text;
}
set
{
if (value is String)
{
this.Text = (string)value;
}
}
}
// Implements the
// IDataGridViewEditingControl.GetEditingControlFormattedValue
method.
public object GetEditingControlFormattedValue(
DataGridViewDataErrorContexts context)
{
return EditingControlFormattedValue;
}
// Implements the
// IDataGridViewEditingControl.ApplyCellStyleToEditingControl
method.
public void ApplyCellStyleToEditingControl(
DataGridViewCellStyle dataGridViewCellStyle)
{
this.Font = dataGridViewCellStyle.Font;
//this.CalendarForeColor =
dataGridViewCellStyle.ForeColor;
//this.CalendarMonthBackground =
dataGridViewCellStyle.BackColor;
}
// Implements the
IDataGridViewEditingControl.EditingControlRowIndex
// property.
public int EditingControlRowIndex
{
get
{
return rowIndex;
}
set
{
rowIndex = value;
}
}
// Implements the
IDataGridViewEditingControl.EditingControlWantsInputKey
// method.
public bool EditingControlWantsInputKey(
Keys key, bool dataGridViewWantsInputKey)
{
// Let the DateTimePicker handle the keys listed.
switch (key & Keys.KeyCode)
{
case Keys.Left:
case Keys.Up:
case Keys.Down:
case Keys.Right:
case Keys.Home:
case Keys.End:
case Keys.PageDown:
case Keys.PageUp:
return true;
default:
return false;
}
}
// Implements the
IDataGridViewEditingControl.PrepareEditingControlForEdit
// method.
public void PrepareEditingControlForEdit(bool selectAll)
{
// No preparation needs to be done.
}
// Implements the IDataGridViewEditingControl
// .RepositionEditingControlOnValueChange property.
public bool RepositionEditingControlOnValueChange
{
get
{
return false;
}
}
// Implements the IDataGridViewEditingControl
// .EditingControlDataGridView property.
public DataGridView EditingControlDataGridView
{
get
{
return dataGridView;
}
set
{
dataGridView = value;
}
}
// Implements the IDataGridViewEditingControl
// .EditingControlValueChanged property.
public bool EditingControlValueChanged
{
get
{
return valueChanged;
}
set
{
valueChanged = value;
}
}
// Implements the IDataGridViewEditingControl
// .EditingPanelCursor property.
public Cursor EditingPanelCursor
{
get
{
return base.Cursor;
}
}
//protected override void OnValueChanged(EventArgs eventargs)
protected void OnValueChanged(EventArgs eventargs)
{
// Notify the DataGridView that the contents of the cell
// have changed.
valueChanged = true;
this.EditingControlDataGridView.NotifyCurrentCellDirty(true);
//base.OnValueChanged(eventargs);
}
} Tag: Question on WPF Tag: 112661
Windows - Application error
Every time I boot up my Vista machine I get the error message:-
the instruction at 0x00366f9d referenced memory at 0x00000f18. the memory
could not be read.
Does anyone know what the problem is? Tag: Question on WPF Tag: 112660
Adding addition accelerators
I want to support the CUA editing keys (Shift+Del, Ctrl+Ins, Shift+Ins) and
I'd like to do it more elegantly than with the KeyDown event. Is there any
way to add multiple accelerators to a menu item? Unfortunately, the
Shortcut/ShortcutKeys properties do not take arrays. Can something be done
pre- or post-compile, like maybe messing with the manifest somehow? Tag: Question on WPF Tag: 112659
DataGridView ComboBoxColumn
I am trying to use the DataGridView to accomplish a certain task.
Here is my scenario:
I have a datasource that has a Model/Make relationship. It can be likened
to a user filling in what cars they own. So they add a new row and select
the Mae of their car from a combobox. Then they can select the model from
another combobox in the same grid. The model combobox only contains possible
models for the make selected. In turn, if they go back to that row later and
select a different make, the model choices should now correspond to the newly
selected make.
Everything else on my winform is bound so, for consistency sake, I am trying
to keep all this databound too.
Any ideas, sample code, etc???
For what it is worth, I am aware that one can create a custom datagridview
combox column. I have looked at this briefly and it is hard for me to
determine what events I would need to override in order to get my desired
functionality.
Any ideas?
Thanks in advanced! Tag: Question on WPF Tag: 112655
App.config - Break up into multiple files?
Hi,
I have a legacy application which I can't change which has a _huge_
app.config file. I want to break it up into several smaller files and
use !ENTITY to include them into the main app.config file;
<!ENTITY foo SYSTEM="../../foo.config">
<foo>
&foo;
</foo>
Suffice to say, this doesn't work. I get 'reference to undeclared
entity 'foo' line 2 position 6'. It looks like the section handler is
reading <foo> as a totally seperate XML document ('line 2' is the
giveaway), which of course, doesn't have the <!ENTITY> bit.
Does anyone know if it's possible to break up app.config into seperate
files and include them like this (or any other way!)? It would seem
not.
Many thanks
Paul. Tag: Question on WPF Tag: 112654
Ignoring all key events in whole application
Hi all,
I've been struggling with this problem for quite a while, and have searched
the internet many times, and tried many of the ideas which that turned up -
but haven't managed to get this to work!
Basically, my application receives serial messages from another system. If a
certain field is set to true in the status message then the application must
not let the user do anything using the keyboard. As in the application must
ignore all key events in all possible ways - none of the code in any KeyUp,
KeyDown or KeyPress events should execute, and all controls should ignore
keys (ie. if the focus is on a text box, then the text box must not allow the
user to add any text, and the same for any other controls). When the field is
changes back to false then the application should return to normal.
Basically, what I am looking for is a way to stop the application getting
any key events whatsoever. Is this possible? If so, what is the best (or
only?) way to do it?
I have struggled with such things as e->SupressKeyPress (which didn't seem
to work at all), PreFilterMessage, PreProcessMessage and haven't managed to
get anything to work!
If anyone has any ideas at all, I would be very grateful to hear them!
Cheers,
Robin Tag: Question on WPF Tag: 112653
How to assign foreground color to TreeView in MPF
Hi folks,
Frist I am not sure this is the place to post MPF question. If not ,
please advise th url.
My question here is to assign foreground color to a TreeView conrol
in MPF . Please advise. thanks.
PeterK Tag: Question on WPF Tag: 112649
Set focus to a Desktop's child
I have created a command prompt window (ruinning cmd.exe with the Process
class) and made it child of Desktop (or i attached it) using the APIs
FindWindow and SetParent, this way:
SetParent (MyCmdProcess.MainWindowHandle, FindWindow("ProgMan", null));
This works fine! Now, I want to create a little app to, when it is executed,
it shows the desktop (i already do this) and SET THE FOCUS TO THE CHILD
COMMAND PROMPT WINDOW (that is not a normal form). How can I do this?
Notes:
1) FindWindow (null, "PID_Terminal") returns null, maybe because it is a
child now.
2) After I turn the command prompt a desktop's child,
MyCmdProcess.MainWindowTitle is set to a empty string (""). Tag: Question on WPF Tag: 112646
Same application in dual monitor
Actually the thing is i am devoloping a windows application, which will be
displayed in multiple monitors.
i have one single exe, which will be displayed in 2 monitors for example. In
cloning mode (windows display setting) both the screen will display the same
content. (eg. form1 will be displayed in screen1 and screen 2, since both
are same, check box click on screen 1 will show check box click on screen2).
Now in my case i want to show 2 different forms of same exe in screen1 and
screen 2. (eg. form1 in screen1 and form4 in screen2).
(1) first how do i do that? or is there any alternative ways?
(2) If i click a check box on form1(screen1), although the screen2 display
form4 , the check box on form1 in screen 2 should be checked.
how do i achieve this functionality.
There are actually 2 touch panels connected to the system. And both the
touch panels are interactive and shows the same(one main part of the
application). In the application for example there are 2 forms in which
through one form it controls temperature of the room and through other form
it controls room light.
But since this is one exe at a time only one operation will happen.(for eg.
if an operation in form1 hangs the system(screen1), system will be hanged in
screen2 too even it doent show form1)
In extended display, can we show same application, interactive in both the
screens? in which the screen can show same form or different form?
right now i am thinking to create 2 objects on form1 at runtime and attach
to the screen boundaries. but how we communicate an event in one object to
another object? Tag: Question on WPF Tag: 112645
Need advice on Textbox control
In MS Outlook when entering an email address into the To box, when the
textbox is full, it expands to a multiline textbox and pushes everything
else down on the form. Are they using an ordinary textbox control and just
changing it to multiline?
Bill Tag: Question on WPF Tag: 112644
Help. My datagridview columns are being reordered after binding to a dataobject
I made two datagridview controls and added the columns manually with
the wizard. I even specified the displayindex value for each columns.
Before binding to a dataobject, the columns are in the order which I
specified. After binding the datagrid.datasource to the object LIST,
the order of the columns are reorder. Beside specifying the
displayINDEX value, I don't know what to do.
Any help is greatly appreciated.
thanks, Tag: Question on WPF Tag: 112643
Help. My datagridview columns are being reordered after binding to data object
I have a datagridview which I used the wizard to manually add the
columns. I even manually typed in the displayed index value for each
columns. Before binding to a data object, which contains a LIST, the
order of the columns are as I specified in the wizard. However, when I
binded the grid.datasource to the object.LIST and specified the
DataPropertyName, the columns got reordered.
I can not figure out why it is doing this. Any help is greatly
appreciated. By the way, I have no control on the data object. I have
to accept it as it is.
Beside specifying the displayIndex, I don't know what else to do
beside pulling my hair.
Thanks for any help / insight. Tag: Question on WPF Tag: 112642
Is there a simple way to add a button to header cell of DataGridVi
As usual I'm in too much of a hurry. Is there a simple way to add a button
control to a header cell of DataGridView?
(Emphasis on 'Simple' because the examples I've found so far are far too
complicated.) Tag: Question on WPF Tag: 112641
Image control
I need to have a control that I can place on a form that I can view an Image.
But here's the catch, I need to view the entire image (no matter the size)
in a 400x400 pixel object. Also, I need to be able to to enlarge and shrink
the image in the same viewable area. Is there any .Net object that does
something similar to this or do I need to enhance an existing object such as
the PictureBox?
thx...sonny Tag: Question on WPF Tag: 112638
Regarding VC++ Project template for in VS2005
I want to use Windows Forms(Managed C++) and also existing VC6
backend static libraries(MFC). Can anybody suggest me which template
in VS2005 is more appropriate for this scenario:
1) VC++ project using "Windows Form Application" template.
2) VC++ project the template "MFC Application" and then add CLR
support.
Thanks a lot! Tag: Question on WPF Tag: 112636
.Net Winform saving a file to local drive
I have an app running on a Citrix server. The user logs in on IE and get
their Citrix neighborhood. They run the app and in the app I have a grid
component from ComponentOne that has a property called SaveGrid that can
save the results in the grid to a file. The user selects their local hard
drived and tries to save to a file there and the app is unable to even
though they have given Citrix permission to access their local drive. Does
the user need to have .Net 2.0 framework on their machine even though the
app is running through Citrix?
Bill Tag: Question on WPF Tag: 112631
Serial Communications - baud rate
I am using the Serial Port class for serial communications, It is very easy
to use but there is one thing I want to do and can't figure out how.
SerialPort.GetPortNames() gives me a list of all the Serial Ports on the
system. I let the end user select one from the list. I also want to give the
user the ability to specify the baud rate for the selected port. However, I
could not find an interface that will list all the baud rates for a given
port. I looked in the registry and the values did not seem to be there.
Anyone know how I can get the supported baud rates for any serial port?
Thanks in Advance,
Bob Costello Tag: Question on WPF Tag: 112628
just looking for easy,& free backup program
I am needing a backup program as I have to wipe the hard drive it has way too
many problems. also I'm looking for help in reinstalling all the moicrosoft
stuff. I have Windows XP and small business, and it's a dell computer. I s
there a backup program within windows xp? or do I have to download one? I
tthink that's all for now.
Thanks,
Lisa Tag: Question on WPF Tag: 112626
Re: Is it possible to create a checkedlistbox column in a datagrid
Questions are not exactly right ones most probably.
Is your listbox data bound?
"AlexS" <salexru2000NO@SPAMrogers.comPLEASE> wrote in message news:...
> Are you positive combox is same for all rows?
>
>
> "B. Chernick" <BChernick@discussions.microsoft.com> wrote in message
> news:D032AB4D-3DB4-4892-9F2F-688869AB6EA1@microsoft.com...
>>I suspect I am but if that is the case, why doesn't the original combobox
>> have the same problem?
>>
>> "AlexS" wrote:
>>
>>> Are you using same object (listbox) for all rows?
>>>
>>>
>>> "B. Chernick" <BChernick@discussions.microsoft.com> wrote in message
>>> news:C226AC1A-8C1F-4DBD-8A34-D033BD4968C6@microsoft.com...
>>> > It is apparently necessary to continue using the old DataGrid in one
>>> > of
>>> > our
>>> > Dot Net 2.0 applications. Has anyone successfully created a datagrid
>>> > with
>>> > a
>>> > checkedlistbox control as one of the columns?
>>> >
>>> > I've tried modifying a couple of demos that have combobox columns but
>>> > while
>>> > my conversions compile, it appears that any change made to the
>>> > checkedlistbox
>>> > in one row is mirrored in all the others.
>>> >
>>>
>>>
>>>
>>
>
> Tag: Question on WPF Tag: 112617
Dynamic controls and postback.
I have to modify existing code :
Basically, it implemnts tabbed forms.
On the pageLoad,
the code creates the two selection controls, plus kind of page depending of
selected control.
On selected control_click,
do a page redirect to itself, putting in the url the new selected control.
This somewhat works, but when the user clicks on another tab, there is a
first rendering of the page with the initial page (page_load +
control_click) , then a redirect, then a new page_load with the new controls
displayed.
How can I ameliorate the round trip time, by rendering the new page in the
control_click, and not doing a redirect.
I have tried it, but its says invalid view state. So I disabled view state
for the tabbed page (it is in a table cell) , but it keep saying control ID
already used. (None of the dynamic controls created have ID).
Is there a better way to do tabbed forms ?
NB asp net 2.0.
Thanks.
François. Tag: Question on WPF Tag: 112616
How to select multiple cells in a single column by dragging for a
Hi,
The Cell Click action for my UltraGrid is Default as i want to edit the
particular cell and update it by tabbing out.
Now In Addition i also want Microsoft Excel like behavior where I should be
able to click down in one of the cell and drag to select
all of the cells between.Also i need to limit this selection to that
particular single column(as per my business requirement)
(When I change the Cell Click action to "Cell Select" i am not able to
update the cell by tabbing out which is my primary requirement)
How can i achieve both of these functionalities?
Thanks in advance,
Bobby. Tag: Question on WPF Tag: 112612
Localisation of Resources.resx
Hello all,
I'd like to know is there a resource editor one could use to create another
localised version of Resources.resx?
Winres.exe does not work. It reports tons of errors when I try to open the
resource file with it.
Thanks for you help.
BR,
GAZ Tag: Question on WPF Tag: 112611
DateTimePicker - how to show nothing when user has not specified a date?
Is there some way to have the DateTimePicker display nothing? I came up with
a hack but I was hoping that there was a less offensive method than the
horrid little code snippet that fell out of my fingers when I wasn't paying
attention.
Here's why I need to have the date time picker be able to not display date
information. My client wants to display nothing if the underlying data model
does not have a datetime value. If the user sets focus in the control then
the client wants the date time picker to immediately light up with a default
date time. If the user leaves the control without entering a value then it
goes blank again. Otherwise, it hangs on to the user's entered value from
then on.
Here's the hack. When the form is first shown, display the date time picker
if the data model's date time is valid. Otherwise, hide the date time picker
and display a text box where the date time picker would have been. When text
box receives focus, hide the text box, show the date time picker and
transfer the focus to the date time picker. On leaving the date time picker,
hide the date time picker and display the text box if the user did not enter
in a value. If the user did specify a value then leave the date time picker
visible and the text box remains hidden.
Most of this horrid little code snippet works just fine (or at least as well
as one might hope for). However, there is a problem with the text box's tab
index. It is set with the same value as the date time picker's but it
insists on being someplace very different in the tabbing order. Why is this
and how can I fix it?
A second little puzzle has to do with the date time picker's Leave event
handler being called in response to calling dateTimePicker.Focus(). Why is
the Leave event being called? How do I stop this?
--
Richard Lewis Haggard
General: www.Haggard-And-Associates.com
Please come visit here for a couple thousand good giggles!:
www.haggard-and-associates.com/Humor/humor.htm Tag: Question on WPF Tag: 112609
Is it possible to create a checkedlistbox column in a datagrid?
It is apparently necessary to continue using the old DataGrid in one of our
Dot Net 2.0 applications. Has anyone successfully created a datagrid with a
checkedlistbox control as one of the columns?
I've tried modifying a couple of demos that have combobox columns but while
my conversions compile, it appears that any change made to the checkedlistbox
in one row is mirrored in all the others. Tag: Question on WPF Tag: 112608
General question about deployment strategies for Dot Net 2.0 Winfo
I work in a large corporation with a large amount of legacy code. It is
intended to eventually replace the legacy code with Dot Net 2.0 apps. They
have a legacy update distribution system that they are rather 'fond' of.
(i.e. it isn't going anywhere anytime soon.) It seems to be mostly a
copying system, possibly using xcopy. Every machine in the system gets its
application updates this way. There is a reluctance to use ClickOnce or the
Windows installer. Frankly these applications are for internal use only,
the security requirements are not that strict, and the code is not that
complicated.
Given that, tell me if my assumptions are correct:
In general and at a minimum, when compiling a VB Winforms app, all necessary
reference dlls and resources are copied into the bin directory. Assuming
that the target machine has Dot Net 2.0, all that is needed is to copy the
bin directory to the target machine and it should run. (As yet there is no
need for shared assemblies or other complications.) Tag: Question on WPF Tag: 112607
Does Label send an Enter event?
I have a label control for which I've added a handler for the Enter event.
However, it doesn't not appear that this event ever gets called. Does Label
support Enter? If yes, is there something special that needs to be done in
order to enable this event?
--
Richard Lewis Haggard
General: www.Haggard-And-Associates.com
Please come visit here for a couple thousand good giggles!:
www.haggard-and-associates.com/Humor/humor.htm Tag: Question on WPF Tag: 112606
Mouse roller changes combobox SelectedItem not visible, wich fires SelectedIndexChanged event
Hi,
My form has several group, combo and textboxs. To make it easier to
reproduce I've simplified:
1) one group box with a combobox and a textbox and the combo has the focus;
2) the user first selects and item from combobox and the focus passes to
textbox;
3) user doubleclicks on textbox and the current groupbox which fires this:
a) current groupbox visible status changes to false;
b) based on the information the user selected on the combobox, a
DatagridView is displayed in another groupbox, changing focus to it;
c) and now, this is the problem, if the user uses the mouse roller then
combobox, in the invisible groupbox, SelectedItem is changed and I can't
explain why.
If the first groupbox stills visible, the problem does not occurs, but that
is not an aceptable solution, because the form remains with too much
information.
I hope my problem has become clear.
Thanks.
João. Tag: Question on WPF Tag: 112605
Forcing a datetime format for all users all over the world
Environment : framework 1.1, winforms, webservices, sql server 2000
Architecture of the application : database is hosted behind the webserver.
Client winforms application is installed on the client machine and webservice
are used to transfer the data from the client exe to the database over the
internet. Database\ webserver server is running on GMT time where as the
client machines can be running on any time zone and any part of the world.
Ado.Net Datasets are used to
transfer the data between the client machine to the database over the
webservice.
My application has 50 forms having thrid party grid controls used all over.
since it is gong to be used in all different countries, i want to do force
the datetime to have a specific format which is 'dd-mmm-yy hh:mm:ss' for all
culture. One way to do it is to hardcode this format in every form's control
but i think there might be a better way which is using the cultureinfo
object, is there any way to force this object to show a specific format for
datetime so that if it is set in one place (like the start of the
application) all controls in all forms will show this datetime format. If
anybody's got a piece of code, please show me the link.
thanks Tag: Question on WPF Tag: 112603
Problems creating a custom column within a DataGrid
We're doing a project using VS2005. A coworker needs to create a custom
column within the old datagrid. (Can't use the new DataGridView for some
reason unknown to me.)
This column will be a checked list box. I have not worked with the datagrid
in some time but I have managed to hack together a test program using
leftover code. (The usual techniques. Create a custom tablestyle, add the
columns, etc.) The code does work, at least so far as when i click on a
particular row, the checklistbox displays and is populated correctly. (The
grid itself is bound to pubs.titles. The checkedlistbox is bound to
publishers. No real code. Just fill the datasets and display)
The problem is this. I believe I am looking at only one instance of the
checked list box for the entire grid rather than a separate instance for each
row of the grid. Any changes I make in one row are visible in any other row.
I realise this is a pretty vague description but what would be some obvious
things to check for? Tag: Question on WPF Tag: 112602
Reading & Creating cookies in Local Machine using Windows Application
Hi,
Is there any way to read the cookies which are in local machine?
Can we create cookies using windows Application in the local
machine?
I am developing a windows application which needs to Read the
available cookies in the Local Machine, and it has to create cookies
in the Local Machine.
Thanks
Ramesh Tag: Question on WPF Tag: 112597
Delete controls that are initialized but not added to other controls.
Hello,
I create a complex UserControl, about 200 sub-controls in it, when I
complete it, I found there are many useless controls, e.g: button1, it is
initialized, but never be added to any other control as child control, so it
is useless. I want to optimize my control by deleting those controls. I am
wondering whether I can do it through some automatic tool? Thanks
zlf Tag: Question on WPF Tag: 112592
Winform App and security issues
I have a .Net WinForms app running on a server and the user accesses it
through the Citrix Neighborhood. A feature of the app is that it creates an
excel spreadsheet file and then the user can choose to save it to their
local hard drive. When the app was under VB6, this was not a problem but
now under .Net the app hangs when trying to save to the local drive. I
tried it and it worked but then I have administrator privileges on the
server. What do I need to do to the app so that users who do not have
administrator rights on the server can allow the app running on the server
under their logins to save the file to their local drives?
Thanks
Bill Tag: Question on WPF Tag: 112590
win help pop ups dont stop opening
Im at my wits end here,
been up 2 days trying everythingto figure this out. I have winxp pro sp2 and
no matter what program I open the help opens up like 40 times and once I
close them they just open up again. I have tried running a kaspersky scan,
nothing, online norton scan, nothing, regcleaner found and fixed some issues
but didnt fix my problem, Ive even gone into the services and disabled the
win help service and instead of the help popping up 40 times its an error box
saying that win couldnt find the help for that program over 40 times. I m at
a loss here if anyone that has any ideas please they would be greatly helpful.
Thanx all Tag: Question on WPF Tag: 112588
DataGridView and Enter key
I have a win form having DataGridView and one button which is accept button
for this form. Now when the focus is on form, enter key causes click event of
accept to fire. But when the focus is on DataGridView, enter key does not
fire click event of accept button.
I want click event to fire when focus is on DataGridView and user presses
enter key.
Steps to reproduce:
1) In WinForm application, add DataGridView and Button
2) Set added button as accept button and add click event for this button
3) Now run the application and click the DataGridView. The focus is on
DataGridView and pressing enter key, click event of button does not fire.
4) Run the application and set focus to form. Pressing enter key fires click
event of button.
Anyone knows how to solve this problem?
Thanks Tag: Question on WPF Tag: 112587
Problem with ClickOnce Deployment
I'm having a problem with a ClickOnce deployment. We have two identical (so
far as I know) Windows 2003 SP1 servers. I have successfully published to
one of the servers and installed from it. (There is still a slight problem
we have not resolved. We have to create a copy of app.config.deploy and
rename it <app name>.exe.config.deploy. Still haven't figured this one out
but once we do it, it works, no problem.)
On the problem server, however, the publishing still works, but when I try
to install from the server, I get the following error log. (You'll excuse me
if I hide the exact name of the server.)
---------------------------------
The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 5.1.2 {version}
Running checks for package 'Microsoft Data Access Components 2.8', phase
BuildList
Reading value 'FullInstallVer' of registry key
'HKLM\Software\Microsoft\DataAccess'
Read string value '2.81.1117.0'
Setting value '2.81.1117.0 {string}' for property 'MDACVersion'
The following properties have been set for package 'Microsoft Data Access
Components 2.8':
Property: [MDACVersion] = 2.81.1117.0 {string}
Running checks for command 'MDAC28\mdac_typ.exe'
Result of running operator 'VersionGreaterThanOrEqualTo' on property
'MDACVersion' and value '2.80': true
Result of checks for command 'MDAC28\mdac_typ.exe' is 'Bypass'
'Microsoft Data Access Components 2.8' RunCheck result: No Install Needed
Running checks for package '.NET Framework 2.0', phase BuildList
Running external check with command line
"C:\Temp\VSD12.tmp\dotnetfx\dotnetchk.exe"
Process exited with code 1
Setting value '1 {int}' for property 'DotNetInstalled'
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\Internet
Explorer'
Read string value '6.0.2900.2180'
Setting value '6.0.2900.2180 {string}' for property 'IEVersion'
The following properties have been set for package '.NET Framework 2.0':
Property: [DotNetInstalled] = 1 {int}
Property: [IEVersion] = 6.0.2900.2180 {string}
Running checks for command 'dotnetfx\instmsia.exe'
Result of running operator 'ValueExists' on property 'VersionNT': true
Result of checks for command 'dotnetfx\instmsia.exe' is 'Bypass'
Running checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'ValueExists' on property 'Version9x': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and
value '5.0.3': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property
'VersionMsi' and value '3.0': true
Result of checks for command 'dotnetfx\WindowsInstaller-KB893803-v2-x86.exe'
is 'Bypass'
Running checks for command 'dotnetfx\dotnetfx.exe'
Result of running operator 'ValueNotEqualTo' on property 'DotNetInstalled'
and value '0': true
Result of checks for command 'dotnetfx\dotnetfx.exe' is 'Bypass'
'.NET Framework 2.0' RunCheck result: No Install Needed
Launching Application.
URLDownloadToCacheFile failed with HRESULT '-2146697210'
Error: An error occurred trying to download 'http://<server name>/<app
name>/<app name>.application'. Tag: Question on WPF Tag: 112585
popup like live.com ?
hi guys..
I am looking for a sample windows application in .NET like when we do a
image search in www.live.com and when we take the mouse pointer near the
image it shows a popup message(like zoom) with its details. any idea how
to do a small program like that in .NET ?
Thanks,
-Aruan Tag: Question on WPF Tag: 112582
DataTable binding, Column change events, and BindingManagerBase PositionChanged
I've assembled a form with numerous controls that bind with different
DataTables representing a relational database. The DataTables are
arranged hierarchically.
To navigate the rows in the DataTables I'm using Prev/Next button events
that access the respective DataTable's BindingManagerBase.Position field
and modify it. Works _fairly_ well.
I've noticed that my DataTable.ColumnChanged event handler (used for
validation) fires once for each change the user makes (which is good and
expected), and once when navigating to a new row (which is puzzling).
For example, with no row edits a click on the Prev or Next button, the
ColumnChanged event handler fires.
Does this seem accurate, and if so why?
-Jamie Tag: Question on WPF Tag: 112580
changing columns and data in a listview at runtime
I have a executable winforms application I would like to change.
I use quite a number of listview controls in my main form.
I dump about 15 columns of data into a couple of listviews.
This data comes from classes that implement Ienumerable such as the below...
I use a method in the main form to update the listviews... s.
I want to change this application to
Only to show 4 columns of data (new data)
Have the ability for the user to choose at a right context menu click of the
listview to add up to 19 columns of data And have this data sorted in the
list view after choosing the column and sorting
QUESTION:
Is the correct thing to do to populate the listview with 19 columns of
string data and recreate the listview to try to hide the unwanted 15 columns
Let the user choose what columns he/she wants in the right context menu and
let the listView handle the sort and show only the columns selected
-or-
Create a new hashtable with 19 columns of data Recreate a new listview in
place with the user selected data columns kill the old one and pump in only
the data from the sorted and related hashtable
-or-
Something else? Tag: Question on WPF Tag: 112579
Displaying rich text format in a DataGridView
We've all seen search engines where keywords from the query are bolded in
the search results. I'm trying to replicate that in a DataGridView.
However, it only supports plain text. Is there any easy way to accomplish
this? I did run into some stuff on the web about converting RTF to a BMP
but, in my experience, it doesn't work well.
There's got to be a way to extend the DataGridViewTextBoxCell to support RTF
directly.
Thanks. Tag: Question on WPF Tag: 112573
Is it possible to develop a windows app using WPF and net 3.0 that will run
in a browser or on the desktop without any changes to it?