syouki's Q&A profile
Visual Studio 2008 (Pre-release) Creating a WinFX Windows application GPF's Visual Studio
Hello All, I just installed the SDK, components and add ons and wanted to create a new WinFX Windows Application. I select it from the wizards, the ide starts and then GPF, every singe time. Anyone thanks Ralph GPF shouldnt be caused because you created a WinFX app. You might want to check your system health. The following situations cause GPFs. ( web source ) one application trying to use memory assigned to another application Running an application with insufficient resources Using improper hardware device drivers Corrupted or missing Windows files Applicatio ...Show All
SQL Server PIVOT statement whitout knowing values
Just a small issue... I'm trying the new SQL 2005 (Express) because the PIVOT function was finally added. I've a table with three columns ID, Height and Width Now I'd like to have a table with for each height the number of ID for each Width The easiest way is to use the PIVOT statement.....but..... to use it in SQL2005 I should use: SELECT Height, [100] AS Width01, [200] AS Width02 FROM ( SELECT ID, Height, Width FROM TestTable) p PIVOT ( COUNT (ID) FOR Width IN([100], [200]) ) AS pvt This kind of querry works perfectly in a static situation, but if I add new record in the table referencing the "300" Wi ...Show All
SQL Server Analysis services
I am doing a data mining project using the census bureau data set. The data set is a pdf, so I saved it as a text file, I imported as a flat source file and am trying to create my data source But am having trouble with this Please help i fixed the error. but thanks. Perhaps, you could help me with Analysis services, Data source views. Under the Data source views tab select tables and views, if I only have one file of data with columns and rows, is it possible to data mine this one file. or should i be incorporating more files ...Show All
Visual Studio Team System Web Test Question
Hi, How do I create "Web Test" project using Visual Studio for Developer I've tried from New Test menu and Test Project > Add, there are couple of options such as create ordered tests, unit test wizards etc; but there is no "Web Test" as mentioned in documentation. Any ideas Regards, James. James Web Test is part of Visual Suudio Team Edition for Testers not Developers. http://msdn2.microsoft.com/en-us/library/ms182415.aspx Thanks Brian [MSFT] Microsoft Developer Support This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
Software Development for Windows Vista ICredentialProvider
Did anybody make a successful user logon using the new ICredentialProvider interface My credentials are displayed, but I can't make them to logon. And what worse - after 20 or 30 seconds, the winlogon crashes completely with no recovery possible excepting hardware reset. I thought I basically did something wrong and decided to wait for more detailed documentation or some sample code. But MS doesn't seem to put too much effort on improving their SDK documentation and I also found that at least one other programmer has the same problem: http://msdn.microsoft.com/newsgroups/default.aspx query=vista&dg=microsoft. ...Show All
Visual Studio Can you defer property evalation?
I have a catch-22. I have a property called "OutputPath" defined in my targets file. I also have an empty property called VcOtherFlags defined in a target in my targets path that allows folks to add in addtional compiler flags. Now here is the problem. If I do this: <PropertyGroup> <VcOtherFlags>-I$(OutputPath)</VcOtherFlags> </PropertyGroup> <Import Project="..\foo.targets"/> Then in the target buried in foo.targets, VcOtherFlags evaluates to "-I" because the OutputPath is defined in foo.targets. If I switch the order like so: <Import Project="..\foo.targets"/ ...Show All
Visual Basic Problem VB6 to VB 2005 conversion
I used to do this with VB6. Type Record STat As String * 4 PkID As Integer SID As Integer SName As String * 35 Msg As String * 100 End Type Dim Rec As Record Rec.SID = Val(lblTo.Tag) Rec.STat = "M" Rec.SName = lblTo.Caption Open filename & ".log" For Random Shared As #1 Len = Len(Rec) Dim Pos% Put #1, getPos(1, "M"), Rec Close #1 I searched a lot and am unsuccessful. I don't know exactly what to do for doing above task. I will be very greatful if anybody can help in this regard. Thanks. Try defining the structure using the vbfixedstring attribute as in the following ...Show All
Visual C# Create updates of my Setup project…
I make a Setup Project in Visual Studio 2005 for my application. All works well but when I’m going to distribute an update in a new builded version of my application my clients have to first uninstall my application and then reinstall the new one. I get the following error when I try to install my app again: Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel. How do I do to make the new release be installed over the old one The Setup projec ...Show All
Windows Forms How to set value? control.DataBindings["Text"].BindingManagerBase.Current = ?
Hi, In my context the BindingManagerBase returns a PropertyManager control.DataBindings["Text"].BindingManagerBase.Current = I want to set a property in a more generic way - and i think it must be possible with bindings because controls can also change values without knowledge of the "set" method... Thanks Peter Binding uses reflection to set the property. You can use reflection similarly. Note that reflection is not as fast as setting a property directly. Control control = this ; PropertyInfo pi = typeof ( Control ).GetProperty( "Text" ); pi.SetValue( this , "Yep" , null ); &n ...Show All
Visual Studio Tools for Office Office 2003 and Office XP.
I have built a program, on a computer that have Office 2003, that works with Word and Excel, and when I try to run it on a computer that has Office XP, it doesn't work, and shows a lot of errors. I tried to replace the DLLs in the program's folder to XP's, And to install them, and it still doesn't work. I even tried to re-make the program with references of XP's PIAs, and then it even doesn't install. What should I do Thanks, Ofir. Are you using Visual Studio Tools for Office, or is this a shared add-in Harry Miller Technical Editor http://blogs.msdn.com/harrymiller This posting is p ...Show All
Visual Studio Tools for Office web references with VSTO
Hello, I am developing a set of Excel worksheets which access both a SQL Server 2005 instance and a Web Service. I can connect to the DB fine but when I try to add the web service reference I am told that some classes are missing and the reference addition fails. I am working in C# with VSTO 2005, VS 2005 Pro. Does any one have any ideas why this is happening. Thanks, blair I fixed the problem it turns out that I needed to rebuild the VSIP hive. Thanks, blair ...Show All
.NET Development Why I don't have System.Globalization.CultureAndRegionInfoBuilder Class in my VS.NET 2005?
I need to add some customized cultures in my application but there is no System.Globalization.CultureAndRegionInfoBuilder Class in my machine (actually my colleages' machines as well). We're using VS.NET 2005 in Windows XP SP2. Does anyone have the same problem Please share with me How to make this class available in my solution ...Show All
Visual C# How to get the difference of two given dates?
Do you have samples of using the DateDiff method What I'm trying to do is to determine the difference between two dates, for example date1 = May 8, 2006 and date2 = May 10, 2006, this should return a value of 2 days and also the name of the day. I prefer not to use at all old VisualBasic functions. Importing this reference will probably cause other old functions to be used instead of much faster .NET functions like MID, LEFT and others. Here is some functions for you that i use for calculating difference between two dates public static int DateTimeWeeksSpan( DateTime dateTime1, DateTime dateTime2) { return dateT ...Show All
SQL Server Passing data between multiple Data Flows
OK, it's the first of the month...that must mean it's time for another dumb question! I'm trying to "componentize" an SSIS package with multiple Data Flows, and I can't figure out how to get the output of the results from one Data Flow into another. So, for example, at the end of one Data Flow, I have a Recordset destination, and I'm storing that into a variable. But I can't figure out how to access the contents of that variable in the following Data Flow. Can this be done, or am I going about this the wrong way What is the scenario you are trying to enable, Artus The first post in this thr ...Show All
Visual C# Accessing an Array using Propery
Hi, I am using properties for Setting and Getting data values, such as, public string ModuleExists{ get{ return moduleExists; } set{ moduleExists = value; } }//end public string ModuleExists How would one use the above concept if the moduleExists is an array of values Thanks Jeff Hi, I have some info on using indexers, have not tried it. Might look into that. Thanks Jeff ...Show All
