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

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

maqk

Member List

Chuck Cobb
NoEgo
Krutika
tee_user5
Leedrick_
DLG007
Marko B. Simic
Mortsdeh
ramesh_n3
Mystagogue
Wagner Soares
PIEBALD
Wout
Edward1
aspatz
Ross B.
iacido
kirillkin
Trisha1802
CUI WEI
Only Title

maqk's Q&A profile

  • Software Development for Windows Vista Using custom activities in Visual Studio

    I'm trying to use the Send Email and SqlDatabase activities but can't seem to use them in the WF designer. I've downloaded them, built the projects and then added the assemblies to the toolbox via 'Choose Items...'. But when I try to add them to a workflow, nothing happens, they never get added. The Properties window shows the properties for the activity until I select another activity but that's it, nothing added to the designer or the code behind. I'm sure this is really simple, anybody know what I'm doing wrong Thanks, that helps. Guess that's the way to fix these kind of problems. The issue seems to be with the Designer classes that set up various properties in their Initialize methods. The exception thrown is Theme properties ...Show All

  • .NET Development .net 3.0

    Is there any advantages of the .net 3.0 framework for xp or is it really just for vista the new VS is still a while away (about a year), in regards to the benefits on Windows XP - not entirely sure. It really depends what you are trying to aim for/develop with .NET 3.0 :-) ...Show All

  • Visual Studio 2008 (Pre-release) No endpoint listening IIS hosted WCF Service

    I keep getting the No Endpoint Listening at ... error when I try to call a method on my service that is hosted inside of IIS. Any help would be greatly appreciated. Here is my configuration. <system.serviceModel> <bindings> <wsHttpBinding> <binding name="ECommWSHttpBinding"> <reliableSession enabled="true" /> <security mode="Message"> <transport clientCredentialType="None" /> <message clientCredentialType="UserName" /> </security> </binding> </wsHttpBinding> </bindings> <services> <service behaviorConfig ...Show All

  • Visual Studio IVsIntellisenseProject::AddP2PReference?

    Hi, I have an implementation of IVsIntellisenseProject. The AddP2PReference gets called when adding a project reference to another C# project. The parameter is just a System.Object, and there are no clues to what this object actually is. I've tried various casts without success. Unfortunately, the documentation does not describe what this object is and the Iron Python sample just returns E_NOTIMPL. Can someone describe to me what the parameter actually is and how I can get the path to the assembly reference out of it Thanks, Bump. Surely this must be an easy question to answer for someone with access to the VS source code Anyone Thanks, ...Show All

  • Visual Basic Can't Assign the value to the structure

    I can't solve the problem of the assign value to the structure, but my case is much more complicated because my program have the structure inside one structure. My declare structure coding as below Public Structure ClientInfo Dim CIClientID As String <VBFixedArray(20)> Dim CICC() As ClientContact Public Sub Initialize() ReDim CICC(20) End Sub End Structure Public Structure ClientContact Dim CCId As Integer Dim CCContactType As String End Structure So when i assign the value to ClientInfo.cicc = ... willl prompt error to me ...Show All

  • .NET Development XmlWriterSettings and XmlDocument.CreateNavigator().AppendChild()

    Is it possible to associate an instance of XmlWriterSettings with the XmlWriter returned by XmlDocument.CreateNavigator().AppendChild() Tad Thanks, Sergey. Could you illustrate this with a few lines of code please Woud the following work XmlWriterSettings xws = new XmlWritterSettings(); XmlWriterSettings xws = new XmlWriterSettings(); xws.ConformanceLevel = ConformanceLevel.Fragment; xws.CloseOutput = true; xws.Indent = true; xws.IndentChars = "\t"; xws.NewLineChars = "\r\n"; xws.NewLineOnAttributes = true; xws.OmitXmlDeclaration = true; Using( XmlWriter xw = XmlDocument.CreateNavigator().AppendChild()) { XmlWriter xw_new = XmlWriter.Create(xw,xws); } Will x ...Show All

  • Software Development for Windows Vista Can a property of an Activity be bound to a method?

    I have designed a base workflow class which has a string property that can be used to store some XML - the idea being that at design time the user could specify any number of optional parameters in the XML. Also on that base class I have put a method which allows me to extract a piece of data from that XML and have called the method GetXMLParameter. Now if I build a workflow using my base workflow class I can easily add, for example, an IfElse activity and can declare a rule condition which can make use of the GetXMLParameter method - ie within rule conditions you seem to be able to access properties or methods of the base workflow class which is perfect. However I dont seem to be able to do a similar thing with activities in that it ...Show All

  • Windows Forms Locating a program's installation folder

    I have an application that will be used by other applications installed on the client machine if the other applications see that my application is installed. Currently, during installation, my application places a value in the registry that points to the location of my application's executable. When another application wishes to run my application, it can look for this value to locate the executable. This method is all fine and good for now, but we're trying to minimize how much our applications write to the registry. I'm hoping to find a method by which another application could discover the installation folder of my application, perhaps through entries created by Windows Installer during the install process. Unfortunately, I have been un ...Show All

  • Windows Forms ClickOnce with optional dll in subdirectory gets incorrect version

    If I have a application directory structure with application core parts in the base directory and a plugin part in a subdirectory and both directories have a file 'A.dll' the .\plugin\A.dll is put there immediately upon installation with wrong version. My reproduce example has the following directory layout. .\ClickOnceTest.exe.manifest .\Executable.exe.config .\Executable.exe .\SharedDll.dll .\PluginDllClass1\PluginDllClass1.dll .\PluginDllClass1\SharedDll.dll Note that the SharedDll.dll files are of different versions and not compatible. I create the application and deployment manifest in mage and set the two plugin files as optional. Then when installing the clickonce application I can see in the cache that .\PluginDllClass1\Sh ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectDraw Deprication

    What exactly do Microsoft mean by depricating DirectDraw Do they mean DirectDraw will be completely removed in the next DirectX release If so, what are the alternatives Direct Draw has been depriciated for a long time now... at least 3 years, this means that there will be no more work done on it and in the future it will be removed. I do not know exactly when this is going to happen, but if you have production code you should start to move it over. All of the 2d functions can be done under the directX 3D systems, it will just take a little bit of learning to move your code over. If you are using Managed Code you should have a look at XNA ( http://msdn.com/xna ) as the 2d functions are just as simple as the old directdraw syste ...Show All

  • SQL Server Rights needed for Surface Area Configuration tool?

    Greetings. Can a non-local admin run the Surface Area Configuration tool Our dba wants to be able to use the tool, but is not a local admin on the SQL Server. Would we be able to assign a minimal set of rights to him without giving him full local admin Thanks. Dale. The SAC tool pretty much assumes that a local admin is setting up the configuration of the system. It uses WMI to access the services and it some cases needs to create a connection to the server within the contenct of the SQL Admin. If there is a standard setup you need for your SQL instances, you might consider having an administrator setup a configuration file and run it across your servers using the SAC command line utility. Th ...Show All

  • SQL Server Simple sql query assingment

    Thanks in advance Please, help me with a code to assign query result ( count(*)) to @RowCount. /* DECLARE Part Omitted */ SET @Job _Code = '(Job_Code = ''A'')' ; SET @RowCount = -1; SET @SQL = 'Select Count(*) FROM MyTable WHERE' + @Job_Code; EXEC( @SQL); /* Help please! I need code kind of doing assining Count(*) to @RowCount -- SET @RowCount = EXEC( @SQL)*/ Print @RowCount; Why are you using dynamic SQL Can't you just do: SET @RowCount = (SELECT COUNT(*) FROM MyTable WHERE Job_Code = 'A'); -- or SET @RowCount = (SELECT COUNT(*) FROM MyTable WHERE Job_Code = @Job_Code); ...Show All

  • SQL Server Errors with combined use of transactional and merge replication - SQL2005

    I am investigating the feasibility of a configuration with 3 databases on SQL2005 DB_A is an OLTP database and serves up transactional publication pub_txn - with updateable subscriptions DB_B is a subscriber database which subscribes to pub_txn DB_B is also a publisher which serves up merge publication pub_merge DB_C is a subscriber database which pulls pub_merge =============================== Updates on DB_A are successfully replicated to DB_B Howvever, when DB_C pulls updates, it doesn't find the update sent to DB_B =============================== Updates on DB_B are successfully replicated to both DB_A and DB_C =============================== Updates on DB_C initially failed with the error Msg 916, L ...Show All

  • Visual Studio 2008 (Pre-release) How do I pass credentials in an IIS Hosted WCF Service

    How do I pass credentials in an IIS Hosted WCF Service Can I pass the credentials in the client code instead of the client config. What would that look like What do I do to get the Service to accept those credentials First you have to decide what type of credentials we are talking about. If you are building an intranet application, they might be Windows credentials, in which case you can set the proxy's ClientCredential property to a Windows credential. proxy.ClientCredentials.Windows.ClientCredential = new NetworkCredential("user", "password"); If you are passing UsernameToken, set the UserName credential: proxy.ClientCredentials.UserName.UserName="user"; pro ...Show All

  • Visual FoxPro Date formatting in a report

    I have an older accounting app (SBT Pro) that is using VFP 5. I don't have the source code available, but I can modify things in the report design. Currently control text box in bound to variable txt_date which displays in the report as mm/dd/yy (i.e. 07/24/06). I need it to show like mm/dd/yyyy (07/24/2006). I've tried several things, no success. How can I do this Thanks, Shreko Hi Shreko, As I understand you are working on a text field not a date field. No matter what you use to get full century, it won't change the value of the text field! Option 1. You should convert your field to date type and use the new one on your report. dmyDate = ctod(text_datefield) Option 2. In your report use this expression ctod(text_date ...Show All

©2008 Software Development Network