29 Archived Topics
Remove Filter 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: [I]Release[/I] Platform: [I]Active(Win32)[/I]Output Directory: C:\ Intermediate Directory: [I]C:\[/I] When I now compile the application using F7, … | |
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 software can recognice that computer in order to work. The very … | |
I use this command to check for the Computername wich returns: [code] SystemInformation::ComputerName->ToString(); //returns: MYCOMP-EG03R8F [/code] When manually rightclicking "My Computer" and check what name I have, it says with lowcase letters: [B]mycomp-eg03r8f[/B] So it doesn´t return the correct name. It shows Capitals. But if I do this command instead: … | |
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 not have a copy-constructor no conversion from 'nullptr' to 'Microsoft::Win32::RegistryKey' [code] Microsoft::Win32::RegistryKey subKey1 = Microsoft::Win32::Registry::ClassesRoot->OpenSubKey("one\\two"); if( subKey1 … | |
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 exists in the below directory in order for that … | |
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 and read/write to that file. Is there any good articles of how this is done … | |
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 on his/hers computer. How could it be possible to protect this software from … | |
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 errormessage that says. [I]'System::Net::Mail::MailMessage' : class does not have a copy-constructor[/I] What … | |
I have made a program that stores a file like this: [code] ofstream out; out.open("C:\\reg.txt"); [/code] This file is used everytime a program starts in order to find if the encrypted password is correct within this file. This works without any problem on my computer, using XP Proffessional and where … | |
If I have this string: "Hello" How would I do to encrypt this string ? | |
I have done a windows form application that I have debugged in "Release Mode". I need to ask 2 questions at the same time because I think they depend on eachother and that is my questionmark: 1. When starting this program, there will be a panel visible where you will … | |
I have made a Form application that contains of 2 Forms. In these 2 Forms I have added controls and a lot of code behind. How will I "Close the code" to this project so no one can open it and see all my code that I have done. I … | |
How would it be possible to code inside a button that the Browser will open and go to address: [url]http://www.google.com[/url] private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { //Code here to go to: [url]http://www.google.com[/url] ? } | |
I use Visual Web Developer 2008 and have just started out a project. When pressing F5 that compiles the project the program opens a blanc Explorer window. What I now wonder is how it is possible to make this whole window to be completely Black instead. I am searching the … | |
I am an absolute beginner when it comes to create WebSites and are perheps out to catch some basic knowledge of the steps of creating a page etc... I am not a beginner in C# and C++ and know these languages Well. I have downloaded[COLOR="Green"] Visual Web Developer 2008 Express … | |
I am using "Microsoft Visual Web Developer 2008 Express Edition". I have created a First page with a button and 2 textBoxes( see attached file) In my project I have added a new item/Page 2 to this project. What I now is trying to do or wonder how it is … | |
I have put about 30 trasparent buttons on a Form wich meens that all these buttons are invisible. When I open this Form, you will see all these trasparent/ invisible buttoncontrols "flicker" in a white color. This flickering process takes about 2 seconds until the Form is 'ready'. What does … | |
Why does I encounter a compileerror when doing this. Compile error says. 'Form3' : undeclared identifier 'Form4' : undeclared identifier Inside of Form4.h: [code] #include "Form3.h" Form3 ^form3 = gcnew Form3; form3->ShowDialog(); [/code] Inside of Form3.h: [code] #include "Form4.h" Form4 ^form4 = gcnew Form4; form4->ShowDialog(); [/code] | |
How could it be possible to synchronize the computertime to ex: GMT or any timeserver on the internet ? | |
What is the way to change size in a cell in dataGridView to 8.25 This does not seem to work. [code] dataGridView1->Rows[b]->Cells[10]->Style->Font->Size = Font->Size(8.25F); [/code] | |
I have to doublecheck if this is the case. When using the fileSystemWatcher in the application where an event is checking for Changes in a file. With just starting the application where no changes events is fired at all the processor (AMD double core) Peeks at 50 % constantly. Is … | |
I am using the fileSystemWatcher and the _Changed event to indicate what file that was LastWritten to in a folder and then I want to read this file. It seems that the code that I have below is executing twice and the second time the code runs I get this … | |
I have to confirm how the buffersize is working for the fileSystemWatcher. I have found this explanation on google: [I]The FileSystemWatcher class works by capturing all of the relevant file and older changes and placing them into a buffer. This is then processed one change at a time until all … | |
I am working with the backgroundworker and the datagridview. I have noticed a difference. I have put a loop that puts a value to one cell in the datagrid first in a buttonevent. After this loop is finished wich creates a timer textfile that tells how long the process did … | |
I will try to catch a few idéas of how to check changes in a large number of files. I dont know what oppurtunities there is to do that. I will have a folder that contains perheps thousands of files wich will be written to randomly. How is it possible … | |
With the code below I want to execute a task if the day is saturday and if the minute is >= 14. There is 2 things I wonder here. The code below is an infinite loop that never stops. So it checks for if this criteria is true but when … | |
I have encountered a problem when using the backgroundworker. What I do is that I will have the oppurtunity to press the cancelbutton to stop the backgroundworker. The code that I am using below works without any problem as expected. The thing that happens is that an error message occurs … | |
I have a little problem to dock a grid with a panel. What i have done is to first dock a panel in the top of the form. What i then want to do is to dock a datagrid so it Fills the whole form but not so it will … | |
im quite new to code and are using c++ to read files. Through some examples i have managed to read a file from top to bottom like this. The problem is that i will need to read the file from bottom to top instead. Is there a reversable method for … |
The End.