|
I am looking for Cardinal Splines C# Implementation.
Don't forget, that's Persian Gulf not Arabian gulf!
|
|
|
|
|
|
No! Let me say: I am looking for how cardinal spline formulas are implemented, I am looking for its source code.
Don't forget, that's Persian Gulf not Arabian gulf!
|
|
|
|
|
|
Hi there !
I want to create a configurtion file, something like ProjectName.exe.config file, which will include XML elemnts that don't have "key" and "value".
For example:
<server id='BR.1.ET' address='127.0.0.1' dbg='true' maxClients='4' description='Server details'>
I want to read without going through all the nodes and attributes. Is there something similar to this method:
String dsn = ConfigurationSettings.AppSettings["pubs"];
?
Bye
|
|
|
|
|
nahumtakum wrote:
I want to read without going through all the nodes and attributes. Is there something similar to this method:
Well, you are going to have to write your own implementation of IConfigurationSectionHandler . Take a look at my article : An extension for a Configuration Settings class in .NET[^]
-Nick Parker
|
|
|
|
|
Hi Nick !
Can you please supply me the Test.exe.config file you are working with in your article ?
Thanks.
|
|
|
|
|
nahumtakum wrote:
Can you please supply me the Test.exe.config file you are working with in your article ?
I will soon be updating the article to identify this item and other issues that should make things more understandable. I need time which I am lacking at the moment.
-Nick Parker
|
|
|
|
|
Hello,
I have a problem with remoting. In my remoting component I have a custom defined exception handling class. This class derives from the ApplicationException class. Now i need to send my custom exception to the client via remoting. As i have already inherited the ApplicationException class i cannot inherit the marshalbyrefobject which is required for remoting.
So how can i send my custome exception object to the client via remoting?
I have tried sending the exception object by using another class which inherits remoting and then creates an instance of the custom exception class. Still it throws some errors (remoting based or serialization based). If I try to use the [serializable] attribute it throws a deserialization error when I run the application.
Please Please help as my work is stuck unless i solve this one.
|
|
|
|
|
Hi guys,
we developed a object persistent framework for .net and posted it at sourceforge as GPL (Url: http://www.sourceforge.net/projects/opfnet/). I don't know if somebody out there wants to check out our library in his own applications. You are welcome to use it in your open source projects and to give us a feedback - if you want!
We posted also a tutorial on the page. As it is not so easy to understand a thing never used before without tutorial.
Perhaps somebody likes it. It would be cool to get feedbacks.
Thanks and bye bye.
Christian
ps.
codeproject - i like it! i guess the best page for .net sources thanks a lot to the authors of the articles on this page. They ARE very helpful!
________
love your code and code your love
|
|
|
|
|
what about publishing an article about it here in codeguru?
eperales
|
|
|
|
|
That would be a great idea! I guess I'm gonna do it...
I have only to check first - how to do it...
Christian
|
|
|
|
|
I want to print all files of a directory in a single click(Print Command).Files are of diffent formats(egs..,.txt,.pdf,.doc).Is it possible to do so..?Kindly Respond
Thanks in Advance..
V.Pillai
|
|
|
|
|
I 've create satelite assmebly for my applicartion.I use this line of code to set the CurrentUICulture:
Thread.CurrentThread.CurrentUICulture = new CultureInfo("fa-IR");
But I have to only plcae it befire InitializeCommponet() in the cunstructor of Form.I want to do it in other plcae too,for examkpe user select a language from a combobox. Is that possible?
Mazy
No sig. available now.
|
|
|
|
|
I have a weird problem to solve -- is there a way to turn an already compiled MDI application into SDI. It doesn't have to be a perfect solution -- it can be a manual process. For example, if I can get a list of MDI child winodws in the MDI, then have a button for me to manually make a MDI child window into a SDI window, that will be enough for me.
Any help will be greatly appreciated.
Kam
|
|
|
|
|
I think you can simply set the MDIParent property of each child window to null at runtime:
foreach(Form f in this.MdiChildren)
{
f.MdiParent = null;
}
|
|
|
|
|
Hi. I am transferring an XML file to another PC's shared folder. I tried to use a File.Copy method but the XML file that has been transferred to the other pc becomes garbage. Is there another way of transferring the file that it won't become garbage?
I used the ff code:
File.Copy("\\\Data\\" + FileName, true);
Where Data is a shared folder. The file got there alright but the content is just garbage. Please help.
"To teach is to learn twice"
|
|
|
|
|
I would suspect that something else is going on since that code should work. It's not as if the operating system treats XML files differently than other files when copying them. I'd play around a little to try and discover what's occurring.
Cheers, Julian
Program Manager, C#
This posting is provided "AS IS" with no warranties, and confers no rights.
|
|
|
|
|
HI. Thanks anyway. It now works.
|
|
|
|
|
good day,
hi i have the application consists of Webservices, COM+, and a client all written in c# .net, and all in different machine. In webservices computer i have the application proxy of com+ deployed(exported from com+ server computer) and reference it on the my web service, and on the client machine i have the web reference to my web service.
My problem is i cant access the com+ server from the webservice, it return an error "ACCESS IS DENIED", but when the com+ server and webservice(iis) is on the same machine, and i have the client accessing the webservice and of course the webservice accessing also the com+, it works fine.
If it is on the same host, no further work needed. If remote: export an app
proxy and install it on the webserver and the my webservice use that application proxy, it doesnt work.
How do I activate the COM+ components from other machines using webservice?
(using the COM+ export utility, remoting and etc.).
PLS HELP ME, thank and GOD BLESS
good day,
hi i have the application consists of Webservices, COM+, and a client all written in c# .net, and all in different machine. In webservices computer i have the application proxy of com+ deployed(exported from com+ server computer) and reference it on the my web service, and on the client machine i have the web reference to my web service.
My problem is i cant access the com+ server from the webservice, it return an error "ACCESS IS DENIED", but when the com+ server and webservice(iis) is on the same machine, and i have the client accessing the webservice and of course the webservice accessing also the com+, it works fine.
If it is on the same host, no further work needed. If remote: export an app
proxy and install it on the webserver and the my webservice use that application proxy, it doesnt work.
How do I activate the COM+ components from other machines using webservice?
(using the COM+ export utility, remoting and etc.).
PLS HELP ME, thank and GOD BLESS
|
|
|
|
|
good day,
hi i have the application consists of Webservices, COM+, and a client all written in c# .net, and all in different machine. In webservices computer i have the application proxy of com+ deployed(exported from com+ server computer) and reference it on the my web service, and on the client machine i have the web reference to my web service.
My problem is i cant access the com+ server from the webservice, it return an error "ACCESS IS DENIED", but when the com+ server and webservice(iis) is on the same machine, and i have the client accessing the webservice and of course the webservice accessing also the com+, it works fine.
If it is on the same host, no further work needed. If remote: export an app
proxy and install it on the webserver and the my webservice use that application proxy, it doesnt work.
How do I activate the COM+ components from other machines using webservice?
(using the COM+ export utility, remoting and etc.).
PLS HELP ME, thank and GOD BLESS
|
|
|
|
|
Hi,
I have build a C# application. It runs fine on my computer
Now I want to distribute this app to others. But some of the "others" do not have .NEt installed on their machine. How can I distribute "all" that is need for the app to run.
I am sure the good folks on this board would have come across this problem before and would have some solution/suggestions for me.
Thanks,
Suhas
|
|
|
|
|
Hi,
Yes there is a solution , I had the same problem as you, you can use the same tool that Visual Studio ships to Install your app, to include the .net framework, there is a trick, you have to take a look to:
Microsoft .NET Framework Setup.exe Bootstrapper Sample
That solution works, to make it more elegant you should pay $$$ and buy some professional tool, Wise or whatever, but this will work for you for 0 $
HTH
Braulio
|
|
|
|
|
Hi,
I want ComboBoxes displayed in all columns of datgrid, always visible. And there are a lot of things in DataGrid that are difficult to resolve.
For ex, I always see one extra row at the bottom even when I have added the rows through DataTable and the DataTable.Row.Count is correct but Grid.VisibleRowCount is 1 greater.
Also, I don't want the column with readonly=true to be selected, whereas when I click on that column the background of that row becomes gray !
Any help would be highly appreciated !
Thanks.
|
|
|
|
|
To disallow users from clicking or selected a particular column, you will have to use custom table style for your data grid. In this custom table style you will have to add custom data column styles - DataGridTextBoxColumn.
Derive a class from DataGridTextBoxColumn and in that override the Edit method and in that method do nothing.
public class MyTextBoxColumn : DataGridTextBoxColumn
{
public MyTextBoxColumn()
{
//
// TODO: Add constructor logic here
//
}
protected override void Edit(...)
{
if (!ReadOnly)
{
base.Edit(..); // call base class
}
//don't call baseclass, so no editing....
}
}
This should take care of it!
Hope this helps.
Suhas
|
|
|
|