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

192 Posted Topics

Member Avatar for Jennifer84

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 ?

Member Avatar for rubberman
0
293
Member Avatar for Wiki_Tiki

Put this void MarshalString inside your namespace. This used for possible conversions. Once you have done this, you can convert a std::string to System:: String^ like the code below: [code] void MarshalString ( System::String^ s, std::string& os ) { using namespace System::Runtime::InteropServices; const char* chars = (const char*)(Marshal::StringToHGlobalAnsi(s)).ToPointer(); os = …

Member Avatar for RhondaCos
0
2K
Member Avatar for Jennifer84

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 …

Member Avatar for James19142
0
181
Member Avatar for Jennifer84

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 …

Member Avatar for thines01
0
204
Member Avatar for Jennifer84

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

Member Avatar for sergent
0
266
Member Avatar for Jennifer84

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

Member Avatar for gusano79
0
505
Member Avatar for Jennifer84

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

0
70
Member Avatar for Jennifer84

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 …

0
79
Member Avatar for Jennifer84

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 …

Member Avatar for jonsca
0
359
Member Avatar for Jennifer84

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 …

Member Avatar for Jennifer84
0
384
Member Avatar for Jennifer84

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

Member Avatar for jonsca
0
165
Member Avatar for Jennifer84

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 …

Member Avatar for Jennifer84
0
120
Member Avatar for Jennifer84

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 ?

Member Avatar for Nowayz
0
634
Member Avatar for Jennifer84

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 …

0
53
Member Avatar for Jennifer84

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!

0
51
Member Avatar for Jennifer84

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

Member Avatar for WaltP
0
4K
Member Avatar for Jennifer84

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 …

0
63
Member Avatar for Jennifer84

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 …

Member Avatar for hag++
0
191
Member Avatar for Jennifer84

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 …

0
51
Member Avatar for Jennifer84

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 …

Member Avatar for Milton Neal
0
317
Member Avatar for Jennifer84

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

Member Avatar for jonsca
0
98
Member Avatar for Jennifer84

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 …

Member Avatar for ShadowScripter
0
262
Member Avatar for Jennifer84

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 …

Member Avatar for ShadowScripter
0
514
Member Avatar for Jennifer84

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 …

Member Avatar for Jennifer84
0
95
Member Avatar for Jennifer84

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 …

Member Avatar for jonsca
0
82
Member Avatar for Jennifer84

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 …

0
64
Member Avatar for Jennifer84

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

Member Avatar for Jennifer84
0
652
Member Avatar for Jennifer84

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 …

Member Avatar for NathanOliver
0
136
Member Avatar for jephthah

Yes, this is without doubt true. The design is not a success at all. It is actually difficult to read the threads in the mainpage to begin with and also the discussion. Why ? * The distance between threads are to big for the eye to naturally read all of …

Member Avatar for William Hemsworth
3
853
Member Avatar for Jennifer84

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 …

Member Avatar for Jennifer84
0
285
Member Avatar for Jennifer84

If you have a form application and open another form from a buttoncontrol on "Form1", this will open another form but this form will also be in the "Taskbar" on your desktop. So you have 2 forms in the "Taskbar" (What I am after is to still only have one …

Member Avatar for scott.vass
0
142
Member Avatar for Jennifer84

I am trying to get a value from a specific cell in a dataGridView. I know how to choose a Row / Column but not at the same time. I have tried to get the value from row 3 in column 2 like below. But I cant find a Column …

Member Avatar for milind morey
0
109
Member Avatar for Jennifer84

I wonder something about finding a specific character in a string. What I am trying is to find "*" and if that character is found in the string, I will write "Found" to a file. When running the code below. All this is happening but the same thing is happening …

Member Avatar for dpreznik
0
146
Member Avatar for Jennifer84

I have a little special question about the for loop. Normally you could do the count as I have declared with a count from 0 - 10. What I do inside the loop is to identify many scenarios if the count should start from 0 - 10 or vice versa …

Member Avatar for puluke
0
128
Member Avatar for Jennifer84

I am doing a fuction where I want to check that a String contains only Letters between: "A-Z" and Numbers between: "0-9" and "_" Instead of checking all one by one. Is there any approach to check against all at the same time ? [code] String ThisString= TextBox1.Text.Trim().ToLower(); for (int …

Member Avatar for Dave Sinkula
0
3K
Member Avatar for Jennifer84

I am encounter a problem that I dont understand what is happening. I use the Form application where I from Form4 will open Form22 like this wich works. [code] #pragma once #include "stdafx.h" #include "Form22.h" Form22 ^form22 = gcnew Form22; form22->ShowDialog(); [/code] What I need to do now is to …

Member Avatar for Jennifer84
0
111
Member Avatar for Jennifer84

How is it possible to get a menu where you rightclick on the Form ? I am not sure if this is the contextmenu. I tried to add this to the Form and also some components to it but that did however not work.

Member Avatar for Jennifer84
0
117
Member Avatar for Jennifer84

When reading a txt file I am using .seekg to set the startpoint in the file to read from. linepos has a value: 1002106 First I wonder what this value stands for excatly. As I have understand this is how many characters forward in the file that will be the …

Member Avatar for Jennifer84
0
338
Member Avatar for Jennifer84

I know how to declare a 1D vector like below but how do you declare a 2D vector ? [code] List<String^>^ Vec1 = gcnew List<String^>(); [/code]

Member Avatar for Jennifer84
0
169
Member Avatar for Jennifer84

I am using a List where I wonder how it is possible to find the MaxValue searching trough Value1[0] until Value1[3]. In this case it should return: 12 I have found a ::Max function but this will only consider the 2 values inside the paranthes wich then will return: 100. …

Member Avatar for Jennifer84
0
205
Member Avatar for Jennifer84

I am using this in the std:: to check for the first occurance of " " backwards (rfind). If I go managed .NET, I wonder if there is any simular method for this using str-> [code] std::string::size_type index2 = str.rfind(" ", index - 1); [/code]

Member Avatar for Jennifer84
0
152
Member Avatar for Jennifer84

I am using StreamReader to read a File. With the code below I am able to read a whole line. What I wonder is how it is possible to read a comma delimited file like these lines. How will I put the delimiter ',' and also assign the values to …

Member Avatar for Jennifer84
0
261
Member Avatar for Jennifer84

I am looking for fast conversions. I found out that converting with atof is much more faster than using the stringstream like the below tests. What I look for now is a fast way to convert from double to char* I have a problem to find this conversion. [COLOR="Green"]char* to …

Member Avatar for mitrmkar
0
154
Member Avatar for Jennifer84

I am reading Comma delimited Large .txt files(About 50 Mb). Currently I am using the method below to step through the lines in the file. I have one other application that Read the exact same .txt file that I do. That application will reach the end of the textFile in …

Member Avatar for Jennifer84
0
7K
Member Avatar for Jennifer84

I have put values into 6 elements of the vector Numbers like below. What I wonder is if there is any function to check for the Highest value for a given range of the vector. Say I want to find the highest value from elements [3] to [5] wich in …

Member Avatar for stilllearning
0
141
Member Avatar for Jennifer84

I am showing a printDialog like this: [code] if (printDialog1->ShowDialog() == System::Windows::Forms::DialogResult::OK) { PrintDialog(); } [/code] Now when this dialog comes up I want to print all textContents that is in richTextBox1 and I am not sure how to define that. I have begun some code like this but are …

0
64
Member Avatar for Jennifer84

For the code below I Select an area in a textBox that I will Mark Red. I will also change the Fontsize to [B]16 [/B]and make the selected text [B]Bold[/B] but are not sure what calls that is used for this. [code] this->richTextBox1->Select( 0, 10 ); this->richTextBox1->SelectionColor = Color::Red; [/code]

Member Avatar for Jennifer84
0
131
Member Avatar for Jennifer84

I am loading a txt File into a textBox with the code below. For each Line I am checking : if( LoadTopic2.substr(0, 2) == "Ex" ) If that is True I want to select that Row and mark that Line Blue. I have started some code out below but dont …

Member Avatar for Jennifer84
0
132
Member Avatar for Jennifer84

I want to create a "Help" in an application that I do. I have attached a file for what kind of solution I am after. The solution is the same type as in VC++ 2008 under "Help" /Index? How it is constructed is with a listBox on the left side …

Member Avatar for Jennifer84
0
122
Member Avatar for Jennifer84

I think I have a convertingproblem when using stringstream. I multiply 0.995 * 19.99 wich is: 19.89005 The first messageBox do show because 19.89 < 19.89005. Then I convert Total to string and back to double again and do the same check if: 19.89 < NewNumber But here the MessageBox …

Member Avatar for Jennifer84
0
94

The End.