No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
I've been using an OpenVPN service for 2 years now, but it seems it has become too popular and now its very slow and sometimes I get computer UDP attacks from different countries and some sort of attacks that my firewall classified as SQL injection attacks or something like that. … | |
I've been trying this for 1 year now and can't seem to find anything useful (yeah, I know I suck). I've made a C++ application with WinAPI which allows me to read and write raw disk bytes with CreateFile(). However, now I need to do it with assembly so the … | |
Re: In my opinion [B]"++"[/B] in C/C++ is just terrible. I don't even know why they allow it to be part of the language. Try [CODE]pID = pID + 1;[/CODE] [B]"++"[/B] increment its value by 1 and assigns it to the variable. However, if the operator is inserted inside a conditional … | |
Re: Well if you want the other options to appear, but be disabled then I don't think that is easy task because of the nature of the control. Look at this: [URL="http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/d87fdf75-fc0e-4950-a8b2-b27eecde34b0/"]Hide item in combobox[/URL] Otherwise I think you can do it this way: [CODE] Select Case ComboBox1.SelectedItem Case "Michigan" ComboBox2.Items.Clear() … | |
Re: [QUOTE=lolafuertes;1737081]Also you can modify slightly your code to not include the short lines like:[CODE]Dim FILE_NAME As String = "C:\Users\Owner\Documents\test.txt" Dim TextLine As String If System.IO.File.Exists(FILE_NAME) = True Then Dim objReader As New System.IO.StreamReader(FILE_NAME) Do While objReader.Peek() <> -1 ' ' Red a line ' Dim CurLine as String = objReader.ReadLine().Trim() … | |
Re: Eh!? :confused: I think its 26, but now you have made me doubt of my mathematical way of thinking. Also, I don't understand what this BIMDAS stuff is, but it sounds to me that its like a [URL="http://en.wikipedia.org/wiki/Mathematical_fallacy"]Mathematical Fallacy[/URL]. Like the "[B]All numbers are equal[/B]" in which one divides by … | |
I'm having trouble finding how to write to a C++ WinAPI TextEdit control programatically. Here is my code for the TextEdit control: [CODE] case WM_CREATE: { OutputBox = CreateWindowEx(WS_EX_CLIENTEDGE, "EDIT", "", WS_CHILD | WS_VISIBLE | WS_VSCROLL | ES_MULTILINE | ES_AUTOVSCROLL, 10, 90, 410, 235, hwnd, (HMENU)OUTPUTBOX, g_hInst, NULL); break; } … |
The End.