IEQ's Q&A profile
.NET Development Unable to debug Web Service from Windows application
Dear MSDN, I have a Windows application + a Web Service in a VS2005 solution. When trying to enter he Web Service from the Windows Application, I get the following error: "Unable to automatically step into the server. The remote procedure could not be debugged. This usually indicates that the debugging not has been enabled on the server. See help for more information." HELP! I have tried every tip on the Web, including *) setting compilation debug = " true " *) Checking that anonymous access is enabled on IIS *) Checking that no files have duplicate names *) etc... Debugging worked a few days ago.... WHAT TO DO Help very much appreciated! :-) Best regards, Bjorn Sigurd Johansen Hi Dellendin ...Show All
SQL Server SSIS package & variables
I have a SSIS package that was migrated from DTS 2000. It had a variable that I passed to the DTS package when executing. Now when I try executing the SSIS package with the variable, I get the following error: The package path referenced an object that cannot be found: "\package.variables[user::SnapShotDate].value". This occurs when an attempt is made to resolve a package path to an object that cannot be found. From everything that I can find, I am passing the variable correctly. If I look at the package within BIDS, my variable is listed under the variable window & it is scoped for the package. Any ideas on what I might be missing here This is my first SSIS package that contains a variable. Let me know if you need mor ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Should I use Object Oriented programming for games?
I am really confused whether or not to use object oriented programming for game development. I know that using classes correctly will help keep my code organized but I am confused about the performance. I have searched the web and I haven't got the exact answer.. not even close. Some people say, object construction and destruction (among others) is a performance degrader in OO programming (especially when it is repeated many times per frame). OO proponents say that it is not, if OO is used in the 'right way'. The problem is, I am not sure I know much about that 'Right Way'. So, can you please help me figure out what's best for my game Should I use classes or not Thanks! Job classes are good because they - help abstr ...Show All
SQL Server How to put different update on the same table in one query ?
I have a table in which there are 100 of thousand of record.In on e of the stored procedure I am updating different columns in different go. Now I want's to update them in a one go. How can I do it queries in my stored procedures are UPDATE Job SET CompanyName=c.Name FROM Job j JOIN Company c ON j.CompanyID=c.CompanyID WHERE CompanyName IS NULL AND NOT ((c.Name IS NULL) OR (c.Name='.')) UPDATE Job SET CompanyDescription=left(c.Description,1000) FROM Job j JOIN Company c ON j.CompanyID=c.CompanyID WHERE ((CompanyDescription IS NULL) OR (CompanyDescription=' ')) AND NOT ((c.Description IS NULL) OR (c.Description='.' OR (c.Description=' '))) UPDATE Job SET HomePageURL=c.URL FROM Job j JOIN Company c ON j.CompanyID=c.Comp ...Show All
Windows Live Developer Forums Custom Tiles --- ESRI - ARCIMS - Shape files - MrSID
We are Google Maps converts and I have spent some time reading up on adding custom tiles to VE but since this is so new, there is not much yet on importing Shapefiles. I have read and test the MapCruncher and although very nice, it does not support SHP (Shape files) and in ArcGIS you can't export a shapefile to a supported type. I need to be able to add a tile of poly lines (Bike trails) vectors and eventually MrSID Aerial Photpgraphy we have (becuse we have much much better resolution than MS) I can not see a way to serving up shapefiles or MrSID DOQQ files. Any suggestions, tips or other ways we can accomplish this Thanks Jason Jones Dayton, Ohio USA You are the third person to ask me this week. I ...Show All
Commerce Server CS 2007 license and price ?
Hi all, I am using the CS 2007 Evaluation for Developer. But in the future I want to use it for my customer. Is using CS 2007 Evaluation against law And how much is the price of the CS 2007 Thank you. I believe Caeser meant to write that the customer needs to choose between Standard and Enterprise edition. The developer edition, while free, limits the system to ~10 client connections. That's more than enough for a single user to debug an application, but you could see how that might have some problems when scaling out in an enterprise scenario. ...Show All
SQL Server SP1 Integration Services update package fails
Hello, the SP1 update of the Integrations Services failed, the rest was fine. Here is the log: 07/20/2006 19:46:56.914 ================================================================================ 07/20/2006 19:46:56.914 Hotfix package launched 07/20/2006 19:46:58.648 Product discovery successfully completed during the install process for DTS 07/20/2006 19:46:58.648 SP Level check successfully completed during the install process for DTS 07/20/2006 19:46:58.648 Product language check successfully completed during the install process for DTS 07/20/2006 19:46:58.664 Product version check successfully completed during the install process for DTS 07/20/2006 19:46:58.664 Command-line instance name check completed during the install process 0 ...Show All
Visual C# c# and vb.NET working together
This is what I need. I have to seperate projects. One project is c# and the other is VB.NET. I want to c# project to fire an event and then the VB.NET project should respond to that event. For some reason I can;t subscribe to me c# event. THis is what I have: In my c# code (which is the one that will fire the event) public delegate void MyDelegateEventHandler(); public static event MyDelegateEventHandler MyEventHandler; public static void OnMyEvent() { if (MyEvent != null) { MyEvent(); } } private void button1.Click(object sender, System.EventArgs e) { form1.OnMyEvent(); } Now i need my VB code to respond to MyEvent which should be a method within the VB.NET code. I am havin ...Show All
Smart Device Development Sendto Works on PC but not on PocketPC
The following piece of code works when run from a PC but the same code does not work when running from a PocketPC (emulator nor device): Socket mySocket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.IP); byte[] myBytes; string message = "getservers"; System.Text.ASCIIEncoding encoding = new System.Text.ASCIIEncoding(); myBytes = encoding.GetBytes(message); try { mySocket.SendTo(myBytes, new IPEndPoint(IPAddress.Parse("192.168.1.101"), 26980)); } catch (Exception e) { Debug.WriteLine(e.Message); } I have tried this code from an actual device a ...Show All
Visual C# Lauch IExplorer
How would i lauch IE in a button click event....would i need to add any special reference to any libraries, Or would i just use the System.Diagnositc and start a Process and pass it the exe of IExplorer Any one have any links on this or know how to get this accoplished Tryin2Bgood wrote: How would i lauch IE in a button click event....would i need to add any special reference to any libraries, Or would i just use the System.Diagnositc and start a Process and pass it the exe of IExplorer Any one have any links on this or know how to get this accoplished on your button click event: System.Diagnostics.Process.Start(" http://www.yoururl.com" ); or: System.Diagnostics.ProcessStartInfo the ...Show All
Visual Basic Filter a Datable question.
I have a datatable and I need to filter the data within it. I figured the datatable.select(...,...) method would be perfect for that... An exmple filter looks like this Dim filterExp as String = "(UserName LIKE '" + sSearchFor + "') AND (UserCampusUID = '" + Session( "UserCampusUID" ).ToString() + "') AND (Active = 1) " Now I do the following datatable.select(filterExp,sortOrder) Now what I want to be able to do is filter the table and pass it but upline via a RETURN within a function. As you can guess, I have not getting the resultset I expect.. Any suggestions I really do need to pass this backup line as a datatable... Public Function getUsersByCampus(ByVal SortO ...Show All
Visual Studio 2008 (Pre-release) Bottomless RichTextBox
Anyone know how it might be possible to implement a "bottomless" (self-sizing to fit content) RichTextBox-based control. The old Win32 RichText control has the EM_REQUESTRESIZE message which one could hook, I haven't been able to figure out whether the equivalent exists in the WPF control. Thanks, Jeremy Okay, thanks, you are correct that it grows downwards by default, but let me tell you what I really need: I want to be able to feed the control a bunch of formatted text, have it measure the text, and size itself just big enough in both width and height to contain the text without wrapping or scrolling. I only need to be editing a single line at a time, and I want to set it up so that t ...Show All
Visual Studio Team System Compiler Warnings - Can I indicate I want the build to fail?
Is there a way to indicate that I wish the team build to fail if any compiler warnings are encountered I think this is pretty straightforward - just put the following line into your TfsBuild.rsp files for each relevant build type: /p:WarningsAsErrors=true Just a quick warning though - without some sort of gated checkin process in place, this is very likely to cause build breaks on a pretty regular basis, since builds will succeed on developers machines but fail under Team Build. -Aaron ...Show All
.NET Development Getting an System.Data.OracleClient.OracleException : ORA-22275: invalid LOB locator specified when connecting to a 10.1.0.3 DB
I have code that works when running against an Oracle 10.2.0.1 DB, but throws an System.Data.OracleClient.OracleException : ORA-22275: invalid LOB locator specified error when I try to run it against an Oracle 10.1.0.3 DB - I have searched everywhere on the web trying to determine if this is a bug, but couldn't find anything - I tried both the MS and Oracle providers and both have the same problem. Below is the code - all I am trying to do is update a clob in the db. Any ideas using (OracleConnection connection = new OracleConnection(CnStr)) { connection.Open(); string SQLStatement = "select sys.xmltype.getclobval(personal_views) from p_users where user_id="+userID.ToString()+" FOR UPDATE" ...Show All
Windows Forms Custom Form Control (Label)??
Hi: I'm trying to create a TYPE that is a Label but with the Font and margins changed. I've learned that the font size, etc. are not available to write at run time. So, I need to be able to create a new Label at run time but with slightly different property values than the stock Label. I can't figure out for the life of me how to do that. I can create a User Control and put a Label on it but I really just want a slightly different Label. Can I do that in VS 2005 C# If so, how Sure there is. Create a new class and inherit from label - you can then treat it like a label in every way public class SomeCustomLabel : Label { public SomeCustomLabel() { //Set custom properties here } } Now, in other pl ...Show All
