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

Software Development Network >> Kamil Janiszewski's Q&A profile

Kamil Janiszewski

Member List

alphaswoosh
Tej62007
lee_70
guppie
raj.ramesh
Tanya 2006
LLeuthard
Zerrin
ahmedilyas
Darrell Davis
Strandberg
Sunath
IBuildStuff
los1975
Aidan Ryan
smarr
Gravy
newbieneedshelp
cisco0407
Samoyed
Only Title

Kamil Janiszewski's Q&A profile

  • Visual Studio Tools for Office use excel add-in on the client side without installation

    hi guys i have created a excel add-in using VSTO.. i have got the setup of excel add-in but on the cient side i dont want to use that setup. is there any way possible way to use excel add-in on client side and avoid excel add-in setup. ...Show All

  • Software Development for Windows Vista Statemashine workflow - handleExternalEventActivity

    is that the  HandleExternalEventActivity must have to handle a different event in a Statemashine workflow why Can't  they  hand the same event  like "approval"  it is impossible to define a lot of events. start A->B-C->D->end i have to define 4 events(like public event EventHandler <FNB.Common.Interfaces. WorkflowReviewedEventArgs > WorkItemReviewed; ; start A->B-C->D->E->F->end i have to define 6 ; ...Show All

  • Windows Forms Dynamic Property Grid Enum

    Hi everybody, I’m having trouble solving an issue that I’m not even sure is feasible. I have the following scenario: A class library (LIB1) with a class called BaseItem{ int Id; } Another class library that references LIB1 with a class called: DerivedItem : BaseItem{ string Description; } And a Console App that references both. What I need to be able to do is in the console application type: DerivedItem d = new DerivedItem(); Console.WriteLine(Properties.Description); And the output be "Description". What I’m trying to do here is create a dynamic enumeration ("Properties") with all the properties in the class. So in the case of DerivedItem, this enumeration would look like the following: ...Show All

  • Windows Live Developer Forums Virtual Earth SDK in C#/.NET project, etc

    Hi, Anyone can tell me if it possible use the Virtual Earth SDK in a C# project. How can i do it Thanks Our MapDotNet Server 2007 product (available early 2007) has a MapNavigator Control that VE displays in. It also supports the ability to connect to several spatial DBs (ArcSDE, PostGIS, Oracle Spatial, etc.) and display and query the data on top of a VE Map. All in Visual Studio 2005! MapDotNet Server and VE Demo: http://server1.ischosting.net/Elections/ http://www.goisc.com/products.htm Benton Benton Belcher MapDotNet Product Manager I.S. Consulting ...Show All

  • SQL Server Error 1 Parser: The syntax for the ImpersonationInfo object is incorrect

    Error 1 Parser: The syntax for the ImpersonationInfo object is incorrect. If the ImpersonateAccount value is used for ImpersonationInfo, then the Account property cannot be empty.  0 0  I am getting the above error when I am trying to deploy my objects. I am trying to deploy this on a named sql 2005 server. The host also have named sql 2000 instance. Hi, U r sugession is very helpful to me. Thanks a lot Naveen Chaitanya. ...Show All

  • Visual Studio Express Editions Problem in Printing using API CreateFile();

    I have used Following Code to print to the LPT1. It is printing but only when i close my handle. Here is a code I have written. This is a impact printer (24 columns) UINT PrintThread(LPVOID lp) { while(stop) { if(Prn) { Prn = 0; HANDLE hLPT; unsigned char ch; unsigned long lLen; hLPT = CreateFile("LPT1", GENERIC_WRITE, 0, 0, CREATE_ALWAYS, 0, 0); if(hLPT == INVALID_HANDLE_VALUE) { AfxMessageBox("Cannot open port"); return 0 ; } WriteFile(hLPT,str,size,&lLen,NULL); // Data to be printed ch = 0x0F; WriteFile(hLPT, ...Show All

  • Visual Studio Express Editions Array of text boxes

    I need to organize some text boxes into an array. Assume I have six text boxes names A0 through A5. I have some data to display in each. The code to do this looks a bit like this: A0.Text = Convert.ToString( data[0] ); A1.Text = Convert.ToString( data[1] ); etc By the time we code up all six, and when more processing is needed, it gets rather ugly. I would like it to look more like this: for ( x = 0; x < 6; x ++ ) text_box[ x ].Text = Convert.ToString( data[x] ); Is there any way to do this with a fairly small amount of code Hello nbugz, In the first example it looks to me that when the form loads, we create new text boxes in an array and set each with the text "Hello world" Obviously ...Show All

  • Software Development for Windows Vista XAML only workflows

    Hi, It is very difficult to convert type specific worklows to xaml only workflows. Is there any help material available for XAML syntax. For example, I am writing a xaml only workflow. xaml file looks like this: <ns0:SampleWorkflow x:Name="SampleWorkflow1" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/workflow " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " xmlns:ns0="clr-namespace:CustomActivityBinding;Assembly=CustomActivity, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"> <ns0:CustomActivity1 x:Name="print1" NameToPrint="{ActivityBind Name=SampleWorkflow1, Path=NameToPrint}" /> <ns0:CustomActivity2 x:Name="print2" ...Show All

  • Connected Services Framework Reference materials

    hi all, I am trying to explore CSF in detail. Have installed the Dev Lite Edition on my Windows 2003 Server machine ( with .Net Framework 2.0 ) and am trying my hand at the HelloWorld sample application. However, it seems there is very little technical reference available online. Can someone please suggest any appropriate resource(s) where one can get an excellent understanding on how to proceed with CSF based developments from the scratch Any help would be appreciated. Thanks - hiren Thanks Tilak, Please find the Session Input and Output Trace information. Input Trace Information < xml version="1.0" encoding="utf-8" > <log> <inputMessage ut ...Show All

  • Visual Studio Express Editions Saving Data

    Hello, I have a form and I can use the data binding tool with my access DB with no problems but I cannot figure out how i save things manually, I want to save specific data to specific columns in a table, could somone point me in the right direction or post some kind of example Thanks! heres what i have so far "which doesnt work" Try Me .Validate() Me .ContractsBindingSource.EndEdit() TextBoxVat.Text = Me .InvoiceDetailsTableTableAdapter.Update( Me .db1DataSet.InvoiceDetailsTable.Address1Column) MsgBox( "update successful!" ) Catch ex As Exception MsgBox( "update failed, the data may already exist please check and try again." ) End Try ...Show All

  • Visual Studio 2008 (Pre-release) Binding of a visual to a parent of a page

    I have an application that dynamicly load pages into the main window. In my main window i have an MediaElement that always is loaded. It looks something like this: <Window>   <Canvas x:Name="MainCanvas">       <MediaElement x:Name="mediaplayer" Source="blabla" />       <Canvas x:Name="LoadDynamicPagesIntoThisCanvas" />    </Canvas </Window>   Now i'm trying to create a rectangle that has a visualbrush that is binded to the MediaElement, like this: < Rectangle Height = " 200 " Width = " 200 " >   < Rectangle.Fill >     < VisualBrush Visu ...Show All

  • Software Development for Windows Vista June CTP Orcas Tools Installation problem

    I've got the June CTP WinFX Runtime, the June CTP SDK. But the June CTP Orcas won't install. I get the following error messagebox. Setup has detected that a prerequisite is missing. To use Microsoft Visual Studio Code Name "Orcas" Community Technology Preview - Development Tools for WinFX you must have the WinFX runtime installed. Please install the WinFX runtime and restart setup. Does anyone know how to resolve this I know that WinFX is correctly installed, because I've run many samples, and Expression and XamlPad run fine too. Is there any way to convince the Orcas installer into believing that WinFX is installed I just did an fc/b with the June CTP Orcas tools and the Beta 2 Orcas tools. They are the same file ...Show All

  • Visual Studio Tools for Office How to create XMLNodes on runtime -word?

    Hi I'm using VSTO 2005, Word Document, C#. I want to create some XMLNodes on runtime, how do i do that To be more specific, i have the an Schema attached to the document, with an element that can be repeated (minOccurs = 0 and maxOccurs = unbounded) that is recognized as XMLNode s and it's about a list, something like: Item 1 subitem1 subitem2 subitem3 So i need that when i click on a button at the end of the list, i can create an "Item 2" and all its subnodes how do i do that with code in C# Thanks for your time Odd, I'm getting them like this <bookstore><book></book><book></book></bookstore> with the code below. ...Show All

  • Visual Studio How to carry user input from the custom wizard to the new project

    Greetings, I've created a custom template wizard that will create for the user a new C++ project in VS2005. I am using this wizard in tandem with a customized experimental hive. In the wizard, I have customized a page to include common form elements (i.e. textfields, buttons, drop-down lists). Once the user has clicked the button to complete the project template setup, I would like to take the information he/she submits and propagate it to the development environment in some way so that I can retrieve it. Specifically, I have customized the experimental hive with a property extender. the property extender is only activated for a certain type of project, namely the project type that I am now creating a wizard for. I would like the inf ...Show All

  • Visual Studio Express Editions What is the quickest way to determine the height/width of a computer's screen?

    What is the quickest way to determine the height/width of a computer's screen in Visual Basic I ask this question because I want the program I am writing to scale to about 80% of the available screen area. thanks for any help! That would be the Screen class and it's PrimaryScreen/WorkingArea properties: MessageBox.Show(Screen.PrimaryScreen.WorkingArea.ToString()) WorkingArea does not include the space taken by the task bar. If you need to include that too use Bounds instead of WorkingArea: MessageBox.Show(Screen.PrimaryScreen.Bounds.ToString()) If you have multiple monitors using PrimaryScreen may not be a good idea because your form is not necesarilly displayed on the primary screen. Yo ...Show All

©2008 Software Development Network