Software Development Network Logo
  • Windows Vista
  • Windows Live
  • Visual FoxPro
  • .NET Development
  • SQL Server
  • Architecture
  • Visual Studio
  • Microsoft ISV
  • Visual C++
  • Smart Device
  • Windows Forms
  • VS Team System
  • Visual C#
  • Game Technologies
  • Visual Basic

Software Development Network >> Lance Olson - MSFT's Q&A profile

Lance Olson - MSFT

Member List

yang.zhang
paddyoc
KaraB
aji123
AsadAbbasi
Brian Clark BCBSMT
cblaze22
vanWeyden
rbhatia
kinetoplast2000
NiravMehta
Roggan
crazygrey
haguila
mark brayton
lominup
jlehew
Graham Robertson
Kevin Cochran
stillaround
Only Title

Lance Olson - MSFT's Q&A profile

  • Visual C++ problem with adding callback

    The errors is trying to say that the compiler is finding it ambigious to resolve your parameter since there are 2 instances of SmAddCallback that can fit your call. You need to be more specific in the second parameter. Hope this helps! Thanks,   Ayman Shoukry   VC++ Team Hi, I changed from SmHandler __stdcall RecoTextCB(SM_MSG reply, caddr_t client, caddr_t call_data ) to SmHandler __cdecl RecoTextCB(SM_MSG reply, caddr_t client, caddr_t call_data ) and rc = SmAddCallback(SmNrecognizedTextCallback, *RecoTextCB, NULL);   However the callback event is not fired, I also tried with GetProcAddress /* ...Show All

  • .NET Development TcpClient that won't receive; self destructing

    Hi, (this code is running on .NET v2 Beta 2) I have this code that reads a NetworkStream from a TcpClient: Public Sub Read(reader as StreamReader)         Dim tmp As String = String .Empty         Dim tries As Integer = 0         Do While tmp = String .Empty             If reader.BaseStream.CanRead = True Then                 Try             ...Show All

  • Visual Studio How to emulate "Get Recursive" on source safe to see what files are changed

    I really hope this is possible, because it seems to basic. I would like to know all the files that have been updated since the last time I synced with my source safe database. If I do "Get Recursive" on my top level project it simply updates the files, and doesn't even tell me which ones. Is there some output or log I can look at every time I do Get Recursive so that I can go and see what changes have been made Thanks, Kevin The command (tf.exe) is in ...\Program Files\Microsoft Visual Studio 8\Common7\IDE This is the main command line utility for TFS version control; you can do everything from here you can ...Show All

  • Visual Studio 2008 (Pre-release) XLinQ: XName Assist

    Is there any support in the IDE that would allow for intellisense on strings I would like to be writing along... XElement data = new XElement ( "{   and then intellisense pops up with my commenly used namespaces, or namespaces to schemas I have loaded with this particular solution.  Is this possible     daveremy wrote: We are very wary about getting on the slippery slope of default namespaces based on the context. The first thing I thought when I read the XLINQ document was thank you for addressing the namespace issues.  It was so cumbersome to work ...Show All

  • SQL Server MCTS Exam 70-431 Database Administration Study Documementation and Samples ?

    Hi, I am looking for good documentation and examples to use to 'study' for Microsoft exam 70-431. This has everything to do with nuts-and-bolts Database Administration of SQL Server 2005. The December BOL examples, do not cover enough topics. The topics that are covered are not in enough detail. The 70-431 exam requirements are very detailed. This seems to be a nuts-and-bolts test. I am looking for nuts-and-bolts study material. No books are published yet. Does anyone have any good ideas on where to find 'good' samples and tutorials meant for a person who is studying for the new Microsoft SQL Server 2005 Database Administrator ...Show All

  • Windows Forms SuspendLayout and Layout Event on a UserControl

    Hi! Is there any way to force Layout event to be fired Here is what I have in mind: I have a UserControl which has a number of custom properties. Each time the value of a property changes this has impact on some controls added on the custom control. To improve peformance I want these modifications to be suspended when SuspendLayout was executed for the control. So I thought that the proper thing to do is to add the code that applies property modifications in the Layout event. What is left to do is force this event every time a property changes and let the framework decide whether to fire the Layout event or wait since SuspendLayout ...Show All

  • Windows Forms How to add custom column style to add button in DataGridCollumnStyle Collection Editor dialog?

    To open "DataGridCollumnStyle Collection Editor dialog" you need to follow these steps: 1)Open datagrid properties, 2)Click at "..." button of TableStyle property of grid - DataGridtableStyle Collection editor will appear. 3)Click on "Add" button - the dataGridTableStyle item will be added to items listbox. 4)Click on "GridCollumnStyles" property (at "..." button) of ...Show All

  • SQL Server print report on win 2000 machine

    I have created a series of reports using reporting services every hing works fine ie they are accesable via the web or via vs.net 2005 windows app however when accessed via a machine running win2K sp4 the report fails to print, initialy i'm asked to install sqlServer then error 'An error occurred trying to get current window' any ideas ...Show All

  • Smart Device Development Will there be a Compact Framework 3.0?

    I noticed that WinFX was recently renamed Framework 3.0. Does this mean we will be getting a Compact Framework 3.0 as well :P Alex, Does this mean that the CF 2.0 will be included in the ROM for new releases of PDAs and the 3.0 will be distributed Will we ever see these new releases of the CF distributed through the ROMs of the PDAs (Like the CF 1.0 is distributed now) ...Show All

  • Visual C++ How can I manipulate strings in ATL

    Some problems happened during my simple development on IE. When I try to use MessageBox to display one string, manipulated by"strcat", there is no error or warning during compiling. But when IE tries to invoke the DLL, MessageBox involved, the IE reports that there are some errors in my DLL. After removed "strcat", every thing is ok. I wonder whether perhaps the string manipulation is different from the ordinary way How can I concatenate one constant string to the end of one string variable(char *) Experts, HELP... Could you post the code (minimal please) that shows how you're using concatenatin ...Show All

  • Visual Studio 2008 (Pre-release) XamlReader + StaticResource data binding + RenderTargetBitmap problem

    I have the following XAML which I got from samples: <StackPanel> <StackPanel.Resources> <DataTemplate DataType="Hero"> <TextBlock Text="{Binding XPath=@Name }" Foreground="Cyan"/> </DataTemplate> <XmlDataProvider x:Key="GreekHeroesData" XPath="GreekHeroes/Hero"> <x:XData> <GreekHeroes xmlns=""> <Hero Name="Jason" /> <Hero Name="Hercules" /> <Hero Name="Perseus" /> </GreekHeroes> </x:XData> </XmlDataProvider> ...Show All

  • Visual Studio 2008 (Pre-release) Hosting WCF in a Windows Service?? "No endpoint listening exception"

    Hello, I'm working on an ASP.NET application that i want to host using WCF using "basicHttpBiniding" . The hosting should be done in a windows service. I've did a test by hosting the service in a console application (instantiating a ServiceHost in a console application project), everything worked fine. The same project is now transferred to be a windows service, i receive an exception "There was no endpoint listening at http://localhost:8000/HelpDesk/HelpDeskService that could accept the message. This could be caused by an incorrect address or SOAP action, among other things." Debugging teh service shows no errors b ...Show All

  • SQL Server select null value into 0(zero)

    Hi, can i know how to use a select statement to show the null value record to 0 my select statement is like this. select orderqty - deliveryqty as outstandqty from Ordertable where orderdate > dateadd(mm, -1, getdate()) so in some case the deliveryqty will be null value due to some reason. can i able to make the value to 0 so the orderqty can -0 to get a value for outstandqty regads terence chua Thanks Louis Davidson - SQL Server MVP and EISA, both of the answer also can function. thanks a lot. ...Show All

  • SQL Server How to import cube definition from SSAS 2000 to SSAS 2005

    Hi. I have a SSAS project CAB-file created in SSAS2000 and would like to import/convert it to a SSAS2005 project but I can't find any way to do this... Does anybody know how this is done  Any suggestions would be greatly appreciated! Regards Kjetil Thank you! Sorry for the delayed reply but I'be been rather busy lately. I am starting on this project next week and will try out your suggestions. Best regards Kjetil ...Show All

  • Software Development for Windows Vista Missing parameters property

    Hi I have created a workflow console application and have added some parameters to the CreateWorkflow call. I then went to add the parameters to the workflow itself as described on page 33 of the Presenting WWF book and found that I didn't have the parameters collection property available. The only parameters I have are base class, description, enabled, dynamic update condition, completed and initialized handlers. How can I get the workflow parameters editor to be displayed Thank you in advance for any help anyone can give. Marek The parameters property is no longer present as of Beta 2 and goinf f ...Show All

©2008 Software Development Network