su45937's Q&A profile
Software Development for Windows Vista Visual Studio 2003 hangs on Vista Build 5472
If I try to use the "Find in Files" feature of VS 2003, it just hangs VS and you can only kill the process. This happens when you select search in Entire Solution or Current Project. Note: I have launched VS to run using Administrator. This did not happen on Vista Builds 5342 or 5308. Is there any workaround I don't know of any workaround, unfortunately this also occurs in the RTM version of Vista. Did you find a solution in the meantime I've also seen some reports on this bug on Microsoft Connect, but no reaction from MS. ...Show All
Smart Device Development Creating a CAB file that will install files with % characters in their names
I am trying to create a CAB file for a smart device installer. I started out using the visual studio project type "Smart Device CAB Project" and from there started editing the .inf file by hand to try to get my scenario to work. I need to install files that have percent (%) characters in their names. If the filenames are inserted without change into the .inf file, cabwiz.exe generates errors like: Error: Line 100 - unsupported DirID 20 Error: Line 112 - unsupported DirID 3 Error: Line 139 - unsupported DirID 3 Error: File c:\docume~1\rathag\locals~1\temp\wiz955.inf contains DirIDs, which are not supported I tried doubling the percent signs to escape them, but this resulted in cabwiz thinking I was using replacement values: Warnin ...Show All
SQL Server Data migration from MSAccess to SQL Express 2005
Hi , I have a requirement to migrate the data from an existing MS Access database to a newly designed SQL Express 2005 database . Need less to say the table structures in both are totally different.I would like to know how can i handle a scenerio where i want to map table A in access to table B in SQL express (the schema of both different and the number of columns can vary too) , how do i migrate the data from table A in Access to Table B in SQL express using SSMA Also i would appreciate if some one can tell me is SSMA the right tool for this , or should i use the upsizing wizard of MS Access. The constraint here is that the data needs to be migra ...Show All
Visual Studio Express Editions Problem Adding DLL to C# Project
Hi, I wrote a simple dll in C++. I am trying to add it to a new C# project but I get this: "A reference to... could no be added. This is a not valid assembly or COM component. Only assemblies with extension 'dll' and COM components can be referenced. Please make sure that the file is accessible , and that it is a valid assembly or COM component" The file I'm trying to add called: Worker_Class.dll Please help, what could be the problem Iram Hi, I do not get ' DllImport' after System.Runtime.InteropServices , but 'DllImportAttribute' How should I work with it I'm using .NET 2003 ...Show All
SQL Server Visual Studio/BIDS out of memory errors opening large DTSX files
I'm currently experiencing major problems with SSIS when opening and editing large .DTSX package files that contain Exec DTS 2000 Tasks which have the package data loaded internally. I have no issues if I point the task to a .DTS file, or to an actual DTS package on a SQL 2000 server - but if I load the package internally then once the underlying .DTSX file gets over around 17MB or so in size (which doesnt take long making a few edits to even fairly simple packages now and then), I start to experience major issues with VS/BIDS 2005 crashing randomly when I try to perform any action with the package (open, save etc). Things like OutOfMemory exception errors, followed by the properties of Exec DTS 2000 task being deleted, and also sometimes ...Show All
Visual Studio Team System AssignedTo to be none for WorkItemCreation in Team Build
Hi, Please let me know if i can have Assigned To as blank/empty i.e unassigned for WorkItemCreation during Team build. My requirement is: When the build fails , the workitem should be created with AssignedTo as unassigned, so that later the Administrator can reassign later to respective user. Thanks in advance You could modify the list of values for the assigned to and create a value called Unassigned. When any Bug workitem is created, it could default to that value until someone reassigns it. You could also create a custom solution for when builds fail and assign it to the Unassigned value. This way the default vallue could be an actual user, while build failures would just get assigned differen ...Show All
.NET Development ERROR OCCURING WHEN TRYING TO CONNECT TO DATABASE
1.there is no testing server running on this machine 2. the testing server specified for this site does not map to the http://ftp.aminshopfitters.com/_mmServerScripts/MMHTPDB.asp URL. verify the URL prefix maps to the root of the site and help appreciated. thanks ...Show All
Visual Basic Visual basic 2005 Express
Is there such a thing as a "Table Adapter Insert method" I am trying to use it as follows: Private Sub btnInsert_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnInsert.Click Try PaymentsTableAdapter.insert( CShort (txtMemberId.Text), CDate (txtDate.Text), CDec (txtAmount.Text)) Me .PaymentsTableAdapter.Fill( Me .DsPayments.Payments) Catch ex As Exception MessageBox.Show(ex.Message, "Data Input Error" ) End Try End Sub And it does not work. What am I doing wrong Besides what is suggested earlier, how are you defining these methods and how are do you want to update the data in the code There ...Show All
SQL Server ADO Connection Pooling Error: "The client was unable to reuse a session with ..."
Hello, We are running SQL2K5 and have a Web server with a family of sites all sharing an identical connection string to enable ADO connection pooling between them. Today for about 20 minutes we had several (all ) connections from one site that uses a specific DB get a connection reuse error which showed in out SQL logs: DESCRIPTION: The client was unable to reuse a session with SPID #, which had been reset for conection pooling. This error may have been caused by an earlier operation failing. Check the error logs for failed operations immediately before this error message. We also have SQL Server slowdown and log in problems from other applications that seemed a symptom of this, or some third unknown cause. Note, the # means the ...Show All
Windows Forms Numeric Only Cell/Column in DataGridView
I need a numeric only cell/column for the DataGridView. I'm guessing that I'd need to create a custom column inheriting the DataGridViewTextBoxCell. Are there any examples of this or has someone already created it Thanks, Kyle Try This. Private Sub dataGridView1_EditingControlShowing( ByVal sender As Object , _ ByVal e As DataGridViewEditingControlShowingEventArgs) _ Handles DataGridView1.EditingControlShowing Dim txtEdit As TextBox = e.Control 'remove any existing handler RemoveHandler txtEdit.KeyPress, AddressOf txtEdit_Keypress AddHandler txtEdit.KeyPress, AddressOf txtEdit_Keypress End Sub Private Sub txtEdit_Keypress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyP ...Show All
Visual Studio Express Editions invalid breakpoint on line number over than 65535 in c++
Using Visual c++ 2005 , we can set breakpoint on line number over than 65535 But when running, break point over 65535 become invalid with this message "The breakpoint will not be currently hit", invalid file line : 102183 Breakpoint under 65535 are ok. Documentation say we can set breakpoint up to 2^24 - 1 line number At compile time, we did not get the c4049 warning as in Visual C++ 6.0 said. Steps to reproduce : Compile a large c++ file ( over than 65535 line ) set first breakpoint on low line number set second breakpoint on high line number Start debug Results: First breakpoint is checked ( valid ) Second breakpoint become unchecked ( invalid ) Expected: Can debug up to 2^24 -1 line number We di ...Show All
Visual Studio Express Editions Anybody familiar with publish in VB2005 Express?
Hello, XPSP2 VB2005Express I have a very small data entry application. The database is an access database created by ADOX. When the application is deployed by Build>publish, the database is disappears into a hidden file. This is very incovenient as it's location is not fixed to a known place on the file system. The questions related to this problem are: 1. Can a location be forced on the publisher * 2. How to make a database backup in code if the location is unknown 3. What are the necessary files - item by item - to be used by a third party installer *** Thank you, * It was pointed out to me: Go to Application's Property> Publish. There are other goodies there t ...Show All
Visual Studio Team System Team Portal issues
The SharePoint project portal sites seem to be crashing quite frequently, especially when I try modifying pages on the site. Has there been a general consensus regarding this instability Personally, I've never heard any problems like you describe - and I've done some major customizations of the portal. When you say "crashing" what do you mean M. ...Show All
Windows Live Developer Forums MySQL, VE API, and around 1Million places to display
Man do i need help. i started off and got to this point and realised i was going in 2 opposite directions. i have a simple VE Map page using HTML/JS. i also have a PHP page that Queries a MySQL server and returns results. all i am looking for is how i would be able to do the following: allow a person to cruise(browse) the map in my simple page, and have 4 buttons to the side that would be toggled on/off to show 1 of 4 categories in my MySQL DB. obviously i realised with PHP it's server side and couldn't update on the fly. i am using a linux provider for this, which means no ASP.NET or any other gr8 MS jazz. the layout: MySQL-DB (name,address,type-of-place, lat, long). i currently dont have lat and long info (i'm guessing thats what everyon ...Show All
Visual Studio Team System Add new Rule in Rule Collection of fxcop
In fxcop v 1.35,I added custom rule in Rule folder of fxcop and then open fxcop,a message "Unable to load rule assembly 'c:\program files\microsoft fxcop 1.35\Rules\DummyProj.dll': Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information." is generated. It's urgent Plz help me. Thanks in advance FxCop can be downloaded from http://www.gotdotnet.com/team/fxcop/ . Mukesh, if you send me the rules library (my email address is in my profile), I can take a look at it for you. ...Show All
