|
Do anyone know how to read the shapefile formats.
I want to do a simple application to show the map of some places using shapefile. Please help me
Regards
Hari krishnan
|
|
|
|
|
Some libraries exist as part of other applications (see for example here[^]).
If you want to do your own implementation you can read the format specification here.[^]. Notice that it is a bit of a WTF. They where unable to figure out if they should use little endian or big endian, so they made the obvious choice of using both in the same file - one for the file structure information, and another for the data itself.
|
|
|
|
|
thanks for the quick reply.. i was looking for some code using which i can finsh the map drawing quickly
|
|
|
|
|
I have created a progress form with a progress bar(Marquee) which i am trying to display while a stored procedure is run in the background which can take several minutes, the progres form works fine as does the stored procedure but the progress form will not display correctly while the stored procedure is being called, is there a way of forcing the form to display correctly and run while the SP is called in the background.
Any help would be greatly appreciated
many thanks
|
|
|
|
|
RichardContact-1 wrote:
s there a way of forcing the form to display correctly and run while the SP is called in the background.
Did you try to call the SP using another thread?
Regards
|
|
|
|
|
If you are calling the stored procedure from the main thread, it will be busy until the stored procedure completes. As all updates are handled in the main thread, your form will not be updated while the stored procedure is running.
Start a new thread that runs the stored procedure, that way the main thread can update the form while the stored procedure runs.
---
Year happy = new Year(2007);
|
|
|
|
|
Enter the site www.ou.edu.vn/diemthi. There r 2 textbox. Once i add 10360127 for both of username & password and click submit, the score page will occur.
I used the HttpWebRequest and NetworkCredential to send username & password with the request. But all i can recieve is the blank page with the banner only instead of the full score page .
Can u tell me the problem? I used the following URI in HttpWebRequest Create() method: "http://www.ou.edu.vn/EduNet/modules.php?name=diemthi&act=xl_xemdiemthi" Is it correct? If not, what URI should i use ?
|
|
|
|
|
Hi all,
Is there any free html editor available that can be used in ASP.Net, i tried on google,yahoo, i found FCK editor but its not working good.
Many Thanks adnan
|
|
|
|
|
|
Hi,
Thanks for repely.
I dont meant that, i want to get HTML Editor to use ASP.Net web forms.
Many Thanks,
adnan
|
|
|
|
|
FCK works fine. What problems are you having?
|
|
|
|
|
Thanks, when i get value of the fckgrid, it return me html, but when i am trying to store it in database (MS Access 203), it only stores first html tag, like page name , the rest one disapperar some where, i also did debuging the function which is inserting html gets full html, but i dont know y its not inserting .
And one more thing plz, how to deply it on server.
Many Thanks,
adnan
|
|
|
|
|
So, it works fine, and there's a problem in your code.
|
|
|
|
|
there's the Process class and it has this HandleCount property.
is there way to get these handles?
I'm trying to write app like Process Explorer but with logging capabilities.
life is study!!!
|
|
|
|
|
Quoted from MSDN: Handles provide a way for a process to refer to objects. A process can obtain handles to files, resources, message queues, and many other operating system objects. The operating system reclaims the memory associated with the process only when the handle count is zero.
These handles -as you can see-, are to resources, while the process itself has only one handle. You can get that single handle using the Process.Handle property. Other handles used by the resources are quite difficult to obtain.
Regards
|
|
|
|
|
"Other handles used by the resources are quite difficult to obtain"
well I found it quite difficult and thats why I'm writing here
life is study!!!
|
|
|
|
|
k. let's say I got these handles..
how to get registry keys and ports from them??
life is study!!!
|
|
|
|
|
How to make DataGridView column to input only numeric data, with filtering literals?
|
|
|
|
|
You can handle the KeyDown event and check if the character was a numeric or not. If not you should set e.SuppressKeyPress to true.
Regards
|
|
|
|
|
Hi.
Can someone tell me where/if I can find freeware graph/chart controls/libraries for .NET? I'm not interested in trial or evaluation versions of comercial libraries, but something basic and free. All I need is draw a simple, 2D bar chart on my C# Windows App.
Thanks.
|
|
|
|
|
There are lots of chart control in codeproject. Try to search it.
|
|
|
|
|
|
Let's say I have a cmdButton sitting on my form. It's a generic "Cancel" button, and I want it to perform different operations depending on which of my methods showed it.
Given that, how do I assign a handler to the Click event for the button?
I'm sure this is much more simple than I'm making it, but I've tried eleventy-seven different syntaxes, and I'm not getting it.
Thanks!
|
|
|
|
|
Well, Joe, this is how it appears in the Designer.cs code, if you allow VS to do it:
this.tsCmdBtn.Click += new System.EventHandler(this.tsCmdBtn_Click);
Does this help?
|
|
|
|
|
It sure does. Thanks, Batman!
|
|
|
|