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

Software Development Network >> Szymon Kosok's Q&A profile

Szymon Kosok

Member List

KaiserSozeTR
ykgreene
Jim Perry
jewelfire
mahima
z. m. khan
Marek Istvanek
Gabriel Lozano-Moran
yanyee
IMBack
Salman Maredia
ishaywei
Pawnder
Zachovich
Heino
LouArnold
grhomm
David J Oldfield
Jez9999
Marcel Vroone
Only Title

Szymon Kosok's Q&A profile

  • Visual Studio Documentation Compiler - Sandcastle

    We did code complete of documentation compiler ( code named "Sandcastle") on June 15th and currently we are testing the tool building our .NetFramework documentation. We would like to release the CTP version of Sandcastle in Microsoft download center by next week. The perf in our testing has been great as we are able to build the entire framework content in less than 1 hour. I am in the process of going through final check and code signing required to post this in our download center. Please expect the CTP in the next week or so and I will provide an update here as soon I post the CTP. Anand.. Thanks everyone for your posts. I have had several emails asking about CTP. There are couple places (download at our download cen ...Show All

  • .NET Development strange problem with loading an assembly using custom AppDomain

    I'm trying to load assembly files using a custom class, which was created through a custom AppDomain. Here's my Main code block: AppDomainSetup setup = new AppDomainSetup(); setup.ApplicationBase = @"C:\test"; setup.ApplicationName = "test"; setup.PrivateBinPath = "bin;plugins"; AppDomain domain = AppDomain.CreateDomain("MyDomain", null, setup); General.Loader load = (General.Loader)domain.CreateInstanceFromAndUnwrap("Loader.dll", "General.Loader"); Type[] types = load.LoadAssembly("TestObject"); All this does is setup an AppDomain and point it to "c:\test" and then I set the assembly folders it should look for when loading an assembly. The General.Loader cla ...Show All

  • Visual Studio Tools for Office Smart tag development not part of the vsto.

    Hello, I would like to develop a smart tag project which will deploy to all the office application as : word, excel and outlook, not just part of a specific word development. In version 1.1 smart tag were register in the registry and all the office document word, xl and outlook identify the smart tag automatically and behave as expected. Now when I develop a smart tag it must be part of word or excel application and its not what we need, Can you please solve this issue and send us a link or an example how to develop a smart tag and catch all the office documents bye regards Yaron karni. www.attunity.com - InFocus - Workplace application yaronkarni@attunity.com Yaron, PInvokeStackImbalance MDA exceptio ...Show All

  • Software Development for Windows Vista InkCanvas exception

    Help! I am using .NET 3.0 Beta 2 and VS2005 on Windows XP Tablet PC 2005 edition. Whenever I try and use the <InkCanvas> element I get an unhandled NotSupportedException as soon as the mouse/pen is moved into the ink canvas area. Full details of xaml used and exception below. The exception occurs in the app.Run method. < Grid >< InkCanvas /></ Grid > System.NotSupportedException was unhandled Message="DLL version not correct." Source="PresentationCore" StackTrace: at MS.Internal.HRESULT.Check(Int32 hr) at System.Windows.Media.FactoryMaker.get_ImagingFactoryPtr() at System.Windows.Media.Imaging.FormatConvertedBitmap.FinalizeCreation() at System.Windows.Media.Imaging.Fo ...Show All

  • Visual Studio CodeFunction - is it an override?

    Busy writing an addin that re-orders code elements - much like the MZTools but with rather specific rules - but have been struggling for a while to check if a specific CodeFunction is an override. Help, please AFAIK there is no property in the CodeFunction / CodeFunction2 classes to know that, you have to parse the source code searching for the overrides keyword in each language (VB.NET, C#). That's how I did in the MZ-Tools add-in. ...Show All

  • Windows Forms Add Shortcut to START>All Programs with .msi

    I have a windows app and have added a setup project and built the solution. When I run the resultant .msi file to install the app on my machine the installer installs the program OK but does not put a shortcut to the program in my START > All Programs list. Is there a way to direct the setup program to create a .msi file that will automatically put a shortcut there Thanks. absolutely. Right click the setup project and go to View > File System then on the left handside window pane - the "File System on Target Machine" - select it. on the right hand side window pane, right click on it and go to create new shortcut. a dialog Window will appear, select "Application folder&q ...Show All

  • SQL Server Can I setup a Global Public View in SQL Server ?

    I need a master view that gets data from different DBs located on the same SQL Server (similar with Oracle feature that allows to get data from different schemas). Is it possible to create such a view Thanks Yes you can do it: Create view my_view as select * from database1.schema3.table3 join database2.schema5.table6 on .... union database3.schema5.table8 Keep in mind that if you are going to grant select privileges on this view to a specific user/role, you must grant same privileges on all underlyeing tables. To make things simpler you can also create synonyms to that tables, like in Oracle, but you have to qualify whem with database names. ...Show All

  • SQL Server Package scheduling and error trace-

    I am scheduling the package to run on the nightly basis everyday using windows scheduled task. How do i check whether the package ran successfully or it has given any error. Can anyone please suggest me if I can log the error in some table of SQL server. PLease suggest the steps. When building a package in BIDS, have a look at the logging options. See the SSIS menu item, Logging. You can log to several locations including a table. I would expect DTEXEC to send the appropriate return code when it failed, so the scheduled job should fail. Unfortunately the windows scheduler is not very advanced, so you cannot capture output or configure the return code. The lack of output and monitoring mean ...Show All

  • Visual Studio 2008 (Pre-release) Struggling with svcutil

    hi I have several services in my solution. There is multiple data classes that get shared across these services. When I try to use svcutil against several of my services at the same time, the proxy that's spit out, in addition to many parsing errors, does not handle the namespaces well, and there just seems to be an abundance of problems getting the different service proxies to play nice. I tried using the namespace switch, but it didn't like the following: svcutil [service1] [service2] /out: myproxy.cs /namespace: Value.Value.Val The svcutil chokes on the namespace. I've resorted to using WSDL to build the proxies, and that seems to work fine. But the problem there is that the /sharetypes switch doesn't seem to work wit ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Load/UnloadGraphicsContent

    I'm guessing that the Load/UnloadGraphicsContent is there to allow the runtime to make a game release resources and then reload them, in the following order: 1 / Game loads, LoadContent is called, and game can load graphics anytime after this point if it feels the need, e.g. when loading a level. 2 / Runtime requests game to release content - so UnloadGraphicsContent is called. 3/ Runtime requests game to reload content at some point, presumably before Game.Draw is called again, else we would be in trouble... Is this correct And also, I presume there might be a point before which you are allowed to load any content - is this the first time LoadContent is called, or before that 1: Yes, you can ...Show All

  • Internet Explorer Development AdBlock for IE

    I write something like adblock for ie. It has to parse the page, find unwanted ads and replace them with wanted ads. The problem i faced is when to parse and what to parse. My first idea was to do parsing in a temporary mime filter, but in this case there is a lot of "unresolved" code (internal/external scripts that can modify documen and are executed after parsing). It is also possible to make filter for image/*, load wanted ad myself and return it in filter's Read method but i have to modify ad's "href" so the problem is not solved completely. Also, this approach does not work for activex(flash). After that i tried to parse DOM from BHO, but in this case unwanted objects are displayed for a while before I can replace ...Show All

  • Visual Studio Tools for Office outlook 2007 categories property

    Hi All, I'm using an application which Puts a string into the categories property of the outlook mail. In outlook 2003 this string value is retained in the categories property across mail forwards and replies. I noticed we access the application from outlook 2007 beta client, then while replying to a mail that category property is not retained (it becomes null). Any idea why is this happening in outlook 2007 Is there any work around to solve this. Thanks in advance I don't know of any way to accomplish that unless you have a considerable amount of control over the recipient's machine (which would allow you to consider using a custom Outlook form or an add-in). ...Show All

  • SQL Server column alias as variable

    Is there a way to select a column as an alias using a variable for the alias something like this: SELECT Column1 as @myVariable FROM Table1 The user enters a period length such as 30 days and the report displays the period date ranges as the coulmn name of a pivot. like this: Location 1-30 31-60 61-90 Texas 10 3 2 Florida 5 8 7 ...Show All

  • Visual Studio 2008 (Pre-release) Activation of Multiple Services in IIS

    I have an application (ported from a legacy Remoting app) which must host multiple services. All services use the same base address and bindings. One service - the one initially activated via self-hosting or IIS - is essentially a factory for the other services. It activates the additional services as needed based on client request, and passes activation arguments to the constructors of these classes (ie, it first constructs the service class, then passes the object instance in the ServiceHost constructor). Once started, the service will be used by any client having the same activation token. This all works fine when self-hosting and using tcp, http or named pipes, but fails miserably when hosted under IIS. The first problem has been t ...Show All

  • Smart Device Development Treo 700w side button

    This question is specific to the Treo 700w. I want to get the state of the side button, whether it is being pressed down at the moment. I tried to use GetAsyncKeyState() with every number from 0 to 255 while I was holding down the side button. Then I played around with what window messages I could get because if I could get a window message when the button was released, then that would be ok as well. So I did SHSetAppKeyWndAssoc(0xc6, hDlg); But the only window message generated was WM_KEYDOWN. Then I tried RegisterHotKey(hDlg, 0xc6, MOD_WIN | MOD_KEYUP, 0xc6); But I got both WM_HOTKEY events, the one for the the button press and the one for the button release in immediate succession, even though I was still holding down the bu ...Show All

©2008 Software Development Network