Online timesheet 100$ for unlimited users
Online web based timesheet 100$ for unlimited users
Source code is available in just US$250
by http://www.livetecs.com
TimeLive Web timesheet suite is integrated suite for time record, time
tracking and time billing software. The TimeLive suite of products
deliver a time tracking solution for professional service providers.
Each of our products has been designed to meet the time tracking
needs of specific segments of the service provider market, including
both time tracking and time and billing applications.
TimeLive on-demand timesheet solution helps organizations eliminate the
paperwork and manual processes associated with time collection.
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":
Online 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 with multiple client contacts and departments.
- 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
- Customizable Timesheet Approval Paths
(None,Administrator,Project,TeamLead, External User (Client))
- 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.
- Role wise billing rates.
Billing
-------
- Different billing rate pick option like employee own billing rate, role
based billing rate, project specific billling rate.
- Billing rate history
- Billable / non billable hour tracking
- Different billing related reports
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.
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.
- Customizable Approval of Expenses with different approval options.
-- Team Lead
-- Project Manager
-- Administrator.
-- Client (External User)
- 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 Word, PDF and XLS file.
- Downloadable / Hosted version
- Free full featured basic version upto 5 users
- Unlimited disk space for all plans
- International date formats supported.
- Role based security.
- Multiple currency support.
- Fully customizable UI with ability of changing company logo.
Developed in ASP.Net 2, Microsoft ASP.Net Ajax 1.0, SQL Server 2005 Tag: Windows on top Tag: 116134
managed Multimedia development
I may be missing something, so I'm making this a general question.
I need to do some multimedia work. Essentially display a movie image (or two
in one windw) plus some text and overlay text. For the overlays to work I'll
need to be able to identify the movie frame being shown (ideally via an
event).
I expect to use Windows Media Video 9 movies as a minimum, though Flash
support would also be nice, and Quicktime support nicer still.
The end devie will be semi-embedded, and run on XPe at least, though I'd
love to be able to compile onto the .NET CF and run under CE6.0.
I've been working with the Quartz library and a public domain managed code
wrapper for that library.
To the question - there must be a better way than this! Have I completely
missed some .NET class? Yes, I've messed with the Media Player DLL but that
just doesn't have the fine control of the Quartz functions .. but the Quartz
functions are not managed and the process of calling it from a .NET
environment is .. well .. kludgy.
Any help or advice appreciated.
Phil Tag: Windows on top Tag: 116133
String Format
Hi All,
1. This is my string
"The description of the problem ERIndia_Bharti / 2/19/2008 8:37:00 PM last
comment only ER_Kista / 2/19/2008 9:45:00 AM last comment only ER_Kista /
2/19/2008 9:45:59 AM last comment only ER_Kista / 2/19/2008 9:47:00 AM"
I want to extract all those dates in this(here count is 4) and wants to
change them in the format say 2008-02-19T09:45:00(FOR 2/19/2008 9:45:00 AM
e.g.) and 2008-02-19T20:37:00Z(FOR 2/19/2008 8:37:00 PM) ,means 24 hours time
and then wants to store them in their postitions
like
"The description of the problem ERIndia_Bharti / 2008-02-19T20:37:00Z last
comment only ER_Kista / 2008-02-19T09:45:00Z last comment only ER_Kista /
2008-02-19T09:45:59 last comment only ER_Kista / 2008-02-19T09:47:00Z"
Where T and Z are just a aplphabet which needs to be concat.
How is this possible?This string has many dates like above in the sentence
but format will remian same(i.e. m/dd/yyyy h:mm:ss) so solution should be
general
Kindly help me
2. the other string wil be in the below format e.g. say
ER_Kista , 2/19/2008 9:47:50 PM
i want it to be printed as 2008-02-19T21:47:50Z
Where T and Z are just a aplphabet which needs to be concat.
Kindly assist me.
Thanks in advande for your work on this issue,
Deepak Tag: Windows on top Tag: 116124
VS2005 - disable main form until splash has closed?
Hi everybody,
I am using a form (predefined template) as a splash screen which is being
displayed for a couple of seconds.
Other than with older versions of VS I don't have to fiddle around with
timers and threads to display that form - it seems that the template is
implementing that behaviour behind the scenes for me.
However, I need to keep the main form deactivated until the splash form has
closed. How can I achieve that?
Cheers & TIA,
Olaf Tag: Windows on top Tag: 116115
Targeting for fw 2.0
Hi
I have upgraded a vs2003 app into vs2008. How can I tell vs2008 to target
this app for framework 2.0 instead of 3.5? I can't seem to find this option
anywhere.
Thanks
Regards Tag: Windows on top Tag: 116107
Capturing hot keys
Hi
How can my main form capture key strokes and pass them to various controls
on the form?
Thanks
Regards Tag: Windows on top Tag: 116106
ComboBox binding trouble
In a contacts app I have a company combobox setup like this:
DataSource = ds.Company
DisplayMember = "CompanyName"
ValueMember = "CompanyID"
The SelectedValue property is bound to the Contact table Company field.
companyComboBox.DataBindings.Add(
"SelectedValue", contactBindingSource, "Company");
The problem is the CompanyID is not being set in the Contact table's
Company column.
Company.CompanyID and Contact.Company are both type int
I've check it over several times... I'm not seeing what I'm doing wrong. Tag: Windows on top Tag: 116105
DNS-less Connection String Using VS2K5 Datasource Connection Wizard
The quick question is: when creating an SQLdatasource using the wizard in
VS2K5 which requires a new connection, does VS2K5 create a DNS-less
connection or not?
The long question is: I've been told that DNS connections strings
(Datasource=DNSName) are old news and that I should be using a DNS-less
connection string (like Datasource=ServerName); however, none of my
connection strings created with the wizard work anymore now that I've
deleted the DNS ODBC connection with the same name as the SQL Server.
Can anyone shed some light on this for me?
Thanks,
Ross Tag: Windows on top Tag: 116104
Copying data between two forms, allocated memory continues to grow
Hi,
I have a simple memory problem with two forms on a MDI project.
The first form (MainForm) open a second one (ImageForm).
Both the forms have an instance to a dataset (DataSet1).
On the ImageForm Form_Load event, I wrote code to copy all the records from
the MainForm.DataSet1.TB_Images dataTable to the ImageForm.DataSet1.TB_Images
dataTable. Note that TB_Images has an Image Field.
I can't understand why opening and closing ImageForm many times, the
allocated memory continues to grow.
This is the code:
' the MainForm opens the ImageForm:
Private Sub OpenImageForm()
Dim f As New ImageForm
If f.ShowDialog(Me.ParentForm) = Windows.Forms.DialogResult.OK Then
'do stuff (or do nothing, the problem doesn't change)
End If
f = Nothing
End Sub
'the Form_Load event of the ImageForm
Private Sub ImageForm_Load(ByVal sender As System.Object, ByVal e As _
System.EventArgs) Handles MyBase.Load
Me.DataSet1.TB_Images.Clear()
For Each rwImages As DataSet1.TB_ImagesRow In _
CType(Me.Owner, MDIParent)._MainForm.DataSet1.TB_Images
Me.DataSet1.TB_Images.ImportRow(rwImages)
Next
End Sub
Any help appreciated! Tag: Windows on top Tag: 116101
DataGridView Column Resizing Just Quit On Me??
I have a DataGridView "grid" filling a splitter panel and have set:
grid.AllowUserToResizeColumns = true;
Until just recently the column resize worked perfectly when I drug a
header column divider. Now, it has just stopped allowing me to grab
the column divider?
I can still reorder the columns by dragging them around ... so that
feature is still working.
The sorting by column feature works too.
Any clues? How do you troubleshoot such a problem?
I've been working on various other portions of the program ... but
none of that work should impact the grid's settings. I am really
stumped here. :(
Any suggestions much appreciated.
Thanks.
-- Tom Tag: Windows on top Tag: 116100
UserPaint problem with TextBox
Hi,
I am deriving my user control from TextBox .
As I want to do some drawing within the textbox , I am doing the following :-
1) SetStyle(ControlStyles.UserPaint , true );
2) Overriding OnPaint
The drawing stuff works fine in OnPaint .
The problem happens with the font ;
Though I have set the font property to "Arial", 12 pt .
the effect is not there when ==> SetStyle(ControlStyles.UserPaint , true );
I want to have the Arial font as well I need to do the drawing.
I tried with WM_PRINT , and PRF_CLIENT but it did not work .
Please let me know how to acheive the above .
Thanks in advance.
Sujay
--
Sujay Ghosh
Bangalore, INDIA Tag: Windows on top Tag: 116099
Error running app in production
Hi
I created a setup file of my app and remotely installed it on a clients
machine. The app bombs at start-up with the error;
Error while initializing application: Retrieving the COM class factory for
component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to
the following error: 8007007e.
The application also gave a stack trace which is given below at the end.
What's more there is no JIT debugger on the target system. What is the
problem and how can I proceed from here specially when I have little or now
way to debug the app on the target system.
Many Thanks
Regards
Stack Trace
========
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an
object.
at EMS.frmClients.RefrshDropDowns(Boolean FirstTime)
at EMS.frmClients.BindFieldstoDataSource()
at EMS.frmClients.frmClients_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.Show()
at EMS.frmMain.OpenForm(String x, Int32 id)
at EMS.frmMain.frmMain_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
IV
Assembly Version: 1.0.2968.12064
Win32 Version: 1.0.2968.12064
CodeBase: file:///C:/Program%20Files/IV/Events%20Manager%202008/IV.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Infragistics2.Win.v7.3
Assembly Version: 7.3.20073.38
Win32 Version: 7.3.20073.38
CodeBase:
file:///C:/Program%20Files/Information%20Vision/Events%20Manager%202008/Infragistics2.Win.v7.3.DLL
----------------------------------------
Infragistics2.Shared.v7.3
Assembly Version: 7.3.20073.38
Win32 Version: 7.3.20073.38
CodeBase:
file:///C:/Program%20Files/Information%20Vision/Events%20Manager%202008/Infragistics2.Shared.v7.3.DLL
----------------------------------------
Infragistics2.Win.UltraWinToolbars.v7.3
Assembly Version: 7.3.20073.38
Win32 Version: 7.3.20073.38
CodeBase:
file:///C:/Program%20Files/Information%20Vision/Events%20Manager%202008/Infragistics2.Win.UltraWinToolbars.v7.3.DLL
----------------------------------------
Infragistics2.Win.UltraWinExplorerBar.v7.3
Assembly Version: 7.3.20073.38
Win32 Version: 7.3.20073.38
CodeBase:
file:///C:/Program%20Files/Information%20Vision/Events%20Manager%202008/Infragistics2.Win.UltraWinExplorerBar.v7.3.DLL
----------------------------------------
Infragistics2.Win.UltraWinStatusBar.v7.3
Assembly Version: 7.3.20073.38
Win32 Version: 7.3.20073.38
CodeBase:
file:///C:/Program%20Files/Information%20Vision/Events%20Manager%202008/Infragistics2.Win.UltraWinStatusBar.v7.3.DLL
----------------------------------------
Infragistics2.Win.Misc.v7.3
Assembly Version: 7.3.20073.38
Win32 Version: 7.3.20073.38
CodeBase:
file:///C:/Program%20Files/Information%20Vision/Events%20Manager%202008/Infragistics2.Win.Misc.v7.3.DLL
----------------------------------------
System.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
Interop.Outlook
Assembly Version: 9.0.0.0
Win32 Version: 9.0.0.0
CodeBase:
file:///C:/Program%20Files/Information%20Vision/Events%20Manager%202008/Interop.Outlook.DLL
----------------------------------------
Zip
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase:
file:///C:/Program%20Files/Information%20Vision/Events%20Manager%202008/Zip.DLL
----------------------------------------
System.Transactions
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase:
file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Infragistics2.Win.UltraWinGrid.v7.3
Assembly Version: 7.3.20073.38
Win32 Version: 7.3.20073.38
CodeBase:
file:///C:/Program%20Files/Information%20Vision/Events%20Manager%202008/Infragistics2.Win.UltraWinGrid.v7.3.DLL
----------------------------------------
Infragistics2.Win.UltraWinTabControl.v7.3
Assembly Version: 7.3.20073.38
Win32 Version: 7.3.20073.38
CodeBase:
file:///C:/Program%20Files/Information%20Vision/Events%20Manager%202008/Infragistics2.Win.UltraWinTabControl.v7.3.DLL
----------------------------------------
Infragistics2.Win.UltraWinEditors.v7.3
Assembly Version: 7.3.20073.38
Win32 Version: 7.3.20073.38
CodeBase:
file:///C:/Program%20Files/Information%20Vision/Events%20Manager%202008/Infragistics2.Win.UltraWinEditors.v7.3.DLL
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box. Tag: Windows on top Tag: 116079
Send Email with attachment
I can't be sure my users will have MS Outlook installed, and therefore, I
don't know which client they're using
How can I generically popup a display, adding the currently open file as an
attachment, using whichever email client they have, so they can fill in the
subject and 'To' address? Tag: Windows on top Tag: 116076
Auto-arrange in data designer
Hi
If I remember correctly previous versions of vs had some sort of arrange
icons command but I can't seem to find it vs2008? What am I missing?
Thanks
Regards Tag: Windows on top Tag: 116058
Printing Programmatically using ReportViewer Control
I've built a report using the ReportViewer control in a Windows application
(VS2K5). With a timer control, I want to be able to programmatically output
it to a printer. FYI, I really rather not use a document control.
Can anyone point me in the right direction?
Thanks.
Ross Tag: Windows on top Tag: 116055
I think I have dain bramage
I am attempting to set the font to bold in the header of a DataGridView.
I am drawing a blank at getting the syntax correct. I want to finish this:
gv.ColumnHeadersDefaultCellStyle.Font =
Any help is greatly appreciated. Tag: Windows on top Tag: 116051
get the foreground window in my application
I'm trying to get the window that is currently on top in my
application, even if I'm currently working in another application.
Something like the P/Invoke call GetForegroundWindow(), but I want it
to operate only on my application's forms. I've also tried using
Application.OpenForms[], but I don't know how to tell which one is on
top of the others.
Any ideas?
Thanks in advance,
Cosmin Tag: Windows on top Tag: 116048
BackgroundWorker and ListView cross-thread exception
Hi,
I am writing an application which displays a list of computers on a network
and then pings each one and displays the result.
To keep the UI responsive, I am doing the ping operation using a
BackgroundWorker component. The Ping method loops through a list of Computer
business objects, pings the name of the computer and stores the result in a
property of the Computer object called Result.
The Computer object also implements INotifyPropertyChanged interface, which
raises a PropertyChanged event when the Result property is modified.
I have an event handler in my form class which listens for the
Computer.PropertyChanged event, and attempts to update the corresponding
ListViewItem with the result of the ping.
However, as soon as I reference the ListView control, or any of the items, I
get:
Cross-thread operation not valid: Control 'ComputerListView' accessed from a
thread other than the thread it was created on.
How can I ensure the ListView gets updated?
Regards,
James Tag: Windows on top Tag: 116032
MCSD Resource
I have found a resource providing answers for examination questions
being helpful in certifying for MCSD....
http://technical-talk.com/mc/mcsd/mcsd.asp Tag: Windows on top Tag: 116017
MSIExec invoked on each build
Thanks in advance for any information.
When I build my application, MSIExec is running in the background
while the project is compiling. Is there any way to turn this off? I
don't have any setup projects in the solution.
Thanks,
Morgan Tag: Windows on top Tag: 116010
Communicating with a service
Hi
I need a vb.net winform app to be able to query a service (also written in
vb.net) and get info in return. Is it possible? Is there a way to do this?
Thanks
Regards Tag: Windows on top Tag: 116009
Toolbars change locations
I am building a Windows Forms application in .NET 2.0 using VS 2005. The
application has a menu strip and a tool strip control at the top of the
form. The bottom of the form contains two status bars. I have found that
when I build my Release version and distribute it that others using the
application start it up and the toolbars and status bars change location.
For example the Toolstrip appears above the menu strip control, even though
in my code the design is explicitly set so that the menu is on the top and
the Toolstrip is below it.
I have tried setting the locations manually in the code.
I have tried removing the controls from the controls collection and
explicitly adding them back to the controls collection in the order that I
wish them to appear.
Still, regardless of what I do the toolstrips move. Is there a way to
"lock" down the toolstrips so they stay where the designer (me) has put
them? It looks extremely unprofessional to open an application and have the
toolstrips appear above the menu.
Thanks,
Matt Tag: Windows on top Tag: 116007
Textbox input from a customized location
Hi,
Environment : VS 2005 / .NET 2.0 / Windows XP SP2
Requirement :
class MyTextBox : TextBox
{
// more code
}
When I run the application my text box caret blinks in its usual place ( at
the left ).
I want the cursor to be X pixels from the left of the text box and hence
the user can only enter data from that location.
I tried with SelectionStart += X pixels -- it did not work
Then I pinvoke SetCaretPos(X, Y ) - showed up the caret position properly.
Problem :
Though the caret position shows up properly, when I type text within my text
box, the text is taken from the 0th location .
How can I force the user to enter data from the X th location where the
cursor is placed .
NOTE : I have handled OnPaint to do some graphics drawing inside the
textbox... dont think this has any relevance with this query ; just FYI if
something is linked up to this .
Thanks in advance .
Sujay
--
Sujay Ghosh
Bangalore, INDIA Tag: Windows on top Tag: 116006
Checkbox and selectnextcontrol
When selecting a Checkbox using the SelectNextControl() method, i've noticed
that the checkbox does not display the focus rectangle.
By writing a simple application with a button and two checkboxes (where the
checkboes have a tab index value greater than the button's), invoking the
SelectNextControl() method from the button click event handler, silently
moves focus to the first checkbox, but no focus rectangle is displayed.
Pressing TAB once, moves the focus to the second checkbox, which can be seen
as the focus rectangle IS displayed.
Any suggestions on how to get the focus rectangle to display for a checkbox
when using the SelectNextControl() method to move to it initially? Tag: Windows on top Tag: 116004
How to show waitcursor between different processes
Hi,
I have tried hard but not able to show waitcursor in betwen different
processes.I launch new application from current application by using
system.diagnostics.proceesstartinfo.Till second application is fully
launched,i want to show waitcursor.I have used Current.Cursor =
Cursors.Waitcursor.But it is not working.
Any ideas/insights would be highly appreciated.
Thanks in advance for repyling(as always)
Thanks and Regards.
Manish Bafna. Tag: Windows on top Tag: 116003
"Locked" controls?
Hi everybody,
in a VB.Net (VS 2005) application, there is basically three "states" in
which controls are to signal what can be done with them. Usually, values
loaded into controls may be looked at, but not edited ("Locked"). In
certain cases (simplest: user has the permission to change data), controls
allow changing their contents. While certain operations are being carried
out, controls are completely disabled (i.e. the form itself has its
Enabled-property set to <False>).
Thus I need a way of at least visually distinguishing between <.Enabled =
False> and i.e. <"Locked" = True>. The easiest way would be to have
controls appear exactly as the <.ReadOnly> property does - the controls'
background appears grayed out, but the forecolor remains black. This also
enhances readability and copying text or seeing the tooltip is also
possible.
Too bad this property can only be found in some controls but not even for
some the most usual ones, i.e. TextBox and DataGridView have it, but
ComboBoxes and DatePickers don't.
The <EnabledChanged> event didn't help either, as setting the forecolor of
the resepective control seems to not be considered when the control is
disabled.
Any idea how I could realize something like a <ReadOnly> appearance for
controls that themselves do not publish that property?
Cheers & TIA,
Olaf Tag: Windows on top Tag: 116002
Getting benefits of Application Framework while using Sub Main for
I have an application that uses Sub Main as the Startup Object.
However, there are certain features available when enabling the
Application Framework (e.g. specifying splash screen, single instance
application, application-level events, etc.) that I have forfeited by
doing this. I'm not sure why one can't have a Startup Object of Sub
Main when enabling the Application Framework, but I'm sure there's a
good reason. So, here are my questions:
Right now the only thing I'm doing in the Sub Main is 1) creating some
global objects that will then be available to all forms, etc. in the
application, and 2) loading a login form where the user can login. I
then check to see if login was successful, and run the application if
it was. Here's the code:
<STAThread()> Public Sub Main()
CreateGlobalObjects()
' Let user attempt to login
Dim login As LoginForm = New LoginForm()
login.ShowDialog()
If (login.DialogResult = DialogResult.OK) Then
Application.Run(New MainForm())
End If
End Sub
QUESTION 1: Is there a way that I could accomplish the same thing but
do it using a form (LoginForm I'd presume) as the Startup Object?
QUESTION 2: What are the good reasons to use Sub Main rather than a
form as the Startup Object?
QUESTION 3: If I can't do the same thing using a form as the Startup
Object, how could I 1) implement a Splash screen, and 2) limit
application to single instance, bringing up existing instance if user
tries to run again? Tag: Windows on top Tag: 115995
Saving Print Output to Database
I need to save print output to the database for future retrieval.
I assumed that the best way to do this was to use a BinaryFormatter to
convert my PrintDocument to a byte array - strore the binary stream - then
deserialize it upon recall.
Unfortunately the PrintDocument is not serializable.
How can I store the completed PrintDocument to the DB? Tag: Windows on top Tag: 115990
datagridview binding and object properties
Suppose I have an object that looks like this:
public class thing
private mOne as string
private mTwo as string
private mThree as string
private mFour as string
public property one as string
bla
end property
(and so on, public properties for the others)
end class
then I make a List(of Thing) and add a bunch of instances
then I bind the list to a datagridview
It's not possible for me to make the properties private
My problem is that I only want to display properties One and Two in
the grid view. I want Three and Four around to help out with sorting
and data type conversion, but I don't want to display them in the
grid. Currently, I just remove the columns programmatically. But
what I really want is to decorate the properties with attributes that
affect which properties appear in the grid. Does such an attribute
exist?
brian Tag: Windows on top Tag: 115987
Different color text in textbox
Can you have different color text is a standard TextBox?
I know you can in a RichText box but what about the TextBox.
Same with bolding - can you bold one line of text in the text box and then
unbold the next line?
Thanks,
Tom Tag: Windows on top Tag: 115985
Tabcontrol focus
I would like to connect a tabpage on a tabcontrol with a function key.
I know how to capture a function key. I can programmatically find my
selected tabpage.
Mytabpage.focus does not seem to do anything.
Do I need to create a tabpage click event?
--
Arne Garvander
Certified Geek
Professional Data Dude Tag: Windows on top Tag: 115981
newlines in textbox
I am using a TextBox as my status display and "\n" doesn't work.
What would I use to go to the next line in a TextBox.
I am doing something like:
Status.Text += String.Format("Opening
{0}\n",Path.GetFileName(strFile));
But the next line just continues on the same line.
Thanks,
Tom Tag: Windows on top Tag: 115979
Can't see textbox control
This makes not sense at all.
I created a textbox on my screen and set the name property to "Status".
If I double click on the textbox, it goes to the code page and shows:
private void Status_TextChanged(object sender, EventArgs e)
{
}
So obviously, it sees the object.
But in my code I have:
Status.Text += String.Format("Opening
{0}\n",Path.GetFileName(strFile));
And I get the following error:
An object reference is required for the nonstatic field, method, or property
'FileProcess.'FileProcess.Status'
How can that be????
In my FileProcess designer page I have:
private System.Windows.Forms.Button button1;
private System.Windows.Forms.TextBox Status;
private System.Windows.Forms.Label label1;
So obviously the object is there.
Thanks,
Tom Tag: Windows on top Tag: 115977
Padding problem
I'm experiencing a problem with a client that I have never seen. When I
receive code (windows forms) from him there is no .Margin = new System.
Windows.Forms.Padding(3,2,3,2) command. I can view the form in the designer
just fine, but when I compile and run the form doesn't correctly. Some of
the controls (mainly buttons) will be placed off the visible area. If I edit
the form, all of the locations change because my version of VS will add the
Margin assignment in. If I send it back to him, the same thing happens and
he can't see everything.
We are both using VS 2005 with all updates applied (that I am aware of at
least).
Has anyone seen this before, or is there a setting that I'm just not aware of
to default the padding.
Any help is appreciated. Tag: Windows on top Tag: 115974
DropDownButton inside datagrid strange problem
Hi,
I have a datagrid with a colum of DropDownButton type, I did this a lot of
times successfully, but now I don't know what's happens. It runs ok, but it
don't show displaymember in the grid (it shows value member a id number). It
only shows displaymember field if I click in the droDownButton.
Here a screenshoot to see it:
http://www.hhdirecto.net/drowdown.jpg
Do you know what could be the problem?
Thanks in advance Tag: Windows on top Tag: 115972
Application settings
Hi
Is there an easy way to allow user to change application settings at run
time short of editing the configuration file manually?
Thanks
Regards Tag: Windows on top Tag: 115969
Selecting target net version
Hi
Is there a way to select 2.0 .net as target framework AFTER project has
already been created or imported into vs2008?
Thanks
Regards Tag: Windows on top Tag: 115965
Application Frameworks for .NET
Hello, We are about to start a big project replacing legacy application with
an application that will be developed on .NET framework. Some people on our
team have experience with application frameworks in Java and FoxPro, and
they want to use some equivalent frameworks in .NET like Spring, CSLA.NET,
Strata Frame, etc
I've never used any app frameworks, so My question to you is have you every
used any of these or other frameworks, what was your experience like? Can
you recommand a good framework? Do application frameworks really make your
life easier and cut down the development time, or do they just introduce
more complexity and issues dealing with someone else's code and bugs? Tag: Windows on top Tag: 115957
Disable MDIChild's Restore Button
I would like to disable the restore button (either make it non-
clickable or hidden) in an MDIChild. However, I want the form to be
maximized first (by code WindowState = FormWindowState.Maximized)
before the form is shown. I also want the user to still be able to
close the window by clicking the X.
I have been able to achive this by the following:
frm.MdiParent = MasterForm.MdiParent
frm.MinimizeBox = False
frm.MaximizeBox = False
frm.Show()
frm.WindowState = FormWindowState.Normal
frm.WindowState = FormWindowState.Maximized
However, this causes the form to "flash" in a normal state and then
maximize. If I just set the min and max properties to false the state
to maximized and show the form, the button is still available to be
clicked. Its only when the code happens in the above order that I have
gotten it to work.
I don't mind intercepting API messages to accomplish this.
Thanks,
Matt Tag: Windows on top Tag: 115953
Multi-Threaded Form
I am new to C# and am trying to build a multi-threaded web crawler. I want
to crawl many sites all at once. I know how to use IHTMLDocument2 to parse
the document and can build a crawler that works just fine but all the sites
are being parsed by the main thread. With the WebBrowser control I can start
parsing when I get the Documet_Complete event. How can I do this with each
web site on a different thread? How are the Document_Complete events
handled? This is an Asycronous operation and so I cannot see how it can be
done. What I want is a way to have each webbrowser control (one for each web
site being crawled) to operate on a separate thread. That is what I want but
not sure if it is possible. Tag: Windows on top Tag: 115952
Minimize + NotifyIcon
Thanks in advance for any assistance.
I'm developing a "panic button" application where the user single
clicks on a notify icon to activate a window, then clicks on a button
to send a broadcast to connected clients, then I minimize the form to
hide the notification.
The issue is, when the form is minimized after clicking the button to
send the notice, it docks itself, albeit minimized, above the start
menu. The intent here is to have no evidence on the users desktop that
a call for help has been sounded.
If I Hide the form instead of minimize, the form isn't visible on
subsequent clicks on the NotifyIcon. Is there a way to return the form
to it's original "hidden" state?
Thanks,
Morgan Tag: Windows on top Tag: 115949
POST to URL
Hi,
I am working on a kind of a "stand alone" m\c where in i have to connect
using VPN to get into our company's network.
I have a Windows application net 2.0 on my local machine (WinXP) and was
trying to use HttpWebRequest/HttpWebResponse object to do POST to url.
However, i am always getting "// (407) Proxy Authentication Required " or
sometimes "bad gateway" errors.
I have tried to create a WebProxy as well (though my IE is not using any
proxy to connect to internet) by providing the VPN's IP. It did not work.
Can someone please let me know what can I do the POST ??
Thanks in advance, greetings, regards, any help very grateful .
--
http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.net
http://www.setbb.com/putainformatica/viewtopic.php?p=843
www.trabajobasura.com/solusoft Tag: Windows on top Tag: 115948
Single instance app
Hi
Is there a way to ensure that an app is only run once and if it is run twice
it terminates?
Thanks
Regards Tag: Windows on top Tag: 115942
Tabcontrol
I would like to connect a tabpage on a tabcontrol with a function key.
I know how to capture a function key. I can programmatically find my
selected tabpage.
Mytabpage.focus does not seem to do anything.
Do I need to create a tabpage click event?
--
Arne Garvander
Certified Geek
Professional Data Dude Tag: Windows on top Tag: 115941
laoding data from csv file
Hi,
I've a requirement to load the data froma csv file to sql server table
programaticlly..
I'm working with .net 1.1..so i can't use sqlbulkcopy concept..
which is the best approach to load the daat wrt performance...
as of now, i'm planning to populate into a dataset and loop through the
dataset
record by record and update into the db..is there any other alternative? Tag: Windows on top Tag: 115935
datetime help
Hi,
I've need some info regarding datetime conversions..
I've a string in the below format'"dd/mm/yyyy"..I want it to be converted to
Datetime object with the date format as "mm/dd/yyyy"
I've used the below code..
Dim provider As IFormatProvider
provider = New System.Globalization.CultureInfo("en-US", True)
drnewRow("Inv_Date_Detail") = DateTime.ParseExact("21/11/2007",
"dd/MM/yyyy", provider).ToShortDateString()
This workds fine if my current culture in regional settings is "en-US"..
but fails when I move my current culture to 'en-GB"..
I want a generic solution to this..
how shud i convert a "dd/mm/yyyy" to "mm/dd/yyyy" in vb/net? Tag: Windows on top Tag: 115934
Show Explorer.exe without minimize,maximize,close button
Hi,
How can i show Explorer.exe, without minimize,maximize,close buttons. I
tried calling with Process, ProcessstartInfo. But no way to control the same.
Any other ways?
Or is there anyway to show explorer.exe inside a winform?
Pl reply Tag: Windows on top Tag: 115926
Autocomplete with custom filter behaviour
Hi all,
I'd like to have a textbox column in a DataGridView with autocomplete
functionality, but the default behaviour (get with AutoCompleteMode,
AutoCompleteSource and AutoCompleteCustomSource properties) filters the
items from the initial letters (e.g. if I press 'A', in the AutoComplete
list I can see only the items starting with 'A'), while I'd like to filter
by searching inside the whole string (pressing 'A' show all items containing
'A' and so on).
Is there any way to get this behaviour? Tag: Windows on top Tag: 115923
KeyEventArgs
I know how to capture keys when I am focused on a textbox.
I would like to capture a help key, such as Alt+1, when my focus is on a
arbitrary point on my windows form. How do I do that?
--
Arne Garvander
Certified Geek
Professional Data Dude Tag: Windows on top Tag: 115921
Is there a way that I can determine if my windows form has focus, is acitve
or is on top?
--
Arne Garvander
Certified Geek
Professional Data Dude