Indra Agustia's Q&A profile
Visual C++ 2d array delete problem and question
Here is the basics of the code: class MyClass { public CString m_Value1; CString m_Value2; }; class MyWrapper { private: MyClass** m_pMyClass; public: void Create2dArray(int nHeight, int nWidth); void Delete2dArray(); }; void MyWrapper::Create2dArray(int nHeight, int nWidth) { m_pMyClass = new MyClass*[nHeight]; for (int i = 0; i < nWidth; i++) m_pMyClass[ i ] = new MyClass[nWidt ...Show All
.NET Development Allocating large array -> out of memory
Heya, I tried to allocate a large byte array in C#, like this: byte [] buf = new byte [len]; (where len = 1gb) But I get an out of memory exception. I have 2gb of memory in my machine, so it should work Are there alternative/better ways to allocate large amounts of memory /Bo It probably has something to do with the amount of memory allocated in the heap. Check out http://msdn.microsoft.com/ ...Show All
SQL Server SQL Server 2005 equivalent to "Quiesce Database" for split mirror backup?
We run on a SAN and we currently use a split-mirror setup to backup our non-Microsoft databases. We quiesce the database (which suspends all transactions), split the mirror, unquiesce the database, and backup the database from the split secondary disk. The quiesce/unquiesce takes a matter of seconds. Once the backup is done, we reconnect the mirror at the SAN level and it synchs back up. It works quite well. We would like to do something simi ...Show All
Smart Device Development Return xml contents from RSS Feed.?
Hi All, When i give RSS feed as input i should get the xml contents related to that RSS as string.For example if i give the sample RSS Feed http://www.thoseleftbehind.org/podcasts/rss2.xml i should get xml contents as string to my PPC. So how to do it in netcf Use the XML parser - http://www.pocketpcdn.com/articles/xmlfaq.html (Already gave this answer in a different thread) ...Show All
Visual Studio GUID Clash vsWindowKindTaskList/vsWindowKindSolutionExplorer
I'm externally automating my Visual Studio builds. I'm trying to access the buglist from the Task List. However, it appears that the GUID listed for the task list is the same as that for solution explorer. ie. vsWindowKindSolutionExplorer {3AE79031-E1BC-11D0-8F78-00A0C9110057} vsWindowKindTaskList {3AE79031-E1BC-11D0-8F78-00A0C9110057} I'm assuming this is a documentation error ...Show All
Visual Studio Help disabling Just-In-Debugging
I installed .net 2.0 yesterday and now Just-In-Time Debugging has taken over my apps I work on outside of VS.net. I have followed all steps I have found to disable JIT with no results. So then I uninstalled 2.0 and reverted back to 1.1. Still, the JIT dialogue pops up. The pages I am working on are classic asp pages and the last thing I need is these JIT popups. I have been unable to find any information beyond the checkboxes in VS.net. Could an ...Show All
Visual Studio Tools for Office Action Pane Disappear
Hi, I have load a action pane to a Excel workbook, in the mean time, I double click another normal Excel file and then switch back to my VSTO Excel file. I found that the Action Pane disappeared. How can I get it back (The action pane can't be appeared again even I press Ctrl+F1 in Excel 2003) Thanks, You can put it back programmatically using the ThisWorkbook_WindowActivate event. Just check the state of the ...Show All
Visual Studio Team System TF30162: Task "WITs" from Group "WorkItemTracking" failed
I got following exception during project creation after TFS installation. Here's my configuration OS : Windows 2003, SP1 TFS: Beta 3 Refresh Single Server Installation (Server is PDC as well) Here is the log: 2/22/2006 7:03:29 PM | Module: Wizard | Retrieved IAuthorizationService proxy | Completion time: 0 seconds 2/22/2006 7:03:29 PM | Module: Wizard | TF30227: Project creation permissions retrieved | Completion time: 0.0312508 seconds 2/22/200 ...Show All
SQL Server Report Builder logon failed
I used an sql server logon to create the view and model in designer, I deployed the source and model from desigen, when I go to report builder I get this message: Logon failed. Logon failure: unknown user name or bad password. (Exception from HRESULT: 0x8007052E) My server and web service are on the same server and I set up my server security to use mixed mode if that makes a difference. Goto Reporting Services Configuration (in Sta ...Show All
Visual Studio Team System Why test case's name becomes lowercase
Hi all, Sometimes, I find my test case's name becomes lowercase. Is it a bug Or any design of VSTS If it is a bug, any walk around If it is VSTS design, what is the design purpose Thanks, Leon Hi, I am also having this problem and I am using BeginTimer. I think there is some correlation between transactions that fail and the lowercase transaction name. They certainly have some skewed timings. regards Ken ...Show All
Windows Forms naka invasion
Hi guys I'm new to terrarium, but have everything set up for 1.2. Wrote a small simple creature and connected to the exosystem. I now have about 200 "naka"'s sitting around on my screen. They dont eat, they dont move, there is no foo ...Show All
Visual Basic Using TabPage and binding data
I had a tab wherein there are two tabpages(tabList,tabEditList)...On the tabList there is a datagridview(dgvPatients) which displays all data of a certain coulumn(Name)..The table("PATIENT") where Name is a member had other columns(ID,LastName,FirstName...etc) I make this other columns hidden in the dgvPatients as what i only like to show here are the names...What i really trying to do is, all of other details of such certain name would be ...Show All
Windows Forms Intercepting DataGrid Delete Event
hello, I have a window forms application in which I have a datagrid. The datagrid is bound to a strongtyped dataset. The data grid has several custom datagrid styles on it. One column contains an image thats an X - upon clicking th ...Show All
Microsoft ISV Community Center Forums cannot save file as
I can't save any files on any of my other drives. The message comes up as save file not responding. Also szAppname:WINWORDEXE, szAppver:11.06568.0, szModname:hungapp. Why can't you ever get help from microsoft without a fee After all this is their product. golferdrums I'm having the same problem. Did you get an answer to your question ...Show All
Visual Studio Team System Unable to connect to Team Foudation Server - NullReferenceException
This morning I'm unable to connect to TFS - starting up Visual Studio I end up with an empty Team Explorer. Clicking the Connect to Team Server button, brings up the usual dialog, and when I try to connect I get a message box: Microsoft Visual Studio Team Foundation Error Object reference not set to an instance of an object. Any ideas I'm able to connect to the server from other workstations without issue - and this workst ...Show All
