Software Development Network Logo
  • Audio and Video
  • SharePoint Products
  • .NET Development
  • Windows Vista
  • SQL Server
  • Game Technologies
  • Microsoft ISV
  • IE Development
  • Visual Basic
  • Visual FoxPro
  • Visual Studio
  • Smart Devicet
  • Windows Forms
  • Visual C++
  • VS Team System

Software Development Network >> sugrhigh's Q&A profile

sugrhigh

Member List

rsholtes
MDS55
Avner Kashtan
Dennis Jelavic
Mark Bigelow
flash.tato
ivanw
dgolds
RamyM
Stamey
sobo1
KRSE
Derek Chan
skrajmohan
Sergey Kovalev
Nigel Hamer
LPJ
Johanvh
TGirgenti
reuven_s
Only Title

sugrhigh's Q&A profile

  • Software Development for Windows Vista WASAPI IsFormatSupported and exclusive

    Hello Im getting tired of googling about WASAPI and only finding hits on my OWN code :) What are we supposed to do if we want to do exclusive mode and IsFormatSupported just returns AUDCLNT_E_UNSUPPORTED_FORMAT, and doesnt even provide a "closet match". Are we supposed to try all millions of permutations of members in WAVEFORMATEX(TENSIBLE), and at the end, after failing all of them, realise that this device doesnt do Exclusive at all I dont know about you but i would kind of like to get the equivalent of GetMixFormat from an exclusive mode device, at least its "prefered" internal format. Cheers Unfortunately, NT's audio driver model doesn't provide a way of enu ...Show All

  • Windows Forms Appending rows to a bindingsource?

    Bascially, Im tring to catonate to a bindingsource. Im tring to display all rows from two different tables with a very similar table definition. So I want to load all rows from table a, then add all rows from table b ( using a query of course ). How can i do this thanks, -stellar Hi, You should use Merge method from DataTable or DataSet as per your need. Here is an example, private void MergeTwoTableAndDisplay() { SqlConnection conn = new SqlConnection (); conn.ConnectionString = "data source=localhost;initial catalog=Northwind;integrated security=SSPI;persist security info=False;packet size=4096" ; conn.Open(); SqlCommand cmd = ...Show All

  • Visual Studio Team System Label Report of work items and files

    Hi Is it possible to get a report/quary of all the work items that are part/attached to a specific labe How to get a report of all the file revision that are part of a label Here's an example of getting what's in a label: http://blogs.msdn.com/buckh/archive/2005/10/25/484854.aspx . Buck ...Show All

  • Windows Forms selectbox -> listview sort

    hi, I have got a listview with some data: 2 columns zip country and name I’ve got a listbox with country names. I want to be able to select a country in this listbox and view only the names for this country in de listview. how can I do this I hope there is somebody who can help me! Please post WinForm questions in the WinForms forum. Reserve the BCL forum for questions related to the core libraries that are not covered elsewhere. I'm moving your post to the WinForms forum where the experts there may be able to help you better. Michael Taylor - 9/20/06 ...Show All

  • Visual Basic managing custom classes

    I hate asking these questions because it seems like I should be able to find it somewhere else, but in the 5 books I have on .net, none of them address this topic in depth. Situation: I have a third party .dll, its function is not important but for clarity it is an OPCautomation dll. It is a little tough to use so I have written a custom component to make interaction with it easier (a wrapper, so to speak), lets call this OPCwrapper. Finally, I have a project in which I want to use the OPCwrapper - lets call this project MachineControl Problem: When I move my MachineControl project between computers (my desktop and the target computer) I seem to loose the reference to the OPCwrapper, or the OPCautomation.dll, and have to ad ...Show All

  • Windows Live Developer Forums Push pin display order

    I have a map with many push pins and want to control which pins sit on top of the others. With the previous version, V2, you could change the z-index to control this, but this appears to have gone Is this correct Is there another method now Thanks Have a look at this blog post: http://www.viavirtualearth.com/VVE/Blog/1/135.ashx The DynamicPushpin example shows you how to change the content of a pin element, you can change the z-index there. ...Show All

  • SQL Server SQLMobile

    What is merge when I update the row on SQLMobile(Subscription) is it Publication will updates too if you're talking about merge replication, if you update row on the subscriber, the change should be propagated back to the publisher when you synchronize. You can find more information in Books Online. ...Show All

  • Smart Device Development Fill a ComboBox within a Thread... is possible???

    Hello... i have at this time 5 combos (maybe more) and i must to fill at the start of the application. i want to make a thread so this filling dont mess the system function... is there any way of acomplish this thanks!!! No, they must be filled on UI thread. Attempt to use another thread would either hang your application (NETCF V1) or throw an exception (NETCF V2). You can, however, load data into memory from XML or database on worker threads. ...Show All

  • .NET Development Why not Match(IEnumerator<char>) ?

    It seems like it would be a good idea for the the input to Regex matching to be more abstract than System.String. That way you could match against, for example, a stream, or text that exists in chunks. Anyone know why it isn't like this Or if it is coming in a future version Or if there are any 3rd party libs that do it. Rob You can post the suggestions in the Microsoft Connect as a suggestion. If it is something they are working on, they will let you know, otherwise it will be evaluated. If you post let us know. ...Show All

  • SQL Server Upgrading SQL2000 enterprise to SQL2005 Standard

    Hi , We are using the a 4 CPU SQL Server 2000 Enterprise edition for our application , We want to migrate to SQL2005 with the compatibility level downgraded to SQL2000. If we go for the SQL2005 Standard edition is there any problem We are not using the Failover clustering in our server. thanks & Regards siva Hi ! What we can tell you is that it is a supported upgrade path, you can set the compabability level to 80 (which is SQL Server 2k) after the upgrade; your database will upgrade (whatever you choose for the upgrade plan, either detaching / attaching or backup / restore) in its structure. SO the best thing would be to make an integration test if the software you are using isn’t using any undocu ...Show All

  • SQL Server Finding deatail Deadlock info IN SQl Server 2005 Standard Edtion

    We are using SQL Server 2005 with SP2.Originally, we seemed to be having a lot of unnecessary lock escalation occurring to the page and table level. I would like to track down all storedprocedure/queries or function that are being casue of deadlock in sql server 2005 with all deadlock input like transactionID ,command ran,loginID etc.But we have to need to find these information on SQL Server 2005 standard edtion. Is there any tool,command or something like this which track down these information blindly in sql server 2005 without effecting system performance seriously. Ahamd Drshen Use SQL Server Profiler with DeadLock Graph Event. Or use stored procedures sp_create_trace and sp_trace_setevent for collecting profile ...Show All

  • Visual Studio Team System MICROSOFT - Please Clarify

    For me all this is hopelessly confusing. Can anyone from Microsoft tell me if I will be able to install CTP7 with my current copy of Visual Studio Team Edition for Software Developers I don't want to uninstall CTP6 and then be told I don't have the correct version of VS to install CTP7. Thanks - Amos. Hi Amos, yes you are right, you can buy separately (i.e. Standalone). It will however be priced as a separate version (just like VSTD). Do think about the fact that two purchases of VST Editions cost about the same as VS Team Suite. The RTM installation will certainly also utilize the common components that are already there and add some common components when VST D is already installed. ...Show All

  • .NET Development SSL/TLS exception when using HttpWebRequest with client certificate

    Hi, I wrote following code to call a aspx page in code (from another aspx page): HttpWebRequest httprq = ( HttpWebRequest ) HttpWebRequest .Create(uri); string certificateName = "SoapProxy2" ; X509Store store = new X509Store ( StoreName .My, StoreLocation .CurrentUser); store.Open( OpenFlags .ReadOnly); X509Certificate2Collection certificates = store.Certificates.Find( X509FindType .FindBySubjectName, certificateName, true ); X509Certificate certificate = certificates[0]; httprq.ClientCertificates.Add(certificate); httprq.Method = "POST" ; httprq.ContentType = "text/xml; charset=utf-8" ; httprq.ContentLength = 0; HttpWebResponse httprp = ( HttpWebResponse )httprq.GetRe ...Show All

  • Visual Basic Installing SQL Server Express during Install

    Hi All, My application requires the use of SQL Server Express in order to run so as a result I need to have this installed when the user installs my application. However, I have a problem in that I need to adopt a Client / Server approach to the Installer, so a user can simply install SQL Server Express, or my application or both if needed. My problem is how do I do this I appreciate that I can have custom dialogs, conditions etc., within my setup and deployment project but what about physically creating the Database, Tables, Roles, Stored Procedure etc. How do I do that What's the best option Is is possible to have a database file system pre-created (i.e. .dbf and .log files) and simply mount this. Or do I need to use scripts Can ...Show All

  • Software Development for Windows Vista ValuePattern setvalue on an edit box is not working

    When setvalue is done on an edit box, the value which needs to be set is displayed in the edit box, but the application is not able to recognise the set text, internally it is just seeing the blank field Moreover the Value pattern was supported by the edit box when seen from the UI Spy. At the end I have to fall back on using the SendKeys Application is Visual Studio 2005 and framework is UIA 3.0 for .NET ~JK If I understand the issue, the ValuePattern SetValue method is working as expected; that is, setting the value of the edit box to some value. The application that contains the edit box, however, is not able to read this new value. Correct What is the UI framework of the application Win ...Show All

©2008 Software Development Network