jchau's Q&A profile
Visual C++ Reverse Engineering with Visual C++ 2005
Hi there, I've installed VS2005 Professional and Visio Professional 2003 SP2. According to MSDN there should be a way to reverse engineer an existing C++ project: ' From the Project menu point to Visio UML, and then click Reverse Engineer. ' Unfortunately, there is no corresponding menue item at all in VS. Do I have to configure this first Thanks for any advice Artschi Viorel. wrote: Maybe Visual Studio 2005 and Visio 2003 cannot be used together Perhaps the UML diagrams of Visio 2003 works with older Visual Studio 2003 only Maybe you should try a newer Visio That's the reason! Thanks for the answer! PS: I just found another thread: Visio 2003 Pro and UML Reverse Engin ...Show All
Visual Studio 2008 (Pre-release) P2P in SDK
Hi,all! I can't successfully ( exception ) run P2P from PSDK ( any of thee provided ) Basic->Binding->Net , but P2P examples from Scenarios do work without problems maybe because resolver there use net.tcp:\\ prefix in address opposite to Net examples where only net.p2p:\\ . So my question if someone do run those ( from Net which include security ) examples TIA Arkady ...Show All
Windows Forms Trying to show and manage a List<string> in a PropertyGrid
Hi, I have an application that shows the property of my items in a PropertyGrid. I'm trying to allow the user to add or remove property to his items throw the PropertyGrid, but i can't do it properly. I have followed the articles written in MDSN. So I found a way to do it. Creating a new class that inherits from ExpandableObjectConverter, showing the attributes in a string. But the problem is that it create me a kind of pop up where I can modify the string of attributes, but I don't know how to modify the methods so that the application behaves like I want. Can anyone help me . I have written this code: public class GridSettings { private string nombre, visibilidad; private string tipoObjeto; priva ...Show All
Windows Search Technologies WDS 3.0 Beta 2:Scanning network drives
Hi, In WDS 2.6.5 it was possible to scan network drives. In WDS 3.0 Beta 2 this is not possible. When will this feature be returning. As it stands, due to My Documents being redirected and other files being stored on network locations WDS 3.0 isn't much use in a corporate environment. Cheers Janson Hi Paul, Because WDS 3.0 Beta 2 won't index network drivers, I'm back to using WDS 2.6.5 with Outlook 2007 B2TR. However, I often get crashes in Outlook 2007 that I think are attributed to WDS 2.6.5 (crashing in olmapi.dll, which belongs to the Outlook add-in). Any chance we'll see an update in WDS 3.0 that will index network drives Thanks, Tim ...Show All
Visual Studio Team System BUG: Certain extended properties won't add
These were all from one table and were added to ScriptsIgnoredOnImport.sql EXEC sp_addextendedproperty N'MS_Description', N'Instructor Created Homework Assignments', 'SCHEMA', N'dbo', 'TABLE', N'homework', NULL, NULL GO EXEC sp_addextendedproperty N'MS_Description', N'user_id of creator', 'SCHEMA', N'dbo', 'TABLE', N'homework', 'COLUMN', N'creator' GO EXEC sp_addextendedproperty N'MS_Description', N'0 - type A 2 - type B 3 - type C 4 - External', 'SCHEMA', N'dbo', 'TABLE', N'homework', 'COLUMN', N'homeworkformat' GO EXEC sp_addextendedproperty N'MS_Description', N'0 - type A 1 - type B 3 - type C 4 - type D 5 - Unknown', 'SCHEMA', N'dbo', 'TABLE', N'homework', 'COLUMN', N'exerciseformat' Nothing about them stands out that I can see a ...Show All
Software Development for Windows Vista Difference using WorkflowQueuingService and ExternalDataExchangeService
Hi Im playing with WWF and wondering what the difference is between using WorkflowQueuingService and using ExternalDataExchangeService I have read alot about why we need all these layers when dealing with workflow data exchange (support for pasivation eg). Ok. i thought that ExternalDataExchangeService solved that problem. No I just downloaded chapter 3 of Dharmas book (Essential Worfklow) wich states: " Although various communication technologies (such as WCF or ASMX) can be layered upon WF, they all must use the WorkflowQueuingService to robustly deliver data to passivated WF program instances " Where does that leave ExternalDataExchangeService regarding pasivation And what is the techinal/implemention wise diffrenc ...Show All
Visual Basic Databases
Hi there, I have my connect to my database alright and sucessfully filtered it. I know there will be only one row left so how do I get the contents out of one of the columns to put in a textbox Thanks, AliQ Geert Verhoeven, That is very good code but that does not help me because I am not writing a console application and I am using access for my database. Thank-you anyway. If you do know how to get it out of a access database using VB in a windows application that would be a great help. Thank-you, AliQ ...Show All
SQL Server Formatting Font issues with Deployed Reports
I'm sure this has been asked, but I am still without resolution on this topic. When I go to print a deployed report (deployed to the Report Server environment for user consumption) from the Report Manager, I see the font chosen in the design environment displayed when viewing the report in the Report Viewer. However, if I attempt to Print (using the Report Viewer Printer icon) or export it to PDF, it loses all the font and seems to default to Arial. If I print this report from the design environment, it prints with the correct font. The font I am trying to use is Gill Sans MT. It cannot be dropping the font altogher, as I can export it to Excel and see the correct font there. My understanding of this issue, based on various posts ...Show All
.NET Development programmatic access to sqldatasource dataset
i'd like to take advantage of all the benefits of the new sqldatasource control to do quick queries & bindings, but also retain the flexibility of the previous ways of data access (i.e. sqlcommands/sqldataadapters) to fill datasets. is there a way to have programmatic access to the dataset that is filled after a sqldatasource queries a db i dont want to display all the columns queried in my gridview, but i want that data available for further manipulation without having to run another query. am i going about this the wrong way, or have i just not stumbled upon the solution thanks, david thanks for the suggestion. ive looked at it for a couple of days now but have not been able to come up with a ...Show All
Internet Explorer Development How to change back from IE7 RC1 to IE6?
I installed IE7 RC1 and basically I couldn't access any webpage. I used the connection diagnostic tool and it says many of my connections failed. However, other browsers work fine for me like this one. With this IE error I couldn't even use many of the download managers like the one for installing IE6 (it says connection failed or so). I'm very troubled and hope to reverse back to IE6. But when I uninstall IE7 RC1 from control panel, even though it seems that it was uninstalled, my IE7 still remains there. I tried many ways, even like trying to install a standalone IE and downloaded Microsoft's IE6SP2 registry, but still has the same problem. Is there any way I could revert back to like when I freshly installed Windows Thanks a lot. ...Show All
Visual Basic Print Preview is working but actually print (to a printer) is not
Good morning! I hope there is someone out there who can help me. I am trying to generate a simple report in VB 2005. I obtained some code from a reference book that instructed on printing within VB. The good news is that the report looks great, and I can preview it without any problem. HOWEVER...once I send it to the printer, only the headings are printing. I have even tried printing it to a PDF but the same thing happens. I have changed fonts, as well. Here is the code: Public Class frmPrint ' The following variables must be accessed from within ' multiple subroutines, as well as maintain their values ' between multiple invocations of the PrintPage event handler Dim tableFont, TitleFont As Font Di ...Show All
.NET Development ASP.NET Multiple connections to SQL Server 2000
Hi. I am using the below method to retrieve data from a database table, but have noticed that sometimes I have 50+ connections to the sql server. Which causes it to crash, Any Ideas ConnectionString is packet size=4096;user id=user;data source=10.0.1.75;persist security info=True;initial catalog=Stock;password=myPassword static public DataTable GetDataTableFromSQLStatement( string sqlStatement) { DataTable returnTable= new DataTable (); try { //SqlConnection myConnection = new SqlConnection(new DataForce()._ConnectionString); SqlDataAdapter sqlDataAdapter = new SqlDataAdapter (); System.Data.SqlClient. SqlCommand sqlSelectCommand = new System.Data.SqlClient. SqlCommand (); ...Show All
Windows Forms xxx not a valid Win32 application
I have published my clickonce app to a file server and have installed it on a couple of machines and everything seems fine. But today, one my users got the above error when installing the application. I am guessing there is some component that is missing on her machine and thats why she gets the above error, but I am not sure which one. She has .NET framework 2.0 and is running Windows XP and should be fairly current on the OS updates. Appreciate all the help.... It works that way because that's what the App Paths registry entries are for. For example you can run notepad.exe without typing the full path because there's an App Paths entry. I've seen this before, so I just suspect that there is a common setu ...Show All
Visual Studio 2008 (Pre-release) Accessing an object in XAML
I have been searching for quite a while how to make an object declared at the window level accessible in XAML but can't seem to find a solution. How could i make _myObject accessible in XAML in the following example: public partial class Window1 : System.Windows. Window { MyObject _myObject = new MyObject(); public Window1() { InitializeComponent(); } } make it a public property give your window a name say 'Window1' and in XAML you could do <TextBlock Text="{Binding ElementName=Window1, Path=propertyname}"/> ...Show All
SQL Server Assign text to Variables
I have a simple Execute DTS task which uses ADO.NET connection to update variable........and get the following error. Variable: @msg string Query: Select @msg = 'Invalid Process Dates' [Execute SQL Task] Error: Executing the query "Select @msg = 'Invalid Process Dates'" failed with the following error: "The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 3 ("@msg "): Data type 0xE7 has an invalid data length or metadata length.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. Any one has clue how to fix it I could u ...Show All
