- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 4
- Posts with Upvotes
- 4
- Upvoting Members
- 3
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
29 Posted Topics
@cartesin I think your IP cam has some stream interface with it. If it has raw rtp on it then you need to process it and learn how to read rtp packets. Or you can read on this [URL="http://msdn.microsoft.com/en-us/library/cc998472.aspx"]http://msdn.microsoft.com/en-us/library/cc998472.aspx[/URL] Or you can search on using Media Player in c# and …
If you really like using Microsoft provided technology you can download their free IDE's , the visual express editions. I think you're pretty confident enough with your OOP understanding and technically speaking you should not have any problem jumping around from PL to PL if your basic is good. You …
See this link [URL="http://www.c-sharpcorner.com/uploadfile/mgold/codedomcalculator08082005003253am/codedomcalculator.aspx"] execute math expression via CodeDom[/URL] Much simpler approach: [URL="http://www.vbforums.com/showthread.php?t=397264"] Evaluate expression and execute[/URL]
Hi guys, I created a Library 3 years ago and it is built around interfaces and generics. Now I needed to extend one of my application to support WCF. On my test scenario I can load it up on my application as part of different application domain. My problem now …
No you can't use a double in Sleep since its signature requires you to put an int datatype. You can cast your double to int if you really want to use your double variable.
Hi guys I would like to know if there is a way for us to create a custom Oracle Profile in C# just like in MS SQL?
This is simple, this is either you properly design your classes using Interfaces or if you're really on a hurry , create your clsDoTran with member variables of clsParty and clsAccount.
Hi guys I need help how to convert my uint and int to 3 byte array. Converting it to 4 byte array is easy since .Net has BitConverter class but now I really need to convert it to 3 Byte Array hope someone can help me out. Thanks
I've done this kind of application directly from the radio itself. The radio we're using supports both serial port communication and ip base. The equipment I'm using had its own protocol and documentation with it and I used it for data processing. If you don't know the protocol then I …
This is a better code. You can even add the datatype per parameter.
Just use regex for this problem: [CODE] string input = "SMS_dr_6500"; string output = string.Empty; output = System.Text.RegularExpressions.Regex.Replace(input,"\\D",string.Empty); int intValue = 0; int.TryParse( output , out intValue ); [/CODE]
It seems that your database resides on your local computer. Install your database somewhere else and add specific database user that have restrictions based on privileges of that account. In your client app you just need to have a configuration file that can be edited on the fly for the …
Mastery is the key to pass exams and experience. You will not understand fully how the inside and outs of .net framework and the technology it used if you really don't know how to implement it first. I suggest that you put into actions what you've learn and see if …
First of all your application is a window app, you can't just fire a form method with having an issue of cross-thread exception. If you really wanted to have your app using thread then you should create your own class using a thread inside of it or use background worker …
Use .Net either using C# or VB.Net or Java. Quit VB6 and better migrate your old VB6 apps to .Net and take advantage of OOP.
It is very simple to check if an input is a valid numeric data type. In your case you're using int you just need to use Int.Parse( textbox value ) or Int.TryParse( textbox value , out var ). Int.TryParse method will return a boolean value if the conversion is successful, …
Add-on apps are plugins, using interfaces that needs to be loaded on the main application domain. Upon start up and loading of add-ons, there should be a process that checks if the current add-ons are updated or not ( You need to implement your own protocol to determine this, e.g. …
If you're using MS SQL server then you can use its notification services to prompt users that there has been an update. Now its up to your client to keep up on it and how such updates will be interpreted. You can also go with the time stamp logic but …
You should study again data types, you can't force your math operations on int data type and what are real numbers is. By the way check on Math.ceiling and Math.Floor methods it might help you further.
There is a lot for you to learn in C#. I guess you need to start with simple application first rather than to jump to some advance programming . Learn the fundamental first and the language capabilities for you to properly design your applications. May be this will help you, …
I think you have issue on reading 2 files, your threads are running against each other and causing them to wait for each other causing your app to hang up. Clean up your code and re-code it properly. For your virtual memory problem, you have too many objects that are …
I have this problem also when I was migrating 50 500GB files and it took some time also. The problem is that we're reading the file block by block and buffering it in our application which I guess is too time consuming but it works perfectly. I don't know if …
I don't know how you've coded your server class but you have 2 options for listening for clients either use AcceptSocket method from Sockets.TcpListener class or use BeginAcceptSocket. BeginAcceptSocket will require you a callback if a new tcp client is connected on your server. In AcceptSocket method, you need to …
There's a lot of deprecated functions in higher version of .Net. But still you can work with your older ones into the new version but you need to recompile and fix other errors if any is found. If your code is too large and you'll be migrating it to new …
You said that you're already using multi-threading on your project. It seems that you're actually going to a race condition somewhere on your code. Check it out. To solve your problem in writing to a log file with multiple threads, a good way to do it is to queue up …
It looks like your doing some pluggable system architecture. For you to create objects dynamically you'll be needing some reflections coding and the basic to do it is by using interface. Let that interface do the work for you. See this link [URL="http://msdn.microsoft.com/en-us/magazine/cc164170.aspx"]http://msdn.microsoft.com/en-us/magazine/cc164170.aspx[/URL]
If you want to redirect your Console.Writeline messages to a textbox then you should create a class inheriting Sytem.IO.TextWriter just like: [CODE] public class ConsoleStreamHandler : TextWriter { private TextBox output = null; public ConsoleStreamHandler(ref TextBox output) { this.output = output; } public override void Write(char value) { base.Write(value); MethodInvoker …
Hi it all depends on your system architecture. Sometimes distributed application uses disconnected kind of application wherein messages are pass on message queue or other queuing applications. You also need to check if your current data is indeed current and has not been updated by other client applications. For your …
Hi guys I just need some enlightenment on how I should implement one of my projects. I've been migrating my codes from unmanaged to manged code and I chose Java as one of our primary PL to use. From time to time I've used some of Java products like GlassFish. …
The End.
powerbox