Here is some code I wrote as an example for you. It should do exactly what you want. There are tons of optimizations that can be made, but this is the basics.
LT
using System;
using...
Type: Posts; User: CompURocket
Here is some code I wrote as an example for you. It should do exactly what you want. There are tons of optimizations that can be made, but this is the basics.
LT
using System;
using...
What is the format of the data that is in the "fields" field? Text? If so, how is it formatted.
Les
I would create a User class that has a property called LoggedIn. This propery would be an accessor to a bool type variable.
public class User
{
//Hidden field to hold if the user is logged...
I had a very hard time following that question, so let me try to take a stab at what I heard.
First, make sure that you create a separation between the controlling code and the UI code. For...
Well, you do have to know the type if you want to do anything with it other than call ToString() and the other methods offered by System.Object.
LT
It isn't that great of an article, so don't buy it just for that article.
LT
There is an article in September's MSDN magazine on this topic. Read the Spice It Up article by Bill Wagner.
September MSDN Magazine
LT
If you know that all the elements are of the same type in the array list and you know what that type is then you could use the foreach keyword.
Example:
//ArrayList contains Control objects
...
The first question is are you going to be sending the entire database each time or just updates? I don't suggest that you send the entire database each time. To get rid of firewall problems you...
This is how to create one:
ArrayList arrayList = new ArrayList();
for (int i = 0; i < d1 ; i++)
{
ArrayList l2 = new ArrayList();
All so look into the function SetWindowTheme() in the dll uxtheme.dll. MSDN has the details of this function.
LT
Do you own the website or are you just trying to get the requests that your browser is generating to the website?
If it is the latter, you can use:
http://www.ethereal.com/
LT
I'm believe that you are going to have to paint the non-client areas of your applicaiton so that it looks how you want it to. You will find that there are no classes or events in the Framework Class...
Why not just use
string filelocation = prelocation.Replace("@\",@"\\");
LT
Are you going to be running this application on only Windows operating systems or are you going to run it on Linux\Unix and Windows targets?
LT
You can also just make the thread function a static function of your class.
I was asking if my explanation was too high level.
Why did you guys flame kinghajj about posting a D programming question? Look at all the threads in this section...none of them have anything to do with C programming.
Codeplug is just jealous...
Look for a program called link.exe. It is your linker.
Well, if you are truely random (yes I know computers aren't random), i.e. you seed your random number generator with the time or something, your algorithm shouldn't matter because it is random!
...
Ha! You were incrementing your index while the delete call was shifting the keys down one at a time as they were being deleted! Were you skipping every other one?
tmode -nopause
// CreateThread.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <windows.h>
void ThreadFunc(LPVOID data);
int _tmain(int argc, _TCHAR* argv[])
{
You could do it brute force.
1)Export your registry
2)Create a list of all the files and directories on your computer
3)Uninstall or Install the program
4)Export your registry
5)Create a...
I guess my opinion is not really needed now, but I would have to tell you to go with C#. Here are my reasons:
1) You will most likely never get hired to write a program using only the win32 API. ...
Hooking the window will allow you to know where the mouse is, what button they pressed, what menu item they clicked on, but I don't see how that information will help you. You should look into...