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

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

Judah

Member List

nik.martin
Gerald Hopkins211244
Balbiesas
Spankmaster79
UltimateSniper
cplusplus1
André_Silva
Tryin2Bgood
mammoo
Matthew Lebo28574
xie tianmin
HammerManinMD
aguess
Bill Reiss
CET PRG455
mimesis
ST W
phoenix11
Samuel I
naguaramipana
Only Title

Judah's Q&A profile

  • Smart Device Development How to turn on/off flight mode on smartphone

    Hi, all: Can I turn on/off flight mode on scheduled time by code Is there any APIs to turn on/off flight mode Thx! Hi, could someone post a code example on how to use lineSetEquipmentState, lineOpen, lineRegister. Thanks, a lot ...Show All

  • SQL Server Executing the Package on another server

    hi! I am able to run the pacakge in command line but when i try running the package through agent . The it starts the pacakge it says that it has been started by me local user and fails in next step saying that it has been execute by administrator. I understand that there is a miss match between the permissions. Cos the SQL server Agent uses my login in but the SQL server agent on the Server that i am trying to execute has the Administrator log in. How to solve the issue Thanks in advance jasmine You may find this KB article useful: http://support.microsoft.com/kb/918760 ...Show All

  • SQL Server Confusing timeout; bug in deleting cubes and dimensions?

    Hi, I got this error when I deploy a mining model. -- Error 1 OLE DB error: OLE DB or ODBC error: The query has been canceled because the estimated cost of this query (628) exceeds the configured threshold of 300. Contact the system administrator.; 42000. 0 0 Error 2 Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'Revenue Labeled Prod ~MC-LPROD', Name of 'Revenue Labeled Prod ~MC-LPROD' was being processed. 0 0 -- I don't understand why this happens. Previously I've created one cube and 4 dimensions. I got the same error before. I think the cube was the culprit so I removed the cube and dimensions. After removing them, I build the project. Successful. But fail again when processing ...Show All

  • Windows Live Developer Forums Problems with custom tiles

    I am adding a custom tile using a static map image file on my pc and loading with AddTileSource & AddLayer. The file loads but not only is it not scaled or positioned correctly, but it also gets tiled across the whole background VE image The image is correctly georeferenced in the bounds clause and is based in the northern hemisphere - in the UK. I've tried bmp, png and gif formats - but same result. Is there a minimum bit map image size or lat/long precision issue that might cause this Hi Tom, Thanks for the bug report. Based on the files you sent we found a MapCruncher bug that was causing the behavior you saw. We just released v3.02 which has a fix. Jeremy ...Show All

  • Visual FoxPro Microsoft Visual Foxpro 6.0 - Help menu

    Hi From the Help menu, the following help features such as MS V F Help Topics F1, Contents, Index, Search, Technical Supportare disabled. It is quite troublesome for me to use another software - MSDN Library Visual Studio 6.0a when I need help. Is there any solution to enable these features Do I have to install full version in order to get the Help features Thanks VFP 6.0 came in the Visual Studio 6.0 set of disks. After installing VFP 6, you must install MSDN help (which comes in a separate set of 2 CDs IIRC). ...Show All

  • Visual Studio 2008 (Pre-release) What is the difference between DataContract and MessageContract?

    What is the difference between DataContract and MessageContract Contract Type Member Attributes Description ServiceContract OperationContract Describes the operations a service can perform. Maps CLR types to WSDL. DataContract DataMember Describes a data structure. Maps CLR types to XSD. MessageContract MessageBody, MessageHeader Defines the structure of the message on the wire. Maps CLR types to SOAP messages. http://dotnet.org.za/hiltong/pages/53552.aspx ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to draw to an offscreen texture (for screen effects and video feedback)

    I'd like to do some screen effects with a pixel shader and maybe also some video feedback stuff. I'm trying to figure out how to render to a texture (maybe an Offscreen Surface ) which I'll then be able to render back on to the graphics device's buffer. I'm not sure whether I should use GraphicsDevice.CreateOffscreenPlainSurface or GraphicsDevice.CreateRenderTarget or what sort of paramters I should feed to either of those. The once I've got a Surface created by one of those methods, I'm not sure how to set it as a render target... GraphicsDevice.GetRenderTarget with an index above 0 always throws an exception, so I'm guessing there is some way to explicitly add Surfaces to GraphicsDevices as a render target that I can't seem to figure out ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Keyboard/Mouse Input under XNA Framework

    From my reading, my understanding is that XNA Framework will use XINPUT. By design, XINPUT handles game controllers specifically and does not address keyboards, mice, or other HID devices. AFAIAA, current guidance given for DirectInput to XINPUT transition on the Windows platform is to handle keyboard and mouse input via traditional Windows messages or System.Windows.Forms events. However, we are now being advised that cross-platform application implementations built on XNA Framework will need to refrain from referencing the System.Windows.Forms namespace, and that ideally our application window will be managed by GraphicsComponent. Furthermore, on the 360, there would likely not be any Windows message stream from which to handle input fro ...Show All

  • .NET Development Question about generics....

    I have several classes that inherit from abstract class B, which itself inherits from abstract class A. I want to be able to call the DoSomething() method from class C and class D and have that method then call the base methods from A and B. Now this I’ve achieved. However, I want to create a generic list class and get that list class to iterate through its collection and return the relevant strings from the calls DoSomething(). In this case I would want s1 = “ABCABCABC” and s2 = “ABDABDABD”. Is this possible Any help you can provide would be much appreciated. Thanks in advance for any help you can provide. public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { C c1 = ...Show All

  • .NET Development Not associated with trusted sql server connection

    Hi All... I'm using Visual Studio 2005, ASP.NET 2.0, SQL Server 2005 and Windows Server 2003. I'm trying to connect to SQL Server database via Windows Authentication and am failing with the the error "Not associated with trusted sql server connection". The odd thing is that I use that same Windows account to connect with Visual Studio 2005 and SQL Server Management Studio. It works fine with those tools, but fails once I try and connect with ASP.NET. Here's a representative of my connection statement: SqlConnection myConnection = new SqlConnection("Server=192.168.1.47; Database=MyDatabase; UID=MyUser; PWD=MyPassword"); Any ideas Thanks! Curt No, I got burned by a diff ...Show All

  • Visual Studio Change "checked out to" path

    I recently rebuilt my development workstation. In the process I changed the computer name from MIS76 to MIS76M. When I re-installed VS2005 and tried to open my project, it thinks that the files are checked out to another user or location. When I use the VSS2005 interface, it shows the files checked out to [MIS76]C:\dpm\... I'd like to change that value to [MIS76M]C:\dpm\... Anyone know a way that I can do this ...Show All

  • Visual Studio 2008 (Pre-release) Extract claims from SAML token

    I am building an STS. I need to use the claims returned in the RSTR in two different contexts. I want to maintain (cache) the RSTR for subsequent service calls for authorization. Additionally, I want to extract the claims from the RSTR when it is returned and cache them locally for some client side authorization checks. Has anyone done anything similiar to this What is the best approach Among other things, I am stuck trying to figure out how to extract the claims from the RSTR. Thanks! Hello: The sample authored by Pablo Cibraro (see thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=708827&SiteID=1 ) shows how to get and cache the SAML token. Basically it defines a custom security t ...Show All

  • Visual Studio 2008 (Pre-release) Required or optional fields.

    I have a data contract that looks like: private string _BasketIDField; [ DataMember (IsRequired= true )] public string BasketID { get { return this ._BasketIDField; } set { this ._BasketIDField = value ; } } But when I generated the proxy for the client I see: [System.Runtime.Serialization. OptionalFieldAttribute ()] private string BasketIDField; [System.Runtime.Serialization. DataMemberAttribute ()] public string BasketID { get { return this .BasketIDField; } set { this .BasketIDField = value ; } It seems that the "IsRequired" on the property is getting ignored. One other indication is that I get an exception ...Show All

  • Visual Studio Express Editions How do I make the capacitance for the collections box in propertys for the listbox, much larger(approx. 15000 items)

    Currently my listbox propertys for collection items in design mode, will hold 1,213 items I would like it to hold approx. 15,000-25,000 items... I understand that each character in visual basic uses 2 bytes per character. My computer runs a capacitance of 2.048 Gbytes of DDR Ram, 1.6 GHertz(FLOPS) CPU approx. 6 Gbyte Virtual Memory. How much virtual memory does my software VB 2005 run in design mode Does this conflict with my Ram/CPU I would like my listbox to hold 15,000 to 25,000 items in the collections propertys window You're taxing the limits of the form designer which such a large number of items. When I tried it, I hit the same limit and got a line of code in the Designer.vb file that ...Show All

  • Visual Studio Express Editions Does one SqlConnection mean one SqlCommand?

    Hi, This program below works fine; however, I have a question. I am using two different connections one to CommandSqlServer and another to CommandSqlServer1. Am I right this means to 3 commands I need 3 connections and so on - (of course all of them nested) Or am I wasting resource in case how can I do (Because if I use just one I got an exception). //Connection string for SqlServer 2005 ConnectionSqlServer = new SqlConnection (); ConnectionSqlServer1 = new SqlConnection (); ...stuff //Command CommandSqlServer = new SqlCommand (stringCommandSqlServer, ConnectionSqlServer); CommandSqlServer1 = new SqlCommand (stringCommandSqlServer, ConnectionSqlServer1); ...stuff //Command 1 Comma ...Show All

©2008 Software Development Network