Forum: C# 3 Days Ago |
| Replies: 17 Views: 1,309 |
Forum: C# 4 Days Ago |
| Replies: 6 Views: 199 a separate picture box for each image yes, your bottleneck in performance will be loading the images from disk, Creating a new image using the images is just an extra step that is even slower, a few... |
Forum: C# 4 Days Ago |
| Replies: 6 Views: 199 The way you are doing it isn't bad, you just aren't using the buffer idea correctly, the paint event should just draw the buffer image, nothing else. all the other stuff including the loop should be... |
Forum: ASP.NET 7 Days Ago |
| Replies: 2 Views: 230 This is the C# forum, this is an asp.net question. I advise you post your question there for best answers. But its a simple solution. just use session variables. Create a long in form that compares... |
Forum: C# 8 Days Ago |
| Replies: 1 Views: 227 I'm interested. Details were emailed to address above. |
Forum: C# 8 Days Ago |
| Replies: 3 Views: 320 I don't recommend using wmp.dll, but I do recommend using directshow. Windows is built around directX. included in directX 10 and higher is the directX managed libraries that supply you with video... |
Forum: C# 10 Days Ago |
| Replies: 5 Views: 247 |
Forum: C# 10 Days Ago |
| Replies: 3 Views: 280 List<string> mylines = new List<string>();
using (StreamReader sr = new StreamReader("myfile.dat"))
{
while (sr.ReadLine() != null)
{ ... |
Forum: C# 11 Days Ago |
| Replies: 17 Views: 1,309 Essentially, the method called in that library expects some object references from the MSWord application. to use the method you have to match that methods params, since you don't have those values,... |
Forum: C# 11 Days Ago |
| Replies: 9 Views: 256 I couldn't have said it better myself sknake! I think the best practice would be, if you are scared someone will copy your video, put a watermark on it. that way if someone does copy it, its obvious,... |
Forum: C# 11 Days Ago |
| Replies: 17 Views: 1,309 as mentioned before, .doc files are ZIP compressed xml files. so if you read the data of a .doc file using the code I posted it will not show you the text it will show you the result of the binary... |
Forum: C# 12 Days Ago |
| Replies: 5 Views: 232 I'm not sure what's causing the error you are receiving. But it looks like you are trying to send the length of the data, the Filename, and the data itself as one object. then trying to pull out the... |
Forum: C# 12 Days Ago |
| Replies: 1 Views: 201 the Microsoft office assistant can be loaded as a com object to achieve that effect. but then you have to assume that all users of the app are using a version of Microsoft office. |
Forum: C# 12 Days Ago |
| Replies: 9 Views: 256 there is no fool proof way, but you could embed the videos into the application, when you needed to play them create a memory stream from the resource and play it from there, or copy it to temp, play... |
Forum: C# 16 Days Ago |
| Replies: 8 Views: 552 on the usercontrol's cs file create an event delegate and event like so
public delegate void onMyEventHandler(object sender, EventArgs e);
public event onMyEventHandler... |
Forum: C# 16 Days Ago |
| Replies: 4 Views: 231 if you are referring to the controls on the form, suspend and resume layout methods of the forms class tells the form not to bother painting the controls until its finished creating them, but I don't... |
Forum: C# 16 Days Ago |
| Replies: 4 Views: 370 Its not a good practice to ask a new question on an expired thread. but setting windows explorer file association is done 2 ways, both in the registry. there are great articles in code project about... |
Forum: C# 16 Days Ago |
| Replies: 17 Views: 542 Its a far back reference, but using DirectX is a very good practice. and all windows computers XP and up have DirectX installed. It's installed with windows and comes as an automatic update as well.... |
Forum: C# 16 Days Ago |
| Replies: 5 Views: 387 If you need to customize all 3 of the buttons events, the standard practice is to create a your own title bar control such as seen on AIM and Y! instant messengers.
otherwise, DDoubleD has the... |
Forum: C# 19 Days Ago |
| Replies: 10 Views: 354 the system must have a equivalent or newer version of .net installed. not necessarily the same version.
and yes, as the previous person stated. the UAC in vista forces applications to... |
Forum: C# 20 Days Ago |
| Replies: 3 Views: 161 That's really up to the programmer. If you work for a company that expects this, then its up to them, but if you are just writing software by your self it doesn't really matter.
The big selling... |
Forum: C# 20 Days Ago |
| Replies: 10 Views: 354 I have ran all of my apps on both XP and Vista, and the only issue I have had with 32/64 bit is on one of my apps I imported a few methods from user32.dll. on 64 bit vista 1 of the methods I imported... |
Forum: C# 20 Days Ago |
| Replies: 8 Views: 552 you create an event handler from a button on the usercontrol in the main form then just do the removing there, Could be a lot of solutions. |
Forum: C# 21 Days Ago |
| Replies: 5 Views: 289 Don't you love those people who obviously just joined the forum for the single purpose of asking a complicated question in a manner that makes it seem just a simple as "which way is the bathroom?"
... |
Forum: C# 21 Days Ago |
| Replies: 2 Views: 338 Its all basic list view control stuff. the list view can be difficult to work with, I recommend a ListView control tutorial. there are many. If I were to explain to you all that your question entails... |
Forum: C# 21 Days Ago |
| Replies: 8 Views: 552 since you always clear the controls on the panel first, seems like it will always be the only control on the panel, so panel2.controls. clear(); should work.
but you could also use... |
Forum: C# 21 Days Ago |
| Replies: 10 Views: 354 If you write an application targeting the .net framework it will work across XP, vista, and windows 7 no problem. the 32/64 bit crossover might give you trouble if you use a lot of windows interlop.... |
Forum: C# 21 Days Ago |
| Replies: 9 Views: 414 Sorry, VPN is a safe way to transmit data, but I don't know much about it. and no you can't forward ports through code, but you don't have to worry about the ISP, just the router that is responsible... |
Forum: C# 21 Days Ago |
| Replies: 1 Views: 225 as far as playing MP3s go best .net solution I have found is a free library from here http://www.ambiera.com/irrklang/ its called irrklang and works great and is simple to use, comes with examples.... |
Forum: C# 21 Days Ago |
| Replies: 9 Views: 414 ...Sockets are basically how the internet works, and how you connect to a computer on a "local" network from the outside world is by configuring the router that controls the flow of information on... |
Forum: C# 22 Days Ago |
| Replies: 9 Views: 414 once connected, the tcpClient object holds a reference to the client connection, so you use that object to send and receive data. you never worry about the IP or routing of the client.
Did your... |
Forum: C# 24 Days Ago |
| Replies: 9 Views: 414 the trick is that you have to set up a forwarded port on the router to the network that will be connected to.
example, if network A has an external IP (the IP that the internet sees) of... |
Forum: C# 25 Days Ago |
| Replies: 5 Views: 230 Actually. your best approach is to create a directory on the drive and encrypt that. and write a program that handles the encryption. a well written app could even have that dir appear as the drives... |
Forum: C# 27 Days Ago |
| Replies: 9 Views: 425 I developed it synchronously first just to get the twitter api calls right, then I just added extra methods to the class to handle it Asynchronously, and I'm really satisfied with that. Now I just... |
Forum: C# 29 Days Ago |
| Replies: 13 Views: 589 Leave it to sknake to go all out! Best of luck on your application ddanbe! |
Forum: C# 29 Days Ago |
| Replies: 9 Views: 425 Thanks,
firstly, I manually created the thread because I have no Idea what I am doing. Threading is so new to me. I have used the backgroundworker class before, as it handles it all for you and... |
Forum: C# 29 Days Ago |
| Replies: 9 Views: 425 Thanks jerry, but calling the event from the 2nd thread always fails in my code. but I guess its because I haven't disabled the cross thread warnings.
I really don't like having to check if an... |
Forum: C# 29 Days Ago |
| Replies: 9 Views: 425 I managed to get it to work. I honestly really don't understand *how* it works, but I can implement the code behind doing it.
start()
{
Func<Params, paramsreturnValue> method = Methodname;... |
Forum: C# 29 Days Ago |
| Replies: 9 Views: 425 I have a class that in one of its methods creates a new thread that makes some http requests, serializes the results, packs them up in an event object and then it Should call broadcast an event... |
Forum: C# 29 Days Ago |
| Replies: 13 Views: 589 here is the thing. you are animating the effect from within the paint event, and that is typically not a good idea.
a better approach would be to create a bool value like idk, Bool red = false;... |