Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #4K
~34.8K People Reached
Favorite Tags

114 Posted Topics

Member Avatar for 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. [code] try { //some code } catch(Exception ex) { //How …

Member Avatar for kavitababar
0
170
Member Avatar for Lukezzz

Hi, I have a code where I upload a file to a server. The code is shown below. As seen I use a loop to try to connect 10 times if attempts is failing. I have also put this in a try/catch block and at the end, I am showing …

Member Avatar for Lukezzz
0
242
Member Avatar for Lukezzz

Hello, I use a a flashcontrol in the Form application. If I have Flash installed on the computer, the control plays the movie fine. If I uninstall the flash from the computer, I receive this error when opening the form. I have tried to put this code inside a try{} …

Member Avatar for cgcgames
0
176
Member Avatar for Lukezzz

Hi.. I will make a "release" of a project I have done in VC++ 2008 Express Edition. I go to: Project/Form1 properties. Here I choose: Configuration: Release In the General tab, I choose: Output Directory C:\Release & Intermediate Directory: C:\Release. In Debugging tab I choose: Command: C:\Release Now I press …

Member Avatar for Lukezzz
0
748
Member Avatar for Lukezzz

Hello I have compiled a project and are now doing a setup of this using the software "Inno Setup Compiler" What I wonder is this: This project that I am doing a setup of is done in Visual C++ 2008 Express Edition. Now if the user doesnt have the .NET …

Member Avatar for thelamb
0
150
Member Avatar for Lukezzz

Hi.. I have compiled a project made in Visual C++ Express 2008 Edition and have made a setup.exe of this using the "Inno Setup Compiler". [B](The project needs Framework 3.5 to work.)[/B] I can install this setup.exe fine on Windows XP and run the software. The setup is downloading the …

0
67
Member Avatar for Lukezzz

Hi, I have created a ToolStripMenuItem in the MenuStrip. Is is called: [B]OneToolStripMenuItem[/B] What I need to do now is these tasks programatically: 1. Add one Item named: "Item1" 2. Create a Click Event for this "Item1" 3. Place a very small .JPG Image or Icon Before this "Item1" I …

0
60
Member Avatar for Lukezzz

Hi, I have a problem with a Flashcontrol(AxShockwaveFlashObjects). The Flashmovie that I get plays well, this is not the problem. I have to show a HTML code to explain the problem I have. I have received a link that is: [B]"http://online.casinotropez.com/promoLoadDisplay?key=em9uZUlkPTM4MzA3MDk2OCZsYW5kaW5nUGFnZUlkPTEzNTEwMTUzJnByb2ZpbGVJZD01MjY5NTE%3D&clickTAG=http://online.casinotropez.com/promoRedirect?key=em9uZUlkPTM4MzA3MDk2OCZsYW5kaW5nUGFnZUlkPTEzNTEwMTUzJnByb2ZpbGVJZD01MjY5NTE%3D "[/B] This link in this HTML here will play …

0
80
Member Avatar for Lukezzz

I am trying to Copy a Folder that consist of many files to another folder with a new Name. I know how to do with files but if I write: System::IO:: Directory:: I cant find any ::Copy Members here. Is it possible to Copy a folder "C:\\Folder1" and at the …

Member Avatar for JuliaSh
0
4K
Member Avatar for Lukezzz

Hello I have been set a task to myself build a "Local SMTP Server" as the product found on this URL: [url]http://www.softaward.com/1036.html[/url] I have googled around but cant find any code of how to do this. The thing is that I use the SmtpClient Class and now in this code …

Member Avatar for Lukezzz
0
152
Member Avatar for Lukezzz

Hello, I wonder how it works when you want to send an email through a proxy server. I have code below that works if you want to send an email through for example smtp.gmail.com etc. I have put the proxyserver address and port that the proxyserver has as the 2 …

0
68
Member Avatar for Lukezzz

Hi, I have a question about when you have compliled a Form application as a release where the product exists of: - exe.file - Program Debug Database - Incremental Linker File What I now wonder is that I have in my project some important usernames and passwords. My question is …

Member Avatar for VernonDozier
0
99
Member Avatar for Lukezzz

Hi, I have 2 backgroundpictures that I want to change every second in a loop. I beleive a backgroundworker and reportproress will work for this. But what I wonder is about these 2 pictures themselves. Normally you can compile a project with a one backgroundpicture put to the buttoncontrol but …

Member Avatar for jonsca
0
106
Member Avatar for Lukezzz

Hello, I wonder if it is possible to have opacity on a textBox control. What I initially is trying to do is that I have a multilined textBox where a lot of text is written and behind this textBox there is a panel with an backgroundimage that I would like …

0
60
Member Avatar for Lukezzz

I have compiled a project with "Build Solution" in VC++ 2008 Express Edition wich have worked fine all the time. Suddenly without doing any changes nowhere after the last F7 (1 minute ago), I do get this Error message: [B]1>Linking... 1>LINK : fatal error LNK1104: cannot open file 'E:\Documents and …

Member Avatar for green_frog
0
5K
Member Avatar for Lukezzz

Hi, I have a special question about banners that usually is possible to put on a webpage with HTML code. The HTML code holds some addresses to this specific banner in form a http:// addresses. As C++ can call addresses like this my quesiton is this: Is there any possibility …

Member Avatar for Lukezzz
0
132
Member Avatar for Lukezzz

Hello, I am using a button event to activate a backgroundworker that will copy a string to the Clipboard. When debugging the code, I get this error for the Clipboard line in the backgroundworker. I am not sure what this meens or what I need to do here. I have …

0
68
Member Avatar for Lukezzz

Hi, I wonder if there is any syntax that can detect if any Browserwindow is open on the computer and then close this/these windows. I use Firefox and then would want to detect if any Firefox browserwindow is opened and then close them if any is open. Thank you!

Member Avatar for Lukezzz
0
110
Member Avatar for Lukezzz

I have a code that is opening a browserwindow like this: [code] Process::Start("iexplore.exe", "http://www.google.com"); //Open google in a defaultBrowser [/code] I wonder something about this "iexplore.exe". I am not sure what that meens. Does it meen that it Only will open Internet Explorer if that exists on the users computer. …

Member Avatar for Lukezzz
0
1K
Member Avatar for Lukezzz

I wonder how it is possible to retreive a string from a function that is generating this string. How is it possible to get the string "SendThis" when presssing the button1 in this case and declare it to getgenerateString ? [code] private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { String^ getgenerateString …

Member Avatar for Lukezzz
0
156
Member Avatar for Lukezzz

I have a little spoky problem here. I really cant understand what it is. I am reading a file that is completely empty. But still the second MessageBox is showing this string: "22" I cant wrap my head around why if( line != "" ) is executing and no character …

Member Avatar for Lukezzz
0
108
Member Avatar for Lukezzz

source: [url]http://www.tamirgal.com/blog/page/SharpSSH.aspx[/url] Hi, This must be some basic C++ I am missing out of how to declare an instance ? I am trying to create an instance of a SFTP. I have added the .DLL file into my project and added the namespace. Sftp is found as a class in …

Member Avatar for Banfa
0
167
Member Avatar for Lukezzz

Hi, I have a .txt file named: myTextFile.txt on my hostingaccount that contains this string: "Hello" Now my hostingprovider says this: "Any file that you can access via your domain can be accessed through a Secure Socket Layer (SSL) connection as well." When I type this manually in the address …

Member Avatar for Lukezzz
0
140
Member Avatar for Lukezzz

I was just talking to my hosting and they did say that it is possible to login to my account and read a file using a secure connection. So called SFTP (Secure FTP). For the moment I use some code that is for FTP connection with EnableSsl = true; wich …

Member Avatar for Lukezzz
0
97
Member Avatar for Lukezzz

Hi, I wonder how it will be possible to open a .DLL file for editing, to reach the Source code files. ? Thank you!

Member Avatar for hag++
0
73
Member Avatar for vbx_wx

If you want you can try this: [code] //Check InternetConnection: HttpWebRequest^ req; HttpWebResponse^ resp; req = (HttpWebRequest^)WebRequest::Create("http://www.google.com"); resp = (HttpWebResponse^)req->GetResponse(); if(resp->StatusCode == HttpStatusCode::OK ) { //It is Connected } else { MessageBox:: Show("Internet Connection was Not Found \nCheck Connection.", "Internet Connection", MessageBoxButtons::OK, MessageBoxIcon::Information); break; } } [/code]

Member Avatar for mitrmkar
0
2K
Member Avatar for Lukezzz

I have a problem to re declare a List<String^>. The first line compiles fine but I get this error on the second line: [B]'operator =' function is unavailable in 'System::Collections::Generic::List<T>'[/B] I dont know what could be wrong here ? [code] List<String^> Lines = gcnew List<String^>(); Lines = gcnew List<String^>(); [/code]

Member Avatar for Lukezzz
0
148
Member Avatar for Lukezzz

Hello, I am opening a new Form in my application and want to pass along a variable to Form2. I think I am pass along it correctly but are not sure how to receive it in Form2. How will that be possible ? [code] String^ ForwardVariable; private: System::Void button1_Click(System::Object^ sender, …

Member Avatar for Lukezzz
0
265
Member Avatar for Lukezzz

I use a panel and if the user Leftclicks an area with the mouse, I am trying to set the variable LeftRightClick to "Left" and the same for rightclick, "Right". Then I call the button43_MouseDown event to show the correct MessageBox, depending on if it was a leftClick or RightClick. …

Member Avatar for jonsca
0
175
Member Avatar for Lukezzz

I have a panel called panel1. What I wonder how it is possible to do is that when you click the mouse on the [B]location 304,369[/B] in the panel, I want to display a messageBox. How would that be possible to identify the location in code ? [code] private: System::Void …

Member Avatar for Lukezzz
0
522
Member Avatar for Lukezzz

I have a Panel that holds 200 buttoncontrols. If I for example minimize the Formwindow and maximize the window again, panel1 that holds the 200 buttoncontrols makes the 200 buttoncontrols to "flicker" for about 2 seconds. I beleive I have set up code for panel1 that have Doublebuffer = true; …

Member Avatar for Lukezzz
0
104
Member Avatar for Lukezzz

I am trying to declare a Doublebuffered panel in C++ I can only find the declaration for this in C#. So I wonder how this could be converted to C++ ? [code] public class DoubleBufferPanel : Panel { public DoubleBufferPanel() { // Set the value of the double-buffering style bits …

Member Avatar for Lukezzz
0
386
Member Avatar for Lukezzz

I have a problem with flickering for a lot of buttoncontrols in a panel. I have put a panel on the form that holds 200 buttoncontrols. When switching from one panel to this panel, all 200 buttoncontrols flickers for about 2 seconds. I have red that if setting [B]DoubleBuffered = …

Member Avatar for Lukezzz
0
119
Member Avatar for Lukezzz

I have a size_changed event in my Form that did cause a MessageBox with the below message. It says that can enable "just-in-time (JIT) debugging" but are not sure how to do this. I cant find: machine.config... [B][U]MessageBox Error:[/U][/B] To enable just-in-time (JIT) debugging, the .config file for this application …

Member Avatar for kvprajapati
0
353
Member Avatar for Lukezzz

I am trying to figure some code out to delete Cookies, BrowserHistory and Cache. I am not sure excactly what this code will delete ? What I want to delete is: * Temporary Internet files * Cookies * History * Form data * Passwords * InPrivate Filtering data However when …

Member Avatar for sknake
0
213
Member Avatar for Lukezzz

Hi, I have a task where I programatically will open 2 Explorer Windows in a minimized mode. I have searched and the code I have come up with looks correct to me but what happens is that these 2 browser windows do open in a Normal mode. That will be …

Member Avatar for Lukezzz
1
202
Member Avatar for Lukezzz

Hi, I wonder how it would be possible to pass a String to the clipboard. If you normally select a textstring in for example WordPad and press Ctrl-C, you copy this string to the Memory/Clipboard so you can Ctrl-V that text somewhere else. I wonder how that would be possible …

Member Avatar for jonsca
0
113
Member Avatar for Lukezzz

I wonder how the try, catch, finally function works. I know how try and catch works. What I wonder is if the try block is successful then I know that the catch block doesn´t execute. Is it true that the finally block doesn´t execute either ? [code] try { } …

Member Avatar for Lukezzz
0
132
Member Avatar for Lukezzz

I am using a backgroundworker that are doing Very much work. I have about 300 pages of code inside this worker, where it is happening a lot of different things. Everything happens inside a for loop like my code here. The problem is this that if I just as much …

0
62
Member Avatar for Lukezzz

I have created a completely new new Windows Form application and are trying to add this namespace: [code] #include "stdafx.h" #include <ctime> #include <iomanip> #include <iostream> #include <fstream> #include <sstream> #include <string> #include <vector> #include <cmath> #include <algorithm> #include <limits> #include <ios> #include <cstdio> #include <numeric> #include <cstdlib> #include <ctype.h> …

Member Avatar for Lukezzz
0
205
Member Avatar for Lukezzz

I have got an Diagram example that is supposed to draw a diagram that I have on a picture. The code compiles but cant understand how to trigger this code for example in the button click event that I have set up. Perheps there is any C# code basics of …

Member Avatar for privatevoid
0
221
Member Avatar for Lukezzz

If you would convert these 3 examples to a string you would get an errormessage as no of the numbers are valid numbers. How would it be possible to do a check programatically if the number is a valid number before a conversion ? [code] String^ GetValue = ""; GetValue …

Member Avatar for fjrivash
0
139
Member Avatar for 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 += is filling the left side up. Is there a way …

Member Avatar for Nick Evan
0
84
Member Avatar for 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 operation and closed the file. I want the filesystemwatcher to react …

Member Avatar for Lukezzz
0
89
Member Avatar for 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 occurence of " ". How can I find the first occurence of " " wich …

Member Avatar for thines01
0
121
Member Avatar for 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". [code] String^ str = "Hello "Hello" Hello"; [/code]

Member Avatar for thines01
0
66
Member Avatar for 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 this textBox, then also the first is deleted, for …

Member Avatar for jonsca
0
101
Member Avatar for 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 get the ouput integer: 41517 ? [code] String^ ba = "41516.7095211088"; …

Member Avatar for Lukezzz
0
95
Member Avatar for Lukezzz

Hi, I wonder if C++ has any inbuilt function where you can convert Minutes to time like this example: [code] 70 minutes in time would be: [B]01:10[/B] [/code]

Member Avatar for StuXYZ
0
78
Member Avatar for Lukezzz

I have a project that consist of 10 forms. When I compile this project I get this compile error. [I]1>Form6.obj : error LNK2011: precompiled object not linked in; image may not run 1>LINK : fatal error LNK1104: cannot open file '.\Debug\Form6.obj'[/I] In the debugfolder I can find these anyway but …

Member Avatar for Lukezzz
0
294

The End.