|
Hi,
i have tried this but i have scanned an answer sheet of entrance test exam paper, n stored as image file so i want to read at which answer's line its option is selected.The image includes options like you have to choose one answer from 4.So i want find which option is selected.
|
|
|
|
|
studying would probably be easier, but you're going to need some kind of really cool OCR or image recog software, i've seen some articles on CP about it but cant remember what i was looking for at the time, i think one compared the color data of each pixel to try to find patterns, it may have even been looking for things that were circled. handwriting recognition software may help too.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Manas Bhardwaj wrote: If latter is the case, this should work:
former, not latter.
|
|
|
|
|
Hi I want to write a program to forward incoming tcp connections on port 22 on my computer to another address on the network (which happens to be 192.168.37.20) on the same port 22. Does anyone have any suggestion how I can do this?
|
|
|
|
|
NAT
why must it be a program?
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.passion != Programming)
|
|
|
|
|
I need to write a simple windows service that will automatically forward connections on port 22 (SSH) to the other address. And i have found no easy way to do this in windows, nor have i found a freeware program that can be installed as a system service
|
|
|
|
|
there is a way to do this that is built into windows as far as i know... its called NAT or Network Address Translation
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.passion != Programming)
|
|
|
|
|
but isn't NAT part of a server version of windows afaik? If not do you have any idea how to set it up on win xp pro?
|
|
|
|
|
i havnt a clue on how to do it on a pc, i just know that you can...
but ive done it on a router before... are the 2 pc's on a LAN or connecting though the internet?
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.passion != Programming)
|
|
|
|
|
It is on a lan. The router is configured to forward port 22 to my computer which is running windows. However, i am running coLinux on the system and it is connected to a virtual network device. Therefore port 22 (SSH) is forwarded to windows by the router, which in turn needs to be forwarded by windows to the coLinux system which resides at 192.168.37.20
|
|
|
|
|
VrIgHtEr wrote: Does anyone have any suggestion how I can do this?
Maybe you could start here?[^]
led mike
|
|
|
|
|
Hello
I am developing a new control based upon a button. In fact it is based upon code for a splitter button I found here.
So far I have updated the class so that multiple images can be assigned to the button. Each time the button is clicked the next image in the list is displayed. If there are no more images left it wraps around to the start. So far all good.
What I am trying to accomplish now is updating the image in response to a user selection on the context menu accessed by clicking the black triangle.
I want this to be automatic within the control. i.e. I don't want to catch the event in the form and handle it that way.
However im not sure how to do this within the control. I tried putting an event handler for the OnContextMenuStripChanged event in the controls code but it never gets called.
Hope that makes sense, any ideas?
Cheers
Rich
|
|
|
|
|
kildareflare,
You need to override the event.
protected override void OnContextMenuChanged(EventArgs e)
{
base.OnContextMenuChanged(e);
}
Make sure when overriding methods, that you always call the base method as well.
Regards,
Gareth.
(FKA gareth111)
|
|
|
|
|
When I try to connect to the Database using C# I get an error that says(provider is not supported or the DataAccessLayer could not be loaded)
I am connecting to Sql Server 2005 using C# 2008.
|
|
|
|
|
mphumeleli wrote: When I try to connect to the Database using C#
Make sure you are using the correct ConnectionString...
|
|
|
|
|
mphumeleli wrote: When I try to connect to the Database using C# I get an error that says(provider is not supported or the DataAccessLayer could not be loaded)
How are you trying to connect to the database. Show us the code.
|
|
|
|
|
Use a more meaningful subject line, please.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
If I use the 256 textboxes on the GUI, I noticed it loads a bit slow due to many components. is there a better and efficient way to display the 16x16 blocks? similiar idea as the multiplication table.
Listview is best way to do it?
and Occasionally I would be able to select the row/column so I can highlight the row/column.
Any suggestion?
|
|
|
|
|
Blubbo wrote: Listview is best way to do it?
Yes
|
|
|
|
|
suppose i have one sdi form and suppose there is one button called exit. when user will click on exit button then Application.Exit is called and my application end.......but the problem is when we finish our programm just by Application.Exit then program end but the process still show in process dialog....i mean after ending the program if someone just press Alt+Ctrl+Del then a task manager come and in the task manager dialog if u go to process tab then u can see the process is still running......so just tell me why the apps shows in process dialog.....plzz tell me how to stop my process in such a way that it will end and as well as it will not show in process dialog.
plzz give me the suggestion and sample code.
Thanks.
tbhattacharjee
|
|
|
|
|
The most common symptom for this is that you have another thread running. Make sure you stop all threads when you close your program.
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
I suppose, you have started another thread in the background of the application.
Make sure to stop all threads used within the application before the Application.Exit() is called.
|
|
|
|
|
I was using This Code...
//---Code---//
ManagementObjectSearcher mySearcher = new ManagementObjectSearcher("root\\WMI","SELECT * from Win32_TemparatureProbe");
foreach (ManagementBaseObject obj in mySearcher.Get())
{
if (obj == null)
{
label1.Text = "didn't find";
}
else
{
label1.Text = obj["Accuracy"].ToString ();
}
}
//---Code End---//
But No RESULT.
Plz me code for How to Get HardWare Information from CPU like Temparature,Voltage,FanSpeed. code in .Net
Thanks
Madhu.T
|
|
|
|
|
WMI wont get you there. I dont know what will either though.
|
|
|
|
|
You get much better results when you spell Temperature correctly
ManagementObjectSearcher mySearcher = new ManagementObjectSearcher("SELECT * from Win32_TemperatureProbe");
Also, maybe see the Win32_Processor WMI class for voltage info.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|