lee d's Q&A profile
Windows Live Developer Forums Java Applet in Messenger Activity?
I have tried to create a small multiuser test activity using the MSN Messenger Activity SDK. I have successfully created a local XML file for the messenger directory. I have also succeeded in inviting another user to participate in the activity and is redirected to the HTML page deployed on my local web server. So far so good! I want to implement some of the activity functionality as a Java applet but where the applet should be displayed there is only a grey area (as if the applet is not initialized properly). When I access the Java applet directly using a browser it works perfectly. Is it not possible to embed a Java applet in the HTML to be embedded in the MSN messenger activity window How can this be acheived ...Show All
Visual C# Unable to insert new register in database
I am trying to insert a new register in my database. I have created the TableAdpater for it and set the GenerateDBDirectMethods to true, so I have the Insert/Delete/Update methods available. I have a form with just one button that I use just for testing. Every time that I click that button, the following function is called in the OnClick method: MyDataDataTable.Insert("sample text","sample text","sample text","sample text"); Right after I click that button, I return to the Visual Studio 2005 Server Explorer and open the table, but no data has been inserted. Thanks for helping me. hi, i'm not sure about your code to update the database you suppose to ...Show All
Software Development for Windows Vista Realtime performance of DAWs
I do a lot of audio recording, mixing and processing using Steinberg's Cubase SX 3. I also do a lot of midi sequencing work in the program. I am always on the search for more performance because i am always running out of CPU power and this is especially true for low latency real time sequencing. What i want to know is what approach Vista will have with the digital audio industry does it aim to make improvements to the way audio and midi is processed or how it is supported in digital audio workstations Windows xp has been a good base for DAWs but in my mind it has had some shortcoming as well. Midi timing can be notciably loose during heavy CPU usage and CPU usage can double when the buffer is dropped from 1024samples to 64 ...Show All
Visual Studio dexplore.exe from VS2005 takes a lot of memory to run
Hi, Installed VS2005 professional (Release), and when I run MSDN library for Visual 2005, it takes above 200mb on start - dexplore.exe takes that abount of physical memory. Also, the same problem happens with VS2005 itself - it takes more than 200mb while it starts. If I will start another VS2005 instance - it will take 200mb too, and thats a problem for add-ins development. Please, let me know, is there any way to fix this issue. Few lines from the about box: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Enterprise Sorry to say but I am running the VS2005 SP1 Beta (from Microsoft Connect Beta Program) and the problem occurs here ...Show All
Visual Studio Express Editions startup and Settings
Ok, I'm creating a program that saves your settings, when you enter them. the Problem Im having is loading the saved settings on startup. EX: Imports Microsoft.Win32 Public Class Form1 Dim rk As RegistryKey = Registry.CurrentUser Dim myKey As RegistryKey Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load myKey = rk.OpenSubKey( "Software\Microsoft\Windows\CurrentVersion\Run" , True ) myKey.SetValue( "GRRTEST" , System.IO.Directory.GetCurrentDirectory.ToString & "\GRRTEST.exe" ) My .Settings.Reload() Me .Refresh() txt1.Text = My .Settings.Set1 txt2.Text = My .Settings.Set2 txt3.Text ...Show All
.NET Development Interop COM: SOMETIMES, com object become System.__ComObject.
I have to interop with COM and transport the IUnknown pointer between managed and unmanaged code. I used to create the COM instance in managed code like: appDomain->CreateInstanceFromAndUnwrap to create Object and pass it IUnknown pointer to unmanaged Code. Later, I get the IUnknown pointer and try to get the object like: step1: Build a Variant using IUnknown pointer; step 2: Marshal:: GetObjectForNativeVariant. In the most time, the procedecure works well. :( The PROBLEM is the return value of GetObjectForNativeVariant sometimes become System.__ComObject. The PROBLEM is ramdom. :( And I can not point out the reason) I has tried Activitor::CreateInstance, it doesn't work well, too. ...Show All
Visual C++ CTabCtrl drawing problem with XP Style
VC++ 2005 MFC. I'm using a CTabCtrl. The control works just fine if I do not include a manifest for XP Style. If I include a manifest for XP Style, the CTabCtrl stops drawing on most of it's client area. By stop drawing on most of the client area, I mean it draws about 4 pixels from the top and left correctly and everything else is not drawn. The controls on top of the CTabCtrl are drawn properly, it's the background and bottom/right borders that do not draw. By not drawing I mean it just keeps whatever was on the screen there before. If I drag a window across it, I see the remanents of the dragged window. It's like the CTabCtrl just decided to clip out everthing below & right of (4,4) of it's client area. Another way to visua ...Show All
Visual Basic My.Computer.FileSystem.GetTempFileName
If I create a temp file using My.Computer.FileSystem.GetTempFileName, what determines how, when or if this file is deleted by the operating system Can something be done to control this It does the creating and returns the path to that file...any other manipulation of the file must be done by your app.... Dim ThePath As String = My . Computer . FileSystem . GetTempFileName () System . IO . File . Delete ( ThePath ) ...Show All
Smart Device Development Can i create a user control for pda?
Because i have made an userControl for pda in C# but when I deploy my project I have this error: Error 1 Deployment and/or registration failed with error: 0x8973190e. Error writing file '%csidl_program_files%\MyPrincipalProyect\system.windows.forms.dll'. Deployment and/or registration failed with error: 0x80070070. There is not enough space on the disk. Device Connectivity Component If i take off Using system.windows.forms; i can't deploy You run out of space on device. That usually happens if you have a reference to some desktop DLL by mistake so VS deploys 15-20 MB of desktop assemblies. If that’s not the case you might be truly out of space on device. ...Show All
SQL Server How to compare SQL server stored procedures from two separate databases?
Is there a straight forward way or a tool to compare SQL server database objects, such as stored procedures located in separate databases There are several free tools that do this. The one that I use is SQL Effects Clarity CE. It compares tables, stored procedures, views, functions, users, roles, etc. You can download it here: http://www.sqleffects.com/sfxClarityDetails.html Hope this helps. ...Show All
SQL Server Create Maintenance Plans on SQL2K and SQL2005 w/SQL Mgmt. Studio?
I don't see any way to run the Maintenance Plan wizard against my existing SQL2K or SQL2005 DBs using the MS SQL Maintenance Studio. I read in another thread about having to install SSIS, and I think I have that on the SQL2005, but how is it done against the SQL2K DBs I have dug around in the Mgmt Studio to no avail. If this thing is not fully backward compatible, then in addition to being slow as an old dog on a 2.5Ghz computer, then I really think MS has not demonstrated how cool this .NET stuff can be (or have they). What a sink for CPU cycles. Do you have SQL 2000 server tools installed as a seperate instance, if so why not schedule with this server instance. True that you have to use SSIS in order ...Show All
Visual Studio Team System Error 32000 when upgrading Team Foundation Server from beta to RC version
I am in the process of upgrading my Team Foundation Server from Beta to RC version. I faced a couple of issues such as: 1.TFSUpgradeAT.exe failed : this was resolved by manually renaming the databeses etc. 2. Windows Sharepoint Services is not using the required the Team Foundation Server configuration database (STS_Config_TFS) : this error was resolved by reinstalling Windows Sharepoint services as directed by the error message. 3. Error 32000: The commandline “C:\Program files\Common Files\Microsoft Shared\Web Server Extensions\60\Bin\Stsadmin.exe” –o setconfigdb –database server “<TFSName>” –databasename “STS_Config_TFS” returned a non zero value: -1 I tried all possible solutions that were mentioned in the ...Show All
Visual C++ Help with a VS C++ file
I have a Visual Studio C++ file that I need to combine with a VB6 file. Preferably, I would like to go ahead and update the VB6 file so that it is completely tied together in VS 05. I need some help with the C++ file so that I can combine the two functionalities. Is there any way to use a form created in VC++ and apply it to a VB2005 project or vice versa. The C file is being used to communicate with a USB device and the VB file is communicating with a Can Bus. Any help would be greatly appreciated. "VB 2005 project" and VC++ project doesn't give enough information. "Combine" is a vague term. Suppose you were talking about a VB.NET executable (which can be written in VB 2005), and you have C++ code you want to c ...Show All
Visual Studio Team System 'Custom' parameters in queries
Hello, Is there a way to add a custom parameter to a query so it will be prompted to the user when he/she double-click the query to open it. To give you more details, we are looking for creating a query that will accept a list of work item IDs and return all the issues that matches these IDs. A convenient way will be for us to specify this kind of condition when building the query: ... And ID In @myIDList ... We tried that, but it seems to be not supported. Thanks for your help, Gaetano. OK. Any chance you will add this feature in a future release I will vote for it if this is the case. Thanks, Gaetano. ...Show All
Visual Studio Vss data store
When Vss will use sql server like data store If you have Visual SourceSafe installed, you just need to switch the source control provider in Visual Studio. Start VS2005 Do Tools->Options->Source Control On the Plug-In Selection tab, choose Microsoft Visual SourceSafe Now, any projects you put under source control with use VSS on the back end. -Brad ...Show All
