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

Software Development Network >> AlanKohl's Q&A profile

AlanKohl

Member List

Joel Hensley
StumblingInTheDark
dmkp231
jcarlos.net
greenmonkey
Mnd1
Kybalion
GethWho
Howard Pinsley
mlewus
Alex Farber
Astericks
OracleDBA
PublicError
Louisd
Keith Brown
Marauderz
Nagu
c0d3bl00d3d
Garrett Serack - MSFT
Only Title

AlanKohl's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. How to do buffered input?

    in the initial release of the GSE, the documentation tells how to retrieve the current state only of the keyboard and mouse. in my opinion and experience, buffered input is more convenient and accurate because it can capture any "input event" since the last call to update, regardless of the speed of the system. also, the documentation doesnt tell how to retrieve the distance travelled by the mouse since the last call to update, which is very important especially for FPSs, only how to retrieve the current mouse cursor position is documented. We just added a component for keyboard input. http://www.xnaspot.com/samples/sim ...Show All

  • SQL Server OLE DB Source Editor

    hi, I am using SSIS to extract data from sql server and import into MDB file. In the process, under data flow task, I have used OLE DB Source Editor as source. Here i have choosen SQL Command as mode of data population. In the box below i have typed the following statements. "Exec Site_Address" I have used many temperory tables in this procedure. When i run this procedure in the query analyzer window i get the desired data which has to be imported to an MDB. After typing the above statements and when i click the button preview i can see the data. But when i click the Columns.... i dont see anything there. I am unable to see any columns there. This is getting to my nerves because, when i use OLE DB as Destination i am unable ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is it required only VS Express version?

    I use the VSTS. I can't install XNA Game Studio Express. As already stated you need to have C# Express to run the Framework. And you will find that all of the express products will run side by side with the team system (I have them running now). You will also find that you can install the vs 2002 and 2003 systems as well. ...Show All

  • .NET Development .net remoting register 2 channel for 2 service.

    I'm using .net 1.1 working with .net romoting. here's a question, I want register 2 channels and publish 2 service. I want to publish each service for each channel. But when I publish 2 serverice. ervery channel can visit the 2 service. how can I do. thank you. What is the security solution How is it tied with the channels If it's a custom sink, then you can check the service URI yourself. ...Show All

  • .NET Development How to get a list of colors used in Image...

    Is there a way to get a list of colors used in a Bitmap Right now I am sampling every pixel in the bitmap and counting the color usage. Is there a better way to get the colors used and the frequence of that color use Thanks! Bob Yea it is really slow. I am trying LockBits, then copy it into a bit array.  I can step through that much faster. Even though it is still managed code...  I guess the interop copy is not managed Thanks, Bob ...Show All

  • .NET Development I am using VS 2005 to do my project. But the Microsoft visual Basic Compile pop-up window is so annoy. I have no idea why it k

    I am using VS 2005 to do my project. But the Microsoft visual Basic Compile pop-up window is so annoy. I have no idea why it kept showing up. The terrible thing is that once it shows-up and when I click "Don't Send" button, it just keep come back until I click "Don't Send" for dozen of times. This is really annoy. Anyone has suggestion to turn this thing off Thanks gao Hi, Scary message, not much to do. You can report it to Microsoft as they are trying to finalize the first service pack for .net 2. Is this only happening with 1 project or for any other project. If all of them are complaining you can reinstall it at it seems damaged. Regards ...Show All

  • .NET Development Invoking managed code from unmanged code failed

    I got into a trouble of invoking managed code from unmanaged code. I have a managed assembly A including some COM object and registered for COM interop. and another COM Module B in natived code. Module B import the tlb file generated by Module A and invoke that through that interface. The problem is: afte invoked a couple of times. the application threw an AV and crashed. I runned that in Windbg and it stops at 0:000> k ChildEBP RetAddr 0012e44c 79f1ed6a mscorwks!COMToCLRWorkerBody+0x129 0012e4a8 79f1ec81 mscorwks!COMToCLRWorkerDebuggerWrapper+0x37 0012e67c 00a7aab9 mscorwks!COMToCLRWorker+0x164 ... 0:000> .lastevent Last event: 168c.f50: Access violation - code c0000005 (first chance) 0:000> u mscorwks!COMToCLRWorker ...Show All

  • Microsoft ISV Community Center Forums hello, very new to VBA, (?) silly question coming.....

    Hi there, and thanks for reading this! I am new to VBA and have an excel spreadsheet with a form in it that I would like to use with a drop-down list to enable people to login to the spreadsheet. I have managed to make the form appear when the workbook is loaded (I told you I'm very new to VBA!) and now have a form that shows a drop-down box and a text entry field. I would like to be able to use the drop-down box to lookup a list from a spreadsheet (preferably an external sheet but it can be internal to the worksheet if this is not possible) to select a list of user names... This is my first hurdle... After that I am hoping that the user will enter a password that will also use some sort of lookup function to the same worksheet to deternin ...Show All

  • Visual Studio Feedback on Prototype Style in Sandcastle

    I am looking for customer feedback on the "Prototype" style in Sandcastle. It will be great if you provide me with input on redisign of member pages with tabs and our use of language filers in this style. Also should we adopt this "Prototype" style for our official documentation shipped in future versions of Visual studio Waht do you think I will blog about the details on "Prototype" style seperately. Cheers. Anand.. Hi Anand, I would like to see the language section behave like a dropdown box and not automatically show when hovering over it in both the Prototype and VS2005 styles.  I second the motion that, when jumping from topic to topic the language section should reme ...Show All

  • SQL Server Importing related data

    I need to recreate a SQL 2005 db in a SQL 2000 server. So far I was able to recreate database schema, but I don't know how to import the raw data. I tried copy-pasting table data to the new db using SQL Server Management Studio Express, but there's a problem - the identity columns do not retain the correct values. For example: Old db table ID Username ------------- 15 Peter 45 James When pasting the same data to teh new db, I would get this: ID Username ------------- 1 Peter 2 James You can see the ID field values become different (since the ID attribute is an identity and the table in the new db is empty, the db picks the values 1 and 2 for the two records) and now when pasting data into related tables, I get the error because table ...Show All

  • Gadgets This is not a valid gadget package!! grr!

    hey, So i finished creating my gadget, i use winzip to zip it up to mygadget.gadget and then double click to install... However it just says: This is not a valid gadget package The gadget works if i move the folder to the windows gadget directory! Does anyone know how to fix this problem Regards Is indeed interesting... I have; /images/ ** Docked.PNG *** play.PNG *** stop.PNG /en-US/ * /css/ ** Radio.css * /js/ ** Radio.js * gadget.xml * Radio.html * Settings.html and then in the root directory i have three things, drag.PNG, icon.PNG and logo.PNG now, i have tried making it so EVERYTHING is in the root directory, this does not work h ...Show All

  • .NET Development Help C# SQLTABLES

    I am really confused. Ive been reading msdn about the SQLTABLES function. AM i able to use this function and others like SQLColumns in the .NET 1.1 environment with the c# language . SQLTABLES is part of the ODBC interface. I want to use it to retrieve information about a table. Can this be done If so what classes or namespaces need to be included NEED help Thanks Hi, From what I understood, I think what you want to do is to retrieve information about a table schema. This can be done using with the Connection.GetSchema function you can find information about this topic in the article Schemas in ADO.NET 2.0 that is in the msdn. Best Regards, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 3D Playing Cards ?

    How would I approach a 3D representation of a playing card(s) If using a model, would 52 different models be required so that each card has it's own texture Can user primitives (i.e. 2 triangles to make a card shape) have different textures on each side What would be the best method for this C# is heavily object oriented. You would be smart to learn all you can about objects and instances for the moment, but continue to learn beyond that. The reason I say that is when you approach this question from an object oriented standpoint, the answer falls in your lap. You would want a class called card and create 52 instances of your class with each one having a unique value for Card.rank and then key what t ...Show All

  • SQL Server Reporting Services Matrix Reports Repeating row labels

    Is it possible to repeat the row labels for matrix reports where there are multiple groups. So if the matrix report rows are department,division,employee then have all three labels show up on each row not just at the breaks. Cannot seem to find a way to do this. thanks ...Show All

  • Smart Device Development New menu item in Outlook Contacts Menu

    Hi! Like the example that goes with WM 5 SDK, just Medical History example, " C:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Samples\CPP\Win32\Medicalhistory\ MedicalHistory.sln ", i'm traying to make the same in Smartphone application, but i can't, and i don't know why this example don't works properly .. I'm developing a smartphone's app that's works with outlook contacts and i need to add menu option in the standard outlook contacts menu, just like a "plug-in" to add special information when future users add new contacts .. please!! Help me!! This forum is intended to deal with issues directly related to the .NET Compact Framework. It appears t ...Show All

©2008 Software Development Network