We ran into a problem using VirtualAllocEx and were wondering if anybody has
a way around this. We have an executable that stores a hash table in a
remote process. The VirtualAllocEx function fails on the 32665 item. Below
is a sample project to show it.
Program 1 (where the memory will be stored)
---------------------------------------------
#include "stdafx.h"
#include <windows.h>
#include <iostream.h>
int main(int argc, char* argv[])
{
cout << "Process ID: " << GetCurrentProce ssId() << endl;
HANDLE object = CreateSemaphore (NULL,0,1,NULL) ;
WaitForSingleOb ject(object,INF INITE);
return 0;
}
Program 2 (who will do the allocating - Note: update PID to the pid of the
above code)
---------------------------------------------
#include "stdafx.h"
#include <windows.h>
// Main program
int main(int argc, char* argv[])
{
int i=0;
long err = 0;
HANDLE hProcess = 0;
long remoteMemory[100000];
char* srcMemory = new char[1024];
memset(&srcMemo ry[0],75,1024);
////////////
// Connect // Make sure you change the pid
hProcess =
OpenProcess(PRO CESS_VM_OPERATI ON|PROCESS_VM_R EAD|PROCESS_VM_ WRITE,
FALSE, <CHANGE TO YOUR PID>);
////////////
// Allocate
for (i=0; i<100000; i++)
{
remoteMemory[i] =
(long)VirtualAl locEx(hProcess, NULL,1024,MEM_C OMMIT,PAGE_READ WRITE);
if (remoteMemory[i] == 0)
err = GetLastError(); // Create
break point here
// you should get err = 8 -->
ERROR_NOT_ENOUG H_MEMORY
}
////////////
// Free
for (i=0;i<100000;i ++)
VirtualFreeEx(h Process,(void*) remoteMemory[i],0,MEM_RELEASE) ;
CloseHandle(hPr ocess);
return 0;
}
Does anyone know where this limit of 32664 is coming from (almost an int)?
Is there some way around this limitation? Any help would be greatly
appreciated. Feel free to contact me back at any of these newsgroups or
directly via email - thanks in advance!
Bob 11 2880
Bob Karaban wrote: We ran into a problem using VirtualAllocEx and were wondering if anybody has a way around this. We have an executable that stores a hash table in a remote process. The VirtualAllocEx function fails on the 32665 item. Below is a sample project to show it.
Program 1 (where the memory will be stored) --------------------------------------------- #include "stdafx.h" #include <windows.h>
nonstandard header #include <iostream.h>
nonstandard header, use <iostream>
My compiler has no clue what VirtualAllocEx is. You might try asking in
a VC newsgroup.
Just a guess, but VirtualAllocEx allocates in complete pages, so even though
you ask for 1k, you are getting a whole page worth, 8k ? That adds up to
256Meg,
do you have that much memory on your system available ?
dave
"Bob Karaban" <bN************ @newNOSPAMworld systems.com> wrote in message
news:10******** *******@nnrp1.p hx1.gblx.net... We ran into a problem using VirtualAllocEx and were wondering if anybody
has a way around this. We have an executable that stores a hash table in a remote process. The VirtualAllocEx function fails on the 32665 item.
Below is a sample project to show it.
Program 1 (where the memory will be stored) --------------------------------------------- #include "stdafx.h" #include <windows.h> #include <iostream.h>
int main(int argc, char* argv[]) { cout << "Process ID: " << GetCurrentProce ssId() << endl; HANDLE object = CreateSemaphore (NULL,0,1,NULL) ; WaitForSingleOb ject(object,INF INITE); return 0; }
Program 2 (who will do the allocating - Note: update PID to the pid of the above code) --------------------------------------------- #include "stdafx.h" #include <windows.h>
// Main program
int main(int argc, char* argv[]) { int i=0; long err = 0; HANDLE hProcess = 0; long remoteMemory[100000]; char* srcMemory = new char[1024]; memset(&srcMemo ry[0],75,1024);
//////////// // Connect // Make sure you change the pid hProcess = OpenProcess(PRO CESS_VM_OPERATI ON|PROCESS_VM_R EAD|PROCESS_VM_ WRITE, FALSE, <CHANGE TO YOUR PID>); //////////// // Allocate for (i=0; i<100000; i++) { remoteMemory[i] = (long)VirtualAl locEx(hProcess, NULL,1024,MEM_C OMMIT,PAGE_READ WRITE); if (remoteMemory[i] == 0) err = GetLastError(); // Create break point here // you should get err = 8 --> ERROR_NOT_ENOUG H_MEMORY }
//////////// // Free for (i=0;i<100000;i ++)
VirtualFreeEx(h Process,(void*) remoteMemory[i],0,MEM_RELEASE) ;
CloseHandle(hPr ocess); return 0; }
Does anyone know where this limit of 32664 is coming from (almost an int)? Is there some way around this limitation? Any help would be greatly appreciated. Feel free to contact me back at any of these newsgroups or directly via email - thanks in advance! Bob
Actually, we do have the memory available - originally, we were thinking the
same thing. What we tried was changing how much memory we allocated - it
doesn't matter if we allocate in 1k blocks or 100k blocks, we can only do it
32,664 times! So, the amount of total memory we use may vary wildly (we
never actually run out) depending on the block size, but we never complete
request #32,665! Very strange! Any other guesses, please keep them coming!
Bob
"Dave Townsend" <da********@com cast.net> wrote in message
news:Ac******** ************@co mcast.com... Just a guess, but VirtualAllocEx allocates in complete pages, so even
though you ask for 1k, you are getting a whole page worth, 8k ? That adds up to 256Meg, do you have that much memory on your system available ?
dave
"Bob Karaban" <bN************ @newNOSPAMworld systems.com> wrote in message news:10******** *******@nnrp1.p hx1.gblx.net... We ran into a problem using VirtualAllocEx and were wondering if anybody has a way around this. We have an executable that stores a hash table in a remote process. The VirtualAllocEx function fails on the 32665 item. Below is a sample project to show it.
Program 1 (where the memory will be stored) --------------------------------------------- #include "stdafx.h" #include <windows.h> #include <iostream.h>
int main(int argc, char* argv[]) { cout << "Process ID: " << GetCurrentProce ssId() << endl; HANDLE object = CreateSemaphore (NULL,0,1,NULL) ; WaitForSingleOb ject(object,INF INITE); return 0; }
Program 2 (who will do the allocating - Note: update PID to the pid of
the above code) --------------------------------------------- #include "stdafx.h" #include <windows.h>
// Main program
int main(int argc, char* argv[]) { int i=0; long err = 0; HANDLE hProcess = 0; long remoteMemory[100000]; char* srcMemory = new char[1024]; memset(&srcMemo ry[0],75,1024);
//////////// // Connect // Make sure you change the pid hProcess = OpenProcess(PRO CESS_VM_OPERATI ON|PROCESS_VM_R EAD|PROCESS_VM_ WRITE, FALSE, <CHANGE TO YOUR PID>); //////////// // Allocate for (i=0; i<100000; i++) { remoteMemory[i] = (long)VirtualAl locEx(hProcess, NULL,1024,MEM_C OMMIT,PAGE_READ WRITE); if (remoteMemory[i] == 0) err = GetLastError(); //
Create break point here // you should get err = 8 --> ERROR_NOT_ENOUG H_MEMORY }
//////////// // Free for (i=0;i<100000;i ++)
VirtualFreeEx(h Process,(void*) remoteMemory[i],0,MEM_RELEASE) ;
CloseHandle(hPr ocess); return 0; }
Does anyone know where this limit of 32664 is coming from (almost an
int)? Is there some way around this limitation? Any help would be greatly appreciated. Feel free to contact me back at any of these newsgroups or directly via email - thanks in advance! Bob
Bob Karaban wrote: We ran into a problem using VirtualAllocEx and were wondering if anybody has a way around this. We have an executable that stores a hash table in a remote process. The VirtualAllocEx function fails on the 32665 item. Below is a sample project to show it.
Just a guess: Maybe your LDT is full !?
--
Greetings
Jochen
Do you need a memory-leak finder ? http://www.codeproject.com/tools/leakfinder.asp
Do you need daily reports from your server? http://sourceforge.net/projects/srvreport/
VirtualAlloc, as per the documentation, allocates with a certain
granularity, that, in your case should be 64K.
0:000> ?0n32665*0x1000 0
Evaluate expression: 2140733440 = 7f990000 // this is about 2 Gigs
0:000>
in this case, you have simply exausted the whole virtual address space of
your process.
On average, you should use the !address command in cdb/ntsd/windbg to
diagnose these problems more easily.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
"Bob Karaban" <bN************ @newNOSPAMworld systems.com> wrote in message
news:10******** *******@nnrp1.p hx1.gblx.net... We ran into a problem using VirtualAllocEx and were wondering if anybody
has a way around this. We have an executable that stores a hash table in a remote process. The VirtualAllocEx function fails on the 32665 item.
Below is a sample project to show it.
Program 1 (where the memory will be stored) --------------------------------------------- #include "stdafx.h" #include <windows.h> #include <iostream.h>
int main(int argc, char* argv[]) { cout << "Process ID: " << GetCurrentProce ssId() << endl; HANDLE object = CreateSemaphore (NULL,0,1,NULL) ; WaitForSingleOb ject(object,INF INITE); return 0; }
Program 2 (who will do the allocating - Note: update PID to the pid of the above code) --------------------------------------------- #include "stdafx.h" #include <windows.h>
// Main program
int main(int argc, char* argv[]) { int i=0; long err = 0; HANDLE hProcess = 0; long remoteMemory[100000]; char* srcMemory = new char[1024]; memset(&srcMemo ry[0],75,1024);
//////////// // Connect // Make sure you change the pid hProcess = OpenProcess(PRO CESS_VM_OPERATI ON|PROCESS_VM_R EAD|PROCESS_VM_ WRITE, FALSE, <CHANGE TO YOUR PID>); //////////// // Allocate for (i=0; i<100000; i++) { remoteMemory[i] = (long)VirtualAl locEx(hProcess, NULL,1024,MEM_C OMMIT,PAGE_READ WRITE); if (remoteMemory[i] == 0) err = GetLastError(); // Create break point here // you should get err = 8 --> ERROR_NOT_ENOUG H_MEMORY }
//////////// // Free for (i=0;i<100000;i ++)
VirtualFreeEx(h Process,(void*) remoteMemory[i],0,MEM_RELEASE) ;
CloseHandle(hPr ocess); return 0; }
Does anyone know where this limit of 32664 is coming from (almost an int)? Is there some way around this limitation? Any help would be greatly appreciated. Feel free to contact me back at any of these newsgroups or directly via email - thanks in advance! Bob
O.K., we think we understand - how would we reduce this granularity? If we
reduce the granularity, we should then be able to get proportionally more
VirtualAllocEx calls, correct?
Thanks for the help!
Bob
"Ivan Brugiolo [MSFT]" <iv******@onlin e.microsoft.com > wrote in message
news:OF******** ******@TK2MSFTN GP11.phx.gbl... VirtualAlloc, as per the documentation, allocates with a certain granularity, that, in your case should be 64K.
0:000> ?0n32665*0x1000 0 Evaluate expression: 2140733440 = 7f990000 // this is about 2 Gigs 0:000>
in this case, you have simply exausted the whole virtual address space of your process.
On average, you should use the !address command in cdb/ntsd/windbg to diagnose these problems more easily.
-- This posting is provided "AS IS" with no warranties, and confers no
rights. Use of any included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
"Bob Karaban" <bN************ @newNOSPAMworld systems.com> wrote in message news:10******** *******@nnrp1.p hx1.gblx.net... We ran into a problem using VirtualAllocEx and were wondering if anybody has a way around this. We have an executable that stores a hash table in a remote process. The VirtualAllocEx function fails on the 32665 item. Below is a sample project to show it.
Program 1 (where the memory will be stored) --------------------------------------------- #include "stdafx.h" #include <windows.h> #include <iostream.h>
int main(int argc, char* argv[]) { cout << "Process ID: " << GetCurrentProce ssId() << endl; HANDLE object = CreateSemaphore (NULL,0,1,NULL) ; WaitForSingleOb ject(object,INF INITE); return 0; }
Program 2 (who will do the allocating - Note: update PID to the pid of
the above code) --------------------------------------------- #include "stdafx.h" #include <windows.h>
// Main program
int main(int argc, char* argv[]) { int i=0; long err = 0; HANDLE hProcess = 0; long remoteMemory[100000]; char* srcMemory = new char[1024]; memset(&srcMemo ry[0],75,1024);
//////////// // Connect // Make sure you change the pid hProcess = OpenProcess(PRO CESS_VM_OPERATI ON|PROCESS_VM_R EAD|PROCESS_VM_ WRITE, FALSE, <CHANGE TO YOUR PID>); //////////// // Allocate for (i=0; i<100000; i++) { remoteMemory[i] = (long)VirtualAl locEx(hProcess, NULL,1024,MEM_C OMMIT,PAGE_READ WRITE); if (remoteMemory[i] == 0) err = GetLastError(); //
Create break point here // you should get err = 8 --> ERROR_NOT_ENOUG H_MEMORY }
//////////// // Free for (i=0;i<100000;i ++)
VirtualFreeEx(h Process,(void*) remoteMemory[i],0,MEM_RELEASE) ;
CloseHandle(hPr ocess); return 0; }
Does anyone know where this limit of 32664 is coming from (almost an
int)? Is there some way around this limitation? Any help would be greatly appreciated. Feel free to contact me back at any of these newsgroups or directly via email - thanks in advance! Bob
Yeah, I this makes sense, I just looked at the .NET documentation on
virtualallocex, it says the desired
address is rounded to the nearest 64k boundary, so it sounds like you've
blown
the addressability range of windows32.
Since you only need 1k for each entry, can you do some clever stuff to split
up
the 64k page amongst 64 separate entries perhaps ?
dave
"Ivan Brugiolo [MSFT]" <iv******@onlin e.microsoft.com > wrote in message
news:OF******** ******@TK2MSFTN GP11.phx.gbl... VirtualAlloc, as per the documentation, allocates with a certain granularity, that, in your case should be 64K.
0:000> ?0n32665*0x1000 0 Evaluate expression: 2140733440 = 7f990000 // this is about 2 Gigs 0:000>
in this case, you have simply exausted the whole virtual address space of your process.
On average, you should use the !address command in cdb/ntsd/windbg to diagnose these problems more easily.
-- This posting is provided "AS IS" with no warranties, and confers no
rights. Use of any included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
"Bob Karaban" <bN************ @newNOSPAMworld systems.com> wrote in message news:10******** *******@nnrp1.p hx1.gblx.net... We ran into a problem using VirtualAllocEx and were wondering if anybody has a way around this. We have an executable that stores a hash table in a remote process. The VirtualAllocEx function fails on the 32665 item. Below is a sample project to show it.
Program 1 (where the memory will be stored) --------------------------------------------- #include "stdafx.h" #include <windows.h> #include <iostream.h>
int main(int argc, char* argv[]) { cout << "Process ID: " << GetCurrentProce ssId() << endl; HANDLE object = CreateSemaphore (NULL,0,1,NULL) ; WaitForSingleOb ject(object,INF INITE); return 0; }
Program 2 (who will do the allocating - Note: update PID to the pid of
the above code) --------------------------------------------- #include "stdafx.h" #include <windows.h>
// Main program
int main(int argc, char* argv[]) { int i=0; long err = 0; HANDLE hProcess = 0; long remoteMemory[100000]; char* srcMemory = new char[1024]; memset(&srcMemo ry[0],75,1024);
//////////// // Connect // Make sure you change the pid hProcess = OpenProcess(PRO CESS_VM_OPERATI ON|PROCESS_VM_R EAD|PROCESS_VM_ WRITE, FALSE, <CHANGE TO YOUR PID>); //////////// // Allocate for (i=0; i<100000; i++) { remoteMemory[i] = (long)VirtualAl locEx(hProcess, NULL,1024,MEM_C OMMIT,PAGE_READ WRITE); if (remoteMemory[i] == 0) err = GetLastError(); //
Create break point here // you should get err = 8 --> ERROR_NOT_ENOUG H_MEMORY }
//////////// // Free for (i=0;i<100000;i ++)
VirtualFreeEx(h Process,(void*) remoteMemory[i],0,MEM_RELEASE) ;
CloseHandle(hPr ocess); return 0; }
Does anyone know where this limit of 32664 is coming from (almost an
int)? Is there some way around this limitation? Any help would be greatly appreciated. Feel free to contact me back at any of these newsgroups or directly via email - thanks in advance! Bob
The granularity is pretty much hard-coded in the memory manager
per each OS and platform and architecture.
You should consider virtualallocati ng a 64K chunks in the reserved state,
and then commit the individual pages on demand.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
"Bob Karaban" <bN************ @newNOSPAMworld systems.com> wrote in message
news:10******** *******@nnrp1.p hx1.gblx.net... O.K., we think we understand - how would we reduce this granularity? If
we reduce the granularity, we should then be able to get proportionally more VirtualAllocEx calls, correct?
Thanks for the help!
Bob "Ivan Brugiolo [MSFT]" <iv******@onlin e.microsoft.com > wrote in message news:OF******** ******@TK2MSFTN GP11.phx.gbl... VirtualAlloc, as per the documentation, allocates with a certain granularity, that, in your case should be 64K.
0:000> ?0n32665*0x1000 0 Evaluate expression: 2140733440 = 7f990000 // this is about 2 Gigs 0:000>
in this case, you have simply exausted the whole virtual address space
of your process.
On average, you should use the !address command in cdb/ntsd/windbg to diagnose these problems more easily.
-- This posting is provided "AS IS" with no warranties, and confers no rights. Use of any included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
"Bob Karaban" <bN************ @newNOSPAMworld systems.com> wrote in
message news:10******** *******@nnrp1.p hx1.gblx.net... We ran into a problem using VirtualAllocEx and were wondering if
anybody has a way around this. We have an executable that stores a hash table in
a remote process. The VirtualAllocEx function fails on the 32665 item. Below is a sample project to show it.
Program 1 (where the memory will be stored) --------------------------------------------- #include "stdafx.h" #include <windows.h> #include <iostream.h>
int main(int argc, char* argv[]) { cout << "Process ID: " << GetCurrentProce ssId() << endl; HANDLE object = CreateSemaphore (NULL,0,1,NULL) ; WaitForSingleOb ject(object,INF INITE); return 0; }
Program 2 (who will do the allocating - Note: update PID to the pid of the above code) --------------------------------------------- #include "stdafx.h" #include <windows.h>
// Main program
int main(int argc, char* argv[]) { int i=0; long err = 0; HANDLE hProcess = 0; long remoteMemory[100000]; char* srcMemory = new char[1024]; memset(&srcMemo ry[0],75,1024);
//////////// // Connect // Make sure you change the pid hProcess = OpenProcess(PRO CESS_VM_OPERATI ON|PROCESS_VM_R EAD|PROCESS_VM_ WRITE, FALSE, <CHANGE TO YOUR PID>); //////////// // Allocate for (i=0; i<100000; i++) { remoteMemory[i] = (long)VirtualAl locEx(hProcess, NULL,1024,MEM_C OMMIT,PAGE_READ WRITE); if (remoteMemory[i] == 0) err = GetLastError(); // Create break point here // you should get err = 8 --> ERROR_NOT_ENOUG H_MEMORY }
//////////// // Free for (i=0;i<100000;i ++)
VirtualFreeEx(h Process,(void*) remoteMemory[i],0,MEM_RELEASE) ;
CloseHandle(hPr ocess); return 0; }
Does anyone know where this limit of 32664 is coming from (almost an int)? Is there some way around this limitation? Any help would be greatly appreciated. Feel free to contact me back at any of these newsgroups
or directly via email - thanks in advance! Bob
On Fri, 4 Jun 2004 15:39:43 -0400, "Bob Karaban"
<bN************ @newNOSPAMworld systems.com> wrote: We ran into a problem using VirtualAllocEx and were wondering if anybody has a way around this. We have an executable that stores a hash table in a remote process. The VirtualAllocEx function fails on the 32665 item. Below is a sample project to show it.
Program 1 (where the memory will be stored) --------------------------------------------- #include "stdafx.h" #include <windows.h> #include <iostream.h>
int main(int argc, char* argv[]) { cout << "Process ID: " << GetCurrentProce ssId() << endl; HANDLE object = CreateSemaphore (NULL,0,1,NULL) ; WaitForSingleOb ject(object,INF INITE); return 0; }
Program 2 (who will do the allocating - Note: update PID to the pid of the above code) --------------------------------------------- #include "stdafx.h" #include <windows.h>
// Main program
int main(int argc, char* argv[]) { int i=0; long err = 0; HANDLE hProcess = 0; long remoteMemory[100000]; char* srcMemory = new char[1024]; memset(&srcMemo ry[0],75,1024);
//////////// // Connect // Make sure you change the pid hProcess = OpenProcess(PR OCESS_VM_OPERAT ION|PROCESS_VM_ READ|PROCESS_VM _WRITE, FALSE, <CHANGE TO YOUR PID>); //////////// // Allocate for (i=0; i<100000; i++) { remoteMemory[i] = (long)VirtualA llocEx(hProcess ,NULL,1024,MEM_ COMMIT,PAGE_REA DWRITE); if (remoteMemory[i] == 0) err = GetLastError(); // Create break point here // you should get err = 8 --> ERROR_NOT_ENOU GH_MEMORY }
//////////// // Free for (i=0;i<100000;i ++)
VirtualFreeEx( hProcess,(void* )remoteMemory[i],0,MEM_RELEASE) ;
CloseHandle(hPr ocess); return 0; }
Does anyone know where this limit of 32664 is coming from (almost an int)? Is there some way around this limitation? Any help would be greatly appreciated. Feel free to contact me back at any of these newsgroups or directly via email - thanks in advance!
If you're writing using C, use malloc() & free. If you insist on Win32
API, try HeapAlloc & friends.
IIRC, both only call VirtualAlloc(Ex ) when necessary and subdivide the
large blocks.
--
Sev This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: tvaidie |
last post by:
Hi all
I have two one signing assembly registered in GAC in two different version.
I want to remove them but I don't seem able to do so. First I used
gacutil.exe, failed with this error message
C:\>gacutil /u myCompany.theAssemblyName.dll
Microsoft (R) .NET Global Assembly Cache Utility. Version 1.1.4322.573
|
by: steveneng |
last post by:
C++ Primer Plus Programming Exercises 4th Ed - Prate
Help I'm trying to refresh myself and I'm stuck on this problem (not
homework/school related but for personal advancement).
6: Do programming exercise 3, but, instead of declaring an array of
three CandyBar structures, use new to allocate the array dynamically.
That's the question in case you guys don't ahve the book. I have
Exercises 3 done and I can properly use structures. But...
|
by: Shawn K |
last post by:
I populate a listbox with the following code when my form loads:
lstBox.Items.Add("value");
Once the page loads, I give the user the ability to remove items from the
list box by selecting an item and executing the following code from a button
click event:
lstBoxs.Items.Remove(lstBox.SelectedItem);
|
by: Islam Elkhayat |
last post by:
In my Application i search my Employee database and view result in List View
with 3 column..
here is the code:
#########################################
private void textBox1_TextChanged(object sender, System.EventArgs e)
{
this.listView1.Items.Clear();
|
by: Reza Sadeghi |
last post by:
Hi
I am getting this error when I tried to browse any asp.net in visual
studio.net. I can build the project but when I try to run and debug the
project I get error message that "Unable to start debugging on the web
server. server side error occurred on sending debug HTTP Request.
I am running WinXP Pro SP1 with all hotfixes and VS.NET 2002 and .NET
Framework 1.0
| |
by: Rene |
last post by:
Hi all
i need some help. i try to send mail with the following code.
Private Sub LinkButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LinkButton1.Click
Dim mailMsg As New MailMessage
mailMsg.From = rene.fehr@netradox.com
mailMsg.To = info@netradox.com
mailMsg.Subject = "Testmail vom Webforum"
mailMsg.Body = "some body text"
|
by: Brad |
last post by:
I have a win2003 server workstation with multiple webs, each web has it's
own ip address. In VS2005, if I select to open an existing web site, select
Local IIS, the dialog correctly displays a list of all of my webs, however
if I attempt to open a site under and web other than localhost I receive the
message:
"Unable to open the Web 'http://localhost/anywebappname'. The Web
'http://localhost/anywebappname' does not exist"
Obviously...
|
by: Udi |
last post by:
All,
I have a list box that imitates the intelisence behavior.
Since I need it to be top most, I have put it on a TopMost form (The
listBox docked to Fill).
The form has no parent, no caption and its borderStyle is FixedSingle.
The Listbox IntegralHeight is false.
My problem is that when my listbox contains only one or two items in
it, I can't shrink the parent form to the wanted sizes.
The result is a listbox (form) bigger than needed...
|
by: divya |
last post by:
Hello,
I used the below code to move selected items between two listboxes
Left and Right:-
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="TestPopup.aspx.cs" Inherits="TestPopup" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |