JeffOzvold's Q&A profile
Visual Studio Team System How to use actual Test (Unit, Web, Load) to profile my application?
Hi, is there any way to use my existing VSTS Tests to profile my application (in order not to exercise the application manually) Thanks a lot. LucasC If you can launch your test on Command line, you can use our command line tools (VSPerfcmd for performance data collection, VSPerfReport for performance data analysis) to achieve automation. ...Show All
Visual C# pass int array from VB6 to C#
Hi All, I’m having trouble passing a VB6 Integer array to a C# method. The rest of the C# methods which receive single Integer parameters work fine when called from VB6. Only the Integer array gives me “Type Mismatch” when called. What do I need to do to fix this -k Thanks everyone - Some of my requirements have changed so it looks like I will be passing a Dictionary object now. I've successf ...Show All
Windows Forms How to stop a textbox from autosizing in windows forms
Hi All, I noticed that in visual studio 2005, textbox controls have no autosize property exposed. And they inherit the default value of True from the TextBoxBase. This is absolutely ridiculous. I have combo boxs next to my text boxes and I can't get them to be the same height even though they have the same font and font sizes. Has anyone else had this problem What's the workaround Thanks, Andy Moyer I don't know if this is helpful ...Show All
Visual Basic how to declare a var in one form that can be shared from others?
Hi, I need little help on how to declare a var in one form that can be shared from others. I have this code in my form1, but my form2 cannot access the variable connString. Did I declare the scope wrong or it was on the wrong place Thanks! Public Class myForm1 Public connString as string ="Data Source=xyz..." Private Sub Button1_Click(ByVal ...) Dim frm2 As New myForm1 frm2.Show() End Sub End Clas ...Show All
SQL Server CLR Enabled
Can anyone tell me what this means and how to fix it I created a stored procedure in VS2005 and did a build. When I went to SQL Server there was the stored procedure but when I run it I get the error.... Execution of user code in the .NET Framework is disabled. Enable "clr enabled" configuration option I changed the 'clr enabled' property to 1 using sp_configure but I still get this error. Thanks Mike This works very well! But if I ...Show All
Windows Forms Having trouble getting a CustomAttribute from within a Custom TypeConverter
Hello All, Here is what I have: Class1 is a component that implements IExtenderProvider Class1, Property1 Class2 Property1TypeConverter Class3 CustomAttribute1 <AttributeUsage(AttributeTargets.Property Or AttributeTargets.Method), _ System.Security.Permissions.PermissionSetAttribute( _ System.Security.Permissions.SecurityAction.Demand, Name:="FullTrust")> _ Public Class CustomAttribute1 Inherits Attribute ...Show All
SQL Server How to find matching profiles?
Users have to answer 17 simple yes/no questions and the answers are stored in an column for each question as tinyint 0/1 values. At least that's what seems reasonable to me at the moment. The table is under my control so I could change it if needed. Now from several tenthousend or maybe hundreds of thousends of entries I need to find those with the closest match. Of course, I need all of the entries that have the exact same answers and this is n ...Show All
SQL Server SSIS from Visual Studio 2005
I've been using a server instance of VS2005 for Integration Services package design. I recently installed a copy of Visual Studio 2005 on a workstation and found that the BI studio apps were absent. Any idea where the BI studio apps can be found Jax, The BI project templates (and the Yukon components needed to run them) are installed by SQL Server Yukon, not as part of Visual Studio. You would need (with appropriate licen ...Show All
Smart Device Development Context Menu
Hi everyone, hope you're doing fine. is it possible to add some entries to Windows Mobile 2003 context menu can we add icons next to the entries i have added keys in the registry like it is done on windows xp but it didnt work (maybe the key names are different) :(. any suggestions Please see this post for details on where to post non-VS 2005 questions http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=223605&SiteID=1 ...Show All
SQL Server Privileges for Deploying Reports
Hi Everyone, I am having problems in deploying the reports. Here is what I am trying to do 1. I have a SQL Server 2000 Database. I am using Reporting Services 2005 to prepare a report which will interact with the 2000 Database. I am able to develop the report and preview the output from the BI studio. Now, I am trying to deploy the report on to the box where reporting services 2005 is installed. I am using windows authentication and my ...Show All
SQL Server Nested Loops in the Control Flow
I have a problem when using nested loops in my Control Flow. The package contains an outer Foreach Loop using the Foreach File Enumerator which in my test case will loop over two files found in a directory. Inside this loop is another Foreach Loop using the Foreach Nodelist Enumerator. Before entering the inner loop a variable, xpath, is set to a value that depends on the current file, i e /file[name = '@CurrentFileName']/content . The Nodelist ...Show All
Software Development for Windows Vista Win32/MFC: Ownerdraw MenuItem - Never receives ODS_SELECTED
Hi, I've run into a serious problem here with Vista Beta 2 build 5308: When using an ownerdraw menu the menuitem never receives the ODS_SELECTED state. All other states work fine though. Neither my own Win32 code nor any MFC sample code ("OfficeXP Style Menu" and so on) from sites like codeproject.com do work on Vista. But all do work on 2K, XP. Now, Is this a (known ) bug in Vista A driver problem What can i do Thanks in advance, ...Show All
Smart Device Development Problem with webBrowser in Compact framework.(Urgent need)
Hi I have problem with webBrowser in Compact framework. Return null reference in navigating() Event . can i use .net framework component instead of compact component version or Is there any Com Component instead tnx Unfortunately, the native control that we wrap on PPC 2003 has this limitation and is therefore by design. If you are using WM5 based devices and later, it should ...Show All
SQL Server Newbie: backup problem
I successfully deployed the AdventureWorks OLAP database to my 2005 Analysis Server and Backed it up under SQL Server Management Studio. When I tried to restore the backup to another sql 2005 Analysis Server the restore failed. I went back to the "Backup" dialog box and noted that it would only "store database metadata to a specific location". Metadata only How do I create a full backup that can be ...Show All
Visual C++ Why isn't this call working properly?
I'm building a project for myself really; however, this problem is sticking me in the side. Can anyone tell me why this particular problem isn't working #include "pl_en_stats.h" // in *.cpp file for icPlayerInformation_Data struct usage. // in *.h file for Class definition. class LoadGameData { private: char PlayerInformation; icPlayerInformation_Data* pl_statistics; public: LoadGameData(); bool load_SaveData_Open(); ...Show All
