|
hi gurus,
I want to use this namespace microsoft.pointofservice" in my project for some smartcard operation........
Can anybody help me.....
I have installed VS 2003 framework 1.1 with servicepack
|
|
|
|
|
Have you tried searching for that namespace in MSDN ???
|
|
|
|
|
Hello everybody,
please provide me guidence in developing or configuring Instant Messaging using Communication Server
Thanks in advance
|
|
|
|
|
i am going to implement distributed compilation of csharp project and i cant manage to divide huge project into smaller compileable parts..........i need some help on it...........i have posted it again in detail which is
i have made a program that works as follows
1->i browse some csharp project and open the main .cs file
2->the program compiles that project and reports errors as we compile in .net compiler
i want to make my program work in this order
1)select a project of csharp
2)the program should divide the project into independently compileable parts
3)then it should display a list of those parts
4)on selecting one part it should compile that part
5)then after compiling all parts on selecting one by one it should link all the seperately compiled parts to generate exe and show the output
jaadoo
|
|
|
|
|
Hmm, but if one assembly using methods of other assembly, will compiler manage to link those assemblies?
|
|
|
|
|
Its a difficult problem thats for sure.
VS2005 currently is able to compile several projects in parallel, but this only works for projects in the solution that don't depend on eachother.
If you can at least get that scenario to work, you're well on your way in building a distributed compiler for different compile units.
In the meanwhile, checkout the CodeDom compiler and check MSDN for more info on how to use it. It should be able to make several parts of the assembly using parallel compile processes and link them together afterwards. I'm pretty sure you can even link external libraries with it.
I think a solution that does the following should be possible:
1. Master compilter pre-processes code units to discover internal dependencies between files
2. Master compiler sends out code units to be compiled by the slaves
3. Slaves compile non-dependend code units parallel and dependend units sequential (this part is hard).
3. Slaves send results over to the master compiler
4. Master compiler links the units together and links in external libraries
5. Output is send back to the user including both the compiled assembly and a report.
While this looks simple, this is really not an easy job. I would build several prototypes to research every step of the building process and start building the solution after that.
Good luck. There are plenty of people around here to help you with more information.
WM.
What about weapons of mass-construction?
-- modified at 14:18 Saturday 1st July, 2006
|
|
|
|
|
sir
thanks for ur replying me, sir if u dont mind will there is a possibility of some code related to this what u have written
|
|
|
|
|
Hello,
I have 2 MS Access databases, In each database I have a table called catlog. What I want to do is to check the catlog table in database (B) and pass over each row to see if it (the row) exists on table (A). If the row doesn't exist, I insert it as a new row, if it does exist I update the existing row.
I want to do that at the runtime of a C# program.
Your help would be greatly appreciated.
|
|
|
|
|
Maybe try to search for "database replication" in google.
One way you could trigger the changes and then do replication on another db. Or you can try to use one of replication tools.
Del
|
|
|
|
|
how i use set and get for ArrayList. plz help me.
|
|
|
|
|
ArrayList arrLst = new ArrayList();<br />
<br />
public ArrayList Array<br />
{<br />
get { return arrLst; }<br />
set { arrLst = value; }<br />
}
|
|
|
|
|
thanks for help. be happy.
|
|
|
|
|
How do you XML document namespace?
I'm testing my project documentation with NDoc.
And I could see I have no namespace documentation (at last there is a red warning no <summary> for namespace).
How do I fix that?
|
|
|
|
|
When I've worked with XML Documentation, I do not remember ever having to define a summary statement for a namespace. However, I do have to create summary statements for every class and every public method within my class.
To create your summary statements, position the cursor at the line above the class definition. Then just hit '/' three times. It should autopopulate your class definition with all of the expected xml comment tags appropriate for that class. Then all you have to do is fill in the text between the summary /summary tags.
Do the same for every public method and make certain you populate info about the parameters. When you publish your dll, anyone that references that dll will get your doc file and get intellisense for your class and method definitions and usage. Voila, self-documenting code.
|
|
|
|
|
Hi,
I'm trying to learn C# and am making a little program that retreives product groups from a database.
The productgroups are linked with eachother and can have a unlimited amount of levels.
To give you a id, this is basicly the structure of the table with groups:
id | parent_id
--------------
1 |
2 |
3 | 1
4 | 1
5 | 4
6 | 6
Wat I want to make is a treeview with the nodes arranged this way:
1
|_3
|_4
| |_5
| |_6
2
The code i'm having now is this:
public void PopulateTreeView()
{
DataTable myParentDataTable = getParents();
for (int i = 0; i < myParentDataTable.Rows.Count; i++)
{
TreeNode parentNode = new TreeNode(myParentDataTable.Rows[i]["naam"].ToString());
parentNode.Name = myParentDataTable.Rows[i]["id"].ToString();
treeViewLeft.Nodes.Add(parentNode);
PopulateChilds(parentNode, (int)myParentDataTable.Rows[i]["id"]);
}
}
private void PopulateChilds(TreeNode tnParentNode, int iParentId)
{
DataTable myChildDataTable = getChilds(iParentId);
for (int j = 0; j < myChildDataTable.Rows.Count; j++)
{
TreeNode childNode = new TreeNode(myChildDataTable.Rows[j]["naam"].ToString());
childNode.Name = myChildDataTable.Rows[j]["id"].ToString();
tnParentNode.Nodes.Add(childNode);
}
}
In the last function i've commented-out a line that calls the same function again.
But that's not working the way I want it and i don't know what i should do to get it working right.
Right now it's making the parent nodes and placing all the other nodes inside the parent nodes instead of making parent nodes within the parent nodes and so on.
So, does someone know how to get this wotking?
I probably have to make some changes to the PopulateChilds() function but i've no clue what to do.
I've tried several pieces of code found on this website but i just couldn't get it working the right way.
Thanks!
|
|
|
|
|
public TreeNode PopulateTreeView(DataTable table)
{
TreeNode[] allNodes = new TreeNode[table.Rows.Count];
for(int i=0; i<table.Rows.Count; i++)
{
TreeNode node = new TreeNode(table.Rows[i]["naam"].ToString());
int id = Convert.ToInt32(table.Rows[i]["id"]);
allNodes[id] = node;
}
TreeNode root = new TreeNode();
for(int i=0; i<table.Rows.Count; i++)
{
object o_pId = table.Rows[i]["parent_id"];
TreeNode parent;
if(o_pId is DBNull)
parent = root;
else
parent = allNodes[Convert.ToInt32(o_pId)];
parent.ChildNodes.Add(allNodes[i]);
}
return root;
}
|
|
|
|
|
Thanks for the code.
Though on compiling i'm getting this error:
'System.Windows.Forms.TreeNode' does not contain a definition for 'ChildNodes'
And I think I forgot to mention, but I'm using 2 querys at this moment, one to get the parent groups, and one to get the child groups from one parant.
That should become one query that just retreives the full content of the table with groups?
|
|
|
|
|
|
I know c++ and c# well.But never develop a big project that have so many components and will be extended for long time.
I want to make a program that can be develop by different users.Some of them prefare native app(com dlls, c++ dlls , etc) for components, some of them prefare managed components(.NET base components).
1-)Especially i think that i want to design my UI in c# and then other parts that my algorithms are working with c++ or c# codes.My UI or my application will able to interact between both .net dll or com dlls( i mean native).Is this right way?
I want to learn all your opinions and advices about such a program.I don't want to make mistake.
2-)I mean is this possible?C# host and native dlls.How can i do this?I mean i want to see my roadmap.In which points must i be careful?
3-)Also if i design my programs UI or shell with .net code(like c#) , in future i can utilize .net plugins but if my shell code or UI in c++ i can not write any plugin with managed code.Is this right?
Also if there are any sample applications like that can you send me their links.I really see how must i design my c# exe so it can be interact with both .net and com plugins that develop by differnet users.
Thanks.
I am looking for your answers.
|
|
|
|
|
|
Thanks ravi
I am reading it now.But it seems exe written in C# also plugins written in C#.But my question is especially for C# exe and native plugins (like COM or something else).I want to learn about how i can interact with native components(plugins) from C# exe(UI).
Thanks again.
Good works.
|
|
|
|
|
sawerr wrote: I want to learn about how i can interact with native components(plugins) from C# exe(UI).
Ah. You should be able to define a C# interface that P/Invokes itself into a DLL that exposes a vanilla C API. Using a C API (vs. C++) might be a safer route to work around name mangling issues.
/ravi
My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com
|
|
|
|
|
OK.
As i said i want to interact my exe both .net plugins and native plugins.So i must define my interface in two parts.One of them as you said(for native plugins).The other as the link that sent me in your first post(for .net pugin).Is this right?If something wrong please correct it.
Or are there different ways to do this?Any advice?If you know any sample codes it will be perfect for me.Because I can not find such a sample application.
Thanks.
|
|
|
|
|
sawerr wrote: define my interface in two parts
It seems that would be an appropriate way to go. I would first work on defining the .NET one and getting that to work, then extend that to work with a C DLL.
/ravi
My new year's resolution: 2048 x 1536
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com
|
|
|
|
|
Thanks ravi for all answer.
One more question i have.Why did yo say C DLL?I think i must force developers (that prefer to write native dll) for writing their dlls in COM.Is this wrong?Now i make a decision that:
My UI will be in C# ; plugins which will be in native format must be COM dll.Choosing com technology is wrong?
Thanks again.
|
|
|
|