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

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

ssauerw

Member List

etcheverrjc
Ants Hurdley
Thornsdale
WayneSpangler
Karamasov
iliketoeaticecream
Corby111
KazumaX
Michele_T
Janice_777
fpizzolo
Hardrock302
RayD
Craig Main
Leaf.
Jophers
AlexU
Trevor E Hilder
andyr2005
setareh
Only Title

ssauerw's Q&A profile

  • Visual Studio 2008 (Pre-release) The generated client code with complex data type

    Hi, Dear all A simple question about the generated client code with svcuitl. The type DataTable is replaced with AddResponseAddResult in the client code generated. Is there any way to generate the same type as DataTable Thanks -Jessie The code sample in server side: [OperationContract] public DataTable Add(double n1, double n2) { double result1 = n1 + n2; Console.WriteLine("Received Add({0},{1})", n1, n2); Console.WriteLine("Return: {0}", result1); DataTable result = new DataTable("result"); return result; } The code generated in client side: public AddResponseAddResult Add(double n1, double n2) { AddRequest inValue = new AddRequest( ...Show All

  • Visual C# BackgroundWorker design problem?

    Can anyone comment on two apparent problems I've noticed with the "BackgroundWorker" class (e.g., the design pattern itself). The canonical examples always show a demonstration of a "Cancel" button handler invoking "BackgroundWorker.CancelAsync()" but two possible problems then arise: 1) What happens if the "Cancel" button handler is running around the same time that the worker thread is exiting. In this case, the worker thread may exit in which case the "RunWorkerCompleted()" handler will be invoked as soon as the "Cancel" handler returns. The "RunWorkerCompletedEventArgs" argument passed to "RunWorkerCompleted()" will then indicate that the thread exited eith ...Show All

  • Smart Device Development Using VB program to open file on a CDMA device - PPC6700

    I'm trying to use the Shell command to run a .exe file on a mobile Pocket PC, but when I run/debug the program on the phone it keeps coming up with the FileNotFound error. I'm thinking it is the path that is wrong, but I can't find anywhere as to how to address the path on a mobile device.. i.e. Shell("c:\program files\calc.exe"). I have tried every combination i can think of, from My Device, to C: to just \... but nothing seems to work and I know I'm missing something. Any help would be appreciated. its a \ (backslash) that indicates the root directory. be sure that you specify the correct full path to the file you wish to execute. So if my file was in [ Root ]\test\test1.exe then.... \test\test1.exe would be my p ...Show All

  • Windows Forms Help me out :Clickonce update Error

    Hi!!!! I had used the System.Deployment APIs to trigger updates for My your application (ie)ChecFor Update Control inside which i had written the code to Check update which runs as a thread in the background...but i had disabled the chekfor update properties in the clickonce since i am using the System.Deployment APIs .... But when i publish and run the application i get an Error saying "Application cannot be updated programmatically unless the deployment manifest includes the <deploymentProvider> element ". I would also want the user to choose whether to remind him for updates after one day or one week .... This is there in the clickonce update properties but i want the user to be prompted with the message box asking him t ...Show All

  • Software Development for Windows Vista Hard Drive loss of space

    As a newbie to test the latest Vista build 5536, I am finding that I am lossing close to 1gb of hard drive space daily. I at first thought it was legacy applications, so I cleaned and unloaded old apps. Only to find a day later that I had lost another 1gb of storage. Has anyone else experienced this, and if so, is there a work around sorry but this is the incorrect forum. best place to post would be at the appropriate communities: www.microsoft.com/communities you may wish to make sure that drivers are up to date for Vista, as well as the regular AV/spyware scans and do some diagnostics on your hard drive just in case. Again, better to post over at the communities in the appropriate newsgroup Thanks! ...Show All

  • Visual Basic How to load Sub Main?

    I'm using VB.Net 2003. I want to load the splash screen then load Sub Main. How can I do that Main is your entry point, nothing happens before that, by definition. You can write the code to show a splash screen at the start of your main, or at the start of the form that is your startup form, but there's a splash screen component provided that you can use if you prefer. ...Show All

  • Visual Basic visual basic 2005 help

    since i am using computer from 5 to 6 years.i have good command over computers internet etc. now i want to start to learn programming from basic to advance. i dont have any knowledge of language fundamentals. i have seen VB 2005 i have designed some basic interfaces in it. but later i came to know that i must have good concept of OOPS or C or c++. few told me you cant learn VB2005 without learning vb 6 or Vb .net 2003. if i will start learning that it will take 6 or more months and than VB2005. its not look great for me. i dont want develop hardcore giant and multinetwork applications. i am planning to develop midrange of applications relating to inventory accounts etc. my question is it is possible to learn directly VB 2005 or i have ...Show All

  • Software Development for Windows Vista pass paramters to InvokeWorkflow Activity

    I am invoking a workflow from within a workflow. How can i pass in parameters That should work. If you can design your workflow such that there is a finite number of possible state transitions, then you can use conditional logic in the form of an IfElseActivity or other activity to achieve your goal, and the condition will depend on some external input received as parameter values when the workfow is called. These parameters of course are just public properties. Thanks, Angel ...Show All

  • SQL Server Custom Errors

    Hi, I am showing my report in the web application using Report Viewer control.In the report i have start date and End date parameters.While running the report if i give startdate as '45/66/20007' it is displaying a message which is not user friendly.Is there is any way we can handle this type of errors and display our own custom error messages. Thanks in advance Hello Mahima, I was facing the same problem but I solved it through strored procedures. I passed my custom message in the RaiseError exception after the validation. Example : This is not a solution for your problem, but I think you change the validation accordingly IF ( DATEDIFF ( MM , @StartReceivedDate , @EndReceivedDate ...Show All

  • Visual Studio Team System New work item ticker tool?

    Hello Is there any tool like the Team Build Ticker that can give me a notification in the system tray when a new work item is created It will be great if I can set filter for example to get notitifcation for bugs with a given severity No such tool is official released yet. We have email alerts for that purpose. You can easily create custom alerts for various system fields (unfortunately severity is not one of them) or when new workitems get created. For list of available fields, check http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=725281&SiteID=1 ...Show All

  • Windows Live Developer Forums 'this.vemapcontrol' is null or not an object

    Why do I get this script error when loading a specific map location using latitude and longitude Am I missing something I need help on this, thanks. Here is the code: function GetMap(iLatitude,iLongitude) { map = new VEMap('myMap'); if(iLatitude == null || iLongitude == null) { map.LoadMap(); map.HideDashboard(); } else { map.LoadMap(new VELatLong(47.22, -122.44), 12, 'r', false, VEMapMode.Mode2D, true); } } Are you connected to the internet I suspect you are trying to call the map functions before the javascript for the map has loaded. Are you using the body onload event Paste the minimum complete html page to recreate the problem and we can try it for ...Show All

  • .NET Development Any hidden costs to inheriting MarshalByRefObject?

    I've created a set of Remoting classes that inherit MarshalByRefObject. So I've noticed that when I instantiate them via Activator.GetObject(), they act as you would expect remote object to do, but when I instantiate them via the new keyword, they seem to behave as stricly local objects: the AppDomain is local and calls to CreateObjRef() blow up. This brings me to 2 questions I'm hoping someone can help me with: Why doesn't the new keyword create remotable objects The objects inherit MarshalByRefObject, they are configured in client's app.config and IIS's web .config to be SingleCall, server-activated objects over using HTTP channel and Binary formatter, and I'm calling RemotingConfiguration.Configure() on client startup. I do ...Show All

  • Visual Studio Express Editions Creating Local Reporting Services Reports With Express

    Is it possible to use Visual Web Developer 2005 with reporting services I don’t see the reports object when I try to add a new item nor do I see the viewer web control. Do I need to download is separately Thanks for any advice or help. I may have answered my own questions: I'm going to give it a try. http://msdn.microsoft.com/vstudio/express/vwd/download/ ...Show All

  • SQL Server Why does this simple update/delete take 54 seconds to complete?

    Hello, I'm hoping I can get some insight as to why this simple code is taking so long to complete, and what a better way would be to handle it I have a table full of contacts with about 3,400 records, and I want to delete one contact, so I first need to disconnect that contact from any customers (112 records in the Customer table) that have this particular contact, and then delete the contact from the Contact table. I'm still kind of new to understanding SQL so this question might seem a little elementary. I'd appreciate the help though, so thanks! In a stored procedure I have the following code: UPDATE Customer SET PrimaryCntctKey = NULL WHERE PrimaryCntctKey = @contactID; DELETE FROM tciContact WHERE (CntctKey=@contactID) ...Show All

  • SQL Server How to Fail SQL Task...

    I have several packages that I download files using a sql task (I cmd shell out). I use sql task because the file names change everyday.  what I want to know is how can I check to see if the file I downloaded exists either within the same task (preferred) or a task right after I want to fail the package instead of letting it get into the actual loading of the file where it now fails at. I hope this makes sense. Have you searched the forum http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=13608&SiteID=1 ...Show All

©2008 Software Development Network