|
Hi,
Does anyone use anr O/R mapping tool for .NET platform. I searched the Internet and found two tools only" ObjectZ (www.mooongoose.com) and PORT (www.potis.com.pl). Do you have any experience in using any of them ?
Ava
|
|
|
|
|
Avaril wrote:
Does anyone use anr O/R mapping tool for .NET platform.
There is also EntityBroker from http://www.thona-consulting.com/[^]. It isn't released yet but work progresses fairly fast.
Documentation is a bit thin, especially when trying to figure out how you need to set up the database (the version I used didn't create the tables for you, I think it still doesn't).
James
"It is self repeating, of unknown pattern"
Data - Star Trek: The Next Generation
|
|
|
|
|
Thanks. I have already found two other tools. Objectz (http://www.mongoosesolutions.com/mg/products.asp) and Port (www.potis.com.pl).
Ava
|
|
|
|
|
|
Hi all
can anyone tell me if a function exists which draws a line segment or series of line segments which adds each point in the line to an array of points?? It would also have to take into account the width of the line drawn!!! Basically i want to be able to draw a line then click on it and compare the mouse click point against all points in the line for a match??
Any ideas would be great!!
Regards,
Paul
Paul Griffin
|
|
|
|
|
you need to work with GraphicsPath using PathData , look at PathData.Points
"When the only tool you have is a hammer, a sore thumb you will have."
|
|
|
|
|
Have a look at:
Graphics.DrawPolygon();
|
|
|
|
|
Ok im trying to count the characters that i have loaded into a buffer i have set up the following function
void countchars(char *buffer, int *count)
/*Counts the number of characters in the text file */
{
int i,counter;
char cdata;
count['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'];
do
{
{ for(cdata='A';cdata<='Z';cdata++)
if(buffer[i]==counter[count])
{
count++;
}
i++;
}
}while(buffer[i]!=EOF);
}
I am calling this function using the following code:
countchars(buffer,cdata);
printf("\nDistribution of letters in %s is:",fname);
for (c='A';c<='Z';c++)
{
N=cdata[c]+cdata[tolower(c)];
printf("\n'%c' %4d: ",c,N);
for (i=0;i
|
|
|
|
|
You might want to post this in a C/C++ board. The code above isn't C# style.
R.Bischoff | C++
.NET, Kommst du mit?
|
|
|
|
|
How can I extract a content from the OLE object as Text in C#? I have create in VB6:
...
OLE1.object.saveas "c:\tryFile.rtf"
...
and after that I started the Automation like
Set wordAutomation = CreateObject("Word.Application")
With wordAutomation
.Visible = False
.Application.Documents.Open ("c:\tryFile.rtf")
.Application.ActiveDocument.Select
.Application.ActiveDocument.content.Copy 'now is in Clipboard as Text
End With
...
How can I transform and implement this Code in C#?
Best regards
|
|
|
|
|
Hopefully[^] (23MB) a lot of bug fixes : Marshaling hazard, IE events, just to name a few.
...
If you want to take advantage of .NET 1.1 (read : make sure it's used instead of the current .NET 1.0 that might be installed), then remove .NET 1.0. By default, apps configured to start with 1.0.3705 will start with 1.1.4322 in case 1.0.3705 is not installed. That's kind of throwing away the .NET side-by-side versioning, but that's the simplest way I can think of to make sure you are always running .NET apps with the latest CLR.
|
|
|
|
|
including Visual Studio 2003, for download is available for MSDN subscribers.
![Laugh | :laugh:](https://codeproject.freetls.fastly.net/script/Forums/Images/smiley_laugh.gif)
|
|
|
|
|
Thanks for the info .S.Rod.
.S.Rod. wrote:
then remove .NET 1.0. By default, apps configured to start with 1.0.3705 will start with 1.1.4322 in case 1.0.3705 is not installed.
Did you get this to work with VS.net 2002? I'm just curious, I'm going to try it on a spare machine since my dev machine is pretty stable and I hate monkeying up a "good" set-up.
Hey don't worry, I can handle it. I took something. I can see things no one else can see. Why are you dressed like that?
- Jack Burton
|
|
|
|
|
Any idea on what are the bug fixes that was done to 1.1.
I have seen lot of docs saying breaking changes and new stuff added, but is there a place where they say the bugs that where fixed. I haven't downloaded it, so i'm not sure if the readme or some place contains that information.
- Kannan
|
|
|
|
|
Is there some control or DLL that facilitates rectange selection, as found on the Windows Desktop and many paint/presentation programs? Ideally it would help select child controls.
Or is this something that must be coded from scratch on a custom basis?
For instance, let's pretend that I wanted to simulate the Windows Desktop and wanted to be able to select icons by dragging a mouse to form a rectangle selection. Without any special DLL help, I would have to manage the drawing of the rectangle via mouse events, check for controls within the rectangle's area, and select the controls, perhaps by highlighting them in some way. Or I could also change the selections list by clicking on controls with the Control key.
|
|
|
|
|
Try ControlPaint.DrawReversibleFrame Method.
Regards
Smitha
It is better to be hated for what you are than to be loved for what you are not.
-- Andre Gide
|
|
|
|
|
Yeah, that's definitely part of what I'd need to do if I have to do it from scratch.
I was hoping since this seems to be a common enough task for applications that there would be more OS or Framework support for it.
|
|
|
|
|
|
XmlTextWriter writes forward-only streams. You should use XmlDocument if you want to manipulate the XML file.
XmlTextWriter would probably work okay if you just wanted to append to the end of the XML file, but XmlDocument will save you the trouble of having to worry about the formatting on a low level.
|
|
|
|
|
|
Nishant S wrote:
BTW XmlTextWriter will overwrite the file So even appending is not possible.
I wonder if that's true, if you get the XmlTextWriter's underlying stream and seek to a certain position in the file. I was able to do that when using an XmlTextWriter with a MemoryStream.
|
|
|
|
|
Arun Bhalla wrote:
I wonder if that's true, if you get the XmlTextWriter's underlying stream and seek to a certain position in the file. I was able to do that when using an XmlTextWriter with a MemoryStream.
Ah okay, that's an idea. But it'd still be sorta impossible or at least very difficult to write proper xml I guess. I'll look up XmlDocument as you had suggested.
Nish
Author of the romantic comedy
Summer Love and Some more Cricket [New Win]
Review by Shog9
Click here for review[NW]
|
|
|
|
|
can you write macros in c# ? if so how to begin ? can you reference a link or example plz.
tia
R.Bischoff | C++
.NET, Kommst du mit?
|
|
|
|
|
Yes you can, however, the ms docs have tons of examples all in VB.NET
I am going towards writing an add-in instead. The add-in wizard get's you started.
R.Bischoff | C++
.NET, Kommst du mit?
|
|
|
|
|
I have the following situtation
In my program i want to do request an dns lookup for several servers. How many servers are variable and are listed in a string array. Now i want to request the dns lookup not after each other but i want to do them in threads. So that not one dns lookup is waiting before the other is ready.
From each dns lookup thread i want the IPaddress as return value. And after all i want my program to continue after all threads are stopt.
So a quick summary
- Program start
- List of servers is in array list (for example 10)
- Starts 10 threads with the server to check as parameter
- Get response of the threads (and keep them in memory)
- Continue with program after all threads are done
I hope someone can help me with this. I search a lot about Threads but havend found a clear solutions for this problem. And if you think you had an other/better solution without threads, please reply also.
Thanx
|
|
|
|