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

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

Sqnyy

Member List

Nigel36
Wouss
Arock3
enric vives
kwcah
DJMANCO
Santosh A H
Ceres629
jwaters
ccote
Philipp Lamp
MatteusX
BlueBeetle
Alepodrakoulas
CWinKY
TMERTZ
LordZoster
ALeal
Lukke
Pradeep Gupta
Only Title

Sqnyy's Q&A profile

  • Software Development for Windows Vista Is Audio Comparison possible with DirectShow?

    I have a requirement in which, I wish to compare two audio streams based on the audio content (..not the file content). The sources of those streams may be different. Is it possible to achieve this comparison using Directshow Try to contact these guys: http://widisoft.com/ They are likely to have a technology to compare audio content. ...Show All

  • Visual Basic TImer w/ call fx

    i need 2 call 2/4 fx in a loop at the same time, add a timer/delay b4 every fx is executed code is sumtink likie this Private Sub Walk_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Walk.Click Dim a As String Dim b As Integer Dim c As String Dim d As String a = &HFF b = &H5F c = &H11 Do Until Timer2.Enabled Call RLeg_Up() Loop Call LLeg_Up() d = (SendWalk(0) Xor SendWalk(1) Xor SendWalk(2) Xor SendWalk(3) Xor SendWalk(4) Xor SendWalk(5) Xor SendWalk(6) Xor SendWalk(7) Xor SendWalk(8) Xor SendWalk(9) Xor SendWalk(10) Xor SendWalk(11) Xor SendWalk(12) Xor SendWalk(13) Xor SendWalk(14 ...Show All

  • Visual Studio Feature request: Referencing Code Samples

    I often add example-code to the code comments showing how to use a certain function. The problem is that if I refactor the code, the example will be incorrect and there is no way of checking the example code with the compiler. Usually what I do is creating a bunch of methods that uses the functionalities and copy/paste that over into the summaries. This is a pretty stupid way of doing it though (because of the human factor involved). So this is what I propose: 1. Create a code sample file that compiles, and has parts of the code marked by regions: public void Example1() { #region Example1 myObject = new myObject (); myObject.Invoke(); #endregion } 2. Reference the region in the code summary: /// <example>Create a ...Show All

  • Software Development for Windows Vista Trouble with the ManualScheduler service and delays

    Hi, so I have this workflow I've been working on for a few months. It's made of a few parralel branches (5), which look like this : picture The whole thing is hosted in an ASP.NET webservice (in its global.asax file). Along with the ManualScheduler service (with UseActiveTimers on), I'm running a persistence, tracking and data exchange service. And while I thought I did everything right (according to other posts here), expired delays still don't cause the workflow to fire up, so I always have to wait for the runtime to do something (ie : instaciate another workflow, send an event to a workflow, etc...) before anything happens... (this, I assume is what it is supposed to do without UseActiveTimers activated). I really hope ...Show All

  • Visual Studio Error using Project template - Package templates may not be properly registered.

    Hi, I am using the Guidance package to create a new guidance package. The example stubs a console app and a website. When I add a project vstemplate for a class library I receive the error below. Am I supposed to register the new template System.InvalidOperationException: Cannot find registration information for template "C:\Documents and Settings\bbyrd\My Documents\Visual Studio 2005\Projects\FPPSGuidance\FPPSGuidance\bin\Debug\Templates\Solutions\Projects\BusinessEntities\BusinessEntities.vstemplate". Package templates may not be properly registered. Run package installation again and verify template name and location. at Microsoft.Practices.RecipeFramework.VisualStudio.Templates.VSTemplatesService.GetTemplateRegistryData(S ...Show All

  • Visual Studio 2008 (Pre-release) IIS with wshttpbinding VS windows service with netftpbinding

    Which config would you recomend for a server I think that for a server it should be better the IIS (threads perhaps are used better than using "the iis inside framework 3.0". What do you think I have services hosted both Windows Service and IIS and both work fine. Hosting in IIS provides the following benefits 1. Automatic activation of the Service and no need to write hosting code 2. You can deploy Source or binary (Just like aspx) 3. Health monitor, automatic process recyling and others.... ...Show All

  • Windows Forms How to record screen?

    Hi I wish to record the desktop/screen/particular window. The user clicks record button and recording starts till user clicks stop button. How do I access different windows from c#.net The window can be a webcam window of skype/yahoo or a windows media player playing a clip or the desktop !! Thanks Aseem Chiplonkar You could use "Windows Media Encoder SDK" to do that. This is a free tool offered by Microsoft. There is an executable in this package that will let you capture the screen when you wish to start and stop as a "Windows Media Video" file. There are plenty of other places that you can find tools to do the same thing... such as "Lead Tools". ...Show All

  • SQL Server Initializing a Merge Subscription Without a Snapshot - doesn't operate correctly

    Hi! I do the backup from the publisher, next I restore it at the subscriber using *pure* database. next I attempt to create subscription using this db. of course, I use SubscriptionSyncType .None for SyncType propery of the subscription. But, 1. nevertheless the merge agent downloads whole snapshot! both data (bcp files) and the schema. 2. I get the *strange* error. below thelines from the log: Applying the snapshot to the Subscriber A dynamic snapshot will be applied from 'C:\DOCUME~1\...\LOCALS~1\Temp\DB$MAIN_DB1_Main_testReplFromBackup\' Preparing table '__UserSyncOptions' for merge replication Applied script '__UserSyncOptions_2.cft' {call sp_MSsetconflicttable (N'__UserSyncOptions', N'MSmerge_con ...Show All

  • SQL Server Connect problem with DMO and SQL Express

    Hi ! I try using DMO with sqlexpress . I write program in VFP8. osql = CreateObject("SQLDMO.SQLServer") With oSQL .LoginTimeout = 10 .LoginSecure = .f. .Connect("MARIUSZ\SQLEXPRESS","sa","mariza1234") EndWith Metod connect get error message "OLE Idispatch exception code 0 ....(ODBC SQLState :08001):[microsoft]ODBC SQL Server Driver][DBMSLPCN]Invalid connection.[microsoft]DBMSLPCNConnectionOpen (ParseConnectParams))... What is wrong . I install " Microsoft SQL Server 2005 Backward Compatibility Components" and connection to database through odbc run OK. pc_constr="driver="+"{SQL Native Client}"+"; server="+"MARIUSZ\SQLEXPRESS"+"; " + ...Show All

  • Visual C# [c to c#] function with ptr to struct as parameter

    hi all, i have to use this function from a c DLL. The function need pointer to struct as parameters. [ DllImport ( "SeqManager.dll" , SetLastError = true )] static extern uint SeqManagerGetSequenceList( out SEQUENCE_INFO ppSleepSequencesList, out SEQUENCE_INFO ppMoodSequencesList, out SEQUENCE_INFO ppNapSequencesList, out SEQUENCE_INFO ppWakeUpSequencesList); the SEQUENCE_INFO structur is like this : [ StructLayout ( LayoutKind .Sequential)] public struct SEQUENCE_INFO { string szPathName; string szFileName; uint dwDuration; string szGuid; IntPtr pNextSequence; }   when i use the following code i get an unknown exception pu ...Show All

  • Visual Studio Express Editions Can I use VBE 2005 classes in Excel 2003 VBA code?

    I have a class library that I'm developing in Visual Basic Express 2005. I can use the classes in other projects in VBE, but I would also like to use them in VBA code in Excel 2003 (i.e. in the VBA code I want to be able to create instances of the classes from the class library).  If that is possible, can someone please give me step by step instructions The line giving the error is Dim testClass As New TestClassLibrary1.Class1 You suggested copying the .dll and .tlb files to the same folder as the VBA application. The VBA application wasn't in a folder as I hadn't saved it (VBA debug does not require code to be saved before running it). To follow your suggestion, I saved t ...Show All

  • Visual C++ Windows Forms TreeView

    Hi, I tryed to use treeview in c++ windows forms and face up a problem: I easy can add node but dont know how to programly add root node and node to that root. I tried to find any example, but unsuccesseful. Maybe someone know any example or can just say how to do that Hi, you can add nodes programmatically doing something like this: // create a node that's going to be the root node TreeNode^ root = gcnew TreeNode("Root"); // add a new node to this root node root->Nodes->Add(gcnew TreeNode("ChildOfRoot")); // add the root node to the treeview treeView->Nodes->Add(root); Tip: When you don't know how to do program something that you can do in the designer, do it in the ...Show All

  • .NET Development Dynamically update project refrence

    I have a vb.net class project.It is referenced in multiple exe projects. Now if I recompile this project my version number changes. Can I do any thing like recompile my dll application. Then I just copy the the dll on my exe project's bin directory.And I shouldn't need to recompile my exe application. What I need is that refrence to my executeable project should dynamically updated. Can I do that by any mean I am using VS2003 Although using proxy dll is the best solution but in case you dont care about the version of dll you can fix the version number also in assemblyinfo.cs or wherever it exists in your case. http://DotNetWithMe.blogspot.com vikas goyal ...Show All

  • .NET Development XSLT to Excel transfer slow when using large data files

    I am attempting to transfer an XML file to an Excel File using XSLT. I am using XmlDataDocument and it slows down greatly on large data sets. A workaround was found on MSDN: http://support.microsoft.com/kb/318580/EN-US/ , But I am not sure how to implement it. Below is what I am currently using: <% @ Page Language = "c#" %> <% @ Import Namespace = "System.Data" %> <% @ Import Namespace = "System.Xml" %> <% @ Import Namespace = "System.Xml.Xsl" %> < script language = "C#" runat = "server" > public void Page_Load ( Object sender , EventArgs E ) { string reportname = Request . QueryString [ "Name" ]; string xmlpath = "e:/Program Files/Apache Software Foundation/Tomcat 5 ...Show All

  • Windows Forms WebBrowser and BindToMoniker

    Hi, Recently, We've begun upgrading certain components of our project. One of those components was the ActiveX Web-Browsing control who was dumped in favor of the native .NET version of System.Windows.Forms.WebBrowser. This version, however, Does not seem to expose the document as an object, as its ActiveX version did. We use those controls to display Word documents as hosted in the web-browser itself. For this reason, We need access to the document object. To get around this problem, I was using BindToMoniker with the navigated file\url to get Word's document back again ( DownloadComplete event with the AX browser, DocumentComplete event with the new browser). This, However, Seems to not always be successful. Quite often BindToMo ...Show All

©2008 Software Development Network