38 Topics

Member Avatar for 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 possible. Is there a method to create an icon on the …

Member Avatar for Ancient Dragon
0
91
Member Avatar for 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: [I]Release[/I] Platform: [I]Active(Win32)[/I]Output Directory: C:\ Intermediate Directory: [I]C:\[/I] When I now compile the application using F7, …

Member Avatar for Liszt
0
178
Member Avatar for 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 software can recognice that computer in order to work. The very …

Member Avatar for Liszt
0
240
Member Avatar for Liszt

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: …

Member Avatar for Liszt
0
209
Member Avatar for 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). If not, I am searching for a library that goes with this. I have …

Member Avatar for Ancient Dragon
0
124
Member Avatar for 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 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 …

Member Avatar for Liszt
0
368
Member Avatar for 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 exists in the below directory in order for that …

Member Avatar for Liszt
0
82
Member Avatar for 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 and read/write to that file. Is there any good articles of how this is done …

Member Avatar for Liszt
0
1K
Member Avatar for 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 on his/hers computer. How could it be possible to protect this software from …

Member Avatar for Liszt
0
104
Member Avatar for 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 errormessage that says. [I]'System::Net::Mail::MailMessage' : class does not have a copy-constructor[/I] What …

Member Avatar for Liszt
0
573
Member Avatar for Liszt

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 …

Member Avatar for mostermand
0
171
Member Avatar for 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 link: [url]http://www.microsoft.com/downloads/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en[/url] Now if I will distribute my program and make a setup.exe file for this …

Member Avatar for jencas
0
90
Member Avatar for Liszt
Member Avatar for Liszt
0
113
Member Avatar for Liszt

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 …

Member Avatar for Liszt
0
136
Member Avatar for Liszt

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 …

Member Avatar for Liszt
0
86
Member Avatar for Liszt

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] ? }

Member Avatar for MosaicFuneral
0
259
Member Avatar for Liszt

I use Visual Web Developer 2008 and I wonder. If you look at this webpage as you are reading on now at the very top. You can see that <DANIWEB> Control Panel Donate etc.. is like a yellow picture. Question is: If this is a yellow picture wich I can …

Member Avatar for Aneesh_Argent
0
59
Member Avatar for Liszt

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 …

Member Avatar for Liszt
0
86
Member Avatar for Liszt

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 …

Member Avatar for Fungus1487
0
114
Member Avatar for Liszt

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 …

Member Avatar for Liszt
0
110
Member Avatar for Liszt

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 …

Member Avatar for Liszt
0
100
Member Avatar for Liszt

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]

Member Avatar for Liszt
0
119
Member Avatar for Liszt

I have a ThirdPart program that appends text to a file randomly. I dont know how this code is doing this, thinking of opening and closing the file. I have simulated that scenario by: //Process 1 Appends Text to File //Process 2 Reads Text From File Now I am writing …

0
69
Member Avatar for Liszt

How could it be possible to synchronize the computertime to ex: GMT or any timeserver on the internet ?

Member Avatar for Liszt
0
166
Member Avatar for Liszt

I try to get the events working in the datagrid for this. With this code I change BackColor from black to MediumSeaGreen. [code] dataGridView1->Rows[3]->Cells[10]->Style->BackColor = Color::MediumSeaGreen; [/code] When the BackColor is changed, should´t this messagebox appear ? It doesn´t. I have also tried the event BackgroundColorChanged. [code] private: System::Void dataGridView1_CellStyleChanged(System::Object^ …

0
50
Member Avatar for Liszt

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]

Member Avatar for Liszt
0
114
Member Avatar for Liszt

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 …

Member Avatar for Liszt
0
154
Member Avatar for Liszt

I am searching for a way to change the backgroundcolor of a specific cell to red and the back to black again. With this code sometimes almost all cells is blinking because I have to use Application:: DoEvents to update the BackColor. How can I change this like this without …

0
48
Member Avatar for Liszt

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 …

Member Avatar for Liszt
0
254
Member Avatar for Liszt

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 …

Member Avatar for Narue
0
103
Member Avatar for Liszt

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 …

Member Avatar for Liszt
0
293
Member Avatar for Liszt

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 …

Member Avatar for Liszt
0
84
Member Avatar for Liszt

When writing a timeformat in a textbox using the event _TextChanged and when timeformat has reached the written format "HH:MM", the ->RunWorkerAsync() command should execute and create a file but it seems that the backgroundworker does not execute the code inside. I wonder why this is not happening, have I …

0
57
Member Avatar for Liszt

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 …

Member Avatar for Liszt
0
183
Member Avatar for Liszt

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 …

Member Avatar for Liszt
0
604
Member Avatar for Liszt

How is it possbile to return the current hour, minute and DayOfWeek. I have tried out these examples. The two first returns 0 wich is strange. And the third does not go through the compiler. What can I be missing ? [code] System::DateTime moment = System::DateTime(); int hour = moment.Hour; …

Member Avatar for skatamatic
0
81
Member Avatar for Liszt

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 …

Member Avatar for Liszt
0
156
Member Avatar for Liszt

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 …

Member Avatar for Liszt
0
164

The End.