_joe's Q&A profile
Visual Studio 2008 (Pre-release) What is current plan to support other databases?
Is the current plan for LINQ to SQL to include support for other databases Or will support for other databases be in another assembly Thanks. I'm also interested in the answer to that question. In particular, does Linq to SQL support ODBC For my application, the best way to support the various target DBMSs is via ODBC. ...Show All
SQL Server Toggling CustomReportItem
Does toggling works for CustomReportItem and Dundas Charts for Reporting Services in particular I'm trying to show/hide chart(s) using RDL code as below: < Textbox Name = " txtToggleChart " > < Width > 6.25in </ Width > < CanGrow > true </ CanGrow > < Height > 0.875in </ Height > < Value > Expand/Collapse Chart </ Value > </ Textbox > < CustomReportItem Name = " dundasChart " > < Type > DundasChartControl </ Type > < Visibility > < ToggleItem > txtToggleChart </ ToggleItem > </ Visibility > .... The text element is clickable, report gets refreshed and the element changes its +/- icon. But the chart is always visib ...Show All
Windows Forms Help required for DataGridView and data binding to a SQL server database
Hi, First of all, I'm using Visual Studio 2005 Professional (C#), SQL Server 2005 Express Edition. Since yesterday, I have been looking into databinding as a complete beginner. I am currenty playing with the DataGridView which I have been able to get to connect to one of my many databases and specific tables, but I am unsure how to communicate the data from the DataGridView back to my SQL server database. The only problem is that a lot of topics covered on here are to do with the designers and they do a lot of automatic work for you. My program on the other hand works with hundreds of databases. I select them from lists that I have filled (combo boxes, pick lists etc) and the program does the majority of creating new databases wh ...Show All
Game Technologies: DirectX, XNA, XACT, etc. No ID3DX10Line?
I do not see any documentation for a D3D 10 version of ID3DXLine. Granted the DX9 ID3DXLine interface is a complete joke -- both in performance and quality, at least there is a way to get a few stylized lines in the 3D view. While games don't use stylized wireframe, this is a cornerstone for profession graphics packages (e.g., modelling and drafting). Current hardware supports accurately rendered, deterministic zbuffered, accelerated lines with widths up to 5 pixels wide. Common screen space dash patterns are sufficient for 90% of all display purposes. There are also several hidden line algorithms that only function correctly if the wide lines are rendered with correctly depth buffered Bressenham step patterns. Until Direct3D provides acce ...Show All
Visual Basic Send output to stdout from gui app...possible?
I have a simple vb.net gui application (an alternative file requester in a form) that I would like to run from the command line. It executes fine, but I find that I cannot send any output (a string representing the file selected) to the command line upon completion. It appears that "console.writeline" doesn't actually write to the console Any suggestions as to how to send info back to the console window upon completion Keep in mind that this is a gui app (not straight console). I was mistaken, ahmedilyas, that did the trick. I made a test app and it worked perfectly. Not sure what exactly switching the app type to "console" does, but it worked. My thanks to you and everyone who contrib ...Show All
SQL Server SQL Server 2005 Backup Through management console
Hello Everyone, I have configured sql server 2005 for daily backup through its management console. Everyday backup is taken just fine without any problem. now i have configured its maintanace clean up task to delete the files which are older than 3 days at the time of writing file to specific folder. But some how this is not working and no files are deleted since i have configured this one week before. can you please drop your suggestion how do i need to configure it again so it can clean up the files according to the maintanance cleanup task. I would appreciate your help on this. Thanks, Bharat what is the service pack applied on the system... there are some issue ...Show All
Visual Studio 2008 (Pre-release) how about my idea: using WPF to create a public website like myspace ?
WPF programs provide better user experience, in my Country--China, they all use Windows, there is few Linux or Apple,Vista will dominate the Clients after a few years。 how about this idea Zhou Yong wrote: WPF is not originally designed to build web applications, WPF/E is the right technology you can choose when authoring web pages. WPF/E is the sawed-off version of WPF for use in non-Windows browsers. XBAP works fine on existing Windows browsers (XP/SP2 or Vista only), and is ready to go now. I think it will be interesting to see who is willing to trade-off platform support for the features offered by full WPF/XBAP, who takes the trouble to write full WPF apps that gracefully downgrade to WPF/E (if that t ...Show All
SQL Server Connection Issue to SQL Express form VB Express
Anyone know how to fix this error: System.Data.SqlClient.SqlException was unhandled Class=16 ErrorCode=-2146232060 LineNumber=65536 Message="Directory lookup for the file "C:\Documents and Settings\zimmerman_e\My Documents\Visual Studio 2005\Projects\MGM_REPORTS\MGM_REPORTS\ImportFile.mdf" failed with the operating system error 5(Access is denied.). Could not attach file 'C:\Documents and Settings\zimmerman_e\My Documents\Visual Studio 2005\Projects\MGM_REPORTS\MGM_REPORTS\ImportFile.mdf' as database 'dbname'." Number=5133 Procedure="" Server=".\SQLExpress" Source=".Net SqlClient Data Provider" State=1 StackTrace: at System.Data.SqlClient.SqlInternalConnection.OnError(SqlExc ...Show All
Visual Studio Express Editions CONNECT TO DATABASE?
I'm just getting going but I can't get too far because I can't connect to my personal database (App_Data >Personal.mdf). I just installed the visual web developer express locally (downloaded the free prog from the internet). What do I do to connect to the database. Here is the error: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) Totally clueless here and any help is greatly appreciated. Thanks. Please do not duplicate threads...since t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Objects on Tilemap jump a little bit while scrolling
Hello again.. I am working on my little 2d game.. i have non movable objects on my tilemap... if i scroll the maps, the screen position of the objects are recalulated.. this works... but sometimes the objects are jumping for a "Mini" second and then they are back to the correct position... any ideas how i can improve this here comes a part of the code... this is the method which draws all list objects foreach ( Fahrzeug Obj in Objektliste) { Obj.ObjekteDraw(spritebatch, Obj, MapSpieler1); } --> here is the method public void ObjekteDraw( SpriteBatch _spritebatch, Fahrzeug _obj, Map _Map) { // fur objekte, die im sichtba ...Show All
Visual Studio Tools for Office Addin for Outlook2000
Does a addin developed using VSTO work in outlook2000 Thanks. Hi "supersonic" Addins can work with multiple versions of Office (although MSFT doesn't recommend it). Best place to ask this would be in the Outlook newsgroups. There are quite a number of Outlook folks that create Addins - both the "traditional" kinds as well as with VSTO. They'll be the best people to give you advice on how best to approach the task. http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.outlook.vba&lang=en&cr=US ...Show All
SQL Server What is wrong with query?
I need help on my query please. I get the following error : Incorrect syntax near keyword 'As' Here is my query: Create Table Temp_Total As ( SELECT RIGHT( '0000000000' + REPLACE ( CONVERT ( VARCHAR ( 10 ), Total ), '.' , '' ) , 10 ) FROM [Transaction] ) Thanks Hi, As mentioned above, it is better to use SELECT ... INTO NewTableName FROM ... . The problem with your query is that if you want to create a table like this, all columns must have a name. Since you have an "Verdana, Geneva, Arial, Sans-serif" size=2>Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
Visual Studio Tools for Office "Microsoft Visual C++ Runtime Library" error
Since yesterday, my document customization created using VSTO 2005 causes an error to pop up in Word 2003 whenever I close the customized document: ------------------------- Title: "Microsoft Visual C++ Runtime Library" Body: "Runtime Error! Program C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information." ------------------------- With an OK button. If the document is saved before I close it, all of my changes are saved (including [Cached] fields), but if I choose "Yes" to save an unsaved document after clicking close, the save process is interrupted and the d ...Show All
Visual Basic Docking two forms
Hello, Is it possible to dock two forms together. One form must have the ability to stay in place as the other form closes to open other forms. Then the docked form must then continue to be docked to the new forms. Thanks Michael Yes, You will have to progmattically control the positions of the forms...so that if the user moves one form the other form moves and when one form opens it positioins itself next to the other form... HTH ...Show All
Visual Studio Team System system.stackoverflowexception when running FXCOP
Hi, We are using Visual Studio 2005 with FXCop version 1.35. When we enable code analysis on a project and do a build we get a system.stackoverflowexception in FXCOP. The stack at that moment is: Microsoft.Cci.dll!Microsoft.Cci.TypeNode.Template.get() + 0xb bytes Microsoft.Cci.dll!Microsoft.Cci.TypeNode.IsStructurallyEquivalentTo(Microsoft.Cci.TypeNode type = {Microsoft.Cci.Interface}) + 0x34 bytes Microsoft.Cci.dll!Microsoft.Cci.ClassParameter.IsStructurallyEquivalentTo(Microsoft.Cci.TypeNode type = {Microsoft.Cci.ClassParameter}) + 0x14f bytes Microsoft.Cci.dll!Microsoft.Cci.TypeNode.IsStructurallyEquivalentTo(Microsoft.Cci.TypeNode type = {Microsoft.Cci.Interface}) + 0x174 bytes Microsoft.Cci ...Show All
