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

Software Development Network >> Jim Mc's Q&A profile

Jim Mc

Member List

NeilG
tbutts
RaviKanthReddy
MrZap
chaza
gfather
vranjit138
Pascal Frey
roychoo
GeorgeBH
ykgreene
progames25
Sonia G.
arkiboys
Derek Comingore
RCS300
dave5631
nicholas winterer
clstephenson
Chris D Jones
Only Title

Jim Mc's Q&A profile

  • Audio and Video Development Help me about rendering audio from IWMReaderCallback::OnSample using DirectSound

    I need to play the PCM audio date from IWMReaderCallback::OnSample, when I use " waveOutXXX " it can work,but when I try to change volume with " waveOutSetVolume " , system wave volume is changed,this is not what I want . I wish to change the volume of wave date by operation before I play it with " waveOutXXX " , but I can not find the arithmetic, so I changed to use " DirectSound " to play it, the volume can be controled as expected, but even more worse thing happened, when first data block from "OnSample" arrived, I fill it to " DirectSoundBuffer " ( use Stream buffer),and begin to play it, for example: the length of the first data block is 14000, but when I try to fill the seco ...Show All

  • Windows Live Developer Forums Relation of Map Point to Virtual Earth - can someone explain?

    I've been trying to get my head around this concept. What is the relation between Map Point and Virtual Earth If we want maps as a server-side only solution (no internet connection) would we use Map Point Does Map Point ship with a Virtual Earth style .js interface or would we have to build our own Any clarification would be greatly appreciated. Map Point and VE share the same data. Map Point is called through a web service, server side. It therefore is more compatible and runs under SSL. The key difference is Map Point generates an image on the fly including all data overlayed while VE using pre-rendered tiles and overlays objects using html. VE is much slicker and performs reall ...Show All

  • Visual Studio Team System Visual Studio Team System and Visual Studio 2005 Pro

    Hi, i'm a lead developer of a small team. we're going to be buying in Visual Studio Team System - Developer Edition and using the workgroup edition of Foundation Server for source control etc. There may come a time when i have to buy in more contractor for a project and only really want to be buying them Visual Studio 2005 Pro. If i do this will they be able to access the SourceControl and Source Code in Foundation Server without purchasing anything else Or will i need to buy an add-on Is Foundation Server Workgroup edition any good my team is only 3 people, will this do Any help would be appreciated, Thanks, Michael Team Foundation Server Workgroup Edition provides for up to five users. You do not need a CAL (Client A ...Show All

  • Visual J# Keychars?

    hi How can i get the KeyChars i want to get the keychars and then want to respond as i get the char. How can i do that for example if i press "A" char,i want to get a message "You pressed A" Thanks for answers thanks george i solved it by doing this: private void textbox2_KeyDown( Object sender, KeyEventArgs e) { if (e.get_KeyCode().Equals( Keys .Enter)) { Messagebox.show("Welcome"); } } thanks again ...Show All

  • Windows Forms Allowing User to move a panel

    This is the deal: I have a panel with labels, textboxes, buttons, etc... on it and I want to allow the user to be able to move it around on the screen. How do I do this By handling the MouseDown, MouseMove, and MouseUp events for the panel. On a MouseDown you set a flag that the panel should move, on the MouseMove you move it to the location of the pointer on the form, offset by the MouseDown location within the panel, and then clear the flag on MouseUp. Something like the following will work: Dim MovePanel As Boolean = False Dim MouseOffset As New Point(0, 0) Private Sub Panel1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Panel1.MouseDown ...Show All

  • SQL Server Data disappearing during Run time

    When I enter data into a SQL database and save it, the data that I have just added disapears, but when I close the applicaiton and re-open it, it's still there - is there any reason for this and any way to get it to stay Any ideas Sorry about the typo, i was meaning "now". Back to your points 1.a connection to the main instance with an attached database (if by that it means a database, with a child database within it) 2. it's happening in both debugging and deployment Hope this helps - any other question please ask Cheers ...Show All

  • Architecture Server getting intimation of disconnection while file is downloaded from client side

    I have a problem, There is a file being transferred to an .Net application via HTTP protocol by a J2EE web application. Now I want to trap the client disconnection event at Server Side if Download fails from client side. I have thought some approaches but not fully satisfied with those: 1. Just open a separate thread from client that will tell the server periodically that client is alive, till file gets transferred. 2. Server should ping the client periodically, if client is available, but this would be a violation of HTTP protocol. In case 1 ,  I would have to make a service or exceutable on client side which i would like to attempt as the last case. I would like client to be just using webbrowser. Please comment on my ideas ...Show All

  • SQL Server Programmatically Create a Lookup Transform

    Hi, i'm creating a Lookup programmatically. But i can't find out how to assign the ConnectionManager that references the lookup data. Do you have an example for me Many thanks in advance. Stefan L. I am new to SSIS programming and having trouble using JoinToReferenceColumns ( http://msdn2.microsoft.com/en-us/library/ms136014.aspx#lookup ) property of lookup transformation. Can you please post a code sample ...Show All

  • Visual Studio Team System Schema Compare Problem #2

    I have noticed that when I compare a Database to a Project, and as a result of the compare, objects need to be deleted out of the Project, the objects are never deleted. I can run the compare process over and over again, the same objects show up to be deleted, I will click on Write Updates button to update my project (which should delete the objects), but the objects are never removed. Is this a known issue Or am I doing something wrong Amos. As an FYI for anyone that might be following this thread, we are addressing the performance issue in another thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1106601&SiteID=1&PageID=0 ...Show All

  • Visual Studio Express Editions Same actions for new controls...

    hi, im usig vb.net 2005 on win xp(sp2) My question is: when we create a new control, it must perform the actions which the other controls of the same type in that form do. for example: i have a form in which there is are 2 Buttons. Namely, cmd1 and cmd2 when you click the cmd2 button, it will create another button named cmd3(at runtime). But, the new button created (i.e: cmd3) must perform the same task as cmd1 did. suppose,cmd1, when clicked, displays a message; the new button created (cmd3) must also do the same task [display the same message]. So, how do I do it Please tell me.... You simply need to create an event handler for the runtime created event and hook it ...Show All

  • SQL Server Looking for a subreport does anyone has a sample

    I am new to reports and worked on few but a single report using 1 stored procedure. Any sample or webcast. now i have a requirement creating report within a report(subreport) first stored procedure will bring few records and now using a id of each row i need to bring there child records(from child table) is it possible to show master record and then its related child records. and then number 2 master record and its related child records Please help thank you very much for the information. Hi, Here is another sample: http://msdn2.microsoft.com/en-US/library/aa337490.aspx Note: if you can avoid subreports by using dataregions, you can better use dataregions since supreports are les ...Show All

  • Visual Studio Team System Is the TFS Trial download incomplete, or it is me?

    I downloaded the TFS trial edition that was posted on 3/17 expecting it to be the final version. Rather than install it, I did a search on "Aigile" and extracted the MSFAgile_new.zip file so I could have a look at the process guidance and the examples and templates. When I open the process guidance, it says at the bottom of the page that it is build 100, whereas the MSFFormal_new has build 1.000.0000. It seems that there are many examples and template files missing from the Agile (I didn't do the same check with the formal), for example: Scanario List Storyboard Quality of Service Requirement List etc. In fact every file I try from the "See Also" panel give a file not found error, and though not eve ...Show All

  • Visual C# Converting a string to a 64 bit WEP KEY

    2 Questions: I have been trying to find a tutorial on this and even asked in other forums so far no luck. What I want to do is convert a string to a 64 bit hexadecimal WEP KEY For example: Text : "santa" 64 bit hex : "DA3011B523" I also have a form the user will enter data into I want to then have the form to to a website automatically tell it what part of the site to go to and then fill in the info and press the save button on the website, is this possible and if it is how do I do it. I'm pretty new to C# but would really like to get this going. You got me interested, so I tracked down the algorithm, and converted it to C#: public void Main( string [] args) { str ...Show All

  • SQL Server SQL 2005 LDAP Query Error: Msg 7321, Level 16

    Hello I am trying to run a query via tsql against ad. Below is the error I am getting. I have read the http://msdn2.microsoft.com/en-US/library/ms190803.aspx  and changed the domain but still having issues. Any help would be appreciated.   EXEC sp_addlinkedserver 'ADSI' , 'Active Directory Service Interfaces' , 'ADSDSOObject' , 'adsdatasource' GO SELECT * FROM OPENQUERY ( ADSI , 'SELECT Name, SN, ST FROM ''LDAP://ADSISrv/ OU=Users,DC=XXXXX,DC=LOCAL'' WHERE objectCategory = ''Person'' AND objectClass = ''user''' ) Msg 7321, Level 16, State 2, Line 1 An error occurred while preparing the query "SELECT Name, SN, ST FROM 'LDAP://ADSISrv/ OU=Users,DC=XXXXX,DC=LOCAL' ...Show All

  • SQL Server SQLBULKCOPY Date Formatting Issues

    Hi guys, I have come across an infuriating problem. I have an excel spreadsheet with formatted data. I also have a SQL Server table with 17 columns all nvarchar(255). I have been trying to use SQLBULKCOPY to import the data from the worksheet to the table. This worked with only limited success as it seems to ignore certain values and insert nulls. I converted my excel spreadsheet to a CSV file and tried the same. Now it imports most of the values but seems to be very VERY odd in its handling of what it perceives to be data in date format. In certain cases it ignores the value altogether and inserts NULL, in others it inserts the value but formats it into a datetime format instead. I don't want it to do this, I simply want it to save the ...Show All

©2008 Software Development Network