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

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

thegooner

Member List

bslim
roger5089
ksona
nidionys
Tom Hartnett
Chinwa KneeHo
Jim Thatcher
BlackMan890
Todd Biggs - Windows Live
dr.acv
Rabtok
Peter Jausovec - MSFT
FcoLomas
AndersBank
KONJIRO
Alanha
Gagandeep Singh
Manuel5
WolfgangEngel
Mr.Yesser
Only Title

thegooner's Q&A profile

  • Software Development for Windows Vista workflow not compiling

    hi, when i have workflow without code activity i am dynamically able to compile it but when i am adding any code activty or any other activity which is referring to some variable or method in code besides file i am not able to compile workflow dynamically it is giving error member not found please suggest me the solution for this. here i am putting code Dim objWorkflowCompiler As WorkflowCompiler = New WorkflowCompiler() Dim objWorkflowCompilerParameters As WorkflowCompilerParameters = New WorkflowCompilerParameters() objWorkflowCompilerParameters.LanguageToUse = "VB" objWorkflowCompilerParameters.ReferencedAssemblies.Add( "C:\CompileWorkflow\CAWorkflowService\bin\Debug\C ...Show All

  • SQL Server SQL-NS 2005 (SSNS 3.0) DB objects on SQL 2000 DB- not possible?

    I read that in SQL-NS 2005 you can create the DB objects on an existing DB (e.g. http://sqlns.blogspot.com/2006/01/using-existing-database-for-our-sqlns.html .) But this cannot be a SQL 2000 DB, must be 2005. Is that correct Why - what is the technical limitation Otherwise we would be focred to do joins between the NS data (e.g. events) on the SQL 2005 DB and application data on the SQL 2000 DB, and performance could be problematic. At this point we do not want to upgrade our application DB to 2005. Any suggestions -- Shaul ( shauld@medcon.com ) Hi Shaul - I delayed replying to the thread, hoping someone else would jump in. Since I am the author of the blog you mentioned, I, of course, beli ...Show All

  • Visual C++ calls to unmanaged dll to create a socket result in debug assertion

    I have an unmanaged C++ dll which is an MFC shared DLL that has functions in it to initialize sockets and do other ethernet related things. I have built a managed C++ wrapper project which is also an MFC shared DLL, compiled with /clr that calls functions in the unmanaged dll. Then I have a C# project which instantiates a member of the wrapper class to access the unmanaged functions. One of the functions in the unmanaged dll creates a new CAsyncSocket, checks to see if AfxSocketInit is successful, and if so, calls Create to create a new socket. When I call this function through my wrapper from C#, I get a debug assertion when Create is called. The call stack trace indicates that the problem is in a call to AfxGetInstanceHandle. I've done ...Show All

  • Software Development for Windows Vista WorkflowChanges in July CTP

    I want to execute a plug-in activity at runtime. With plug-in activity I mean an activity that was created using an embedded workflow designer and which was compiled programmatically. Based on a parameter passed to my workflow I want to load the activity into my flow at runtime. So I started writing code that uses the WorkflowChanges class to insert the activity at runtime. I could not get it to work though. I've written code that successfully changes a workflow from the "outside" before, and that was quite easy. But in this scenario I want to change the workflow from inside itself. I looked at the sdk docs on the web and it says at this http://windowssdk.msdn.microsoft.com/en-us/library/system.workflow.componentmode ...Show All

  • Visual Studio Tools for Office How to create, deploy and setup a Word Template using C#

    Hello, I created a Word 2003 Template using VS/VSTO 2005 and C#; what I created was one button on a Document Actions pane, when a user click on the button it would return a list of hotkeys from the template. Then I created a setup project and ran the setup to setup the template. But, the Document Actions pane was not shown when I opened the template. Is there a list of steps on how to create, deploy, setup and use a Word template with Document Actions pane A sample or an article would be great! Thanks in advance. Thanks, Cindy, I did use the same code. The ActionsPane is fine in VS/VSTO 2005 environment. But, it did not show up after I created a setup project and installed it. In short, I am trying to create a Word Templa ...Show All

  • SQL Server how to create stored procedure in SQL Express that will be executed on timer?

    I need to check the databes on the server side every 3 days and delete old data. I am using SQL Express. The stored procedure part is going to be the easy part, but you will need to know what rows you want to delete. Is there a date field or an id field that can be used.... Once done you would just create the proc.... For example if you have a date field you could configure the system to do a check on say getdate()-1 and delete the records. The main problem is that the express system does not have a job scheduling system, you will have to write your own batch file using the sqlcmd command line tools create a command that would execute your Stored Proc... then configure the windows scheduler system to run the job. ...Show All

  • Visual Studio 2008 (Pre-release) Use XAML control within another XAML?

    This should be easy. I have a XAML file and want to use another object I created (also in XAML) within that file. For example < UserControl x:Class = " UserControlTest.MDIUserControl " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:my = " clr-namespace:System;assembly=mscorlib " Width = " 836 " Height = " 495 " Opacity = " 1 " MinHeight = " 30 " MinWidth = " 30 " Background = " #00FFFFFF " " > <Grid> <MyControl> ..... </MyControl> </Grid> </Window> ...Show All

  • Software Development for Windows Vista Vista / Services / Interact with Desktop?

    I understand that with the new service hardening that services will run in session 0 and can no longer interact with the desktop, but this raises two questions: 1. Why is there still the checkbox "Allow Service to Interact with Desktop" in the services control panel applet 2. Secondary Logon Service (It is still around...) The secondary logon service looks to still be supported (I understand that it is the back end for CreateProcessWithLogonW). A simple test of the runas command succeeded, therefore, how did the secondary logon service interact with the calling desktop to launch the application if services cannot interact with the desktop Is Microsoft taking a shortcut/short-circuit here See ...Show All

  • SQL Server Dumb, but necessary, question on SSIS feature completeness

    We have never built a data warehouse. We are not even sure what the required features are to do this. Nontheless, our developers are exploring two ETL tools: SSIS and Sunopsis. They tend to like Sunopsis because it has been around a few years, has the equivalent of source-code modules (libraries) in the tool, has a highly granular security system, has 500 companies using it. and therefore must have survived several ETL projects. (We don't know if, or how many, real-world projects SSIS has been used for.). Sunopsis is Java based and uses its own authentication scheme (no support for Windows Active Directory yet. Bummer) To the best of your knowledge is SSIS, out of the box, missing any of the standard functionalites needed to populate ...Show All

  • Software Development for Windows Vista Self-updating application

    I'm hoping someone here can give me ideas, or at least point me in the right direction. Our application (under XP) is capable of downloading and installing updates to itself. An XML manifest is stored on the server, which outlines all the updated files. However, since the format of this file might need to change over time, the application itself isn't qualified to read this file. Instead, it uses a DLL. The DLL is always up to date (i.e. able to read the file manifest) because the application first downloads the latest version of the DLL from the server. It then invokes code in the DLL, which processes the manifest, creates a list of files that need to actually be downloaded, and returns control to the application. Next, ...Show All

  • Visual Studio Express Editions Instead of BitBlt

    I used Visual Basic 6.0 with BitBlt API. I installed the new VB, but I think it is not the best using this good old API, is there something similar there Anyway, if you have a DirectDraw tutorial, you should link it. Why everyone wants to play 3D Graphics.DrawImage() is the new BitBlt / StretchBlt. Recommended. Please post DirectX questions in one of the DirectX forums . ...Show All

  • Visual Studio 2008 (Pre-release) Example of abstract EntityType, please

    Hello! In "ADO.NET Tech Preview: Entity Data Model" it reads: "An EntityType can be either abstract or concrete where the former cannot have instances.". The text denoting the abstract syntax indicates that the EntityType should have an attributed named "Abstract", which it actually does not do. How do I mark an EntityType to be abstract Best regards, Henrik Dahl Currently, one cannot work with abstract entities in the ADO.NET vNext stack. It is one of the important features that we would like to enable. ...Show All

  • Visual Studio 2008 (Pre-release) Accessing code behind objects

    Hi, this is the XAML: < Window x:Class = "MyCompany.MyProductSpace.MyWindow " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:my = " clr-namespace:MyCompany.MyProductSpace " > < Window.Resources > < my:MyConverter x:Key = " myConverter " /> </ Window.Resources > This is the code behind: namespace MyCompany.MyProductSpace { [ ValueConversion ( typeof ( String ), typeof ( String ))] public class MyConverter : IValueConverter { ... } } And this is the error: error 4 Assembly '' was not found. The 'clr-namespace' URI refers to an assembly th ...Show All

  • .NET Development System.Security.AccessControl Namespace

    Hello! I need several classes from the System.Security.AccessControl Namespace (FileSecurity, FileInfo.GetAccessControl method...) and that namespace seems to be new in .Net Framework version 2.0. i have installed that version but my visual studio is using the old version of mscorlib.dll i.e. file version 1.1.4322.2032 and when i try to reference the new version of the file mscorlib.dll (which is part of .NET framework version 2.0) i.e. file version 2.0.50727.42 a get the message that the reference to that file could not be added with the explanation that the file is not a valid assembly or a COM component!! Please help! it is quite urgent... Goran. Yes I expect .NET 1.1 does not recognize an assembly compiled in .NET 2 ...Show All

  • SQL Server Reporting Services Monthly Subscription

    Hello, I'm scheduling monthly subscriptions in reporting services. I would like to receive subscriptions every 2nd Monday of the month. For instance, if the 1st is a Friday, then report should be delivered Monday, the 11th. So my question is: in reporting services: if I set the subscription for Monday - 2nd week, and the first day of the month is a Friday - does it consider the week from 4 -> 10 as the second week (because month began the week before) - or as the first week (because it takes into account only full weeks) Thanks a lot for any help! Best regards, Tiago Hello Tiago, I just ran a test to check this out. I created a schedule to run on Monday - 2nd week, the next r ...Show All

©2008 Software Development Network