|
I have data in dataset or datatable I need to design table dynamically with alignment, table column as background colour using console application.Please help me out this query.
Regards,
Abhi
|
|
|
|
|
Your question is not at all clear, try rewording it.
Veni, vidi, abiit domum
|
|
|
|
|
Doesn't seem to be much info on them. Main goal is, given an array of polygon points, I want to extract / copy that region of the CAD drawing and save it out to a separate file. Preferably a TIFF. This is for work, so if I need to purchase a library, that is definitely an option. This is for a throw away / in-house util, so the quickest / easiest way would be best. Performance is an issue as this will be used in a big production run.
EDIT: CAD files will be pretty large... I don't think I want to use a command line AutoCad -> TIFF converter and then load the TIFF file... although that'd probably work, performance would be the issue as the large CAD file would have to be loaded, and then I'd have to load the TIFF file again. Twice the work.
|
|
|
|
|
Start by reading this[^] thread.
SledgeHammer01 wrote: Twice the work. Twice the work for the computer. How much weeks are you prepared to spend optimizing this task? And what would the gain be in terms of time saved, divided by the money spent during development?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Seen it. Not very useful. Yes, twice the work for the computer. Runtime is important. If it takes 5 seconds to load the file, 5 seconds to convert it in memory, 5 seconds to write it out, then another 5 seconds to load the TIFF version, that is not a good implementation for us. 20 seconds overhead is not a big deal for a single run, but when you are talking about 10,000 runs, that 20 seconds becomes 200,000 seconds = 55 hours. 100,000 runs now takes an extra 23 *DAYS*.
|
|
|
|
|
SledgeHammer01 wrote: 100,000 runs now takes an extra 23 *DAYS*. Do they have to be processed sequentially by the same machine, or would it be allowed to divide and conquer?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
It has been a long time since I worked with AutoCad (2000 version), but couldn't you do this from within AutoCad by creating a layout with a polygon viewport and then plotting that to a TIFF print driver?
|
|
|
|
|
This guy[^] on the codeproject has developed a commercial program for reading CAD files, and I think there are some articles on the very toping on this site.
|
|
|
|
|
Hi,
I have a field in the database, which has 3 static values tied to it. Is there a way to define in the .dbml file some static values?
Meaning there is field called "CustomerType" in the database. CutomerType has only 3 values in dropdown, Patient, Physician, Nurse. Is there a way to tie this column to static values?
Thanks!!
|
|
|
|
|
What do you mean by "static" here? AFAIK, each record would be made "static" by it's primary key.
You mean that the list doesn't change? Then why not hardcode it? Would it hurt much to assume that at one point someone will add a "nurse chief"?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hi,
This project is set up as a Dynamic Data Scaffolding project. Something that is new to me.
I am trying to insert an item, but it should have a dropdown list of the items.
|
|
|
|
|
vkEmerson wrote: This project is set up as a Dynamic Data Scaffolding project. Something that is new to me. It was also new to me, just bookmarked a howto on the subject.
I was trying to convince you to use a normal table; but that'd probably generate an edit-page for the table. I assume that by "static" you mean read-only? Can you base the dbml part on a view?
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Sample .dbml file
<Table Name="dbo.DemocQ " Member="DemocQ">
<Type Name=" DemocQ ">
<Column Name="QuestionId" Type="System.Int32" DbType="Int NOT NULL IDENTITY" IsPrimaryKey="true" IsDbGenerated="true" CanBeNull="false" />
<Column Name="QuestionText" Type="System.String" DbType="VarChar(256)" CanBeNull="true" />
<Column Name="Enabled" Type="System.Boolean" DbType="Bit" CanBeNull="true" />
<Column Name="AnswerType" Type="System.String" DbType="VarChar(100)" CanBeNull="true" />
</Type>
</Table>
In this case, AnswerType, has 3 static values, which I would like to show as drop down list. Patient, Physician, Nurse. How can I do this? This is for the insert page.
Thanks, I will try to base this dbml as part of a view.
|
|
|
|
|
I'm using "system.speech" library to recognize voice commands, but I want to use genetic algorithms to improve recognition, and I'm new to GAs and I've some questions:
How to implement this (what is the population in this situation? the genomes..)
Can this be done using the c# speech recognition library or should I use FFT....
Any other advice ll be apprecited. Thank you
modified 15-Oct-13 10:21am.
|
|
|
|
|
I'd start with something simpeler; try training something to recognize something simple. Speech recognition is extremely hard, and it'll be quite the exercise to have it recognize and differentiate between "start" and "hard".
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Thank you for replying sir,
I can't understand how to do this, using speechrecognitionengine or something else?
And what about GA?
Can you please explain more or give me a link to some tutorials..
Thank you
|
|
|
|
|
Member 9973616 wrote: I can't understand how to do this, using speechrecognitionengine or something else? The speech-api as suggested by GuyThiebaut is your best option. There's quite some examples out there that use "MSAgent"; that makes responding to spoken commands somewhat easier.
Member 9973616 wrote: And what about GA? I doubt that you can "plug in" some GA code into some speech-engine. Unless you're familiar with one of either topics, there's little chance you'll be combining them succesfull.
Member 9973616 wrote: Can you please explain more or give me a link to some tutorials.. There's no tutorial on how to build your own speech-recognition engine. Google for MSAgent and follow the tutorials.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
I wrote a speech recognition application using SAPI - which was relatively easy to do.
SAPI will allow you to train the speech system too - have a look at the articles on this site as I taught myself the basics of SAPI from this site.
If you are interested in seeing if a SAPI application works for you check out my app - it's called First Officer and can be found on my teboweb.com site.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
hi xperts,
Greetings from Imran.
i want to make an application which crop image in 5 different sections. but problem is that image size is not fixed and angle is also not same. so how to get exact size of inserted image.
|
|
|
|
|
You need to clarify what you are doing with the image. What, exactly, do you mean by "crop image in 5 different sections" ? Do you mean that you want to take a source image and trim away parts of it five times ? Or, do you want to take an image file and create five files each of which contains a part of the image ?
What exactly do you mean by "angle" here: what is it that "has" the angle. What is the "inserted" image ?
Google CEO, Erich Schmidt: "I keep asking for a product called Serendipity. This product would have access to everything ever written or recorded, know everything the user ever worked on and saved to his or her personal hard drive, and know a whole lot about the user's tastes, friends and predilections." 2004, USA Today interview
|
|
|
|
|
Hi
How do I find a server name using c #.net?
Thank You.
|
|
|
|
|
This isn't a good question, particularly: how do we know what kind of server you are looking for?
You can find all the IP addresses on your local LAN: Retrieving IP and MAC addresses for a LAN[^] and use the DNS to resolve the hostname:
string hostName = Dns.GetHostEntry(ipAddress).HostName;
How you identify the server you are looking for from that, though...up to you!
The only instant messaging I do involves my middle finger.
English doesn't borrow from other languages.
English follows other languages down dark alleys, knocks them over and goes through their pockets for loose grammar.
|
|
|
|
|
|
I would like to make a windows service that gets started when application is launched and internet connectivity is available then checks for updates. It checks for and notifies user to download new updates.
Now, services can not be interactive. SO how the launching and the making this interactive can be achieved.
Does making services interactive posses security threat and is there any alternative to achieve the same ?
Thanks in advance.
|
|
|
|
|
Yes, they are a threat. There is a reason why you can't make then interactive any more.
Do it the correct way and have the service listen on a named pipe. Then you can have a second application launch when the user logs in and communicates with the service over the pipe. That application can put up any user interface required.
It takes a bit more work, but is infinitely more secure, stable and supportable.
|
|
|
|