|
hello all;
i have a c# code which generates TCP packet and send it on the LAN. but this code does not allow me to enter my data to send.
i have tried to add data field and link it with send function but i does not do this. i have also tried TCP.Data field to enter my data but no good result.
i want to ask you all genius persons, how could i add my data field in this code. Simply what i want is to send my data to LAN. if any generous has simple code that can do this, kindly give it to me.
thanks in advance.
regards
akqureshi
|
|
|
|
|
Hi,
Is anyone can help me? please.
I have a small project that I need to view a certain document file in my program, example a .doc file.
Is there any class or a control that I can used to view this certain document?
You're help is appreciated.
Thanks in advance.
regards,
erson
|
|
|
|
|
That very much depends on the document type!
But chances are, the System.Windows.Forms.WebBrowser or System.Windows.Controls.Frame might help you.
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
Hi to all,
i'm planning to create a new system using Visual studio for my company. but how am i suppose to create the system so that when the users wants to use this system he or she must install before he can use. besides that the users does not have a database system like SQL, how are they going to save the data or read from the data i created in my DB. are they suppose to install the DB as well ??
thanks
Warm Regards
Veon
|
|
|
|
|
veon cheng wrote: but how am i suppose to create the system so that when the users wants to use this system he or she must install before he can use.
Visual studio can make installer files for you. It offers a package and deployment kind of project template.
veon cheng wrote: besides that the users does not have a database system like SQL, how are they going to save the data or read from the data i created in my DB. are they suppose to install the DB as well ??
Is this a stand-alone application and database is centralized? If yes, requesting users to install a copy of DB is a poor idea. You can keep the DB in your server and provide an interface to access it (web service or WCF).
If all your users need separate database instances, they need to install DB on their machines. However, if the data to be stored is small and doesn't require a complex RDBMS system, you can use file system databases like SqlLite[^].
modified on Sunday, August 2, 2009 11:47 PM
|
|
|
|
|
hi Navaneeth,
Thanks for replying. ok, my company will be running the admin of this system, it has a number of outlets will be using this system as well how am i suppose to make the system communicate. for example there is some update in outlet A. And i wan all the other outlets and the admin system to update the info of outlet A to all the system. i'm very confuse in planing the system right now. pls give me some advice ,Thanks
Warm Regards
Veon
|
|
|
|
|
veon cheng wrote: how am i suppose to make the system communicate. for example there is some update in outlet A. And i wan all the other outlets and the admin system to update the info of outlet A
Hard to tell without knowing much about your systems. One way to do is keeping a centralized database. All updates should go to this DB. So your systems can poll this DB and display the changed data.
|
|
|
|
|
First of all you need to know the purpose of your system. Design the for accordingly, Design Database. Now try to implement it step by step. After complete,, make the installer of your system from visual studio it.
This link will help you,
C#
|
|
|
|
|
hi to all
Thanks for replying. ok, my company will be running the admin of this system, it has a number of outlets will be using this system as well how am i suppose to make the system communicate. for example there is some update in outlet A. And i wan all the other outlets and the admin system to update the info of outlet A to all the system. i'm very confuse in planing the system right now. pls give me some advice ,Thanks
Warm Regards
Veon
|
|
|
|
|
Your requirement is similar to a Point of Sales / Retail system.
The outlet has to keep an offline database, and synchronize with the server periodically or at end of day. New or updated data from outlet shall be sent to centralized server, and latest data will be downloaded from server and updated in the offline database.
The communication can be lease line, dial up, or through internet (you will need a DNS or fix IP for this).
The logic of synchronization is the difficult part, especially the master data from the outlet to the server.
I would suggest you approach vendors of existing system, instead of creating your own from scratch while without much experience in this field.
|
|
|
|
|
Are you actually going to build the system or be the business contract to the builder of the system.
I fear it is the former - attempting to build this solution with no prior knowledge of applications design is going to be very difficult.
I don't want to discourage you, no thats a lie, hire a professional to do the job, work closely with that person in the knowledge that you will be supporting the finished app and learn as much as possible. This will achieve few things, your company may get a good solution, you may get to learn about application sdesign and development, your copany will benifit from having a knowledgable support person in place.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hi to all,
=) thanks for all ya advice. i'm very glad that you guys reply me and gave me some good advice.=) i'm new to the corporate world just step into the REAL IT world.haha thanks hope to hear from u guys again
Warm Regards
Veon
|
|
|
|
|
Hello All,
I'm writing about an error that many people have reported, but one for which I have seen no fix.
When using ocr on a full image, the text within the image returns fine, after thumbnailing, if the thumbnail is too small(not so small that the text is in any way cut or distorted though), you get the ocr running error. Has anyone punched through on this? I'm a little tired of processing an image that's several times larger than I need just to avoid this error.
Thanks in advance.
|
|
|
|
|
I'm sorry, are you even on the right website ? Were you hoping to post on a website dedicated to some sort of OCR component ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
The limitations of the OCR library you're using would probably be better discussed on a forum dedicated to that library. Since you didn't mention which one that was, all we can do is point you at Google.
|
|
|
|
|
There's a few OCR articles on CP. I can't imagine any will work as well as a commercial library, the task being as complex as it is. I assume the OP thought that everyone who posts answers on CP, knows everything there is to know about all the articles on the site.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I have a service loader process which, unsuprisingly, loads services in a different AppDomain (according to a configuration and such).
Now my problem is, one the service throw an exception (in a System.Threading.Timer.Tick event) and it stops the process!
I was expecting only the AppDomain to die.
Can someone explain to me what can I do?
I.e. how to make sure an exception is not going to shut down my whole application but only a single AppDomain.
Note: I know for reasonably sure the error is not some nasty native memory corruption, as, it is a simple SqlException
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
.NET 2.0 onwards, an unhandled exception in a thread will terminate the whole process not just the AppDomain . If you want to get notified when unhandled exception occurs in a AppDomain , you can use AppDomain.UnhandledException event. However, this is good for logging the exception, but you can't prevent the application from closing.
A usual practice when working with threads is to wrap the thread entry point inside try/catch. This way, you can prevent application from terminating.
|
|
|
|
|
Thanks for this confirmation Navaneeth.
I'll ... have to do something!
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
how could I make double (key events) In C# programming language
I mean
when the user click(press) on the keyboard (a && b)together (maybe 3 or 4 keyevents)
how could I respond to all of them
plz help..
modified on Monday, August 3, 2009 4:19 AM
|
|
|
|
|
You mean when a key was pressed twice ? You'd have to keep track of the last key pressed, and if the same key is pressed again, it was pressed twice.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
"how can I make double"
double d = 0.0;
"how can I make key event": you don't, the system.
however, the event handler can be called twice.
let's say it's a WinForm control, you can write
protected override void OnKeyUp(KeyEventArgs e)
{
base.OnKeyUp(e);
base.OnKeyUp(e); // called it a second time to fire the event twice
}
A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station....
_________________________________________________________
My programs never have bugs, they just develop random features.
|
|
|
|
|
Have a rolling list of keypress results. You need to trap evey keypress in your app.
To track the last #n keys add a new key ot a List<>, check the pattern of the last 5 and remove the 6th from the list.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I need to create the private instance variable savingsBalance, which includes the amount the saver has on deposit, and the saver's first and last name.
|
|
|
|
|
You can use a class, struct or 3 variables/properties declared private .
private class SavingsBalance()
{
public string FirstName {get; set;}
}
Never underestimate the power of human stupidity
RAH
|
|
|
|