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

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

richmtl

Member List

Toseef
Hans L
Joseph Stalin
James_Steven
JavaBoy
JRQ
TonyX852
Tridex
cocgis
markm75c
Quilnux
Josh Smith
sfmd
Mateusz Rajca
Fernando S Paiva
Sicon
Punpromk
learning_new
Kamel Balquis
DRoden
Only Title

richmtl's Q&A profile

  • Visual Studio 2008 (Pre-release) Call Indigo Web Service from IE

    Hi, Does anyone know if it is possible to call a method from IE on a self hosted WCF service in the same way it is possible to do using a .asmx service My Indigo service is working nicely I just used to find it great for debugging to be able to call some web serivce methods directly from a browser rather than using debug messages or logging. Thanks, Aaron Hi Aaron, Unfortunately, we don't have this same type of capability in this release of WCF. However, it's a very common customer request and we're working on some new tooling that should help with this scenario. Stay tuned... -steve ...Show All

  • Visual Studio 2008 (Pre-release) DLINQ and Biz Rules/Data Validation

    Hi there, Are there any plans to include some hooks into a DLINQ objects life cycle to allow for easy valication I was thinking along the Rails ActiveRecord path where the DAO has validation build in that is automatically applied before an objects is saved. So in DLINQ what I really want to do is add some validation code to a known method(s) in my class - say orders as an example and have DLINQ check this during a save, and return false/ throw an exception if it does not pass validation. Anyone been able to achieve this with DLINQ, or does anyone at MS know if there are any plans to include it Thanks. Hi Jay, Thanks for the response. Property gettters/Setters are OK, but a lot of the time you need to perform entity level validat ...Show All

  • .NET Development Creating a SQL Server Express Database File in VB Express:How to create a new connection to Database Explorer to the NW Sampl DB

    Hi all, I tried to create a SQL Server Express Database File in my VB Express project by following the steps outlined in "Walkthrough: Creationg a SQL Server Express Database File" posted in http://msdn2.microsoft.com/en-us/library/ms233763(VS80).aspx . I have completed (i) Creating a Windows Application, (ii) Creating a New SQL Server Database, (iii) Creating New Tables in the Database and tried to do (iv) Polpulating the Sample Tables with Data. I have difficulties to do the following instructions stated in the article: To populate the Customers table with data 1. Create a new connection to Server Explorer/Database Explorer to the Northwind sample database. For more information see How to: connect to Data in a Database ...Show All

  • Visual C++ newbie help: importing functions from a dll in a C++.net project

    Hi, I am using Microsoft Visual Studio 2005. I am trying to create a C++ application (Win32 project/application) that imports functions from a DLL. The DLL, which I did not create, is a Win32 DLL (that uses MFC in a static library). The DLL .h and .cpp files do not contain any classes. Just functions with __declspec (dllexport). I think that my problem is that I am very new to .NET (I am not sure I should post this question in a different form). Here is what I have done: I tried creating a new solution and adding the DLL project to it and then building the project (to generate the .dll file). Then I added a new project to the solution and tried to: 1-Add the dll to this project as a reference: using Project -> References -&g ...Show All

  • SQL Server SQL Server Mgmt Studio (2005) on WM5 device (Cingular 8525)?

    Can I run SQL Server 2005 Mgmt Studio on my WM5 device (Cingular 8525, a.k.a. HTC TyTn) to manipulate my MS SQL 2005 db on 2003 server box No, unfortunately you cannot run SQL Server Management Studio on your WM5 device. To see the prerequisites for SSMS, you can go to the SSMSE download page: http://www.microsoft.com/downloads/details.aspx FamilyId=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&DisplayLang=en You have two options: 1) You can run a terminal services client on your mobile device and connect to a PC running Windows which has SSMS. 2) There are utilities available from 3rd party vendors that can run on mobile devices. The latest one I saw was ~$500-$800/server. Paul A. Mestemaker II Prog ...Show All

  • Windows Forms Runtime vs Designtime

    Hello all I've made a very small UserControl with a TextBox. In the Load-event of this UserControl, i say: Me .TextBox1.Text = System.ComponentModel.LicenseManager.CurrentContext.UsageMode.ToString When i add this control to a Form, it says: Runtime. I was however expecting Designtime (also because the title-bar of Visual Studio is mentioning "Microsoft Visual Basic .NET [Design]"). And when i'd press the run-button, i was expecting to see "Runtime" (when the title-bar is showing "Microsoft Visual Basic .NET [run]). Could somebody tell me how this comes and what i should change to get into a LisenceUsageMode.DesignTime Thanks, John. Well, this may not answer your ...Show All

  • Architecture Transaction across Applications

    HI, We have a Web application that consists of a Sharepoint web site with ASP.NET pages as web parts. In the admin module of the application, we have a provision to add a user. On adding a user through the application, the user is added in 3 places, namely in Active Directory (AD), SQL Server database and in Sharepoint database. All this is a part of ASP.NET code with no transaction happening through out the user creation. Now is there any way to impose a transaction in this process That is, until all three AD, Sharepoint and SQL Server databases are up and running and the creation of user happens with no errors, the new user must not be committed in all three databases. This is very critical as it causes inconsistency if the u ...Show All

  • Visual C++ Unexpected LNK2005 error when defining global operators

    Hi! The following applies to a VS2005 C++ solution. I get an unexpected LNK2005 error in an application where I define a couple of global iostream operators. I have made a small solution that replicates the problem. Basically it consists of two projects, an unmanaged LIB and an unmanaged DLL. The DLL is dependent of the LIB. Here is the header file for the only class in the LIB: #pragma once #include <iomanip> // for std::setw(..) #include <sstream> /** * Class with iostream operator overloads */ class IoStreamCompatible { public : IoStreamCompatible () : mI1 (1), mI2 (2) {} int mI1 , mI2 ; }; // Global stream operator o ...Show All

  • SQL Server Error: A deadlock was detected while trying to lock variable "x" for read access. A lock could not be acquired after 16 atte

    I simply made my script task (or any other task) fail In my package error handler i have a Exec SQL task - for Stored Proc SP statement is set in following expression (works fine in design time): "EXEC [dbo].[us_sp_Insert_STG_FEED_EVENT_LOG] @FEED_ID= " + (DT_WSTR,10) @[User::FEED_ID] + ", @FEED_EVENT_LOG_TYPE_ID = 3, @STARTED_ON = '"+(DT_WSTR,30)@[System::StartTime] +"', @ENDED_ON = NULL, @message = 'Package failed. ErrorCode: "+(DT_WSTR,10)@[System::ErrorCode]+" ErrorMsg: "+@[System::ErrorDescription]+"', @FILES_PROCESSED = '" + @[User::t_ProcessedFiles] + "', @PKG_EXECUTION_ID = '" + @[System::ExecutionInstanceGUID] + "'" From progress: Error: The Script returned a fa ...Show All

  • .NET Development not quite sure what .NET technology to use for this

    I have been tasked with developing a system similar to trading software that is used by brokers to bid and sell stocks. I have never developed a .NET application so this is to be my first. I have over 3years of programming though, so concepts are not that hard to grasp. I have read on web services, gone through a bit on threading and am not quite sure if it should be client server based. I have chosen c# as a language of choice. In brief, there are people in a room, each on a computer, bidding and selling for certain things. none of those people can see whats going on on the other's computer but each can choose to buy whats on offer, sell what they have or bid for something on sale. I think it is a typical in a stock trading floor. Its not ...Show All

  • Visual Studio 2008 (Pre-release) Sign a Full Trusted XBAP?

    Can I sign a fully trusted XBAP with a Verisign key so it will work in anyone's browser without security errors Short answer: no. Slightly longer answer: The only way to elevate permissions within an Internet or Intranet deployed XBAP is to use the ClickOnce Trusted Publisher model. This means your end user must agree to installing the cert into their Trusted Publisher cert store. There is no workaround to this. By using a cert from a trusted certification authority, you are merely skipping the step of adding the cert to the Trusted Root CA store in addition to Trusted Publisher store. ...Show All

  • SQL Server PredictProbability with Association Rule model..

    I have run into a .. somewhat of a "duh" question. I'm running association rule to run a basket analysis, and I'm trying to get probability of each prediction. I know this is wrong, but how do I go about running PredictProbability on each ProductPurchase prediction When I run the below DMX query, I get this error message... Error (Data mining): the dot expression is not allowed in the context at line 5, column 25. Use sub-SELECT instead. Thanks in advance... -Young K SELECT t.[AgeGroupName] , t.[ChildrenStatusName] , (Predict([Basket Analysis AR].[Training Product], 3)) as [ProductPurchases] , (PredictProbability([Basket Analysis AR].[Training Product].[ProductName])) as [ProductPurchases] From [Basket Analysi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Is it realistic to create one's own engine?

    I'm not new to programming, but I'm new to game programming and C#. I'm wondering to what extent it's realistic for someone to make their own 3D (or for that matter 2D) game engine. The two projects I have in mind for myself are a turn-based 2D war/strategy game, and a 3D adventure game in the manner of "Dreamfall". On the 2D side, I feel confident I could come up with a 2D interface on my own. I haven't done a lot here yet, but I did manage to whip up a little 2D hockey game without peeking at Bill Reiss's excellent 3D airhockey tutorial at http://xna101.spaces.live.com/ . I've even given my computer hockey opponent a very primitive AI. OK, my collision detection and physics aren't great, but I'm not sure how much I'll need either of ...Show All

  • Software Development for Windows Vista Copying sys file into the System32/drivers

    Hi, I'm trying to load my driver into the WIndow Vista Beta 2. Seems that i cant copy my dirver file (aaa.sys) into the System32/drivers. Is there anyway to work around so that i can let the system to run my driver Should i disable the UAC How can i get the Administrator privileges The error msg that i got is: "You need to provide administrator credentials to copy to this folder" Thanks in Advance... -Brian- Hi, Thanks.. I'm able to copy my sys file into the system32/drivers after i reboot my com using the MSCONFIG method to disable the UAC. But seems that i'm having problem to start the service :( ...Show All

  • .NET Development Better way of removing commas

    Here is the situation, using C# and VS2005, one has a string that contains a number. Unfortunatley the originator of the string is ouputing commas within the string such as "1,234,567.89" What is the best way to strip commas from a string Below is a method I have come up with that seems like it is overkill... Can it be replaced with an easier, meaning less code on my side, way of doing it advTHANKSance I am not sure if I am missing something here but won't a Double.Parse( "1,234,567.89") return a double value w/o the commas ...Show All

©2008 Software Development Network