Ha Duo's Q&A profile
.NET Development I wanna develop Client/Sever Voice Communication Application
Hi, I wanna develop a Client/Sever voice Communication application.The problem is that , i don't know how to capture sound, can anyone guide me that how can i capture the sound from microphone. what are the alternates of sound capturing. Thank You (in Advance) Muhammad Akhtar Shiekh hello there ; I looking for a solution to implement a voip application for over a month or soo ....and now i just read your thread here . Please bielive me i realy realy need a little help on this ....i'm not much of a programmer ...but i'm somehow "forced" to complet an voip application for a diploma workpaper and it has some "drastic" conditions like : it has to be developed in C# and it has to work on Vista as on ...Show All
Software Development for Windows Vista Project type is not supported by this installation
I have been struggling with this the entire day. I just installed for the first time: WinFX Visual Studio 2005 Extensions for Windows Workflow Foundation Beta 2_2 Windows Workflow Foundation Runtime Components Beta 2_2(EN) for x86 WorkflowTemplates - 2006-03-07 If I try to create any WWF project based on the new templates, I receive an error stating that "the project type is not supported by this installation". I have uninstalled everything and installed the Beta 2 version (instead of the Beta 2.2) and I get the same error. I then uninstalled everything again and reinstalled the Beta 2.2 version hoping that it would have worked, but no luck. Has anybody had this problem Any help will be appreciated. P.S. ...Show All
Visual Studio How to create a non resizbale tool window on vs add In
Hi there, I'm developing an add in for my client and I'm creating a tool window using the createtoolwindow function.The tool window is actually an ATL activex control. I'm interested in making the toolwindow non-resizbale .Anyone has any ideas on how to do that Thanks, Ron ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Defining vertices as screen coordinates.
Is there a way to define a vertex to use screen coordinates I know there is a way in DirectX to do this [source] // This one const DWORD D3DFVF_TLVERTEX = D3DFVF_XYZRHW | D3DFVF_DIFFUSE | D3DFVF_TEX1; [/source] But looking through the documentation, I can't seem to see a way to do this in XNA. Basically what I want to do is to be able to draw sprites but use shaders also. Yes, I have seen SpriteCache at http://www.codeplex.com/SpriteCache/ but it doesn't actually emulate SpriteBatch exactly like it should so I was wanting to create my own. Any help appreciated... thanks! Edit: Well the "// This one" is not lining up as I thought, I was refering to the D3DFVF_XYZRHW. I read through the l ...Show All
Internet Explorer Development IE 7 opening to Run Once page with error on it.
I downloaded updates last week. I have been using IE7 for a while with no problem. I dwnloaded the updates. Now when I open my browser the page tries to go to http://runonce.msn.com/runonce2.aspx . There is an error reported for this page and it will not open up I get a blue screen. How do I eliminate this I have my home page set in the tools section but when opening it won't go to my home page until I hit the home button on the tool bar. This page is really "run once". However you don't have a chance to finsih. That's why it keeps apearing. Base on my testing, this problem should only happen to IE7 beta. It is fine on IE7 RTM. ...Show All
Visual Basic Shared property works in VS2003, does not in VS2005
I'm moving an asp.net program made in Visual Studio 2003 over to VS2005. I'm just creating the pages in VS2005 and copying & pasting code. I'm finding my Shared variables are not working in VS2005, as I get the error "Name 'Errors' is not declared". In the example below, I have the Class "Errors" (a web page, "Errors.aspx") which sets the property. Then I show the Sub addFootnoteToPDF() which is on another page (open.aspx); this makes a reference to the property in Errors.aspx. Can you see why this works in VS2003 and not in VS2005 Thank you! Partial Class Errors Inherits System.Web.UI.Page Private Shared m_ReferringURL As String Public Shared Property ReferringURL() As String Get Return m_Referri ...Show All
Audio and Video Development MP3 Edit Tag function
Does anyone know where list of Genre's in the Edit Tag function comes from I'm pasting a screen shot below. Hopefully you can see this. I need to be able to customize my own list of Genre's and not use the built-in version at all. Go here to see a screen shot of what I mean... http://www.flickr.com/photos/ericowens_photography/298346571/ If customizing this list requires that a .dll has to be modified I'll need help doing that as I am not a .dll programmer. Otherwise is there a third party program I could use So many questions. I really need an answer to this so any help would be greatly appreciated. Thanks Eric Hi Eric, You can try Windows Media Format SDK and the WM/Genre attribute. http://msdn.microsoft.com/library/default.a ...Show All
.NET Development Sending MS Word document without using outlook.
Hi, We are looking for a way to send styled word document without using outlook. When u create a new mail in outlook word is used. In our project we have some standard word documents that can be used as mail. Only we don't want to use the outlook accounts / program of users but the System.Net.Mail mail system of .NET 2.0 Nightmare_BE wrote: yes Open the word document (template) replace some bookmarks with data from the database Send as formatted mail using .NET mail system How about sending an email that is an html format ...Show All
Visual Basic array allocation vs. memory available
When creating or redim'ing arrays, how does one tell if it was successful What if there wasn't enough memory available I can't find any documentation of an exception thrown when creating or redim'ing an array that needs more memory than the running system has available. Isn't that a real possibility What am I missing Steve outofmemoryexception http://msdn2.microsoft.com/en-us/library/system.outofmemoryexception.aspx Try Catch ex as outofmemoryexception Catch ex as exception End Try ...Show All
Visual Basic need help with offsets for LayoutKind.Explicit - unravelling a returned struct from unmanaged into managed
Mathew Gertz pointed me in the right direction I believe in an earlier post. My P/Invoke is returning valid values for 'name' below at field offset 0 and other values as I can see in QuickWatch. StructA below is passed and returned from the unmanaged C++ dll with valid values. An error is thrown however; System.ExecutionEngineException was unhandled Message="Exception of type 'System.ExecutionEngineException' was thrown." I would like to try Mathew's idea of using LayoutKind.Explicit rather than LayoutKind.Sequential which I am currently using. If I had <FieldOffset(0)> for the first member of StructA, can anyone help me with how the rest would look I would say Offsets would increase by 1. 4 after each Integ ...Show All
Visual Studio Express Editions Hashtable problems...
Hi folks, I have been searching for nearly two days now, and it still escapes me.... I have a hashtable (tableTOP) that I fill with other hashtables (tableCHILD). Hierarchically it looks like this: tableTOP: key = "A" value = tableCHILD (1) key = "B" value = tableCHILD (2) ...... etc tableCHILD: key = "1" value = "any value" key = "2" value = "any value" .... etc. The funny thing is that when I add a value to the tableCHILD (2), it also gets added to tableCHILD (1). Like: tableCHILD.add (key:= "3", value:= "anything") TableTOP.Item( "B") = tableCHILD ( changing the value of element with key "B") ...Show All
Windows Live Developer Forums About MSN personal message and WMP caption...
Hi, everyone !! We know Live Messenger's personal message can change when listen the song with Windows Mediaplayer. And I want to write some code let personal message can show the lyrics with the song synchronous, if the song has it. So, can you show me some example or give me suggestion about the Live Messenger and Windows Mediaplayer communication. Thank you very much !! Hi~ Everybody!! I almost finish this plugin, but I found a problem about the msn update personal message time interval. It's seem update the personal message every 7~8s. It's mean I can see the sync. lyrics A in my personal message field. But in your side, you'll see the same lyrics A after 7~8s. So every lyrics interval must grea ...Show All
SQL Server SQL Server Replication not very robust
I am nearing the end of development and some last minute database changes were required for a SQL Server 2000 (SP 4) database running merge replication. According to SQL Server Books Online, making changes to the schema should be relatively easy. But everytime I've done so, something goes wrong and I end up having to start from scratch. For example, I added a column to a table through the replication publication properties dialog box in SQL Server Enterprise Manager. It was a simple and straight forward process. But after a short period of time, it was discovered that replication had stopped. The merge agent wasn't running. When I tried to start it again, it failed and stated that it needed an updated snapshot. So I ran the snapshot ...Show All
Windows Forms DataGridView: ComboBoxes aren't refreshing their contents
Hi! I'm using Comboxboxes in my DataGridView which displays table A. The source of the Comboboxes are in table B. DGV is open with table A, in the same time i commit changes to the table B. Then i call DGV1.Refresh and voila the Comboboxes in the DGV are showing the old values. What went wrong Hi,ngy_tms See this sample code, is this the effection you want using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace WindowsApplication1 { public partial class Form13 : Form { public Form13() { InitializeComponent(); } ...Show All
Windows Forms Form validation - Please help
HI I have a form with many tabs and textboxs. I have a button in the form to validate the fields , If its validation sucessfull it will save to the database OR it has to be directed to the relevant textbox in the TABPAGE. How I can direct the user to the relevant field if validation fails. (Note: I have many tabs in the form) I am using following code Private Sub Submit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Submit.Click ValidateCertAgent() (----If the above validation Fails, then user directed to the relevant text box or should be passed to the next validation---and so on---) ValidateCertProperty() ValidateCertPurchaser() ValidateAgentName() ValidateTrustee() If txtold.Text = "" Then ...Show All
