digitaldesignstudio's Q&A profile
Visual Basic Programming multi channel sound card
Hi, I am trying to write an app that can play different sound on different channels of a sound card. For example.. when i click on a button1 it will play one.mp3 in channel1 of the sound card...and when i click on button2 it will play two.mp3 and so on....up to 8 channels... I have been searching the web for this...but there are no information on this. It was supposed to be a simple app but it seems not that easy to me...... ! Any ideas anyone t ...Show All
SQL Server Writing to text file from Stored Procedure
hi Writing to text file from table/view is done using osql,bcp etc. How do we write output of stored procedure into text file Thank you SQLCMD, ISQL, or OSQL will work.. With SQLCMD, you can do this to export a query (the query can be anything): sqlcmd -S.\yukon -E -Q "select * from sys.dm_exec_requests" -s, -W -S ServerName -E Trusted Connection -Q Run the following query and e ...Show All
SQL Server Report layout:- Inconsistencies between page height and HTML Rendered
I'm having problems with what is displayed in the browser being different to what is defined in the RDL and what is exported to PDF. I have set height to 21cm and width to 29.7 with 0cm margins. There is one table in the report. When I export the report to PDF its fine, all pages are 21x29.7cm, landscape. However, when I view the report in the report manager (in a browser) the pages are much longer than they should be... nearly twice as long ( ...Show All
Windows Forms showing sequential images in picturebox
I finally got my pics to open in a picturebox and now have to use msgbox to display the next image. Is there a way to do this without using msgbox Hi davco, Dustin_H seems to be on the right track, perhaps if you posted your code we could help you figure out what is going wrong. Scott Morrison The Windows Forms Team Microsoft Corp. ...Show All
Windows Forms Adding new rows to DataGridView does not follow sort order
Hi! I have a datagridview in which I add rows using the rows.add method. Grid is not bound to any datasource. The problem I have is that newly added rows are always added at the bottom of the grid, ignoring the selected sort order. Do I miss anything I wouldn't like to call .sort method again, since my grid may contain a lot of data and rows might be added every few milliseconds. Awesome. Thanks! -mark DataGridView Program Manager Micro ...Show All
Visual Basic Showing hidden forms
Here is what I am attempting to do. I have a combo box, that has the names of forms that have been hidden from view. When the user clicks on one of the names, that form reappears, and is then removed from the combo box. I cannot for the life of me figure out how to make the forms reappear after the user clicks the name. The forms are all derived from one form that can be loaded multiple times on the screen, thus I need to tell the difference bet ...Show All
Visual Studio Team System Disabling Code Analysis Warnings
Hi, How can i disable code analysis warnings in some blocks of code #pragma warning disable is the solution I try this but didn't work. Any sugestion Thanks. If you are talking about C/C++ code, yes, you can disable code analysis warnings as other compiler warnings, e.g.: #pragma warning(push) #pragma warning(disable:6011) code #pragma warning(pop) Let me know if it doesn't work Thanks. ...Show All
Visual C++ NAFXCWD.LIB
Now i am using microsoft visual C++ but i need the NAFXCWD.LIB that required in my project is that have any way to alternative or to solve this problem because i don' t have the license of Microsoft Visual C++ 6.0 Pro Edition I get this every now and again. Usually I get it when I switch to/from MFC or threading models. It's a real pain and would be nice if Microsoft fixed it. Check this article out on ways to fix your project: htt ...Show All
Windows Forms Drag and Drop Datasources have all stopped updating
I'm using VS 2005 Pro. For some reason all of the applications I have on my dev machine that use data binding for database access have stopped working. What I mean to say is, even applications that have worked in the past are not updating the databases when TableAdapter.Update is called. These applications are using drag/drop datasources, bindingsources, etc. I noticed this last night when creating a datasource via the wizard. Nothing I co ...Show All
Visual Studio Import settings as Visual Studio closes throws COMException
My addin sometimes makes adjustments to the user preferences in Visual Studio. Before doing so, it backs up the current settings. I tried restoring the original settings in SolutionEvents.BeforeClosing and SolutionEvents.AfterClosing (2 separate tries). Both methods worked if the solution was closed via file->close. However, both methods ended up throwing a COMException if Visual Studio was closed without explicitly closing the solution first ...Show All
Architecture the best orm for .net?
I would like to know your favorites, i am looking for a free one and with caching capabilities. well I would say to look at the following and weight their pros/cons with your requirements nhibernate gentle.net (2.0 is looking great is is completely based around concepts put forward in DDD by eric evans) wilson O/R (its not free but it has a minimal price, $50 if I remember correctly that includes source) A nice thing about this par ...Show All
SQL Server SQL Server 2000 sqlstp error
18:59:54 Begin Setup 18:59:54 8.00.194 18:59:54 Mode = Normal 18:59:54 ModeType = NORMAL 18:59:55 GetDefinitionEx returned: 0, Extended: 0x0 18:59:55 ValueFTS returned: 1 18:59:55 ValuePID returned: 0 18:59:55 ValueLic returned: 0 18:59:55 System: Windows NT WorkStation 18:59:55 SQL Server ProductType: Enterprise Evaluation Edition [0x3] 18:59:55 Begin Action: SetupInitialize 18:59:55 End Action SetupInitialize 18:59:55 Begin Action: SetupInstal ...Show All
.NET Development Register ATL control.who can help me?
I have created a ATL control with c++.net 2003. I find the control can be registered on local PC by regsvr32.exe,but it can't be registered on other PC. Why You are probably missing ATL.dll. By default, ATL requires this DLL for the registration component. You can eliminate this dependency by adding the _ATL_STATIC_REGISTRY #define to your project. ...Show All
Visual C# How many threads running from the threadpool in a point of time
How can I know how many threads are running from the threadpool in a point of time in my app Thanks in advance Try using ThreadPool.GetAvailableThreads() and subtract it from ThreadPool.GetMaxThreads(). Am I missing something ...Show All
SQL Server triggers and record data question
Hello, I have a need to do something in a trigger, I have read all the in's and out's of when to use or not to use a trigger, so I am not looking for an answer like that. What i am wondering is how to get the fields from a record that triggered the trigger. for example an on insert trigger...... Inserted record example: Field names: key field1 field2 field 2 field data 1 Jack filed baseball i want to do a trigg ...Show All
