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

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

Lenine

Member List

AksaiGora
Bryan Kardisco
Dave Kaplan
Sharewareisland.com
konstantinos_1000
Ishtiaque Hussain
Gorav
moveit
RoboRubik
Paul Mitton
Morrissey99
dtrocchio
Heinz Krug
Nick W.
k2sarah
bpsmith
mrP
rs12345
Hazara
Madok
Only Title

Lenine's Q&A profile

  • Silverlight (formerly WPF/E) rich User experience

    I guess we are at one of those times when there really is not a clear answer to a key problem and that is the delivery of rich ui experience in a browser. By this I do not mean animations and SVG but professional looking forms(input), trees, menus and dialogs. These are the artifacts that of course WinForms have and of course one can deliver much the same experience in a Web App but the energy to deliver it is tremendous. We write a lot of Javascript and CSS and then battle with the thankless and sometimes unsolvable cross browser issues. Recently we have started using controls from Telerik and I must say they are impressive. However they are just taking away some of the pain , what we really need is to have these capabilities in WPF/E as ...Show All

  • Software Development for Windows Vista Design pattern for enlisting a "plain old API call" in a transaction?

    We have a third-party workflow server process that exposes a plain old managed .NET API with the following the following methods: 1. Connecting to the server 2. Setting datafields within the server 3. Causing the datafields to be updated within server 4. Closing the server We have a business object with a UpdateServer() method that accepts a collection of datafield values and calls the above methods to store them in the workflow server. We want to include the call to UpdateServer() amongst some database update calls. We need to have these calls to execute as a single transactions - i.e. the UpdateServer() and database updates are all executed; or they are all aborted/rolled back. In EnterpriseServices, I p ...Show All

  • Visual Basic Validate textstring as DateTime

    Hello , Can this be done in VB2005Xpress Form elements: one TextBox, one Label (TextBox is used to receive Birthdate input, Label displays "<1", "1" "the age which is calculated from Today's Date - Birthdate" or " "). The age formula and the If statement for "<1", "1", "age" and " " is done. Here the TextBox is the choice for Birthdate entry. It is the most cost effective. DatePicker is excellent choosing a future date where the user want to be sure that the Day picked out do not fall for example on Sunday. Click event should be not necessary to display the result in the Label. Birthdate correct form is: ddMMyyyy Cases: 1. User type lette ...Show All

  • .NET Development Shell Hooks in .NET

    I'm trying to play around with using a Windows hook to tell when different application windows are openned or activated. It's not working right; I'm not sure what's wrong. When I first run my application, there is at most one call to ShellProc. Here's what's really confusing me: if I change the argument to SetWindowsHookEx from WH_SHELL to WH_KEYBOARD_LL, then I get every single keyboard event that happens even in other applications. This is correct behavior. But when using WH_SHELL I never get more than one event, and sometimes not even that. Does anyone have any suggestions Win32 . HookProc shellProcDelegate; IntPtr windowsHook; public ShellHook() { shellProcDelegate = ShellProc; using ( Process p = Sy ...Show All

  • Windows Forms [c#]ToolStripProgressBar on a BindingNavigator

    Hi all :) I would like to learn something about the ProgressBar. I have a form, with a datagridview that show some records of a database. During the "select procedure", i would like that the progress bar show how many time remain to the end of query which return me the records on the datagridview. Any ideas Thank you all in advance. I've found some examples on internet. After a little modify at one of them, i write this: //the bar is used when i show my results on the datagridview private void btnDataGridShowResults(object sender, EventArgs e) { //all the code to manage the datagridview timer1.Enabled = false; myBar.Value = 0; myBar.Maximum = myDataGridView.RowCount; myBar.Step = 5; timer ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Problem installing XNA Game Studio Beta 2

    I previously had XNAGSE beta 1 installed, however I am unable to install beta 2. I read around on the forums a bit, and this is what I tried: 1. Uninstalled beta 1 2. Ran Visual C# then closed it 3. Tried to install beta 2 However when I try to install beta 2, it gets through most of the install, but after it does "installing DirectX redist" it goes to "rolling back action" and tells me that the install ended prematurely due to an error. Anyone have any ideas what could be going wrong Should I try reinstalling Visual C# as well Any ideas I'm gonna go back to beta 1, but I'm afriad that I'm gonna end up doing a bunch of work in beta 1 that won't work with beta 2's API. ...Show All

  • SQL Server trigger for running totals

    Hello, I haven't had a lot of experience with triggers and I am trying to create a statement that will update one table with totals from columns in another table. Here are my two tables: tblProjects projectID projectName projectStatus PCCount PCComplete 177 proj1 Complete 100 100 178 proj2 In-Process 200 150 179 proj3 In-Process 50 0 tblPhases PhaseID projectID phaseName PCCount PCComplete 4 177 phase1 36 36 12 177 phase2 64 64 20 178 phase3 50 50 22 178 phase4 150 100 I want to have the PCCount cell for a specific project in tblProjects contain the sum of the counts of the PCCount cells in tblPhases for each PhaseID tied to a specific ProjectID. In other words, for every project in tblProjects, there are one or more phases ...Show All

  • SQL Server PPV's, Loops & Child Packages - Bug or By Design

    It would appear that if a Child package is called more than once from a Parent using the 'Execute Package' task, then after the first execute the Parent Package Variables are not applied to child package. I.E we build dimensions in a master database and these are then loaded to a number of topic specific datamarts. We simply pass Parent variables to the child that hold source & target connection strings, the first time the package is called the correct database is accessed, subsequent Executes ignore the variables and use the original values. Manipulating the (our) event queue to run the package once results in the correct behaviour Are packages cached when they are called from a Parent if so is there a flag that I have missed to fo ...Show All

  • Visual Studio Team System Restoring Documents from Document Libraries

    Hello I have two questions about the document libraries on sharepoint / in team explorer of visual studio 1) is there a way for restoring documents in the document library. also if there is a way to restore a complete deleted library. if so, where do i see the deleted 2) is there a way of receving alerts when something on the documents has changed or has been deleted. in the project alerts i can't find anything like this thanks for your help thank you for your answer. but this sounds very complicated to be done. anyway i tried to use http://mindsharpblogs.com/todd/archive/2005/10/06/719.aspx as solution, at least with these libraries you can exactly achieve what i wanted, at least on the sharepoint websi ...Show All

  • SQL Server Headcount report issue

    I need some help finding the righ approach for a report. I need to do headcounts on a monthly base of the employees. So in a graph I have for each month (category) a bar with a certain headcount (count of employees who are employed that month). The problem is the data I get from the dataset. What I get from database is a name (of the employee), a start and end of employment date. Name StartEmp EndEmp tom 1/jan/05 NULL dirk 1/jan/05 31/mar/06 jan 1/jan/05 11/feb/06 mark 5/jan/05 NULL Now the problem is that I don't know how do to category grouping on each month I want two parameters, a startDate and endDate and the report should show a headcount o ...Show All

  • SQL Server Pre-Generating snapshots not working

    Hi I have setup my web synchronisation with very few problems until now. Initially I set the snapshots to generated by the subscriber when they first synchronise, this worked perfectly every time until a bottleneck occured after I reinitialised all the subscribers. When more than one subscriber then initialises the snapshot agent, the snapshot jobs fail because there is already a job running for user distributor_admin. The agent then retries etc, etc.. until all retries have failed. Ultimately only one of the snapshots is successfully created only after all other jobs have failed and run out of retries, it is then left alone to carry out its job. Following this I made the decision to run with pre-generated snapshots instead so that I can s ...Show All

  • Visual C++ fatal error C1083 in VS C++ 2005 express

    Hi, I have previously created new windows console application with a precompiled header. At this point, I do not change any of the default settings in the project. I insert the following set of header files in stdafx.h #include <cmath> #include <fstream> #include <string> #include <conio.h> #include <iostream> #include <iomanip> using namespace std; However, I am now getting the following error message when I try to compile: c:\program files\microsoft visual studio 8\vc\include\cstdlib(13) : fatal error C1083: Cannot open include file: 'stdlib.h': No such file or directory I have looked in the directory and verified that the file exists and is located in the "..\include\" folder.I have alos che ...Show All

  • Windows Search Technologies Windows Desktop (Searching...) - but no results?

    Hi, I posted a thread re: issues I've been experiencing with 2.6.5 of WDS in the help forum but just upgraded to 3.0 beta 2 and am experiencing similar issues. I try to input searches in the search box but get a blank pop up stating simply "Windows Desktop (Searching...)" - and no results displayed. The WDS Search options box displays indexing as complete. Am using Windows XP with the latest service packs. Let me know if I need to provide more information. Thanks, Jack Hello Jack, I've seen this problem several times when people have mis-matches in their Microsoft Data Access Components (MDAC). When these stacks contain mis-matches WDS is unable to query the index ...Show All

  • Visual Studio Express Editions cant modify/save/update vb 2005 database

    Hi, I saw this post today "I cannot get my database to save changes using either the BindingNavigator control or by (attempting) to force it to update using the TableAdapter.Update() function. Here is all the code I have for the lesson: Public Class Form1 Private Sub AddressesBindingNavigatorSaveItem_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles AddressesBindingNavigatorSaveItem.Click Me .Validate() Me .AddressesBindingSource.EndEdit() Me .AddressesTableAdapter.Update( Me .FirstDatabaseDataSet.Addresses) End Sub Private Sub Form1_FormClosing( ByVal sender As Object , ByVal e As System.Windows.Forms.FormC ...Show All

  • SQL Server XML Problem when scheduling SSIS package

    I am getting an error when I try to schedule a package. I can run the package with no problems from BIDS. For some reason it is throwing an error when I try to schedule the package using SQL Server Agent. Information on how to resove this would be greatly appreciated. Executed as user: MACHINE\SYSTEM. ...n 9.00.1399.06 for 32-bit Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 5:41:55 PM Error: 2007-02-19 17:41:56.01 Code: 0xC0011007 Source: {48427B5A-10F6-4054-B7EB-F0F19B90F334} Description: Unable to load the package as XML because of package does not have a valid XML format. A specific XML parser error will be posted. End Error Error: 2007-02-19 17:41:56.01 Code: 0xC0011002 Source: {48427B5A-10F6-4054 ...Show All

©2008 Software Development Network