|
Hi,
I guess that you have one single application that must be configured to fit in for each of the 34 provinces. If it is that, I would use clickonce, because click-once contains the distribution itself.
Other way would be to write an application that contains the update mechanism itself, like an antivirus-app. There are different patterns and frameworks for this, so it should be easy to find a good starting point.
Regards
Sebastian
|
|
|
|
|
thx my friend, the fact that each province uses its own version and a single update to any province should be distributede for 34 provinces.
i would really appreciate to have some reference regarding update mechansim as u mentioned for antivirus or can i use ".cab" from VS setup for my deployment?
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
MS published a pattern and practices-article about self-updating applications: http://msdn.microsoft.com/en-us/library/ms978574.aspx[^]
Have a look, it is quite interesting.
Didn't get it that each province has its own version. You mean you implemented ONE application, but to fit for the province it must be CONFIGURED?
|
|
|
|
|
thx, i mean the application is only one, but is installed in 34 provinces, if one provinces finds any bug or error in the application, that error needs be fixed and reflected to all provinces.
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Ah okay, sounds good. Well as mentioned before, click-once will suit your requirements perfectly.
|
|
|
|
|
|
Hi.
We are working on .net 3.5(wpf,WCF). We have a set of string say a List<objects> of a class with string data. We need to print it.
What is the best way out, keeping it lightwieght and simple.
Thanks
|
|
|
|
|
If you are printing reports, go for ReportViewer control or Crystal report. Or else in-built classes to print data would be best bet.
There is a WPF/WCF[^] forum here. IMO that would be better place ask.
|
|
|
|
|
Thnaks ..
Needed a pust to start , got it . Something called
System.Drawing.Printing ,
Thanks a lot ..
|
|
|
|
|
See this[^] article about printing data. Might help.
|
|
|
|
|
Hi All,
im working on c# windows forms,i need to add a check box control to datagrid while binding data.To be clear im adding some set of fields to the datagrid.I need to add checkbox in the cells having datafied "id".If i check that id check box i need to display the checked value.This is my question,please do needful.Im new to this windows forms.
Thanks in advance.
|
|
|
|
|
This[^] explains what you need.
Once, you have added the DataGridBoolColumn, handle its MouseClick event to display/hide the data.
I prefer using DataGridView instead of the grid. Check out if that suits your need.
|
|
|
|
|
hi all
I have a datagrid and another datagrid in the rowdetails. When 2 or more rowdetails are displayed, there is problem with scrollbar.
The scrollbar will not disappear when the row detail is collapsed using a button placed in the rowdetails..Please help me if anybody has the solution.
the code to Collapse the rowdetail is as follows:
private void CancelButton_Click(object sender, RoutedEventArgs e)
{
StackPanel panel = (((sender as Button).Parent as Grid).Parent as StackPanel);
DataGrid grid = panel.Children[1] as DataGrid;
DataGridRow row = DataGridRow.GetRowContainingElement(grid);
row.DetailsVisibility = Visibility.Collapsed;
}
thanks in advance..
|
|
|
|
|
is it possible to know the method used by dotnet libraries. i m using getbezierpoints method in dotnet to get the bezier points of a stroke. but not sure if dot net is using quadratic bezier points or cubic bezier point or something else. my further analysis depends on the method used by them. i asked the same question 2 days back n was suggested to seek help of reflector. unfortunately reflector is not able to give the code behind. is there any other way out. pls help
|
|
|
|
|
Hi,
for such questions there are IMO three possible answers:
- documentation
- reflection
- experiments
I would spend 10 minutes on documentation, try reflection for 10 minutes, then start a series of little experiments, trying out some extreme cases since those are most likely to show the differences.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
how to prevent same forms laod agin and agin from MDI???
|
|
|
|
|
use the below sample code.
bool flag = false;
FrmSearch search = new FrmSearch();
foreach (Form f in this.MdiChildren)
{
if (f.Name.ToString() == search.Name.ToString())
{
f.Focus();
flag = true;
break;
}
}
if (flag == false)
{
search.MdiParent = this;
search.Show();
}
Regards,
Karthik K...
|
|
|
|
|
KKarthik2000 wrote: if (f.Name.ToString() == search.Name.ToString())
AFAIK string.ToString() is a waste, it just returns
string<br />
<br />
:) <br />
<br />
<div class="ForumSig">Luc Pattyn <a href="http://www.codeproject.com/KB/scrapbook/ForumGuidelines.aspx">[Forum Guidelines]</a> <a href="http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=648011">[My Articles]</a><br />
<hr>The quality and detail of your question reflects on the effectiveness of the help you are likely to get.<br />
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.<hr></div>
|
|
|
|
|
Hi,
i need to convert a Java project to c#.
In java we have defaultTreeModel and defaultMutableTreeNode, jTable, JTree, jscrollpane is there any equivalent component in c# which performs same as the above mentioned java components.....??
I know there is treeview in c#... can i use tat one?
If so, plz tell me abt those components.....
thank u
|
|
|
|
|
vidhyaravichandar wrote: I know there is treeview in c#... can i use tat one?
TreeView should do all those and much more. Give it a try.
|
|
|
|
|
How to use tree view can give a details
|
|
|
|
|
Get a book
Read some doco
Get some samples and work through them there are plenty around.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
For a very long time now I've been having a problem with making an icon appear on the top-left part of my form. I have created a .ico file and it works for my .exe icon but whenever I try it on my icon property of my form it doesn't work. Anyone have any ideas why I'm having this problem?
|
|
|
|
|
An icon file can contain icons in a number of different sizes. You probably are not including one in the size needed for the corner of the form ( I am guessing 16x16 or 32x32 )
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
As Christian said, ICO files can contain several icons at different sizes (but meant to represent the same thing). Which "sub-icon" gets used depends on the situation AND the Windows version.
And Vista introduced new sizes.
This[^] and this[^] gives some details.
I never encountered a situation where an icon wasn't showing; I usually design it at 32*32 and that seems to work for me every time (that is on XP and Vista). However the favicon.ico shown in a browser's address bar has to be 16*16.
On XP hovering an ICO file shows a tooltip, which mentions the size iff there is only one. Don't know for Vista.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|