|
|
|
You are welcome
|
|
|
|
|
Hello
I search a map control that can display ECW maps with latitude and longitude coordinates. I can also pay something for this control.
Thanks for helps
|
|
|
|
|
Dundas has one, don't they ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Yes but they can't display ECW files. I must have a control that displays maps in ECW format.
PS: Thanks for the reply!
|
|
|
|
|
Hello,
On a lot of websites now, you can just enter your house number and postcode and it will bring up the rest of the details. Well, i want to implement this into one of my projects.
Does anyone know what this is called? and if so, is it free to download?
Regards,
Gareth.
|
|
|
|
|
Downloading something is unlikely as you'll need a regularly-updated database of postcodes and addresses. As you said postcode, I assume you want details for the UK, so Royal Mail provide all this information, but not for free.
There are companies that provide web services to do what you want, again unlikely to be free.
Try here.[^]
|
|
|
|
|
Hi Craster,
Since this is a personal project, i don't want to pay for something that isn't critical but useful.
Thanks for the reply.
Regards,
Gareth.
|
|
|
|
|
Unfortunately, Royal Mail has a license on the address data so you end up having to pay for it. Companies such as GB Mail and QAS tend to roll the license into their own, so you end up paying one fee which covers their license and the Royal Mail one.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi Pete,
Ahh well. Looks like I'm not gonna be able to do this then.
Cheers anyways!
Regards,
Gareth.
|
|
|
|
|
Hi
I am implementing autocorrect functionality(same as in MS-word doc) in dotnet windows application. In MS-word pls select Insert->AutoText->autotext.
it opens window in that select autocorrect tab. in that we can see tow text boxes replace and with below that we have a grid.
when you type some char or text in replace textbox, the data in grid is highlight accordingly.. how can I achieve this functionality in dotnet windows application and c#, and sql server as Database. and also I want to cache the result of sql query in memory..
I have done all add,replace and delete functionality. can anyone suggest?
if send code its great and pleasure..
Thanks
|
|
|
|
|
I am currently tasked with providing a friendlier user interface here at work that will provided new features, but also will interact with several console apps. I need to be able to read/write to these applications. The key is being able to read and write multiple times to the same process.
I understand that I could use batch files for this but this will not provide the real-time feedback and interaction that I need to pull this off cleanly.
I am a former VB6 developer that has been using C# for a short time now. I have written similar applications to this one in VB6 using a DLL written by Franky Braem (http://www.codeproject.com/atl/redirect.asp). This worked great and is what I need to recreate in C#.
I have a code that is capable of reading and writing to the console using the System.Diagnostic namespace redirecting stdin, stdout and stderr (single thread). My issue with this code is that I have to close the StreamWriter of the process in order to read the stdout. Due to this when I attempt to send a subsequent string to the console I get an error that the TextWriter has been closed. Can I reopen this? I cannot locate anything on doing this.
I played with a second example written by Scott Hanselman (http://www.hanselman.com/blog/SoManyMistakesForMeToMakeSoLittleTimecapturingStandardErrorAndStandardOutput.aspx) that is multithreaded. This exhibits the same behavior described above.
In reality I would really like a C# version of Franky Braem's redirect DLL in C#. Any help here will be greatly appreciated!
Thanks
-- modified at 15:18 Friday 14th September, 2007
* Made clarifications
|
|
|
|
|
mbender wrote: then I need to know how to write to the Textbox control from a different thread.
Have you searched for information on that? Have you tried the C# threading tutorial here on CodeProject?
|
|
|
|
|
Sorry got the thread issue resolved. What I cannot get is a class that acts like the redirect library referenced at the beginning.
|
|
|
|
|
hi,
This is little complex...
i have Ant script which calls 'devenv.exe' to compile a project written in .net 2005. Here a third party dll is used(it was developed in .net framewrk 1.1. and i'm using framewrk 2.0)
When i compile the project from solution explorer, it compiles without any error. But when i do it by using devenv.exe, it says that it can't locate the dll...below is the error:
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not locate the assembly "signdll". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors."
can anyone tell why this happens?
|
|
|
|
|
Hi i have the following code in my form.cs file...
DataTable dt = new DataTable("SampleTable");
DataSet ds = new DataSet("Dataset");
dt.Columns.Add("EmpNo", System.Type.GetType("System.Int32"));
dt.Columns.Add("EmpName", System.Type.GetType("System.String"));
DataRow drow;
drow = dt.NewRow();
drow["EmpNo"] = 1001;
drow["EmpName"] = "Ranjith";
dt.Rows.Add(drow);
drow = dt.NewRow();
drow["EmpNo"] = 1003;
drow["EmpName"] = "Surrendra";
dt.Rows.Add(drow);
ds.Tables.Add(dt);
Now i want this data table (either the dataset ) to be displayed in a report. I've .rdlc in my project and the report viewer control.
Also I've tried by setting the reportViewer into local mode and adding the data table as datasource, but still the report is seen blank.( I haven't done anything on the .rdlc file after creating it)...
Can anyone help me out in this?
Koushik
|
|
|
|
|
Here is my previous reply on similar question:
You should define Microsoft.Reporting.WinForms.ReportDataSource and assign
Name and Value for it and than add it to the ReportViewer controls
LocalReport.DataSource. The best will be to take a look a tutorial video at
http://perseus.franklins.net/msnewengland/reportviewer.htm
and the code generated in InitializeComponent. Of course, this is applicable
if you are generating local report (server reports are even easier).
|
|
|
|
|
Hi
We have an application which is dual developed for both SQL 2000 and Oracle 9i. We are having a very strange problem which seems to be specific to Oracle. When a control is left we are having to specifically set the latest change to the dataset as it does not seem to be automatically persisted.
Has anyoone experienced this issue before with Oracle and databinding in .NET 2.0?
Thanks in advance.
|
|
|
|
|
Me no. Somebody I used to work with. Yes.
There seem to be several issues with Oracle and databinding (or rather the Oracle provider and databinding). One problem he had was deleting data and then recreating it (with a unique constraint on the name). Even though he thought he had issued the delete, and the data in the dataset looked like it had been deleted, the underlying database hadn't been affected.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Hi,
What can cause the following warning occurs?
The element 'StackPanel' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation' has invalid child element 'FileInputBox' in namespace 'clr-namespace:UserControlTest'. List of possible elements expected: 'StackPanel.CanHorizontallyScroll, StackPanel.CanVerticallyScroll, StackPanel.ScrollOwner, StackPanel.Background, StackPanel.IsItemsHost, StackPanel.Style, StackPanel.OverridesDefaultStyle, StackPanel.Triggers, StackPanel.Resources, StackPanel.DataContext, StackPanel.Language, StackPanel.Tag, StackPanel.InputScope, StackPanel.LayoutTransform, StackPanel.Width, StackPanel.MinWidth, StackPanel.MaxWidth, StackPanel.Height, StackPanel.MinHeight, StackPanel.MaxHeight, StackPanel.Margin, StackPanel.FocusVisualStyle, StackPanel.Cursor, StackPanel.ForceCursor, StackPanel.ToolTip, StackPanel.ContextMenu, StackPanel.InputBindings, StackPanel.CommandBindings, StackPanel.AllowDrop, StackPanel.RenderSize, StackPanel.RenderTransform, StackPanel.RenderTransformOrigin, StackPanel.Opacity, StackPanel.OpacityMask, StackPanel.BitmapEffect, StackPanel.BitmapEffectInput, StackPanel.ClipToBounds, StackPanel.Clip, StackPanel.SnapsToDevicePixels, StackPanel.IsEnabled, StackPanel.IsHitTestVisible, StackPanel.Focusable, sgUIElement...
It's happen when I add my own UserControl, of course the application is working in proper way.
thanks in advance
|
|
|
|
|
Hi
I am trying to load shapes like rectangle and ellipse on a dockpanel but i cannot figure it out how can i do it.can someone please gave a sample of how can i do it then i will take it from there.
Mamphekgo
|
|
|
|
|
Having got fed up of having to continually double click my way through each of the columns in my DataGrid component, is there anyway of
either..
1) Automatically getting the datagrid to resize its columns to the data
or...
2) Automating this double click at the join of all the columns in a datagrid
Cheers
Give me strength, give me caffeine
|
|
|
|
|
Hey Keith,
There is a private method in the DataGrid control class that you can’t access directly through coding, however, all is not lost as Reflection can assist you here. I’ve done this before and implemented however I can’t find the souce I used so here is a brain dump from what I can remember:
<code>
private void MyDataGrid_DataSourceChanged(object sender, System.EventArgs e)
{
try
{
Type assemblyType = MyDataGrid.GetType();
MethodInfo methodInfo = assemblyType.GetMethod("ColAutoResize", BindingFlags.NonPublic);
for (int i = MyDataGrid.FirstVisibleColumn; (i < MyDataGrid.VisibleColumnCount); i++)
{
methodInfo.Invoke(MyDataGrid, new object[] { i });
}
}
catch (Exception ex)
{
}
}
</code>
I hope this gets you furthur in your project, happy reflectioning!
Fernando Mendes
Senior .NET Developer, Architect
|
|
|
|
|
dataGridView.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.AllCells
|
|
|
|