Forum: C# 21 Hours Ago |
| Replies: 2 Views: 100 I don't know if it exists in the compact framework. But you could always just do it manually, Its simple. just replace certain characters in the string with its url-Encoded equivalent. |
Forum: C# 3 Days Ago |
| Replies: 7 Views: 201 I'm not sure what you mean about it requiring that you override some methods. But that's not your problem. You added a reference to the debug dll of the class library, when your class library is in... |
Forum: C# 3 Days Ago |
| Replies: 7 Views: 201 Do your controls inherit from UserControl or Control? if they don't inherit from one of those they can't be added.
Furthermore, Its likely that you custom control doesn't have a public... |
Forum: C# 3 Days Ago |
| Replies: 7 Views: 201 Depending on your settings it might not. Rightclick on the toolbox and select "choose items" browse to your library and select the controls from it you want to see in the toolbox. |
Forum: C# 4 Days Ago |
| Replies: 3 Views: 165 an Idea would be to draw the graph to a bitmap. Then display the bitmap, and just modify one of those 10,000 zooming picturebox controls floating around the net. |
Forum: C# 4 Days Ago |
| Replies: 7 Views: 777 The idea is at some point you have to interface with the wireless carriers. A gateway is a must, that's how its done. Now if you want tocreate your own gateway, then you have to contact the business... |
Forum: C# 5 Days Ago |
| Replies: 4 Views: 236 Instead of reading the bytes and doing the calculation, or by directory, why now go half way, just count all the files to be scanned, then increment it as it finishes files...
DdoubleD's way would... |
Forum: C# 5 Days Ago |
| Replies: 2 Views: 261 I like it.
You say its not really a control, rather that its faked. but don't you realize that if the treeview was on its own borderless form and was created and called via the button next to a... |
Forum: C# 5 Days Ago |
| Replies: 2 Views: 147 IF you want to affect the first form, why would you create a new instance of it? What you need to do is pass THE instance of the first from to the second form. then act upon that instance, easy.
... |
Forum: C# 5 Days Ago |
| Replies: 3 Views: 225 Some people just aren't comfortable with editing the registry or running vb scripts. It only takes about 5 minutes to do it manually, but with this little app it takes about 10 seconds. So instead of... |
Forum: C# 6 Days Ago |
| Replies: 3 Views: 225 When I installed windows 7 I opted to do a fresh clean install, but the key I purchased was an upgrade key and required that I performed an upgrade. The disk itself was bootable so I performed a... |
Forum: C# 10 Days Ago |
| Replies: 17 Views: 1,470 |
Forum: C# 11 Days Ago |
| Replies: 6 Views: 268 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# 11 Days Ago |
| Replies: 6 Views: 268 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: C# 15 Days Ago |
| Replies: 1 Views: 260 I'm interested. Details were emailed to address above. |
Forum: C# 15 Days Ago |
| Replies: 3 Views: 384 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# 17 Days Ago |
| Replies: 5 Views: 278 |
Forum: C# 17 Days Ago |
| Replies: 3 Views: 329 List<string> mylines = new List<string>();
using (StreamReader sr = new StreamReader("myfile.dat"))
{
while (sr.ReadLine() != null)
{ ... |
Forum: C# 18 Days Ago |
| Replies: 17 Views: 1,470 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# 18 Days Ago |
| Replies: 9 Views: 291 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# 18 Days Ago |
| Replies: 17 Views: 1,470 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# 19 Days Ago |
| Replies: 5 Views: 287 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# 19 Days Ago |
| Replies: 1 Views: 223 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# 19 Days Ago |
| Replies: 9 Views: 291 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# 23 Days Ago |
| Replies: 8 Views: 640 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# 23 Days Ago |
| Replies: 4 Views: 263 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# 23 Days Ago |
| Replies: 4 Views: 380 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# 23 Days Ago |
| Replies: 17 Views: 633 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# 23 Days Ago |
| Replies: 5 Views: 444 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# 26 Days Ago |
| Replies: 10 Views: 372 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# 27 Days Ago |
| Replies: 3 Views: 180 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# 27 Days Ago |
| Replies: 10 Views: 372 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# 27 Days Ago |
| Replies: 8 Views: 640 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# 28 Days Ago |
| Replies: 5 Views: 306 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# 28 Days Ago |
| Replies: 2 Views: 412 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# 28 Days Ago |
| Replies: 8 Views: 640 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# 28 Days Ago |
| Replies: 10 Views: 372 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# 28 Days Ago |
| Replies: 9 Views: 446 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# 28 Days Ago |
| Replies: 1 Views: 269 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# 28 Days Ago |
| Replies: 9 Views: 446 ...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... |