Search Results

Showing results 1 to 40 of 302
Search took 0.02 seconds.
Search: Posts Made By: Diamonddrake
Forum: C# 22 Hours Ago
Replies: 5
Views: 103
Posted By Diamonddrake
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# 23 Hours Ago
Replies: 1
Views: 110
Posted By Diamonddrake
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# 23 Hours Ago
Replies: 8
Views: 113
Posted By Diamonddrake
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# 4 Days Ago
Replies: 8
Views: 341
Posted By Diamonddrake
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# 4 Days Ago
Replies: 4
Views: 170
Posted By Diamonddrake
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# 4 Days Ago
Replies: 4
Views: 326
Posted By Diamonddrake
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# 4 Days Ago
Replies: 17
Views: 325
Posted By Diamonddrake
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# 4 Days Ago
Replies: 5
Views: 257
Posted By Diamonddrake
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# 7 Days Ago
Replies: 10
Views: 300
Posted By Diamonddrake
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# 8 Days Ago
Replies: 3
Views: 123
Posted By Diamonddrake
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# 8 Days Ago
Replies: 10
Views: 300
Posted By Diamonddrake
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# 8 Days Ago
Replies: 8
Views: 341
Posted By Diamonddrake
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# 9 Days Ago
Replies: 5
Views: 253
Posted By Diamonddrake
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# 9 Days Ago
Replies: 2
Views: 228
Posted By Diamonddrake
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# 9 Days Ago
Replies: 8
Views: 341
Posted By Diamonddrake
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# 9 Days Ago
Replies: 10
Views: 300
Posted By Diamonddrake
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# 9 Days Ago
Replies: 9
Views: 337
Posted By Diamonddrake
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# 9 Days Ago
Replies: 1
Views: 168
Posted By Diamonddrake
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# 9 Days Ago
Replies: 9
Views: 337
Posted By Diamonddrake
...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# 10 Days Ago
Replies: 9
Views: 337
Posted By Diamonddrake
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# 12 Days Ago
Replies: 9
Views: 337
Posted By Diamonddrake
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# 13 Days Ago
Replies: 5
Views: 202
Posted By Diamonddrake
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# 15 Days Ago
Replies: 9
Views: 342
Posted By Diamonddrake
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# 17 Days Ago
Replies: 13
Views: 431
Posted By Diamonddrake
Leave it to sknake to go all out! Best of luck on your application ddanbe!
Forum: C# 17 Days Ago
Replies: 9
Views: 342
Posted By Diamonddrake
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# 17 Days Ago
Replies: 9
Views: 342
Posted By Diamonddrake
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# 17 Days Ago
Replies: 9
Views: 342
Posted By Diamonddrake
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# 17 Days Ago
Replies: 9
Views: 342
Posted By Diamonddrake
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# 17 Days Ago
Replies: 13
Views: 431
Posted By Diamonddrake
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;...
Forum: C# 17 Days Ago
Replies: 13
Views: 431
Posted By Diamonddrake
Of course you shouldn't invalidate the entire form, you would get the object that is being repainted using the sender property and call invalidate on that.

I was sure this was just pseudo code,...
Forum: C# 17 Days Ago
Replies: 13
Views: 431
Posted By Diamonddrake
that my friend is because you are sleeping the thread before the paint event is finished, this means windows is never told by your program that it wants be be repainted, and since nothing you are...
Forum: C# 18 Days Ago
Replies: 14
Views: 717
Posted By Diamonddrake
even UDP typically uses connections. and most routers, especially the ones that your ISP uses to provide your connections will not pass on packets that have no definite endpoint attached to them. So...
Forum: C# 18 Days Ago
Replies: 14
Views: 717
Posted By Diamonddrake
straight from Wikipedia
"A pure P2P network does not have the notion of clients or servers but only equal peer nodes that simultaneously function as both "clients" and "servers" to the other nodes...
Forum: C# 20 Days Ago
Replies: 3
Views: 554
Posted By Diamonddrake
for some reason, if you are logged on with the web messenger, or if you have any status other than the default available it shows false.

just paste
...
Forum: C# 21 Days Ago
Replies: 5
Views: 318
Posted By Diamonddrake
Seems you have almost answered your own question really. you obviously understand the difference. There is no right or wrong way to choose.

Static methods shorten code, typically a static method...
Forum: C# 21 Days Ago
Replies: 3
Views: 554
Posted By Diamonddrake
This simple static class contains a static method called sOnline that accepts a username as a string param. it make a call to an old yahoo api that will determine if a Y! user is online. This only...
Forum: C# 25 Days Ago
Replies: 8
Views: 571
Posted By Diamonddrake
Nah, I figured out how to identify it was plugged in, but that's about it.
Forum: C# 25 Days Ago
Replies: 4
Views: 559
Posted By Diamonddrake
if you have a gateway, then in order to use it, you need specific information about it, there is no generic code for every interface.

what do you know about your gateway? is it an api?
Forum: C# 26 Days Ago
Replies: 14
Views: 717
Posted By Diamonddrake
I just started working with socket just recently I read a book on it, there is a link to a PDF here in the forum somewhere that ddanbe posted. anyhow.

the Idea is all network connections of any...
Forum: C# 26 Days Ago
Replies: 4
Views: 559
Posted By Diamonddrake
You have 3 options, use a gsm modem and pay a phone company for its service, pay for a sms gateway in which the company that you pay for that will give you api examples.

or the most practical is...
Showing results 1 to 40 of 302

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC