Syed Usama KHalid's Q&A profile
Visual C# Connect to Access
Hi. I Need a sample code to connect to an Access DB and execute a query such as select, insert, ... I want to don't any work in design and all do in code, please. Thank you so much. Everything is working. All I need to do is add extra rows if needed and I'm all done. No help is needed yet. ...Show All
Visual Studio 2008 (Pre-release) ComboBox was tried.
I want to make ComboBoxItem with ICommandSource. However, not possible to automatic of IsEnabled by CanExecute set it. I want to reflect the result of CanExecute in IsEnabled like Button. How should I do class MyComboBoxItem : ComboBoxItem, ICommandSource { void OnCanExecuteChanged(object sender, EventArgs e) { IsEnable = command.CanExecute(null); // Here is not called. } ICommand command; public ICommand Command { get { return command; } set { command = value; if ( command != null ) { command.CanExecuteChanged += OnCanExecuteChanged; } } } public object CommandParameter { return null; } public IInputElement CommandTarget ...Show All
Windows Forms App Updater fails when dowloading config file
I've been using the .NET Application Updater and it's failing when downloading the applications config file under the version folder. Is there a work around for this. I've got a workaround. In the properties dialog of the virtual directory go into the Application Configuration dialog. On the Mappings tab find the extension ".config" and delet ...Show All
Visual Studio Team System Shelving during the RC upgrade process
Hi, What's happen to all the shelvesets during the RC upgrade process We have pending changes that we can't check in before the upgrade process. Can we shelve them, undo the pending changes, and after the upgrade is completed to unshelve the shelvesets Thanks, Michael With only the exception of branches and merges, both pending and shelved changes will be migrated properly during the upgrade from beta 3 to the RC. You don't need to check them in before upgrading. If you have pending or shelved branches or merges, those will need to be either checked in or undone (or delete the shelveset). However, no other change t ...Show All
Microsoft ISV Community Center Forums How to check the TCP/IP checkbox in network connection property window?
hi, guys In windows, network connection window, in the property of a connection, It has Client for Microsoft networks, File and Printer sharing, Internet Protocol (TCP/IP) three checkboxes, is there any way to check/uncheck these in script Thanks, I am also looking for the answer to this question. I have multiple VPN clients installed on the same PC and have to manually uncheck the Check Point SecuRemote service here in order to allow another VPN client to function properly. I have developed scripts to start and start the necessary Windows Services for running each client but I have not figured out a w ...Show All
SQL Server International Considerations/Languages
Hello! My reports should be shown in English or in Spanish, and I was wondering the best way to do this. What I need to do is just change the title of the columns, and the title of the Report itself, but I would like to make it easy to extend it to another languages in the future. How can I do it Thank you! ...Show All
.NET Development how to format xml string with an xsl stylesheet
Hi, I have a string that is in an xml format <items><num>5</num><text>sometext</text></items> I want to transform that string somewhow using my xsl document listed below and attach it to the body of an email. I was trying to use the code below but the xmldocument load does not take a string. How can i go about accomplishing this. XmlDocument docXml = new XmlDocument(); docXml.Load(sb.ToString()); XslCompiledTransform docXsl = new XslCompiledTransform(); docXsl.Load("xslFormats.xsl"); Thanks! Alex I 'm not sure what you are trying to accompli ...Show All
Visual Studio Team System I've heard that the VS Aug CTP is RC1, is this true?
Does anyone know if VS Aug CTP is the same as VS RC1 or is RC1 a newere build Thanks, Jim I've heard the August CTP build referred to as RC0, which presumably is a few weeks earlier of a build than the Release Candidate build that went up on 9/12. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX 9 in visual basic 2005
Hello all, I am an experinced user of Visual Basic 2005 Express Edition, but am failing terribly when trying to apply DirectX, Direct3D and other techniques. Does anyone know where I can find directx tutorials that have visual basic code examples I would really like ot learn. I have tried literally hundreds of c++ tutorials and they never compile, whether the creater of the source says it works or not. I have the DirectX SDK August 2005. I have gone through the help file as well, but it is so confusing, or maybe I am just dumb. Thanks for any info, Timothy Have a look at www.thezb ...Show All
Windows Forms Customize ListView or Datagrid
I'm trying to figure out how I could do this but haven't been able to find anything by searching google or this forum. What I need it to customize the header of datagrid or listview to have rowspan(like html) and wrap the text. The datagrid/listview should look something like this ---------------------------------------- HeaderText 1 ...Show All
SQL Server Can't add DataSource or connect to database with Wizard
Hi, I installed Visual Studio 2005 Beta 2 and could connect with it to my SQL 2000 Server. Now I installed on the same laptop SQL Server 2005, but the installation failed on some error. Now I uninstalled SQL Server 2005, but now I can't connect anymore to any datasource. The "Add new Data Source" is just not highlited and the Wizard from Tools Menu "Connect to Database" does not launch at all. Any one has a solution thanks, Immanuel ...Show All
Windows Forms caching application block and threading
does anyone know if CAB is thread safe (i am usng 2.0 interim) i am adding and reading to the isolated storage from 2 different threads. should i manually do something or is it taken care by the CAB if i need to take care of it what is the right solution Yes. To quote an MSDN entry on it: The Caching Application Block is optimized for performance and is both thread safe and exception safe. ...Show All
Visual Studio Express Editions How I can create a file association?
how i can associate a file type with my application ps: I wan't somethink easy.. Amazingly I have been unable to find a piece of sample code on how to do this in C# in managed code... instead, try this old school and trusty VB6 code from Microsoft that provides the basic steps required. ...Show All
SQL Server Reporting Services and DotNetNuke
Hello, I'm using DotNetNUke as a portal. I would like to use reporting services to extract some information. However the user informations are kept on database but in xml format on a field. How should I get that information on a report Thank you. Jose ...Show All
Smart Device Development configuring pocket pc 2003 second edition in vs 2005 to test mobile web applications
Does somebody know how to configure the pocket pc 2003 second edition emulator that ship with visual studio 2005 to test mobile web applications. I keep getting the following error message:requested url not found Here is the url I use:http://localhost/jotali (jotali is the name of my application folder in IIS under wwwroot) Thanks in advance Please check that you have done following things 1. You have to give the computer name in place of the localhost Eg, if ur web service is http://localhost/WebService1/Service1.asmx here replace localhost with your computer name. 2. Cradle t ...Show All
