Search:
Type: Posts; User: RudiVisser
Search:
Search took 0.03 seconds.
-
The GUI can't be modified from a different thread, nor can any attributes of it's children (Controls).
The description on MSDN is actually really good for this topic, including a great example.
...
-
Basically you can't access controls on a form, they need to be accessed from the same thread that they were created on.
To do this, you should use this.invoke(). It's argument is a delegate of...
-
You can always create a control that extends the Panel class, and override the drawing to do your own thing.
-
Provided your application is elevated..
using System.ServiceProcess;
....
public void StopFirewall() {
ServiceController serviceController = new ServiceController('MpsSvc');
...
-
using System;
using System.Collections;
using System.Collections.Generic;
namespace MageUK
{
/// <summary>
/// A list that will shift elements down the array like a timeline.
///...
-
Bumpety Bump Bump... Surely somebody has done something like this before........ c'mon
-
Upon trying to implement this using .ReceiveTimeout on a socket.. The first call times out after 3 seconds and throws
A connection attempt failed because the connected party did not properly...
-
Hello
I work with alot of network applications, however there is generally only ~300 clients connected to a TCP connection at any one time.
Due to the low amount of clients, each one has it's...
-
Well if no error's being outputted either then it has to be working...
-
put echo mysql_error(); right under the line $query = ...
-
First thing is don't echo/print out soooo much HTML code, there's no point, just close the PHP tags.
Secondly, do this:
<?php
$query = mysql_query("UPDATE `nek` SET address = '$address',...
-
It's nothing special, and it obviously doesn't contain every single class/type that you're ever gonna come across, however it could be useful in certain situations, such as debugging or logging.
...
-
Hi deLusion`
Okay so an implementation of the following would be if you need to redirect a library to another one.
For example, application aaa.x86 loads bbb.so, and you would like to load your...
-
Hi..
Both functions above return completely incorrect values after the first measurement, I don't really understand it.
Font: Segoe UI, 18pt
I don't think words can really describe the...
-
http://uk.youtube.com/watch?v=wzyT9-9lUyE
http://uk.youtube.com/watch?v=3_rOCDG_btk
Edit: Plus ILMV, since the vid was released on 04 november, 2008, that's fairly impossible :p
-
My favourite is Dreamweaver for the simple fact it follows the highlight_string/highlight_file functions... I haven't found another editor that does yet.
-
There's a (super) simple example here: http://www.vbforums.com/showthread.php?t=539132
-
Bumpety bump, nobody knows??
-
That's just for the control, I've looked around a bit and there seems to be no way to access the current instance (without a plugin).
-
Hey
Does anyone know of a way to get the song that's now playing from Windows Media Player 10+?
Much appreciated thanks :)
-
- is the subtraction operator and ^ is bitwise XOR.
http://uk3.php.net/language.operators.bitwise
You shouldn't be doing E_ALL - E_NOTICE.
-
http://whitelight.me.uk/imagegen.php?mode=1&name=Testing&shadow=true&usefull=1
Well there's what it does :)
Basically loads in a background then draws some text based on the options you set!...
-
Try MaxiVista if you want to use it as a computer monitor.
-
Here's a (rather large, sorry) example of a 'dynamic' image.
<?php
define("ROOT", "./signaturestuff/");
include(ROOT."defaults.php");
switch((isset($_GET['mode'])?$_GET['mode']:0)) {
case...
-
Here's what I called 'SimpleChat' as an example application for (very simple) asyncronous/thread programming.
Complete project is attached. If you're looking for ways to learn from it maybe you...
-
Hi everyone
Not a question on how to do something, just why the following isn't possible (As an example):
Hashtable ht = new Hashtable();
ht.Add("test", 5);
int blah = (int)ht["test"];
I...
-
Oh yes that's a very nice way to do it! Thanks :)
-
Probably the simplest explanation I wrote is one I wrote for a question about "#include":
-
Microsoft's solution to problems like this is as follows:
foreach(Control ctl in this.Controls) {
try {
MyCustomControl mycc = (MyCustomControl)ctl);
// do your if statement...
-
Have you tried using mysql_real_escape_string?
-
No of course not, if there's actually going to be 500000 records, and since the encryption is not simply for data comparison, I really suggest the non-encrypted route.......
-
Either don't encrypt the data or get all of the results out of the database and then search through the records (in PHP) in a loop.
-
<div class="photo_index_item">
<div id="dvImgListHypImage">
<a...
-
foreach($matches as $key => $match) {
if(!preg_match("the html you want to match", $match)) {
unset($matches[$key]);
}
}
-
Well then you look closely and I'm sure you'll figure it out:
of </div><a class="pagingLink" href="javascript:__doPostBack('ctl00$cpMain$UserViewPictureControl$PagerTop','4')">4</a>
'of <a...
-
http://www.vbforums.com/showthread.php?t=527371
http://www.vbforums.com/showthread.php?t=527310
http://www.vbforums.com/showthread.php?t=527357
You have to be joking that you've posted almost...
-
You mean how do you see the characters that the binary values represent?
-
Try putting #include <windows.h> first (MSDN Recommendation):
#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
You also need to include the ws2_32.lib too unless you've done...
-
Turns out I actually read the whole thing wrong and that he was posting invalid code in the first place, from which I continued on to do so (no brackets in my example either). :wave:
-
Most likely, also the compiler, the OS it runs on, etc.
I've rated this thread 5* for it's comical factor :thumb:
|
Click Here to Expand Forum to Full Width
|