Bonsaicoder's Q&A profile
SQL Server SQL 2005 Standard error on Windows XP Pro SP2
When I run the SQLSTD.EXE for the September CTP of SQL 2005 Std I get the following error message: "There is not enough space on drive C:\ to extract this package." I have over 13 GBs on C:\ and I've also uninstalled .NET 2 Beta 2. Anything else I need to do to successfully install this TIA The 7zip extraction utility solved my problem--my congrats to them. They should license their product to Microsoft, since it seems that this problem has existed for years without any proper solution. We should all heap shame on "trial and error" workarounds. ...Show All
Windows Forms With...End With construct
Hi. Does With... End With really make a performance difference Suppose I have the following code: Do While drTest.Read 'DataReader object MyClass.Prop1 = drTest.GetString(0) MyClass.Prop2 = drTest.GetString(1) MyClass.Prop3 = drTest.GetInt32(2) Loop I can put the drTest or the MyClass object inside a With construct, but how should I choos ...Show All
Visual Studio 2008 (Pre-release) Data binding to runtime properties
I'm trying to find a way to override the data binding at the point where it retreives data from a property. I'm trying to make this work with data from our propietary quote servers. I have a class that encapsulates the data retreival and updates, but the problem is that I have to map each field to a property of the data item class. There may be properties defined after the app is compiled. What I need is a way to get WPF to call an overrided method with the property name passed as a parameter to get or set the property value, instead of trying to retreive the data via reflection and a property. Without this, I have to do something rea ...Show All
.NET Development problems casting an object in a listdictionary
hi i'm having problems with a listdictionary i have the following code ListDictionary OnScreenDictionary; //instantiation of the LD, adding objects to it, etc foreach(object o in OnScreenDictionary) { DrawingObject DO = (DrawingObject)o; //do some work with DO } now, i'm getting an invalid cast exception but the object is a DrawingObject so the casting should be ok, but it isn't is there an in between cast that i have to do here to retreive my DrawingObject thks, already figured it out myself when i saw the object being a dictionaryentry on the debug ...Show All
Microsoft ISV Community Center Forums Microsoft Business Scorecard Security
Hello, I have an anomaly on security report view in MBSM. In my cube I create two roles. First role has a full access and second role has Restricted access. When I create a report view with using an admin user. All the others users with a restricted access profit from its privileges. In the window of the "report view" it there is no tab Administration or Safety contrary to the data source, Kpi or scorecard. If you have an idea, thank you in advance. Per our support engineer: About report view, I am not sure which one you mean, PivotChart report view or SQL S ...Show All
Windows Forms DataGrid scroll - tough one
Hi all, Is it possible to make a DataGrid scrollable while freezing one of its columns That is, while the rest of the columns scroll, that single column stays put. Thanks. I saw a grid that does this, but again I am not sure how: http://www.syncfusion.com/products/grid/features/grid_feat_12.asp I docs the frozen row or column to the header. ...Show All
Visual C++ the .exe quits
everytime i compile to make a solution ( an .exe file) and as i open the .exe file it shows the correct output but it quits automatically so i was wondering if any there is any way to make the .exe file window to stay open i have windows 2000 OS thaxs This question is asked so frequently in the Beginners section of cpp-home that we made a sticky for it: http://www.cpp-home.com/forum/viewtopic.php t=10588 ...Show All
.NET Development Confused about logistics of data storage...
Still learning, and can't get my head around some logistics... I'm programming in VB 2005 express Beta 2, and have added a database (mdf) that's stored on my hard drive. the app (at the current stage) is simply a form, that stores entered data in a database for use later. The database was created fine, and created a datasource, and everything seems to work fine. as far as i can tell it's adding rows, but i can't figure out how to check. http://forums.microsoft.com/msdn/ShowPost.aspx PostID=69953 explains the issue, but even with this knowledge, i still don't know how to go back in and check if my data has updated. is there a way to jus ...Show All
Visual Basic KeyEvent Questions
I know how to get the key event of the application that I am working on, but how do I use the keyevent classes to capture general keystrokes For instance, if I want to mask a textbox to only allow numbers (I use VB.NET 2003), then I would monitor the keyevents for that specific textbox. What do I do if I want to mask a key or several keys for an entire program Would I have to put a mask everywhere or is there an easier way to do this. If you must know what this is for, then here is the skinny. My friend and I are what you would call pranksters. He just wrote this program and slipped it on my machine that made my mouse control go completel ...Show All
Windows Forms changing layout within DetailsGrid/DetailsView?
I like how easy it is to create and display editable forms in VS 2005. However, I can't figure out how to format these prebuilt forms in the manner that I want (floating CSS divs). In the detailsGrid - using the CSS friendly, how can I put the edit/new/delete links into a separate div (like the footer). It puts these links within the rest of my content. It does not allow me to edit the item templates :( I tried the Datalist Control, but this ignore any div tags that I placed within it, because for some reason it wraps all of it within a table. What I am ultimately trying to accomplish, should be fairly easy. I have a set of 8 or dif ...Show All
Smart Device Development changing the text/caption of tabs of a property sheet in mfc, evc++
hello everyone i have an mfc smart device application. i have created 3 property pages using CPropetyPage class and have added these to a property sheet. now my requirement is that i need to change the text/captions for these tabs dynamically. when i created the three property pages (derived them from CProperty Page class), the class wizard generated three dialogs for me which i'm using as my tab pages. i need to assign the captions/text for the tabs dynamically loading them from stringtable. how do i go about it its urgent.... any assistance and any piece of code will be of great help. thanks in advance kulkarni ...Show All
Windows Forms Bad opinion about .NET framework
Dear Friends, I am using Visual Studio.NET 2005 (Whidbey) to do my developing and designing work. I have developed windows application.I copied the EXE which I have developed,to some other machine (Machine which doesn't has .NET framework 2.0). While running the EXE,I have an error that "you should have .NET framework version 2.0.5314.0 ..." This is really bad. How do they expect that all sys have the framework Then what is the purpose of EXE This is really bad.. Once again they have proved that they are "Microsoft (Not clear)". Any other comments.... You have to have a right version of the .NET framework to run .NET application. ...Show All
Windows Forms listbox
When you doubble click on a itemin a list box I need a event to fire. What event will handle this Please post Windows Forms related questions to the Windows Forms forum. Reserve the C# forum for questions specifically related to C# itself. I'm moving the thread to the Windows Forms forum. Thanks. Michael Taylor - 6/13/06 ...Show All
Visual Basic Formatting Currency
Is there any way to format currency as a long string For instance, turning the number $3451.25 into 'Three thousand four hundred fifty one and 25 cents' I am not aware of anything built into the framework. It gets particularly nasty when dealing with globalization issues. I have found the article at http://support.microsoft.com:80/support/kb/articles/Q95/6/40.ASP was relatively easy to modify into VB.Net. Jim Wooley http://devauthority.com/blogs/jwooley/default.aspx ...Show All
Windows Forms Building controls at runtime rather than design time? better?
Hi there, I wonder if anyone can offer some assistance. I have created the start of a Outlook 2003 type interface application i..e explorer bar on left .. center content .... similar to here http://www.winsupersite.com/images/showcase/outlook2003_preview_01.png What i am a little confused about is displaying each different part of the application in the center content area. I was going to use a Panel so for example if the user clicks on left area Mail, Calendar, Note etc then the center area would change which i would do by showing or hiding each panel. But after speaking to some people and reading bits I am a little confused ...Show All
