Quantcast
Channel: Our ComponentOne » All Posts
Viewing all 14170 articles
Browse latest View live

VSPrinter8 Eval Expired Notice

$
0
0

We've had VSPRINTER 8 as part of our application for many years. All of a sudden several of our users are getting a popup saying "NOT LICENSED. THIS IS AN EVALUATION VERSION". I am attaching a screenshot.

What is causing this? Is there a workaround?


Reply To: Extended part of dropdown not populated with columns.

$
0
0

Peter,

Sorry for the confusion. I have reproduced the issue and reported this to the devs.

Internal ID: (214125)

~nilay

Reply To: InputTextBox don't select all text

$
0
0

Hello Brandon,

If the user clicks in InputTextBox once, cursor appears at the position where the user clicked. And, if the TextBox is double clicked, the complete text in it gets selected.

If your requirement is to shift the cursor at the last on double clicking the TextBox, you need to use the SelectionStart property as follows:



        private void InputTextBox1_DoubleClick(object sender, EventArgs e)
        {
            inputTextBox1.TextBox.SelectionStart = inputTextBox1.Text.Length;
        } 

Attached is a sample application for reference. Please let me know if this is not what you are looking for.

Thanks,
Pragati

Reply To: Merging c1 truedbgrid Header Columns ( Cells ) by adding Multiple Headers

$
0
0

Hello Imam,

Unlike C1FlexGrid, it is not possible to merge column headers in C1TrueDBGrid.

If you are creating this application from scratch, I would rather suggest you to use C1FlexGrid as it allows customizations to a great extent. For more information on how to do this in C1FlexGrid, please refer the link below:

http://helpcentral.componentone.com/nethelp/c1flexgrid/mergedtableheaders.html

C1FlexGrid Product Page- http://www.componentone.com/Studio/FlexGrid
Documentation- http://helpcentral.componentone.com/nethelp/c1flexgrid/componentoneflexgrid.html

Thanks,
Pragati

Reply To: Expanding after filtering grouped grid

$
0
0

Hi,

I am sorry to mention but I could not replicate the issue at my end. Please refer the attached application used for verifying the behavior. In the application, group the records in the grid by ShipCountry->ShipCity and then filter the data by entering '5' in EmployeeId filter bar. Now, the third and fourth groups ("Brazil->Rio de Janerio" and "Brazil->Sao Paulo") include record 5 but first group of the same country ("Brazil->Campinas") does not. When all the group rows are expanded using the code snippet you shared, third and fourth groups are expanded as desired.

Kindly modify the attached sample application so that I can use it to replicate the problem at my end and assist you further accordingly.

Thanks,
Pragati

Reply To: NullReferenceException in C1.Win.C1FlexGrid.C1FlexGrid.GetMergedRange

$
0
0

Hi Daniel,

Since your code snippet includes a number of unknown variables, I could not use it to replicate the problem at my end. The only time I have ever seen this type of behavior is with a multi-threaded app. The most common cause for this type of problem is one thread modifying the data while another is trying to paint the grid (or any other control).

If that is the case, I suggest you review the architecture of your application so the update thread uses the Invoke method before accessing the data. We have a sample called ThreadedUpdate that shows the correct way to do this. You can find this sample at the following location on your machine:
C:\Users\UserName\Documents\ComponentOne Samples\WinForms\C1FlexGrid\CS

In addition to this, please make sure there are no unhandled exceptions in the OwnerDrawCell event (i.e. no try catch block).

In case it does not solve the issue, please share a stripped down application replicating the behavior at your end. This would help me in assisting you further at the earliest.

Thanks,
Pragati

Reply To: Installation

Reply To: Offline Installer?


Reply To: VSPrinter8 Eval Expired Notice

$
0
0

Hi,

The nag screen appears when the application is not licensed. There may be certain reasons for the license nag screen to appear on client machines:

1. Are you instantiating VSPrinter at run time? Please note, it is needed to embed the license key for ActiveX controls created at run time as explained in the following blog article:

http://our.componentone.com/2011/03/04/embedding-license-key-for-activex-controls-created-at-run-time/

Or, you may place an invisible VSPrinter control on Form designer. This would automatically embed the licensing info.

2. The issue may also be related to the distribution of wrong controls. We ship both a 32bit and 64bit version of our ActiveX controls. The 64bit controls are geared towards C++ developers as VB6 never went beyond 32bit.

With 64-bit versions of windows, the 32bit controls are stored in the C:\Windows\SysWow64 folder and the 64bit controls are stored in the C:\Windows\System32 folder. This is reverse of what seems logical but this is the way Microsoft has done it.

I would suggest try deploying the versions of the controls from the C:\Windows\SysWow64 folder along with your application and see if that resolves the issue. Below is a link with more information about registering the ActiveX controls.

http://our.componentone.com/2012/02/10/registration-of-64-bit-activex-controls/

3. There may be different versions of VSPrint8.ocx (on client machine) which do not match the version against which you compiled your application. Please make sure that the version for which you are observing the nag screen is the one against which you compile your application.

If you have access to the client machine, you may try scanning the hard drive to check if there are multiple copies of VSPrint8.ocx in it. If so, you need to remove the other versions and keep only the version against which your application is compiled.

In addition to this, you may want to go through the "License Nag on Client Machine" section in the following blog article:

http://our.componentone.com/2012/08/17/troubleshooting-activex-licensing/

If the problem still persists, please let me know how exactly are you distributing this application to your clients.

Thanks,
Pragati

C1FlexGrid borders

$
0
0

I have Silverlight application with C1FlexGrid. I would like to add border after every fifth row and after every fifth column (see picture). Those lines should be visible only if I print grid (paper/pdf/etc.). How to implement this? I tried by myself to override CreateCellBorder but for example lost the color of left/top/right border while adding bottom border.

Difficulty to do custom grouping on one column values

$
0
0

Hello,
I am trying to do custom grouping on one column which has say three possible values.
Also the data is binded runtime (not using the datasource at designer).

Any help is appreciated.
Thanks in advance

Reply To: flexGrid with 'Multiline' columns

$
0
0

Hi Thomas,

The capture screenshot seems lost. Could you please provide a sample and a capture shot? This would help us to understand your case and provide solution for it.

Thanks,
Henry

Reply To: Scroll to current time

$
0
0

Hi,

In order to scroll the C1Scheduler to current time you need to set c1Schedule1.Settings.FirstVisibleTime property to current time. Below is the code to achieve the same.

c1Schedule1.Settings.FirstVisibleTime = new TimeSpan(DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);

Hope it helps.

Thanks,
Akshay

Reply To: BUG: An extra line for each line inserted into code

$
0
0

Hi Alexander,

I could replicate the issue at my end as well. I have escalated it to the development team (tracking ID: 214418) and will let you know once there is any information from them.

Thanks,
Pragati

Reply To: Difficulty to do custom grouping on one column values

$
0
0

Hi Kinjal,

For applying custom grouping to a column, you need to set 'GroupInfo.Interval' for the grouped column to 'GroupIntervalEnum.Custom' and then inside the GroupInterval event, set e.value for the customized ranges. You can optionally set 'GroupInfo.ColumnVisible' for the grouped column to true. Attached is a sample application that performs custom grouping for "Fees" column.

Please refer the following blog article for more information on advanced grouping functionalities:

http://our.componentone.com/2006/01/11/advanced-column-grouping-in-true-dbgrid-for-winforms/

Thanks,
Pragati


Reply To: Merging c1 truedbgrid Header Columns ( Cells ) by adding Multiple Headers

$
0
0

Hello Pragati,
Thanks for reply but i'have Another important question, Is there a way to set VScrollBar of c1truedbgrid to left hand Side?
when i'am using CflexGrid (RightToLeft) properties Vscrollbar Automaticaly move to right or left,
for a reason of multiple language in my windows application i need to do this ..
i hope you understand me.

Reply To: Expanding after filtering grouped grid

$
0
0

Hello,

Thank you for your reply. I have modified the project and attached it in order for you to replicate the issue. I have expanded all the groups initially when the program runs,then grouped to ShipCOuntry and ShipCity as you have suggested. And I have also added the expand all grouped columns code lines to the Filter Change event.

Now on the EmployeeId filter, if you type 3, then the list is filtered and expanded from "Argentina" to "Brazil", However other countries like "Canada" and "Denmark" also has the EmployeeId of 3 but they are not expanded.

Now instead of 3, type 5 . You will notice that all the grouped rows collapses and never expands again automagically although the Expand code has run in the event.

Thank you very much again .

Insufficient Amount of Ticks on the Axis

$
0
0

Hello,

I have some trouble with the automatic tick placement in some scenarios.
If the axis range is small, like from 1 to 1.1 or even smaller, there are only 1-2 ticks placed on the axis (see screenshot).

Is there any way to force the library to place more ticks on the axis?

Thank you in advance for any help,

Michael

Reply To: Moving VScrollBar to the left side of grid

$
0
0

Hi,
Please note, there is no direct way to achieve your requirement in C1TrueDBGrid.
However, I am working on this and will update this thread once I have any solution.

Thanks,
Sonu

Reply To: C1.WPF.OLAP issue

$
0
0

I apologize for the delay in getting back to you. I tried replicating the issue at our end by running the CustomizePage demo sample and changing the row/column data and filter multiple times, but the app did not crash. Can you tell me the version of C1Olap you're using? If you're using an older version, can you try the latest one i.e 4.0.20162.524.

If you're still facing the issue, kindly attach a video which shows the issue.

Viewing all 14170 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>