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

Software Development Network >> Ken Elmy's Q&A profile

Ken Elmy

Member List

imranmp
soul creator
Kernel Panic
DongMT
Chuck S.
prk
Philip Tolk
Mark Pitman
fode
kidwidahair
barkingdog
Prathapbolar
creaturita
Eagle 101
Mark Hancock
Awais786
PMancini
vhhughes
AJ13
NorCis
Only Title

Ken Elmy's Q&A profile

  • Visual C++ Because com and DCOM is the old school ,it is not necessnary to study com and DCOM technology in vs.net platform? I want to kno

    Because com and DCOM is the old school ,it is not necessnary to study com and DCOM technology in vs.net platform I want to know what is the replacement for COM and DCOM in .net. I appreciate your answer. .NET Remoting is the successor to DCOM. .NET objects in general have COM like behavior built right in. The only time you really need to think about COM in the .NET world is when you have legacy compatibility requirements. ...Show All

  • Visual Studio Shared Add-in for Excel 2003 using Visual Studio 2005 Pro

    Hi! I have problems to get my new Addin up and running through Excel. For some reason it doesn't seem to load to Excel 2003. I am using the integrated Wizard, I am doing like this: New project -> other project types -> Extensibility -> Shared Addin, then i am checking Visual Basic, Excel as host application and that it should load on Application launch. Then i try to run the addin, whilst i have a break point on Onconnet method. But for some reason it doesn't stop there, and the addin isn't visible from Excel. I have tried to make an add-in for Visual Studio itself, via the Visual Studio addin template, and that works fine. Do anyone have any suggestions Best Regards Kjell Nilsson Ok. Thanks for you suggestions. I have alr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. standalone content pipeline

    Hellow guys! I need to create a ContentPipeline object away from xna framework class Game. Do you know a way to make this thanks! Shinji Microsoft Student Partner Joel Martinez wrote: I'm not entirely sure what you're asking. 1. are you asking about how to remove dependencies on the Game class what functionality from "Game" are you using or 2 . are you saying that you want a custom content pipeline class which is not part of your main game project if so, this can be accomplished by adding a new game library project to your solution. Any other project that needs to reference/use classes from that library simply needs to add a project reference. I wrote a control with xna graphics device and I want t ...Show All

  • Windows Forms tabcontrol + how to get old index on index change event

    I am using c# + .net 2.0 and I am trying to find a way to get the old index of the tabcontrol at the selectedindexchanged event. private void TestTabCtrl_SelectedIndexChanged( object sender, EventArgs e) { // how to get the old index } in .net 2.0 you have several other events that you can use instead of SelectedIndexChanged() so that you have more control over the change behaviour. The events that you should look at are (listed in the order in which they fire): Deselecting() Deselected() Selecting() Selected() SelectedIndexChanged() ...Show All

  • Microsoft ISV Community Center Forums DAO can't connect to Access2007

    Hi all, I'm using DAO to connect to an Access2007 database file. But it reports such an error "unrecognized database format". Does anyone know if MS supports using DAO connect to Access2007 Is there a new release of MDAC along with its Office2007 Thanks in advance, - Haojun Does anyone have some experience with working with DAO and Access2007 Could give me some tips Or maybe where I can find the answer Thanks, - Haojun ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Managed DirectX much slower than OpenGL

    I'm trying to port a trivial 85-line OpenGL demo to .NET and Managed DirectX: http://www.ffconsultancy.com/free/bunny/ The program simply loads a mesh, does a little computation and then renders the static vertex data. The OpenGL code uses a display list and the driver is free to optimise that. In DirectX, I'm using compiled, write-only vertex and index arrays, requiring only 1 call to DrawIndexedPrimitives per frame but it is still vastly slower than the OpenGL. Moreover, Managed DirectX requires 2.5x more code! Why is this so slow OpenGL is 13x faster for the 70ktri bunny and 50% slower for the 800ktri dragon. Here's the 200-lines of .NET code (F#) that tries to mimic the 85-line OpenGL program: #I @"C:\WINDOWS\Micro ...Show All

  • Visual Studio Team System Intellisense in TfsBuild.proj for the custom task

    Hi, How to get the intellisense for the custom task in TfsBuild.proj Thanks in advace. That's a great question. I did some quick experimenting and searching (on www.live.com :) ) We don't currently publish a specific schema for Team Build, but you can get some basic MSBuild intellisense by changing the Project element at the top of the file to look like the following: < Project xmlns = " http://schemas.microsoft.com/developer/msbuild/2003 " > If you look at a .csproj file, that's what it has at the top. In the next version, perhaps this will already be in the generated Team Build file. Hope that helps, Jason ...Show All

  • Visual Basic Decimal places for a percentage value

    I've the following code: Dim percentagem As Double percentagem = (valor.TotalSeconds / sumTotal.TotalSeconds) Format(percentagem, "Percent") This gives, for example "78,23%". I need to round the displayed value and have "78,2%", this means, I only want 1 decimal place. Now I'm getting two decimal places. I've tryed: Format(Math.Round(percentagem, 2), "Percent") but I'm getting "78,00%". Wich function should I use to display the values like I pretend Thanks, Joao Pinto If you're just trying to print the number out, then try using a composite format string. For example Dim num As Single = 3.1442 Dim result As String ...Show All

  • Visual Studio Team System Load Test Time and [Warm-up and Cool-down] reporting questions

    I am presently evaluating Visual Team Studio for Testers. It seems that when a load test ends all connections stop at the same time. Is there any way to stop a load test properly, when all test iterations are complete I guess it will be very useful to setup the duration of a load test by the number of test iterations or a combination of number of test iteration and time Also, regarding the reporting (after export and import result), it does not seem that I get all counters data during the warm up (Graphic shows when the first step start but not teh 30 second warm up) Due the Hard end of a load test (my previous question) I can't get data of the servers after the test. In other term, I would like to report the status (CPU, RAM etc. ...Show All

  • .NET Development create a exe file...

    can we comple our c# .net program as a normal exe(win 32 application) file rather than compile it as a MSIL which run on top of CLR. for example in java there are tools to create exe files from the class file  ... is there are tools to create a normal exe file using MSIL code   thanks ishkmi thanks Michael 1 benifit that i hope 2 get is the performance .. and the second is i want to prevent someone that can see the in side of the coding using ildasm etc. any one have an Idea.. ...Show All

  • Windows Forms Retrieve Object from ListBox

    I've got a OleDBDataReader object whose values I want to store in a ListBox for user interaction. The values I'm storing in the ListBox are the users first and last name (this is the displayed values). And I'm storing in the ListBox the users Social Security Number. I have done this by way of creating an object: class ListBoxStorage { public object data; public string display_string; public ListBoxStorage(object data_stored, string display_val) { data = data_stored; display_string = display_val; } public ListBoxStorage() { display_string = "Empty String"; } public override string ToString() { //MessageBox.Show("User " + display_string.ToString() + ", has the SSN of: &qu ...Show All

  • Smart Device Development CeFindFirstFile using VB6

    Ok, my first Smart Device project and I've come to a bit of a standstill, trying to find out what files are on the device. Tried the CeFindAllFiles, but from what I have read I don't think it will function in VB6. So, on to CeFindFirstFile and and CeFindNextFile. It all looks so easy. I'm confused as to how you set up the returning information. I keep seeing references to 'CE_FIND_DATA', but what is that all about If anyone has an example or ideas it would be appreciated. Bert Well, at the moment I can't take it any further. CeFindFirstFile does work but I can make no sense of the filename, which is what I need, and subsequent calls to CeFindNextFile always fail. For the next few days, I have to concentrat ...Show All

  • Software Development for Windows Vista Creating an activity's property fiels based on DB table fiels??

    Hi, I want to create a database that holds the roles and users (employee). I'm about re-hosting the designer to develop general purposes modeling environment so that the business user can model their own process. my question is can I add a field to each activity's properties so that it will look up the roles table and get a drop down list with values from that table to let the user select an appropriate role for the selected activity from that table Thanks Let me re-phrase your question: you want to have a property "Role" on your custom activity and have a dropdown list in the property browser so that user can select a role; the value for the dropdown list comes from a databas ...Show All

  • Internet Explorer Development Extract text from Flash web page?

    I need to extract some text from a Macromedia Flash page. The page itself is in HTML, but I need to extract text from the Flash section. Thanks, Yo, you'll need a program to take it apart. I've had good results with SoThink SWF Decompiler: Sothink SWF Decompiler $79.99 €71.99 Easily recovers SWF to FLA ( supports Flash v6, v7 and v8 ). Completely compatible with ActionScript 2.0 and Flash 8 , and can export every SWF element... http://sothink.com/product/flashdecompiler/index.htm Perhaps there is a trial available. BTW are you sure the text is 'in' it Some SWF's draw in text from external sources. ...Show All

  • SQL Server Cant's shrink tempdb in sql2k5

    Hi, tried to shrink 190gb tempdb but got following message: DBCC SHRINKFILE: Page 1:24027896 could not be moved because it is a work table page. Anyone know why The tempdb is almost empty, just doesn't release free space. Thanks for the info, but they don't address my issue. The problem I have is that tempdb has lot of free pages in internal object reserved page pool, but sql2k5 doesn't use those free pages when create new internal object. It expands tempdb to get more pages instead, so causes tempdb to keep growing. I got the page number of so called work table page and checked it with dbcc page to get object id it belongs to, but have no way to check if the object is still be used in the tempd ...Show All

©2008 Software Development Network