Esp_99's Q&A profile
Visual Studio 2008 (Pre-release) ICollectionView grouping
I have virtual IList<T> implementation (Db4oList) for db4o ( www.db4o.com ) object database and want to add ICollectionView implementation. I have described one problem with ObservableCollection here: http://forums.microsoft.com/MSDN/showpost.aspx postid=571091&siteid=1 But there is also related problem: Db4oList keeps only specified amount of objects in memory. E.g. say I have 1 000 000 objects (items) in it loaded from db4o database. I keep only 1 000 of them in memory when enumerating the list or using its indexer to access items. I have no problem with sorting or filtering, but the problem is with grouping, because when ICollection.Groups could have too many objects and because it is defined as ReadOnlyObser ...Show All
Visual C# How to know the connection bandwidth from program?
Is there any way to find out the bandwidth of my connection through program I assume you mean your Internet connection. Doubtful, the System.Net.NetworkInformation namespace doesn't contain anything like it. Connection speed is usually determined by your modem; your PC talks to the modem at normal Ethernet speeds so can't possibly know how fast the modem communicates. ...Show All
Visual C++ Anyway to get intellisense to highlight custom keywords?
Like if i did this in c++: typedef int Integer; and i want all occurences of Integer to be highlighted like a keyword. You can use the undocumented feature of usertype.dat. It's documented here, though: http://search.live.com/results.aspx q=visual+c%2B%2B+usertype.dat Thanks, ...Show All
Software Development for Windows Vista TEST CASE 30: Problems with verification on Russian Windows Vista
Our product has Russian language only, and we test it on Russian localized version of Windows Vista. The behavior during TEST CASE 30. Verify the application is Restart Manager Aware (Req:3.1) is not correct. Let me explain. Our product is not a service and is not designed to restart after shutdown, so to test I used the command: rmtool.exe –p dwPID –S The product does close. When I tested on English Windows Vista, I did get only the Information message (in fact there were three Information messages: Starting session, Shutting down the application, Ending session). But when I tested the behavior on Russian Windows Vista (both 32- and 64-bit versions) I did get the additional 4th message of Warning type, saying that ...Show All
Visual Studio Express Editions Visual Basic Express Edition E-book
Where in the registration portal is the link to download the e-book for the Visual Basic Express edition. Can anyone please help me. I am a beginner. Any ideas or recommendations woud help. I think you'll find it will appear after a few days. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=371418&SiteID=1 or this may be what your after http://www.microsoft.com/mspress/companion/0-7356-2213-2/ ...Show All
SQL Server sql server 2000
Can anybody help me................. what are the steps needed , as , the client connects to sql server 2000. Explanation: i test the connection thru normal tcp/ip client program , which is connected to sql server listening at 1433. SO, 1.How can i pass commands to access the data base at server side. 2. programming steps needed at the client side. 3. steps needed at server side ...Show All
Visual Basic Dynamic List Creation
I'm working on an update to a previous program, to handle multiple sets of data. As such, i have a form which displays a list of data in order for the user to select the file they wish to work on. Depending on the system they are using, there can be anything from 1 file, to 255 files. I want to create a list of items that are evenly spaced without having a form that is designed to display a possible 255 items. How would i got about doing this Currently i have a form that has a textbox, with a panel containing a table layout. I just add items to the table layout as required. My problem is how to dynamically create the table layout and size the form depending on the number of items i wish to add. It should also be noted that i ...Show All
Internet Explorer Development IE7 and changing an image in a different frame
We have a series of GIS mapping applications that run using ESRI's ArcIMS software with a javascript based html viewer. We use a series of frames on a single page to display the base map, legend, table of contents, and an overview map. The applications have been running for about 4 years without any major browser issues. However, the document object coding that we use to update and switch the overview images does not work in IE7: < SCRIPT LANGUAGE =JAVASCRIPT > < !-- ... parent.OverviewFrame.document.images['ovImage'].src = 'image.gif'; ... //--></SCRIPT> Anybody know how to get this working again Thanks! Pasayten I just copie ...Show All
Visual Studio Team System How to get DB Pro ?
I do have asked this question in the Visual Studio Newsgroups, but didn't get feedback. So I'm hoping to get some light from this group :). I do have Team Edition installed already, however without Database Professional. On MSDN there is a 3.88 GB ISO with Team Edition Database Professional and a Trial Editon of 19 MB. I actually only wanted the extra bytes in addition to my current Team Edition. Can I use the Trial Edition or do I really have to get the whole 3.88 GB Thank you everybody for the help. The link from Richard is exactly what I was looking for. And also getting to know that what is called "Trial" on MSDN works with a current installation was very helpful. MSDN online get's more and m ...Show All
SQL Server Deployment to one Database 'Clearing' Another...
Hi, We have a setup whereby our production server builds to a build cube overnight, and if and when this completes successfully, and passes sanity checks, it automatically backs up and restores the cube over the top of a 'live cube'. This seemed like a fair enough plan - it allows developers to deploy to the production server without breaking the production-live cube, however, we have noticed that deploying to the build cube database sometimes results in the clearing out of the production cube database (much to the users' dismay!). Anyone else seen anything similar, or have any ideas as to what the problem could be Thanks, Will. First time I hear about something like that. Try and see if ...Show All
Smart Device Development Multiple instances of an application - bad
I have an application running under WindowsMobile5.0. I have used the code below to make sure that I only get one instance of the application (I'm talking to a SDIO module - don't want more than one instance). It works fine after the first instance is up and running. However, if I tap the application name in the 'File Explorer' multiple times (4 or 5), I end up with the application launching 2 or 3 or 4 times. I have not yet found a way to prevent this. The reason this causes a problem is that the spinning processing icon doesn't appear immediately after the first tap. It is not obvious that the tap was accepted and it is not uncommon for the user to tap a second time and this can cause the problem. static class Program { [DllIm ...Show All
Smart Device Development Purging the history of the webbrowser control
Hi All, I'm using the webbrowser control that is supplied with the C# .NET compact frame work. Does anyone know how to programacticcally purge the interal URL history, Thanks wshs ...Show All
SQL Server Excel 2007 and SqlServer sp2
hellow all, i installed SqlServer 2005 sp2 on my server. now, how do i import excel 2007 files in SSIS i don't have office 2007 installed on my computer, but i've got some .xslx that i would like to try ro import. i tried to create an OLEDB connection, but i don't know which provider to choose. anyway, can i do it without the sp2 or office 2007 installed on my server thanks for tour reply! thanks, the link is very helpfull. i downloaded the example package but when i try to see the connection manager's configuration- i'm getting this massage: "The specified provider is not supported. Please choose different provider in connection manager." it is probably because i don't have office 2007 installed on ...Show All
Visual Basic Call a VB 2005 DLL from VB .NET 2003
I have an executable program written in Visual Basic 2003. I now have a DLL written in Visual Basic 2005. How do I call the 2005 DLL from the 2003 EXE I have tried Reflection and simply CreateObject. Even tried to create a reference. All attempts told me that the DLL was invalid. Help please Rory Have you tried adding a config file to the .Net 1.1 dll to force it to use the .Net 2.0 runtime If your exe is called yourfile.exe, create a file called yourfile.exe.config with the following contents: < xml version ="1.0" > <configuration> <startup> <supportedRuntime version="v2.0.50727" safemode="true"/> <requiredRuntime versi ...Show All
SQL Server Odd null behavior
I am writing an upsert proc that should detect the change in state for a record. The change in state happens when a particular date field (default null) is populated. However, I can not get a record set that detects the changes properly. Here is an example set ANSI_NULLS on go create table #t1 ( ID int, DateField datetime ) create table #t2 ( ID int, DateField datetime ) insert into #t1 (ID, DateField) values (1, '7/20/2006') insert into #t2 (ID, DateFIeld) values (1, null) select * from #t1 join #t2 on #t1.ID = #t2.ID where #t1.DateField <> #t2.DateField drop table #t1 drop table #t2 The select should return a record because NULL does not equal '7/20/2006' but it doesn't. What am I missing Thanks in advance. ...Show All
