- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I have a question of how it would be possible to change the IP address to a randomly new IP address. How would I go about to do this ? |
|
Hi, I'm a real newbie at C++, and I'm having a ton of trouble. You see, What I need to do is convert an std::string into a system::string^ so I can display it in a textbox, and I haven't found any way of doing so :icon_confused: . I always get … |
|
Hello I have a problem to convert a String to double. I use the below code but the messageBox show 11,07 with a Comma(",") instead of a dot(".") I beleive this depends on any regional settings on the computer. On my other computer I get the result "11.07" which is … |
|
Hi, I have a problem with a webrequest with the below code. If I try to request "http://www.google.com", it works fine. But when I try to reach this long URL below with this code, I receive an error: I wonder what this depends on and what could be done? [B]The … |
|
Hi, I have an URL like below. When typing that in explorer, that will let you download a .csv file. I simply wonder how you can do this in code instead. Reach the below URL and download this file to C:/ ? [code] string getURLfile = "http://ichart.finance.yahoo.com/table.csv?s=MSFT"; string savePath = … |
|
I have a problem when I compile my windows form application in Visual C# Express Edition 2010. When I press F5 do debug, I receive this message: [B]"Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))[/B] And points to this line: [B]Application.Run(new Form1());[/B] I dont know what the problem could be? … |
|
Hello I have a INotifyPropertyChanged function with rdNum declared as seen. Now, I need to programatically add rdNum2 to the INotifyPropertyChanged function in the rdInsert_Click event. How is this possible to do? [ICODE] public class Window1 : INotifyPropertyChanged { private string _rdNum; public string rdNum { get { return _rdNum; … |
|
Hello I read in alot of text into a Memorystream. Now I have to find a way to write this stream a chunk at a time to the text file. I have outlined the code that will not work in this case. As seen I do read in chunks of … |
|
Hello I have this code below where I use the method ->ReadToEnd() to read in the whole file into the String test. The thing is that I have to use the method ->ReadToEnd() in this case because I use another class that only have this functionality. I cant read line … |
|
The below code do connects to the server successfully. It is a working code. Now for example is not the server avaliable. So I receive this error even that I have put this in a try{}catch{} The error is below, and I wonder how I can [B]shut this error off … |
|
Hi, I am trying to add 2 menuItems to a toolstrip menu. I cant get it to work and wonder what I am doing wrong. Also I like to add a click event to those items each that will open up the respective URL for each item "http://www.google.com" and "http://www.yahoo.com" … |
|
Hello I have a problem. I have a project that consists of 4 forms(Form1,Form2,Form3,Form4). I usually debugged this project. Now I might have done something stupid. I deleted the all 4 .h files. I did keep Form1.h file because I was doing a small program out of that file and … |
|
I thought about something like this. Is this a good way to do it ? [code] std::stringstream Num; std::string str; Num << 5; str = Num.str(); [/code] I have this: [code] int ist = 5; [/code] How is it possible to convert ist to std::string ? |
|
Hello! I have a task where I will connect to a webpage through a proxyserver with code. The information I have is this: Site to reach: [B][url]http://www.testing.com[/url][/B] ProxyIP and port: [B]109.123.70.47:80[/B] I have googled around but cant understand what the way to do this. In some way the web proxy … |
|
Hi, I wonder how it would be possible to programatically take a screen shot (Print screen) Then second, I do wonder how I now can save this screen shot to a .BMP or .JPG file? I would be happy to learn how this is possible to do. Thank you! |
|
Is it possible to use a buttoncontrol to pause a for loop. Ex: When it has counted to 50000, I press Pause and when I press Pause again, the loop continues. Is it possible to achieve something like this ? [code] for ( int i = 0; i < 100000; … |
|
Hello I have put a web browser control on the form. Now I use different URLs for this browser but sometimes popups and "Internet Explorer Script Error" windows popups appear. My question is how it would be possible to block popups for this instance below of webBrowser1 ? I am … |
|
Hello, I wonder how it is possible to read a multilined textBox line by line into a List<String^>. I dont get the below code to compile so I might be missing something here ? [CODE]array<String^>^ mylines = textBox1->Text->Split(System::Environment::NewLine); List<String^>^ getLines = gcnew List<String^>(); String^ getLine = ""; for (int i … |
|
Hi, I have a button control where I retreive 2 strings with 2 URL like in the code below. What I wonder how it is possible to do, is how to open up [B]1 browser [/B]window with 2 Tabs where 1 Tab is [url]http://www.google.com[/url] and the other [url]http://www.yahoo.com[/url] How can … |
|
Hi, I have a problem with a random number generating function. This function works great on windows XP but when I run the function in Windows VISTA and Windows 7, I receive an error message that displays: [B]"Attempted to read or write protected memory. This is often an indication that … |
|
Hello I wonder if it is possible center align a linklabel in a Panel ? I cant find any property for this in the Panel. Thank you |
|
Hi, I have a form that has Width & Height (1000,1000). Now if the users screen has for example this sizes (800,800). Then I want to adjust the Forms Width & Height to 800,800 so it fits the screen. So my question should be if it is possible to detect … |
|
Hi, I have 2 questions about the scrollbars on the Form. 1. Is it possible to change the Width of the scrollbar control itself? (Ex: for the vertical scrollbar in this browser window is about 1 cm.) 2. Is it possible to change the Color of the scrollbar in any … |
|
Hi, It is possible to drag a Forms width. What I want is to prevent a user to drag the Forms width more than the value 405. I have tried out with the code below but nothing happens when I drag the width of the form. Thanks! [CODE] private: System::Void … |
|
Hi, I am trying to call a MouseUp event. I usually do this with button events wich is my first example that works fine but I have compile error for the MouseUp event like shown below. I dont know if there perheps is a difference here that I am missing … |
|
Hi, I am using a flashcontrol in my application where I have assigned a bannerlink. A banner is shown in the flashcontrol wich is perfect and when clicking the bannercontrol the companys webpage is opened up in a browser. This works fine. The problem is now when I assign the … |
|
Hello I have a form where I have a lot of code perheps about 1000 pages. Now in an event I have 160 lines of this code that I show below. I am showing 2 lines to give an example here: [code] for(int i = 0; i < 6; i++ … |
|
Hello I have seen that the Forum has changed look and appearance wich is okay. But where is the "Views" on a thread, I can´t beleive this is replaced with Popularity. I have never seen a forum that doesn´t have "Views". Popularity is not a good idéa at all. It … |
|
You know, i don't consider myself old. I don't have vision problems. but when i look at this site now, generally speaking, i find it very difficult to read. Oh, the buttons and headers and footers and advertising banners and other assorted tags are quite large and prominently displayed. i … |
|
Hello I am trying to compile my project in VC++ Express Edition and get the error below. The project did compile fine before I reinstalled XP windows. But now when I have installed everything again, I receive this error. I dont understand what this can mean ? When clicking the … |