Search Results

Showing results 1 to 40 of 173
Search took 0.02 seconds.
Search: Posts Made By: Lukezzz
Forum: C++ 12 Hours Ago
Replies: 5
Views: 104
Posted By Lukezzz
Yes the -= seemed to work to decrease it in the same way. Hope it is programatically correct to do so :)

Thank you.
Forum: C++ 1 Day Ago
Replies: 5
Views: 104
Posted By Lukezzz
Thanks,

The type is an event when looking at the properties, so the "" does not seem to work in this case.

When I try to write this in the compiler:

Fr->callEvent =


The intellisense...
Forum: C++ 1 Day Ago
Replies: 5
Views: 104
Posted By Lukezzz
I have a code that is running like this and calling an event.
The event is writing some lines to a textfile.
But after each loop, the event is writing one more line each time.

It seems that the...
Forum: C++ 2 Days Ago
Replies: 2
Views: 115
Posted By Lukezzz
I found out that the Changed event will work fine for this purpose.
Thank you.
Forum: C++ 2 Days Ago
Replies: 2
Views: 115
Posted By Lukezzz
I try to make the filesystemwatcher to react on the code above where I create the textfile but the Messagebox is not shown when creating the file like this:


private: Void...
Forum: C++ 2 Days Ago
Replies: 2
Views: 115
Posted By Lukezzz
I am creating a File and at the same time writing 3 lines to this file and then closing the file.

What I wonder is if the fileSystemWatcher has any event that detects when I have done exactly this...
Forum: C++ 11 Days Ago
Replies: 1
Views: 224
Posted By Lukezzz
I am looking for a way to find the first occurence of: " " when searching backwards in String1 with beginning at index where # was found.

However with LastIndexOf, this will find the Last...
Forum: C++ 12 Days Ago
Replies: 6
Views: 164
Posted By Lukezzz
Thank you, actually no. What I am trying is to put a declared string inside double quotes exactly like as in my previous post without writing the string out like that.
Forum: C++ 12 Days Ago
Replies: 6
Views: 164
Posted By Lukezzz
okay, I am trying this example where I want the String P to be in doublemarks in String Q but dont understand how to put it, so the actual string in the end look like this:

Test"Hello"

...
Forum: C++ 12 Days Ago
Replies: 6
Views: 164
Posted By Lukezzz
I am trying to do a string out of this line:

Hello "Hello" Hello

However this does not work and I beleive it has to do with "Hello".


String^ str = "Hello "Hello" Hello";
Forum: C++ 26 Days Ago
Replies: 1
Views: 156
Posted By Lukezzz
I am trying to do a function that is a textBox contains 2 dots (.) then the last dot(.) will be deleted, so it wont be possible to write 2 dots(.) in this textbox.

When I write the second dot in...
Forum: C++ Oct 17th, 2009
Replies: 2
Views: 176
Posted By Lukezzz
Yes, then I understand. I have to first convert it to a double and than round it, casting it to Int32.

It worked fine.
Thank you.
Forum: C++ Oct 17th, 2009
Replies: 2
Views: 176
Posted By Lukezzz
I am trying to Convert this Long String to an integer but when running the code, I get an error that tells that the inputstring is in an incorrect format.

How can I convert this string so I will...
Forum: C++ Oct 15th, 2009
Replies: 1
Views: 172
Posted By Lukezzz
Hi,

I wonder if C++ has any inbuilt function where you can convert Minutes to time like this example:


70 minutes in time would be: 01:10
Forum: C++ Oct 14th, 2009
Replies: 2
Views: 278
Posted By Lukezzz
Under the Project Menu, I have choosed: "Add Class" and here I choose "Windows Form".

When I compile my project, I have this error only for this form.
I dont know how to solve this problem.
...
Forum: C++ Sep 21st, 2009
Replies: 2
Views: 278
Posted By Lukezzz
I have a project that consist of 10 forms. When I compile this project I get this compile error.

1>Form6.obj : error LNK2011: precompiled object not linked in; image may not run
1>LINK : fatal...
Forum: C++ Sep 17th, 2009
Replies: 1
Views: 390
Posted By Lukezzz
I have filled up a List with many elements of "Hello".
Now I wonder how it is possible to use MemoryStream to "chunk" this and append it to an existing file.("C:\\OutFile.txt")
I have googled...
Forum: C++ Sep 16th, 2009
Replies: 1
Views: 222
Posted By Lukezzz
I try to write to Isolated Storage but get this exception. I wonder what I can be missing ?

An unhandled exception of type 'System.IO.IsolatedStorage.IsolatedStorageException' occurred in...
Forum: C++ Sep 16th, 2009
Replies: 4
Views: 251
Posted By Lukezzz
But std:: isn´t managed code. Yes it might be that, perheps I would write it like this instead:


List<String^> GetData = gcnew List<String^>();
GetData->Add("one");
GetData->Add("two");...
Forum: C++ Sep 16th, 2009
Replies: 4
Views: 251
Posted By Lukezzz
I have filled a List like below wich some strings. I wonder if the List has any property where you in an easy way can remove duplicates. Else I wonder how this can be done ?


List<String> GetData...
Forum: C++ Sep 14th, 2009
Replies: 2
Views: 178
Posted By Lukezzz
Yes, I forgot, the line that produced the error is this line:


if (GetItemText.Substring(0, GetLength).ToLower() == GetString)

I really cant get it where the error is as all code is running...
Forum: C++ Sep 14th, 2009
Replies: 2
Views: 178
Posted By Lukezzz
In a textChanged event for a textBox I am trying to do a search function for ListBoxItems like below.
It seems that I have done the code correct but no items is selected and when writing a string...
Forum: C++ Aug 24th, 2009
Replies: 13
Views: 368
Posted By Lukezzz
Thanks that did work:


"\"string with\""
Forum: C++ Aug 24th, 2009
Replies: 13
Views: 368
Posted By Lukezzz
Sorry again but what I meen is that this code doesn´t compile. I beleive something must be wrong somewhere in the code ?

The compilerrors is as follows:

too many characters in contant
== no...
Forum: C++ Aug 24th, 2009
Replies: 13
Views: 368
Posted By Lukezzz
Thank you again, your code works but if I go back to what I am trying to do. To check for a string within a string.

I have tried to put it like this but this does not seem to be correct. Perheps I...
Forum: C++ Aug 24th, 2009
Replies: 13
Views: 368
Posted By Lukezzz
Sorry, perheps I forgot to tell, I use the:

System.String as my compileerror shows. I am not sure if that would be different.
Thank you.
Forum: C++ Aug 24th, 2009
Replies: 13
Views: 368
Posted By Lukezzz
Thanks but this does not seem to compile:

'==' : no conversion from 'int' to 'System.String'
'==' : 'System.String' differs in levels of indirection from 'int'


String test = "this is a...
Forum: C++ Aug 24th, 2009
Replies: 13
Views: 368
Posted By Lukezzz
Ok, If I now want to check this string if the string contains: "string with" how is the way to do the opposite check for "" within a string ?


String Test = "this is a \"string with\" quotes";
...
Forum: C++ Aug 24th, 2009
Replies: 13
Views: 368
Posted By Lukezzz
How would you write a string that has "are" in it:


I beleive this would be a wrong way ?

String GetString = "Hello how "are" you"
Forum: C++ Aug 4th, 2009
Replies: 0
Views: 354
Posted By Lukezzz
I need to convert a C# code into C++. I think I have almost done it except of one line of code wich is this line. First follows the correct C# version but how will that be converted to C++ in bold...
Forum: C++ Aug 4th, 2009
Replies: 1
Views: 228
Posted By Lukezzz
I dont know if I am on the right track by doing this. It seems like that no one knows how to do this :(
However this line doesn´t compile:
System::Net:: ServicePointManager::...
Forum: C++ Aug 4th, 2009
Replies: 1
Views: 228
Posted By Lukezzz
I am looking for a complete example for C++ where you connect to FTP-SSL. But is seems impossible to find a good example.

The best I have found is:...
Forum: C++ Aug 3rd, 2009
Replies: 4
Views: 308
Posted By Lukezzz
I have a research but though it is difficult to find what is nessecary to add in the code.
I have come over some information where it perheps is nessecary to accept all certificates here:...
Forum: C++ Aug 3rd, 2009
Replies: 4
Views: 308
Posted By Lukezzz
To simplify the last post is that when using the "correct" code to login with FTP-SSL, this exception is throwed:

"System.Security.Authentication.AuthenticationException: The remote certificate is...
Forum: C++ Aug 3rd, 2009
Replies: 4
Views: 308
Posted By Lukezzz
Thank you Salem for your answer. It is not possible for me to use SFTP as it is not a service at Godaddy.com.
I have now for the past 2 days have an email discussion with godaddy about the FTP-SSL...
Forum: C++ Aug 2nd, 2009
Replies: 2
Views: 309
Posted By Lukezzz
Found a solution:

String^ GetException= ex2->ToString();
MessageBox::Show(GetException);
Forum: C++ Aug 2nd, 2009
Replies: 2
Views: 309
Posted By Lukezzz
How is it possible to get the Exception Error as a string in the catch event ?
The thing is that I get an exception and now want to know what the problem is and what the exception is saying.


...
Forum: C++ Aug 1st, 2009
Replies: 4
Views: 308
Posted By Lukezzz
I wonder what the way is to Login to my FTP server with encrypted UserName and Password ?

Normally when you login to a FTP Server, the UserName and Password travels as plain "text" wich could be...
Forum: C++ Jun 21st, 2009
Replies: 2
Solved: List() problem
Views: 215
Posted By Lukezzz
Ah ofcourse, Thank you Narue.. I confused it with C#

/L
Forum: C++ Jun 21st, 2009
Replies: 2
Solved: List() problem
Views: 215
Posted By Lukezzz
I have tried to delare the List Incr outside the if-statment and then inside the if-statement I declare a new instance of the List but when doing this I get a compilerror that says:


left of...
Showing results 1 to 40 of 173

 


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

©2003 - 2009 DaniWeb® LLC