R2ks's Q&A profile
Visual Studio Express Editions pre-beta 2 MSDN express library uninstall
I’ve installed a pre-beta 2 ( february CTP i think). I have done the uninstall procedure in the correct order. When i tried to install vwd beta 2 i get a MSDN express library pre beta 2 like message. But when i go to the control panel NSDN express does not show. Possibly this is caused by a dropped install using the on-line installation package. It dropped very often. Can some tell me how can i remove MSDN from program's control panel Tanks in advance I was having problem to uninstall the MSDN 2005 Beta 2. Even the "beta auto removal tool" (vs_uninst_betas) didn't work for me. But this tool did the tr ...Show All
SQL Server Info on speedy Backup and Recovery
Hi All!!!!!! I'm a contract developer in SQL Server & .NET area. For the past 1 week, I have been referring SQL Server BOL for speeding up my Backup and Recovery process for the databases..... But i'm not very successful. Can anyone give me any info or links for the same (i.e. Speedy Backup, Recovery/Restore) Would be glad if i get the help ASAP. Microsoft guys, I expect a good job from u as usual!!!! Thanks in Advance, Jeffrey Collins By the way do u guys feel that is there any difference in backing up/restoring a relational db and a transactional db if so i need links and information for backing up a ...Show All
.NET Development How to Modify Codebase Path for New AppDomain
I would like to know if there is a way to change the probing directory used by the Loader to locate assembly dependencies. What I am interested in is a way to create a new Appdomain, and modify the path used by the loader to locate assembly dependencies (I would be satisfied if I could do this in the default AppDomain). The final result would be an application that hosts an appdomain (named NewAppDomain for the purpose of the illustration). The assemblies loaded in NewAppDomain would have their dependencies searched for in a specified directory, NOT the directory of the hosting application/AppDomain. I understand there may be CAS issu ...Show All
.NET Development Lan proxy server settings
Is there a way to automatically set the proxy server in code I am aware of the WebProxy class, but that only seems to work when you set the Proxy property of a WebRequest object. I am interested in automatically setting the proxy for the Lan Settings (Communications tab) in the Internet Properties dialog box under tools->options in IE. I found the registry key that I suppose I could use, but is that best practices Perhaps using WMI could it be done I prefer it done in code as opposed to a script, but either way I need to figure that out. Thanks You can set the proxy in code as you noted above or ...Show All
.NET Development limitations with XslCompiledTransform and Xpath predicates
I've found out (from an XslLoadException) that Xpath predicates can't be used in template match statements with XslCompliedTransform. I can use predicates in xsl:for-each statements without getting an exception but it still doesn't work correctly. Non .net implementations seem to have no problems with using Xpath predicates. I can't find any docs on XslCompiledTransform's support for Xpath predicates. Does anyone know what the limitations are Unfortunately XSLT 1.0 doesn't allow variables or params to be used in match patterns. Usually a problem can be solved by moving selection logic to xsl:apply-templates ...Show All
Windows Forms Datagridview cell customization problem
Hello All. I have one problem with customizing datagridview cells content. Supppose we have table with 3 fields: From, Subject, Date. I want to display these 3 db fields in one custom cell (I want to make it like in MS Outlook's "Inbox" where we have it formatted: "Subject" with big font, "From" and "Date" with smaller font). Also I'd like to use databinding to achieve these results. Is it possible (I looked at customized cells and columns but I did not find an example where 2 and more fields were incorporated into one cell) Thanks in advance Hello all. I've found the sample how ...Show All
SQL Server http replication "security error"
what is it supposed to mean when the sync fails and just says "a security error occurred". i verified i can view the .dll from Internet Explorer and view the share from the workstation. i gave up on the normal replication because it kept saying access was denied when it tried to download any of the files in the share... i granted access to 'everyone' for all the files and folders in that share but that didn't help. http://www.eggheadcafe.com/ng/microsoft.public.winhttp/post21186534.asp ...Show All
Visual Studio Tools for Office Combobox into perticular cell
Hi, I am using following code to bind the ListObject: DataSet dsTrims = new DataSet (); string strWhere="select col1, col2, col3, col4 from tableTrims"; dsTrims = MyProvider .ExecuteDataSet(System.Data. CommandType .Text, strWhere); this .bindingdataSource1.DataSource = dsTrims.Tables[0]; myListObject.AutoSetDataBoundColumnHeaders = true; myListObject.SetDataBinding(bindingdataSource1); Now as per my requirement l want that all cells corresponding to "col3" column i.e. all the cells below to the col3 that has all data for col3 should be appeared as/in combobox/dropdownlist. And com ...Show All
Windows Forms Capture a windows dialog programmatically
I'm trying to open up a MS Word and do some stuff to it, but a dialog box appears that I have to say 'OK' on. Is there a way to capture that box and programmatically hit okay to continue the process John You can try this: Surely the dialog that comes up will have focus when you open up Word. If that is the&n ...Show All
Smart Device Development SHBrowseForFolder and LNK2019!
1. Use VS2005, Create a project as "MFC Smart Device Apolication" and "Dialog based". 2. Add a button use resource editor. 3. Add code like: void Ce3edsDlg::OnBnClickedMybtn() { // TODO: Add your control notification handler code here BROWSEINFO bi = { 0 }; bi.lpszTitle = ("Pick a Directory"); LPITEMIDLIST pidl = SHBrowseForFolder ( &bi ); if ( pidl != 0 ) { // get the name of the folder TCHAR path[MAX_PATH]; if ( SHGetPathFromIDList ( pidl, path ) ) { TRACE( L"Selected Folder: %s\n", path ); } // free memory used IMalloc * imalloc = 0; if ( SUCCEEDED( SHGetMalloc ( &imal ...Show All
Windows Forms Bad opinion about .NET framework
Dear Friends, I am using Visual Studio.NET 2005 (Whidbey) to do my developing and designing work. I have developed windows application.I copied the EXE which I have developed,to some other machine (Machine which doesn't has .NET framework 2.0). While running the EXE,I have an error that "you should have .NET framework version 2.0.5314.0 ..." This is really bad. How do they expect that all sys have the framework Then what is the purpose of EXE This is really bad.. Once again they have proved that they are "Microsoft (Not clear)". Any other comments.... Sorry to moan, I was reading this thread and had to comment. I find your ...Show All
Visual Studio VSS 2005 and VS .NET 2003? (for HTTP support)
Hi, Apologies if this has been answered, but I can't find any information on this topic. Can we use VSS 2005 (I am especially interested by HTTP support) with VS.NET 2003 I think we cannot but I would like to have a confirmation. (BTW: if it's not I think it's really stupid) Thanks. Cool. Somehow I had got hold of the idea that the new plug-ins only worked with VS 2005. I assume I just install the VSS 2005 client on the VS 2003 system and the plug-in for VS 2003 is installed too Is the regular SourceSafe plug-in also updated so it can take advantage of the LAN Helper service Will these new plug-ins work for Visual Studio .NEt 20 ...Show All
SQL Server Stepping over the line
I'm running both SQL 2000 and SQL 2005 on the same server. I got this informational message when running a replication job in SQL 2005. It references the SQLAgent of SQL 2000 instance and says it needs to be upgraded to SQL 2005. Log Windows NT (Application) Source SQLAgent$My2000Instance Category Job Engine Event 1073742027 Computer AMWA-011605 Message SubSystem Message - Job 'MyJobRunninginSQL2005' (0xF6BA7BF3BB3EAD42BF281CA1CA39D2EE), step 2 - The SQL Server version of the Publisher server needs to be upgraded to 'Microsoft SQL Server 9.0'. I say "hooey". It is none of its business if one of my instances is SQL ...Show All
Visual Studio Property visibility problem
Hello, here is the build file that I have: < xml version="1.0" encoding="utf-8" > <Project DefaultTargets="Test" xmlns=" http://schemas.microsoft.com/developer/msbuild/2003 "> <PropertyGroup> <Bobby>Default</Bobby> </PropertyGroup> <Target Name="Test"> <Message Importance="high" Text="Bobby = $(Bobby)" /> <CallTarget Targets="Test2" /> <Message Importance="high" Text="Bobby = $(Bobby)" /> <CallTarget Targets="Configure2" /> <Mess ...Show All
Windows Forms convert base64 to image
Could someone please help me on this, im about to tear my head off.... I am SIMPLY trying to convert a base64 string from an xml file to an image .... I have declared a DataSet object, called the LoadXml.. checked the size of the byte array which is the same as the origional.... ' Extract the image Dim& ...Show All
