Raj Kasi - MSFT's Q&A profile
Visual Studio VS 2005 IDE Crashes when debugging a stored procedure/inserting breakpoint.
Hi. I'm running the following setup: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional Microsoft Visual Basic 2005 77626-009-0000007-41026 Microsoft Visual Basic 2005 Microsoft Visual C# 2005 77626-009-0000007-41026 Microsoft Visual C# 2005 when I try and debug a stored proc in the IDE it immediately crashes and pops up the dreaded "send an error report " dialog. Specifically, I create a new sql server proj, add a db connection, open the stored proc, set the breakpoint and it immediately crashes. If I open the ...Show All
SQL Server Dependent report parameters help
I have four parameters for my report: StartDate, EndDate, TankID (the ID of a thank going from V01 to V20 and from S01 to S20) and Site (the location of the tanks, for example: the V-tanks are in Belgium (BE) and the S-tanks are in Spain (SP)) The thing I want to do is: If I set parameter "Site" to "Belgium" then only the tanks in belgium will be shown as values in the dropdown of the "TankID" parameter. If site = Spain, only spanish tanks will be shown in tankid parameter dropdown box. I tried adding a new dataset which has as default value the parameter of the "Site". Also tried some other stuff but ...Show All
Software Development for Windows Vista Debugging Help
Hi, i have created at workflow and i cant tell whats wrong with it. The workflow is executed in a Windows Service. I know its being called and i reieve the Workflow Aborted Event. However i cant seem to find out why its aborted. The EventArgs dont tell me anything. When i attached a debugger to the Windows Service and set a break point on the first item in the workflow i get the hollow red breakpoint icon with the warning symbol in...so it does not break at the set point. I know the first activity in the workflow is not executing because its a database operation which is not happening. Is there any way i can get a more meaning ...Show All
SQL Server Standard compliant
Hi, SQL Server 2005 is compliant to which standard Ansi92 / partially ANSI 99, ISO HI, SQL2k5 is ANSI99 compliant. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual C# BSTR type in c#
I received a DLL which uses BSTR as string type: example : given in the include file DLLEXPORT BSTR WINAPI I2cGetInterfaceTypeStr (BSTR Interface); how do i access this function in vc#. This doesn't work. [DllImport("I2CAPI32.dll")] public static extern string I2cGetInterfaceTypeStr ( string Interface); Other functions of the DLL which don't use BSTR are working ok. Can anyone help me. Thanks, Jan It's pretty unusual to see a function directly returning a BSTR like that, but I think this should work: [DllImport("I2CAPI32.dll", CharSet=CharSet.Unicode)] [ return : MarshalAs(UnmanagedType.BStr ...Show All
Visual Studio Package load failure in IDE - 'devenv /resetskippkgs' ?
I've installed VS2005 beta 2 - appeared ok, but in IDE I get lots of package load failures, and recommendations to skip package loading (and suggestion to use 'devenv /resetskippkgs' to re-enable). Having completely uninstalled and re-installed several times, nothing seems to work. Any suggestions Sounds similar to this: http://groups-beta.google.com/group/microsoft.public.vsnet.ide/browse_frm/thread/7ac44a69aef72ae0/2278abc3da86a3e1 q=%27devenv+%2Fresetskippkgs%27&rnum=3#2278abc3da86a3e1 This may due to the package information in the registry Please do the following First very the packeges are in ...Show All
.NET Development DataTable.select() hangs my backgroundWorker object!
Ok, I'm doing a GUI application in C# and .net2.0. I use a backgroundWorker object. In the doWork method I call a DataTable.select(queryString); This select takes a long time to execute but during this time I can't check if someone has fired a CancelEvent and I can't see the progress too. How can I do that Am I forced to loop through all the lines or there is another solution I miss something... Tnx. For testing purposes, insert a plain text box in the GUI form and throughout the function, display out the progress. This will allow you see to where it's freezing up. ...and you're not using a g ...Show All
SQL Server XP_CMDSHELL -- Microsoft guidance on using/not using
Is there any guidance on using Xp_Cmdshell from the SSIS team at Microsoft We're needing to remotely execute SSIS packages on the server where MS SQL Server 2005 is installed. FYI, I've researched this heavily and know about the common ways--re: Using SQL Agent or the Microsoft.Dts.Runtime library in .NET with a web service etc. We are needing a strategy for LOTS of applications to use at this client. This is a large customer with many applications, constraints on security, deployment, and so on. The SQL Agent approach isn't a bad workaround, but it isn't something I'd want to see continue into pe ...Show All
Windows Forms access data... access...
Hi, I'm trying to handle a simple structured access db in c#... but I'm a bit confused on how to do it! How can I select, insert, edit and remove records from an access database should I use datasets Thanks another thing: how can I get, having an opened oledbconnection, all the tables, and the fields in those tables, from the databa ...Show All
Visual C++ GDI Plus
Hello, Is there any possibility to use the gdiplus files in a pure WIn32 C project. I know gdiplus was made for C++ but maybe it exist a version with extern 'c' headers. Thanks for your help No! The headers for GDI+ need C++. There are no wrappers for C! What is the problem to mix C and C++ There is none! You can simply add a cpp file and write your own wrapper to GDI+. Why do you want to stay on the old C code ...Show All
.NET Development Undefined data type: 'token'
I've got a committee designed xsd that I need to read and read xml data against it. I'm getting this error 'Undefined data type: 'token'' on the second line of this VS2005 VB code: Dim _ds As New DataSet _ds.ReadXmlSchema("long path to.xsd") The xsd I'm trying to read has 3 files, 2 imports. It looks like this: transcript <-- academic record <-- core The only place in the 3 files I find 'token' is in the core.xsd file. One of 2 occurrences looks like this: <xs:simpleType name="StateProvinceCodeType"> <xs:annotation> <xs:documentation>Code for US states, etc., and Canadian provinces: AA ...Show All
Visual Studio Express Editions Trouble with ComboBox and DataSet
Hi again, I'm having lots of trouble trying to get a ComboBox SelectedValueChange to work. I have a DataSet with 41 TextBoxes. I am locking the TextBoxes that contain text. When I select a different ID from the ComboBox, I want the TextBoxes to unlock if they have no text. They will unlock but I have to click on the ID twice. I'm using this code on the ComboBox: I have the DataSet ID bound to the ComboBox. I have a DataGridView also bound to the same DataSet. Private Sub ComboBox1_SelectedValueChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged bipper(txt ...Show All
.NET Development Problem copying dataset from one Database to another
Hello, I m trying following code to copy a dataset created from one database to another database. Code runs errorless but data doesn't update in another database. Where am i going wrong Please help private void Page_Load( object sender, System.EventArgs e) { this .insertDataR(); } //This function returns Dataset public DataSet getDataR() //return Data Set { string conStr="Provider=msdaora;" + "Data Source=abc;" + "User ID=sss;" + "Password=uuu"; OleDbConnection a = new OleDbConnection(conStr); a.Open(); OleDbDataAdapter da= new OleDbDataAdapter("selec ...Show All
Windows Forms a model of label
do you know a model of customLabel : inherits Label (well made !) anything just to see how it works thankx I don't understand your question. Are you looking for a simple custom control You can do this yourself quite easily. Take the following class: Public Class MyLabel Inherits Label Public Sub New() & ...Show All
Microsoft ISV Community Center Forums Using of APC.IDE.PreventShow property
I have integrated VBA 6.2 into my application. All works normal, but I have a little problem. To prevent VBA IDE to be shown when VBA runtime error rises, I set APC.IDE.PreventShow property to True, so this successfully overrides error displaying (and stops vba code execution), but doesn't give me any sign of this (in other words I can't catch any event reporting me about the error generated by VBA). Can someone help me to handle to problem Thanks in advance. Ilya. FYI: this was resolved via email so I wanted to post the rest of the thread in case it's helpful to someone else. *** In my letter ,I wrote " [you] can customi ...Show All
