Buddhist's Q&A profile
Visual C# Voice Chat,Audio Streaming
Hello everybody... I have a TCP/IP client/server chat application.I want to add voice chat feature to my application.What is the start point How can I implement this feature in c# How can I implement audio streaming in c# Please guide me. Note : My application works on LAN and is not on the internet. You can download complete source code and demo of my chat program from here. You need .Net FrameWork 2.0 http://www.codeproject.com/useritems/TCPIPChat.asp Best Regards, XironiX Fadi, That was terrific man. Loved your site too. I'm from India and can't seem to find your book here, not even on Amazon. Continue the good work. Downloaded the code and most of my questions are answered. Thanks a ton. ...Show All
.NET Development Catch events in javascript from .NET usercontrol works in C# but not in VB.NET
Hello all, I've created a .NET usercontrol and embedded it in an HTML page using the implementation found here http://support.microsoft.com/default.aspx scid=kb;en-us;305624 The Control Library was coded in VB.NET 2005. I can access my properties and methods from javascript with no problem. I tried to raise events in my UserControl and catch them in the HTML with javascript but I couldn't get it to work. Here are some methods I tried. <script FOR="uc1" EVENT="MyEvent"> alert("event fired"); </script> as well as I even read that VBScript "automagically" handles it by letting you define a script like this Sub ObjectName_EventName End Sub. This didn't work ...Show All
Visual Studio Express Editions Question about filtering a database.
I would like to filter a database but cannot get exactly what I want.... The code I was trying to manipulate is this: BindingSource .Filter = " ColumnName = ItemtoFilter '" These are obviously generic names. That seems to work fine as long as you know inside the script what the user wants to filter. How do you make the " ItemtoFilter " a variable Thanks. I guess my question is how do I make the ' filter ' a variable in the following line.... BindingSource.Filter = "ColumnName = ' filter ' " ...Show All
SQL Server Optimistic vs. pessimistic locking
I am confused, I'll admit that outright. A lot of entries in these forums recommend optimistic locking for most cases. Well, I have a very simple case (like everyone else, I bet :-)) and it seems to me pessimistic locking is the right answer: User A loads an item on screen for maintenance. When user B wants to load the same item on screen for maintenance, he/she should be presented with a message "Item in use by someone else". That way they know they can't perform maintenance on the item (as yet). This can be achieved with pessimistic locking, by locking the row that is being loaded for maintenance and only unlocking it after an update or after another item is loaded in maintenance. The lock would be in update mode. This w ...Show All
.NET Development HttpPostedFile.FileName not fully qualified?
I use the following code in an aspx file to read the file name which I am uploading from the client PC onto the server; Dim MyFileName As String Dim MyFileColl As HttpFileCollection = Request.Files MyFileName = MyFileColl.Item(0).FileName The Filename value is simply the file name ("text.txt"). I want the fully qualified name of the file ("c:\temp\text.txt"). The documentation says this is what I should be getting but I don't Does anyone how I can get the fully qualified name of the uploaded file Thank You. I believe you need to use HttpPostedFile class. It will allow you to get info on the file and save the file....Check out the info on HttpPostedFile here. ...Show All
Visual Studio Team System ASP.net Unit tests and web application set up using a header.
I have tried to use ASP.net unit tests against a web appilcation. The web applications URL looks somthing like, vdir.localhost .domain.com . IE is able to access the website, no problem. But the unit tests are unable to find the directory. I notice that none of the help files discuss testing against a web application that has been created using host headers. The question is, is it posible to test a web application using host headers If so, what might I be doing wrong Thanks guys!! Dan Does the URL in the UrlToTest attribute exactly match the one you see in IE If not, does changing it help Yes. When I use only the virtual directory name, it seems to find it. I will investigate this further when I get to wo ...Show All
.NET Development .Net remoting error
I want to share a common connection object between my applications on a single client. so i am using .Net remoting feature. I have created a serializable class on server where it returns the serialized onnection object to the client. But when i am using this object on client i am getting an error " Remoting cannot find field 'ObjectID' on type 'System.Data.SqlClient.SqlConnection'." I am not getting it whether i am correct or not. please help me out. Regards, Varsha Thanksfor your help. But i wanted to know is it possible to share connection object between 2 applications on same client plz help me out. if u know some other option. Regards, Varsha ...Show All
Visual Studio Team System Adventure Works Demo for VSTS
Hi, Where I can find the AdventureWorks demo for Visual Studio Team Foundation I know that it's inlcuded in a VPC, but I don't have it. Thanks in advanced for any help in this topic. Guillermo G. ...Show All
Windows Forms asyccallback in child app
hi, i've made an parent - child (4) app. in one of the childs (titeled: get data) i make an ethernet connection to an micro processor. when i have connection i send a string so the processor can responed and send the data i need. but receiving the data takes time, even when its only a minute, the user will see it. so i thought to receive the data asychron but i still remain with the waiting problem. the user most be able to do things in the three other child wile 'get data' is getting his data im not sure how to do this, i am formiliar with asynccallback, ect. because i use this to make my ethernet connection. so here is my problem in short: 4forms, 1 where data is beeing received and during this the user most be able to use the ot ...Show All
Microsoft ISV Community Center Forums Can you use VBA to access a spread sheet embedded in a word doc?
I am trying to use VBA code written in MSWord to access an embedded spread sheet. I can't find any documentation on how this is suppose to work. Does word access the sheet through an instance of excel Is the sheet part of the document so I can find it in the "ThisDocument " I have tried everything I can think of, so any help would be appreciated. I can't find any documentation on an msoEmbeddedOLEObject, and wdOLEVerbHide seems to work fine. Also, DoVerb is limited to wdOLEVerb___ enumerations. ...Show All
Software Development for Windows Vista Unable to setup windows Vista 5308 (error while displaying image selection wizard)
Hi - I have tried to install the 5308 build on a (older) PC (AMD Thunderbird/512MB/ATI 9000) that I use as a test machine but I keep getting an error message immediately after entering the license key. The error dialog says "An internal Setup Error occurred while displaying the image selection wizard". After a while the setup program will abort and display another dialog "Exception Unknown Exception 0xe0000100 occurred at memory location 0x77e4028b. Other postings of a similar problem suggested that there was an ISO image download/DVD buring issue. I have reburned at 1x speed. I have re-downloaded the Checked build. I have tried to install this when booting from the DVD with both a Win2K PRO and a WinXP OS hard drive inst ...Show All
Visual Studio Express Editions Syntax error converting the varchar
ERROR - Syntax error converting the varchar value 'SELECTSERVICE' to a column of data type int. I am having some problems converting a number to an int, this is for doing a SQL statement search. Dim SELECTSERVICE As Integer SELECTSERVICE = VenderBox.SelectedValue Dim theSqlCommand As New SqlCommand( "Select [DE_ID],[DE_DEVICE_NAME],[DE_STATUS],[DE_associated_vender] from [FR-DEVICE-TABLE] WHERE DE_STATUS = 'ACTIVE' AND [DE_associated_vender] = 'SELECTSERVICE'" , New SqlConnection(connectionString)) What should my Dim SELECTSERVICE be to correct this thanks for the help it should be like this: Dim theSqlCommand As New SqlCommand( "Select [DE_ID],[DE_DEVICE_NAME],[DE_STATUS],[DE_asso ...Show All
SQL Server Error on Export to Excel with Bookmarks and Navigation Jumps
Hello All, We're running RS 2005. I have a problem in a report using two main sections. There's a top level report, made up from 4 tables within a rectangle. The second section of the report contains the detail of the calculations making the top level figures. The second section of the report contains bookmarks and jump links to drill to different levels of the reporting structure. This works fine. The top level of the report also has jump to bookmark links to drop into the relevant section of section two, and display the detail. The problem I'm having is that although the jump links work fine within report manager, the report will not export to excel from report manager. It errors with the error at the bottom o ...Show All
Smart Device Development corrupt error: 0x8007007e
Hi, I am upgrading my app on WM 5.0 from eVC to Visual Studio 2005, after everything compiled and started deploying, it came with an error messeage: Unable to start Program.... An error occured usually indicates a corrupt installation (code 0x8007007e). And deployment stopped....Could anybody give me some hint about why this happens and how to solve it Thanks in advance! Thanks for your response however I am a beginner and don't know what to do to fix this error. Could you please explain how to fix this problem ...Show All
Windows Forms Export Current Page to Excel
Hey Using C#, building a Windows Form Application, I have a DataGrid, showing set results from the MSQL table. If there anyway, I can have a button, (or Menu link or something), so when clicked, the application will open MS Excel, and export the data to the Excel Spreadsheet. I am sure I have seen somewhere how it is down, but I dont know. Can anyone point me in the right direction. Many Thanks Jamie ok One problem How do I add the Excel DLL to the references I checked and I cant see Excel under the references, Do I have to manually find the dll on the machine for office, and add it, or is it under something else. ...Show All
