Search Results

Showing results 1 to 40 of 122
Search took 0.01 seconds.
Search: Posts Made By: Liszt
Forum: C++ May 16th, 2009
Replies: 1
Views: 411
Posted By Liszt
I try to change the icon for the application file in the debug folder. In the properties, there is no choise where you can do this but if I create a shortcut of this application file, then it is...
Forum: C++ May 16th, 2009
Replies: 6
Views: 272
Posted By Liszt
Yes ofcourse, you are right. I forgot the quotes:

"C:\"

Now it works.

Thank you !!
Forum: C++ May 16th, 2009
Replies: 6
Views: 272
Posted By Liszt
I dont know if I did, I dont think so :-O
Forum: C++ May 16th, 2009
Replies: 6
Views: 272
Posted By Liszt
Okay. In the Configuration Manager, I will then choose:

Active solution configuration: Release
Configuration: Release

If I do this, it will create files under C:\

Now comes another...
Forum: C++ May 16th, 2009
Replies: 6
Views: 272
Posted By Liszt
If you have done a program in VC++ 2008, what is the procedure to do a release and a "Finished" program of this.

In the "Form1 Property Pages", I have under General choosed:
Configuration:...
Forum: C++ May 16th, 2009
Replies: 15
Views: 796
Posted By Liszt
This is true, I am checking for possibilities and in the end, I will be that careful to see what can be possible or it wont be, how to define things etc...
Forum: C++ May 16th, 2009
Replies: 2
Views: 368
Posted By Liszt
You could use the File::Exists to first check if that file exists and then it will not through an exception.


String^ FileOne = "C:\\File1.txt";
String^ FileTwo = "C:\\File2.txt";

if(...
Forum: C++ May 16th, 2009
Replies: 15
Views: 796
Posted By Liszt
Yes, that would be more than nice.
I think this would be the complete testcode if I dont miss anything out.


I think this would be the complete testcode and see what this MessageBox returns. ...
Forum: C++ May 16th, 2009
Replies: 15
Views: 796
Posted By Liszt
I have come up with a code that look like this that is supposed to return the motherboard serialnumber.
The number that is returned is: "123456789000"

I wonder if that really could be correct or...
Forum: C++ May 16th, 2009
Replies: 15
Views: 796
Posted By Liszt
I have found a link:
http://www.codeguru.com/forum/showthread.php?t=249788

I think I will go for checking the BIOS SerialNumber. In the link it seems to fail when doing this on Windows 98 or...
Forum: C++ May 15th, 2009
Replies: 15
Views: 796
Posted By Liszt
Yes that is true, I really understand the problem with this, as Ancient said a good hacker have thought about ´all´ the possible ways.
I might just choose a way and wait for it to be cracked :P
As...
Forum: C++ May 15th, 2009
Replies: 15
Views: 796
Posted By Liszt
Yes, that is true, myself I have 4 harddrives actually :) but the idéa was interesting anyway.. I will start search for methods and see what I can come up with.
Forum: C++ May 15th, 2009
Replies: 15
Views: 796
Posted By Liszt
For the moment I am getting the computers name with this code, but perheps there could be others and better ways to get a computers unique "ID".
I am searching for a way to identify a computer so a...
Forum: C++ May 15th, 2009
Replies: 3
Views: 365
Posted By Liszt
thank you ArkM, I thought of that perheps can be a scenario that I haven´t thought about. I red about the ToLowerInvariant() and it seems to be the right approach for this purpose.
Forum: C++ May 14th, 2009
Replies: 3
Views: 365
Posted By Liszt
I use this command to check for the Computername wich returns:

SystemInformation::ComputerName->ToString();
//returns: MYCOMP-EG03R8F


When manually rightclicking "My Computer" and check what...
Forum: C++ May 13th, 2009
Replies: 4
Views: 321
Posted By Liszt
Just an alternative on the way to open browsers:

String^ myURL = "http://www.google.com";

System::Diagnostics::Process::Start("iexplore.exe", myURL );


I beleive what you have to do is to...
Forum: C++ May 13th, 2009
Replies: 1
Views: 151
Posted By Liszt
I wonder if anyone know if VC++ 2008 express edition have the possibility to use Secure FTP (SFTP).
As I have understood that is not possible. (I am not talking about the SSL cerificate over FTP).
...
Forum: C++ May 10th, 2009
Replies: 1
Views: 399
Posted By Liszt
This is working, found a solution.

RegistryKey^ rk;
rk = Registry::ClassesRoot->OpenSubKey("abc1\\asd123", true);

if (rk == nullptr)//key exist
{
//Do Not Exists !!!
}
Forum: C++ May 10th, 2009
Replies: 2
Views: 167
Posted By Liszt
Okay, I will check the "=" out and see what that could meen. It is hard to googling answers when it comes to permissions for the Registry Editor.
I can only get quite diffus information and the...
Forum: C++ May 10th, 2009
Replies: 2
Views: 167
Posted By Liszt
I have a big question that keeps asking me if it is a correct or good idéa to create a subkey on a users computer in order for a software to work.

The software will create and check if that subkey...
Forum: C++ May 9th, 2009
Replies: 1
Views: 399
Posted By Liszt
How would it be possible to check if a subKey exist in the Classes root in Registry Editor. My attemt is like follows but my compiler doesn´t like it.

'Microsoft::Win32::RegistryKey' : class does...
Forum: C++ May 8th, 2009
Replies: 5
Views: 588
Posted By Liszt
That seems interesting. I wonder how that is possible to do in this case.
Should I use UploadFile to overwrite that file on the server. I don´t know how the whole procedure will go for this ?
...
Forum: C++ May 7th, 2009
Replies: 5
Views: 588
Posted By Liszt
// Request to write
Stream^ newStream = objRequest->GetRequestStream();



//Write something to file for test
StreamWriter^ writer = gcnew StreamWriter(newStream);

for( int i = 0; i <...
Forum: C++ May 7th, 2009
Replies: 5
Views: 588
Posted By Liszt
This was a good guide, I am reading it right now but it is very much to read and not really a practical example where you can follow the whole procedure, it is "just" fragments of pieces for...
Forum: C++ May 6th, 2009
Replies: 7
Views: 273
Posted By Liszt
Yes that is really a problem.. It is kind of a impossible mission in a way... The problem is that it probably will be a crackversion out on the net after a while if the software seems interesting how...
Forum: C++ May 6th, 2009
Replies: 7
Views: 273
Posted By Liszt
Yes perheps, I might have many idéas :)
Forum: C++ May 6th, 2009
Replies: 5
Views: 588
Posted By Liszt
I have for example a ftp server with the address ftp.mywebsite.com
On this ftp server I have a path: FileFolder\\file1.txt

What I wonder is how it would be possible to connect to this ftp server...
Forum: C++ May 6th, 2009
Replies: 7
Views: 273
Posted By Liszt
Its true, it isn´t very easy to protect a software.
I have checked around on google and found some products.

I might have a mehtod I am thinking of that hopefully will cutoff and make it harder...
Forum: C++ May 6th, 2009
Replies: 7
Views: 273
Posted By Liszt
I have a general question about how it would be possible to protect a software from copying.

I have done a software that will be able to download from a website, the user will install the software...
Forum: C++ Feb 3rd, 2009
Replies: 11
Views: 885
Posted By Liszt
In a way yes, honestly but it is for about 3000 customers for my company where I will give them advertisment and as the customers increases there would be good to be able to send the email quickly.
...
Forum: C++ Feb 3rd, 2009
Replies: 11
Views: 885
Posted By Liszt
I have used the code above to send 10 emails to myself in that loop.

As I notice it takes about 1 second per email to be delievered.

Why does it take so long time ?
For example why will not...
Forum: C++ Feb 2nd, 2009
Replies: 11
Views: 885
Posted By Liszt
Thanks Narue, I did get the idéa of how that is built up then, so I did a change for that also and it works.

I do have 2 questions. I have set up the code so the code loops through 2 emails wich...
Forum: C++ Feb 2nd, 2009
Replies: 11
Views: 885
Posted By Liszt
Thank you Cikara21 this really got me further very fast as I know a bit how to do it from ASP.net.
I have tried to develop you code a bit where I beleive I need to put UserName and Password for the...
Forum: C++ Feb 1st, 2009
Replies: 11
Views: 885
Posted By Liszt
Thank you Comatose,

I am prepared to learn all that ugly mess because I really have the ambition to do this in C++. = )
I have done a program in ASP.net on a webpage with a lot of code in C# for...
Forum: C++ Feb 1st, 2009
Replies: 11
Views: 885
Posted By Liszt
I might ask the question different as I now understand that it is different to send mail througth C++ and ASP.net.
I about know to to this in ASP.net but not C++.

What I want to accomplish is to...
Forum: C++ Feb 1st, 2009
Replies: 11
Views: 885
Posted By Liszt
I am trying to set up an emailprogram, the first code that I try to compile is this where I set an emailTo and emailFrom in the arguments of MailMessage.

When I compile this code, I have an...
Forum: C++ Jan 28th, 2009
Replies: 1
Views: 329
Posted By Liszt
I have developed an application in Visual C++ 2008 Express Edition.
In order to run a program on your computer you will need the Microsoft .NET Framework 3.5 installed on your computer from this...
Forum: C++ Jan 28th, 2009
Replies: 6
Views: 299
Posted By Liszt
You are right, I will use this command and this will find the correct folder on the computer..

System::Environment::GetFolderPath()
Forum: C++ Jan 28th, 2009
Replies: 6
Views: 299
Posted By Liszt
Ok, but that cant really be safe enough. If I have set C:\\ in my code and that computer uses D:\\ the application will not be possible to use because it depends on to find info on C:\\.

There...
Forum: C++ Jan 28th, 2009
Replies: 6
Views: 299
Posted By Liszt
I have made a program that stores a file like this:

ofstream out;
out.open("C:\\reg.txt");


This file is used everytime a program starts in order to find if the encrypted password is correct...
Showing results 1 to 40 of 122

 


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

©2003 - 2009 DaniWeb® LLC