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

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

Onlinemercenary

Member List

Normand43
cjvr
Tryin2Bgood
PedroCGD
KRISTER
mcnamaragio
Yongjun.Wu
mgee16
AlucardHellSing
jturpin
fighter92
sammy chen
tyaramis
Pavel Makovec
Malik Zulfi
edukulla
Jesper Kleis Jensen
DaGlow
jsmircic
sharindenver
Only Title

Onlinemercenary's Q&A profile

  • Visual Studio 2008 (Pre-release) WCF DerivativeCalculator example broke in WCF 3.0

    I was previously working with the DerivativesCalculator WCF examples referenced in the book Windows Communication Foundation by Craig McCurtry, Maarc Mercuri and Niugel Watling (ISBN0-672-32877-1) and had successfully made it through most of chapter 2. ( I did find a bug in the text, but fixed it). Then, I got a new computer, so decided to get the newest version of the WCF, so I got the Release Candidate. Now, when I try to build the sample applications, I get a number of errors which indicate that the ServiceModel interface seems to have changed. I saw an earlier post where some of the names changed (for example, type to serviceType) etc., so I was wondering if there are similar changes between the June or July version of WCF and the n ...Show All

  • Visual C# Parametrized Query in Visual C# 2005

    Hello, I have a problem in setting a dynamic query in my application. Actually, I know how to work with a parametrized query and how to pass a value for one of the elements in my where clause, but I need to pass more than a value like other criteria or generally i need to change the structure of my SQL in the given query. My database is Oracle 8i. Does anybody know how I may address this Thanks Hello, Thanks. I don't know how to use stored procedure in this case and I believe BINDING SOURCE has just FILTER property for my purpose, which has limited functionalities. I'm not sure if you exactly understood my problem or not. As Monkey said, I 'm looking for something like SQLCommand Property i ...Show All

  • SQL Server NS with Remote DB Server?

    Hi everybody, In good old times with a one server everything worked fine. Now I have 2 servers: web server + DB server. I have deployed NS Instance to the Web server with DBs created on the DB server. Installs nice and easy. However, my Subscription management App (ASP.Net based) crashes with message: Login failed for user ''. The user is not associated with a trusted SQL Server connection . [NSException: Notification Services failed to get the metadata for the specified instance. Instance Name: NSInstance SqlServerError: Source: .Net SqlClient Data Provider Number: 18452 State: 1 Class: 14 Server: DBSERVER\DB Message: Login failed for user ''. The user is not associated with a trusted SQL Server connection. Procedu ...Show All

  • Visual Studio DSL Installer issues

    Hello everybody I encounter some issues when trying to create an installer for my DSL. I have successfully requested a package load key for it, registered it correctly (according to the corresponding MSDN page) and configured the installer definition file. I am able to build the installer project, I can event install it on a test virtual machine (I use VMware for that) and create a model file. But when I try to open it, I get two package load failure error messages. In Constants.cs, the same values for ProductName, CompanyName etc. are provided as the one in my package load key request. Is it possible that a missing assembly that is referenced by one of the package assemblies results in the same errors Thanks for your suggestions and help ...Show All

  • SQL Server Execute Process Task syntax problem

    Hi I want the following command processed by the "Execute Process Task": c:\relog.exe c:\perflogs\log.csv -f SQL -o "SQL:PerfCounters!PerfCounters" relog syntax: relog [path to file] [-f: to SQL format] [-o to output SQL:Databasename!DSN"] The name of the file I want to be processed by the windows relog utility is a variable which is created by another preceding task: User::Variable In the "Execute Process Task" there are three parameters I have to use: Executable: which I think needs to be relog.exe Arguments: C:\Perflogs\ User::Variable -f SQL -o "SQL:PerfCounters!PerfCounters" WorkingDirectory: C:\Windows\System32\ As you can see in the Arguments, it's not going ...Show All

  • .NET Development How can I get my asp.net application faster with .net CLR

    Hi gurus, how can I optimize any asp.net application's speed with the help of using CLR. What rules should follow to do that any articles or checklist is required Cheers Agha, Unfortunately there isnt a silver bullet that will help managed applications run faster. Performance Optimization is done on several levels, not just the CLR. Infact in my experience, 99% of the cases run fine with the default CLR settings. Is there a specific performance problem you are facing Here is a basic guide to some elementary ASP.NET perf tuning. http://samples.gotdotnet.com/quickstart/aspplus/doc/perftuning.aspx For GC/Memory tuning look up Maonis blog at http://blogs.msdn.com/maoni/ There is an interesti ...Show All

  • .NET Development Smtp with c# through gmail.

    Hi guys, hope you can help. I have installed Visual Web Developed and started learning ASP.NET with c#. I am currently trying to build a website that sends email through gmail's smtp, here's the code: _______________________________________________________________________ using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Net.Mail; using System.Net; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { System.Net.Mail.MailMessage mail = new System.Net.Mail.MailMessage( ...Show All

  • Visual C# Object Oriented Programming

    Hi all. Im a C++ Programmer that just moved to C# and am having problems learning about classes and objects, i just cant seem to understand it. Im not sure whether i have the wrong book, so any advice and help on the best place i can learn OOP for C# from would be much appreciated. Thanks. cgraus wrote: Ah, OK, so you didn't do much C++ The real differerce is that C++ ALLOWS OOP, C# ENFORCES it. You can't have global methods in C#, you don't even have a global namespace. Everything is inside classes, wrapped in namespaces. http://www.google.com.au/search hl=en&q=OOP+C%23&meta = Any of these will do for starters. C# does not enforce good object oriented ...Show All

  • Visual Studio 2008 (Pre-release) Throwing FaultException<T> with custom detail class with is terminating client connection

    I'm throwing a FaultException with a custom fault detail class. The classes used in the fault detail are below as is the details of the exception that is received at the client. There are no exceptions on the server side at all... I'm handling all uncaught exceptions when they're thrown in the debugger and WCF doesn't seem to be encountering any... just killing the connection. The problem seems to be the fact that one of my properties is a collection. If I take the DataMemberAttribute off the property that returns the collection I can throw the fault just fine. Should I file a bug Cheers, Drew ===== BEGIN CUSTOM FAULT DETAIL CLASSES ==== [ DataContract (Name= "orderPipelineErrorListFaultDetail" , Names ...Show All

  • Visual C++ Redirection of STDOUT and STDERR from a DLL...

    OK, here is my situtation. I have a third party unmanged library that performs some functions for me. I do not have source for it so I cannot change it. I have wrapped this library up and made a managed DLL out of it. My problem is that I am developing a GUI application and many of the third party functions print messages to STDOUT and/or STDERR via std::cout and/or printf. I would like to be able to redirect these irksome messages to a RichTextBox I just don't have any idea of how to do it. I have read several articles on redirecting STDOUT from a spawned console application and such but that isn't what I have here. There is no console application running and the group that I am writing this for doesn't want one. So, is it poss ...Show All

  • Visual Basic Add items to listbox

    Hello, I'm trying to make a project where when the user clicks btnCalculate an input box shows asking to input SPEED in miles per hour, followed by another inputbox asking for the amount of TIME in hours. It should then use a loop to display in a listbox on the form the distance the vehicle traveled for each hour of that time period. This is what I have thus far but I am stuck once again! This is an example of the output in the listbox: Vehicle Speed : 60 MPH Time Traveled : 7 Hours Hour        Distance traveled 1             60 2             120 3     &nbs ...Show All

  • Visual C++ LoadLibrary fails only in Windows Server 2003

    Hi, I wrote a DLL to be called from a program that was written by somebody else. It works fine on Windows XP but not in Windows Server 2003 Enterprise Edition. I wrote another program that does nothing else than open the DLL with LoadLibrary() and then free it again. Works fine on XP, returns NULL in Server 2003 even if the DLL is in the same directory as the program calling it. I assume there is some security measure that stops the DLL from being accessed but some hours of searching in the internets about such measures didn't help. There are no software restriction policies defined and permissions are set for every group to be able to read and execute the DLL. Thanks for your help Paschalis E ...Show All

  • Windows Live Developer Forums Autozooming

    Hello to everyone. My problem is: when i am adding a new pushpin to the map, its (map) autozooming on that pushpin. I don't need it. How can I prevent it note: map autozooming when I using Find method and not when I adding new pushpin. nCognito wrote: Hello to everyone. My problem is: when i am adding a new pushpin to the map, its (map) autozooming on that pushpin. I don't need it. How can I prevent it note: map autozooming when I using Find method and not when I adding new pushpin. I would suggest storing your current latlongs and then map.SetCenterandZoom after your find/add pushpin call ...Show All

  • Visual Studio 2008 (Pre-release) emulating a mouse in WPF

    Hi, I am trying to emulate a real mousedevice and its behaviour (left click,right click, mouse enter, mouse leave etc) by creating a custom control for it. So far I have not been able to figure out how to implement this. If any one has any experience in this please advice, how I could go about creating this or maybe an altogether different idea for achieving the same would be really appreciated. Thanks I had looked for a method emulating mouse actions in WPF for a long time, but at last, I have to use win32 method SendInput(). I'm wondering why they don't provide a method for emulating click while System.Windows.Forms.Cursor.Position is provided for emulating move mouse. ...Show All

  • Visual Studio Team System Change Status of the Webtest

    Hi, I have a webtest which should throw a 400 Bad request error and does the same and is checked using validation rules. Can I have the status of the webtest displayed as a success rather than a failure as this is expected The validation rule throws a success. Hi, I see...So have you tried using coded web test This is something I have never tried! But, maybe you should try wrapping the request with a try and catch.. and if the there is no exception then it fails otherwise it passes. Please let me know how it worked out. guy kolbis ...Show All

©2008 Software Development Network