Search:
Type: Posts; User: Jensecj
Search:
Search took 0.01 seconds.
-
January 27th, 2009, 01:12 PM
you cannot mix them, as in writing both in your source code, you can however interop libraries written in c++ and use them that way (dll importing) and as for your hypothesis, almost correct, or will...
-
January 3rd, 2009, 06:49 AM
mind posting the error?
also, you should probably look into the security features of what ever you're trying to "bot", some games have a lot of restrictions and blocks to make sure people play...
-
January 3rd, 2009, 05:14 AM
a simpler way would probably be
[DllImport("User32.Dll", EntryPoint = "PostMessageA")]
static extern bool PostMessage(
IntPtr hWnd,
uint msg,
...
-
January 3rd, 2009, 04:16 AM
it shows MyDisplayName", because youre writing "\\MyDisplayName\\", and what youre using at the end ( \" ) is an escape character, telling your app to actually type it out, try what toraj said, or...
-
December 23rd, 2008, 10:49 AM
since you're already getting the processes by a specific name you wont have to check if it begins with the name you entered, also as stated, you have to use "WINWORD" without the .exe part
...
-
December 9th, 2008, 10:13 AM
C# 4.0 and .net 4.0 will ship with functions supporting multiple cores.
Untill then take a look here and here.
-
December 3rd, 2008, 10:13 AM
There's no need to do a "massive iteration", the reason the value changes is because its using a pointer to point to it, once you figure out the pointer its easy to write into the memory, you might...
-
December 3rd, 2008, 10:07 AM
To get the username you could simply use System.Environment.UserName.
-
November 26th, 2008, 10:36 AM
its just good programming practice to initialize variable before use, to avoid possible errors.
-
November 25th, 2008, 09:52 AM
WPF (Windows Presentation Foundation) is a new way to create GUIs, it uses XAML, making them extremely customizable, you have to choose it when you choose which kind of application you want to...
-
November 25th, 2008, 06:55 AM
well, just dont hardcode it, and make a FolderBrowserDialog to let the user choose a path;
//need this for the dialog
using System.Windows.Forms;
FolderBrowserDialog Finder = new...
-
November 21st, 2008, 11:01 AM
to be able to access it from all over your code you have to make it "global" just declare it out any forms or methods, but inside the namespace.
-
November 19th, 2008, 02:37 PM
the app should not embed any external libraries at all, also:
might very well be, if you created the app for .net 3.5, how ever i would expect some sort of error about a version mismatch....
-
November 16th, 2008, 02:20 PM
all the .net languages go into IL, so they should look a bit alike ;)
besicly its a matter of taste, for a c++ programmer, migrating to C#/c++/cli is probably easier that to start with VB.net and so...
-
November 16th, 2008, 03:18 AM
just read the array normally and randomize which one you choose to be the word chosen?
string[] items = items;
Random rnd = new Random();
rnd.Next(0, items.Length);
string ChosenWord =...
|
Click Here to Expand Forum to Full Width
|