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

Software Development Network >> John Padilla's Q&A profile

John Padilla

Member List

learning_new
rhinoishere
Edijs
David Bradly
Kfoutts
so0ly
RavinderSingh
jfkennedy5
Tanny
Richard Morgan
cmwith
kevdmiller5150
Christer Claesson
Jon Watte
Kevin MacDonald
Mateusz Rajca
arcliner
Prakash selvaraj
Kea
sounddoc
Only Title

John Padilla's Q&A profile

  • Visual Studio 2008 (Pre-release) Calling a web service from an XBAP

    Hello, I am using Visual Studio 2005 and I am attempting to create an XBAP application that simply calls a "Hello World" web service. I have created/consumed a number of web services in .NET in the past, however, using web services via XBAPs has proven to be a challenge. I have reviewed the following post: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=517445&SiteID=1 as well as many other blogs. However, I can't seem to get a reference to my web service. My web service is available at an address similar to the following: http://computerName/Services/Service.svc wsdl I then select "Add Web Reference" from my XBAP project. Through the wizard in Visual Studio 2005, I can find the service, I can sele ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. F14 XNA Game with Full Source

    Well here it is. I finally got my first game into a releasable state. Screenshot, video, and full source available after the jump. http://aroganworld.blogspot.com/2006/09/f14-xna-game.html I couldn't have done it without the great help from this forum (and all those xna sites). Let me know what you think. Thanks. Oh and if anybody is interested in hosting the file let me know. I really don't have a good place to host it. It's around 4.4MB. ...Show All

  • Visual C# displaying help in a console app

    im building a console app that takes three arguments. how can i allow the user to type "myfilename" / (or some switch like that) and it will print out the available arguments and a description of them. Is there a "standard" way to do this, or should i just look for the " " argument and then do a Console.WriteLine much appreciated, mcm Just loop through your string array which is passed to the Main function. You might also default to the usage help if you find wrong or missing parameters in that String array. -- SvenC ...Show All

  • SQL Server Route optimization

    Hi, I am trying to generate scripts for route optimization, that is in what order a machine should operate on different sites with lowest cost of transportation. I alreday have generated the matrix with distances between all sites. And the problem now is how to generate the lists of all possible routes. That is all possible combinations of in which order the sites can be operated. Does anyone have a clue Thank you in advance Sten-Gunnar Look up "traveling salesman problem" or "traveling salesperson problem" If there are N sites, and every pair of sites is a finite distance apart, there are N! routes, which is a very large number for N bigger than 10 or 12. For 20 sites, there are ...Show All

  • SQL Server ex.Message in debug mode is much shorter

    Exception ex.Message I am getting in debug mode calling AcquireConnection is much shorter than the logged message in run time because all the errors come to output window in debug. Is there any way to get all these errors description from exception object in debug time to be able to parse it Thanks. Ok, now I see. This is not a SSIS issue, rather a .Net programming issue, in so much as it is actually bad practice to just catch the general Exception type. It is also very common, we all do it! Really you should catch targeted exceptions as they are richer classes that have more information relevant to the exception thrown. If you catch the SqlException type you can get access to the Errors collection, that is a property on the ...Show All

  • Visual C# Pause and Resume

    Hi, How can I pause the application executing and resume it Thanks, Aya. Is data preprocessing being done on your database server, or are you processing data on the client in your own code If you're doing your own processing then it shouldn't be difficult to stop processing when user presses the cancel button and possibly "remember" when you stopped so you can resume later. But if it's your database doing the processing then I suppose it depends on your database and the kind of processing it's doing, and the means it allows you to pause/stop this processing. Andrej ...Show All

  • Visual Basic Invisible starting form

    How can I make invisible the starting form of my application (in the form designer there is not the invisible property) thank you everybody! Rainz wrote: thank you, combining it with the showintaskbar property works, but you know that's not the way you do it Hi Rainz, Did the posts resolve the problem If so mark the post(s) that helped you as the answer(s), so when others search the forums, they might be more inclined to look at a successful post than a non successful one...in the search results the Answered posts are bubbled to the top before the unanswered. Thanks ...Show All

  • Visual Studio Team System Disable multiple checkout for designer.vb files

    Hello, Is there a way to disable multiple checkout for designer.vb files in source control I tried adding an extension in the foundation settings but it does not accept multiple periods. The normal *.vb files can be changed but if more developers have changed an designer.vb file merging can be a very difficult task. Regards, Jon van dorsten Wow, I just tried that and got the same behavior (meaning, it hasn't been fixed in post-v1 code). I'll file a bug for it. It could be solved by writing some code that uses the OM. Here's the snippet of code you would need (I haven't run it, so there might something that needs to be slightly tweaked). Note that you won't be able edit the new type (Designer v ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Extending the content pipeline for model loading...

    Hi, I'm sorry if this has been answered before, I've searched a bit and not really found anything too helpful. My basic question is how do you go about extending the model loading pipeline I found this example in the help files but it did not want to compile: [ContentProcessor] class ScalingModelProcessor : ModelProcessor { public override ModelContent Process( NodeContent input, ContentProcessorContext context) { MeshHelper.TransformScene(input, Matrix.CreateScale(10.0f)); return base.Process(input, context); } } I put this in the spacewar starter game, and got some errors like so: Error 2 The type or namespace name 'ModelProcessor' could not be found (are you missing a using directive or an assembly refer ...Show All

  • Windows Search Technologies Windows Desktop search

    Is windows desktop search able to access and retireve previous saved versions of a word document This is a feature google desktop does under "cache" Will Vista incorporate this feature It should. It is the only reason I have google desktop, which seems to slow my computer down. The advantage to having it is if you happen to delete something on a document and then click save you can retrieve the information you deleted quickly, rather than buying and running an expensive recover and restore data program. I lost data recently this way, deleting much more than I realized. Thanks, Gino ...Show All

  • SQL Server Maintenance Plan creation fails

    I've been searching everywhere for a solution to this problem and no answers exist anywhere. When I try to create a new maintenance plan I get the following error. I've been told it may be related to SSIS but nobody has a solution. How do I fix this issue so I can create a maintenance plan. Exception has been thrown by the target of an invocation. (mscorlib) ADDITIONAL INFORMATION: An OLE DB error 0x80004005 (Client unable to establish connection) occurred while enumerating packages. A SQL statement was issued and failed. An OLE DB error 0x80004005 (Client unable to establish connection) occurred while enumerating packages. A SQL statement was issued and failed. I found that when I reinstalle ...Show All

  • SQL Server how to control a column limited to display?

    Hi, Can I control a column to displayed to a specifal user or specifal role If not the specifal user or specifal role, the column will can not be displayed. Thank you. Jeffers You can set a conditional column visibility using User!UserID. For more involved scenarios, you may need to whip out some code to find the role/group the user belongs to given the user logon name. ...Show All

  • Visual Studio 2008 (Pre-release) What does this error message mean?

    Hello! When I attempt to invoke db.SaveChanges(); I get this error message: ERROR:File C:/Documents%20and%20Settings/Henrik%20Dahl/Dokumenter/Visual%20Studio%202005/Projects/HD%20Testprojects/HDCompositeModel/WindowsApplication1/bin/Debug/EntityComponentModel.cs.msl Problem in Mapping Fragment(s) starting at line(s) (23, 29, 914): Data in C-space will be lost when storing in table CEntityComponent: The tuples in table CEntityComponent for the configuration [CEntityComponent.TypeDiscriminator = 'CPersistentSoftwareProductComponent', CEntityComponent.OwnerROWGUID = NOT_NULL] and the tuples in this table for the configuration [CEntityComponent.TypeDiscriminator = 'CPersistentSoftwareProductComposite', CEntityComponent.OwnerROWGUID = NOT ...Show All

  • Smart Device Development Get Calls' Information in C++ for PPC WM5

    Is there any sample code in C++, on how i can get calls' information I want the duration of the last outgoing call. But if there is something more general, just to undestand what libraries and what functions to use is just what i search for. Thank you very very much The Windows Mobile 5.0 SDKs ship with a set of samples dealing with TAPI. They are located in the <...\windows ce tools\wce500\windows mobile 5.0 pocket pc sdk\samples\cpp\win32\cellcore> directory. Hope this is what you're looking for. Michael ...Show All

  • Windows Forms A DetailsView Control for Winforms?

    Hello, I have gotten spoiled by the new DetailsView control for ASP.Net 2.0 which encapsulates all of the dirty work needed to switch between viewing, inserting, updating, and deleting for a databound object. Now that I am working on a Winforms application I'm trying to figure out the best practice for handling these rather common tasks. I dislike the look and feel of "in place" editing on the grid view control. Do you typically create seperate forms for inserting/updating/viewing Do you group these items into different panels or group boxes and then play the "hide the unused control" game Do you simply use the same form for these actions and simply disable the textbox (or other editing controls) for view m ...Show All

©2008 Software Development Network