Search Results

Showing results 1 to 40 of 313
Search took 0.02 seconds.
Search: Posts Made By: Diamonddrake
Forum: C# 3 Days Ago
Replies: 17
Views: 1,309
Posted By Diamonddrake
Glad to hear you got it!
Forum: C# 4 Days Ago
Replies: 6
Views: 199
Posted By Diamonddrake
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
Posted By Diamonddrake
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
Posted By Diamonddrake
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
Posted By Diamonddrake
I'm interested. Details were emailed to address above.
Forum: C# 8 Days Ago
Replies: 3
Views: 320
Posted By Diamonddrake
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
Posted By Diamonddrake
um... What?
Forum: C# 10 Days Ago
Replies: 3
Views: 280
Posted By Diamonddrake
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
Posted By Diamonddrake
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
Posted By Diamonddrake
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
Posted By Diamonddrake
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
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# 12 Days Ago
Replies: 1
Views: 201
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# 12 Days Ago
Replies: 9
Views: 256
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# 16 Days Ago
Replies: 8
Views: 552
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# 16 Days Ago
Replies: 4
Views: 231
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# 16 Days Ago
Replies: 4
Views: 370
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# 16 Days Ago
Replies: 17
Views: 542
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# 16 Days Ago
Replies: 5
Views: 387
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# 19 Days Ago
Replies: 10
Views: 354
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# 20 Days Ago
Replies: 3
Views: 161
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# 20 Days Ago
Replies: 10
Views: 354
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# 20 Days Ago
Replies: 8
Views: 552
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# 21 Days Ago
Replies: 5
Views: 289
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# 21 Days Ago
Replies: 2
Views: 338
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# 21 Days Ago
Replies: 8
Views: 552
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# 21 Days Ago
Replies: 10
Views: 354
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# 21 Days Ago
Replies: 9
Views: 414
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# 21 Days Ago
Replies: 1
Views: 225
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# 21 Days Ago
Replies: 9
Views: 414
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# 22 Days Ago
Replies: 9
Views: 414
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# 24 Days Ago
Replies: 9
Views: 414
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# 25 Days Ago
Replies: 5
Views: 230
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# 27 Days Ago
Replies: 9
Views: 425
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# 29 Days Ago
Replies: 13
Views: 589
Posted By Diamonddrake
Leave it to sknake to go all out! Best of luck on your application ddanbe!
Forum: C# 29 Days Ago
Replies: 9
Views: 425
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# 29 Days Ago
Replies: 9
Views: 425
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# 29 Days Ago
Replies: 9
Views: 425
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# 29 Days Ago
Replies: 9
Views: 425
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# 29 Days Ago
Replies: 13
Views: 589
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;...
Showing results 1 to 40 of 313

 


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

©2003 - 2009 DaniWeb® LLC