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

Software Development Network >> Residual Logic Games's Q&A profile

Residual Logic Games

Member List

Vijay R
kelly_c
cues7a
Francisco G
Dwarf44
Catalin Zima
Michael Morris
tdcntt
Jeffrey Harmon
Urip
gapipro
Donaghy
XJDM003
Jane Sathyan
Irishman
james_cline_
cadouthat
Jonathan Allen
jab
altamash
Only Title

Residual Logic Games's Q&A profile

  • Visual Studio 2008 (Pre-release) XAML Navigation and Control Access

    Can someone provide direction on how I might achieve the following I have an empty Main Page (PageMain.xml) in which I have navigated to another page file (in an external project). Within PageMain I would like to access controls on this new page which I have just navigated. I haven't been able to find resources yet. Any guidance or suggestions would be greatly appreciated. Thanks. In the app I set the StartupUri to my blank page. After it's loaded I call my Init method which has the following: NavigationWindow navWindow; navWindow = ( NavigationWindow ) App .Current.MainWindow; UiPageIUIMain pageIUIMain = new UiPageIUIMain (); <-- This is defined in an external project pa ...Show All

  • Visual Studio 2008 (Pre-release) SOAP authentication failed

    Hi, I have browsed this forum, and I found similar question, but none of the solutions have worked for me, so maybe I am doing something silly. However, let me try to describe what I am doing (I am fairly new to wcf programming). I managed to reproduce this same problem with the selfhost application (an example on the SDK, with the ICalculator). The problem manifests itself only when the client and the service aren't running in the same domain. If they are in the same domain (on different machines), everything runs fine. If I try to run the service inside a specific domain, and the client outside (say, just logged in locally into the machine), I get the following: An unhandled exception of type 'System.ServiceModel.Security.Sec ...Show All

  • Visual C++ Clock

    How would I code a live simple 12 hour format clock that keeps up with my system's clock on my program with "hours, minutes, and seconds" on a status strip on the bottom right Oh, sorry, you're using C++. Are you using managed C++ If so, you have access to the datetime class. You'd also have access to the Timer class. System.Windows.Forms.Timer t = new System.Windows.Forms.Timer(); t.Tick += new EventHandler(clockTick); t.Interval = 500; t.Start(); private void clockTick( object sender, EventArgs ea) { string time = DateTime.Now.ToShortTimeString(); } That's C#, first some code in your form load event to create a timer ( actually, it should be a member variable ), and then an even ...Show All

  • Visual C# ReportGeneration Application

    I have to create a web app. that prints out the statistics for student applicants in a .txt file. The data in form of Tables resides in a SQL server. Now, the user provides a date range(for eg. from 12/1/2006 to 1/1/2007) and the outputted text file will have the following: - The Number of applications received - The number of applications approved - Number of students with a criminal background and the type of background - Number of applicants who applied last year. I was wondering that from a design standpoint, what would be an elegant and effecient way to extract the data from the server, store it in some kind of data structure and output the contents in a text file. I was looking at Enterprise library and interfaces but ...Show All

  • Customer Care Framework Win32API.FindWindowByID for a VB Application ControlID returns zero..why?

    Hello,  There are 3 applications as given below 1. CRM Web application 2. .Net Asset Maintenance ( C# based) Software 3.  Inventory Control applicaton developed in VB6.0    that I am integrating with AgentDesktop I have written three adapters for all the above so that when a new issue is created in CRM web app , it send the "Problem/Issue description" to other apps.  They in turn will use the data and manipulate it. The adapter for .Net application works fine. But  the VB6.0  adapter is having issues. Using spy++, I found out the ControlID (Which is 00000008).  Following is the code to populate the textbox in VB app with the data it reccives public over ...Show All

  • Visual Studio 2008 (Pre-release) Installation problem

    Hi, the installer stops with this error message: "The system administrator has set policies to prevent this installation". Now, I am pretty sure this is not the case ;) I am trying to install on W2.3k with VS 2005 Team Suite. Linq and the .NET v3 RC1 are already installed and work fine. Help! Best regards, Marc That's a standard Windows Installer error message. The only request we explicitly make in the installer is that the user be a member of the Administrators group in order to install, but you would have seen a different error message. Would you mind generating a Windows Installer log file and sending that to me From a command prompt, run msiexec /i ADONETVN.msi /l*v adonetvn-installation.log ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Quick SpriteBatch Question

    I was looking over the Pong tutorial and notices that in the draw method, each sprite was manually drawn to the screen. I am attempting to create a test game were units can be created on the fly and there may be dozens of sprites on the screen at once. Does this mean that I will have to manually call the spritebatch method for each sprite Jake Yes, one call per sprite. As the name of the class say it will try to batch your draws together for better performance. If you want to help it by this job you should store your different sprites together in one texture and select the right part as parameter to the draw call. ...Show All

  • Visual Studio Express Editions pass by reference

    Hi I have a question regarding the pass by reference. I have a function trying to find the selected's node parents For Example, we have a TreeNodes link as A-->B-->C-->D. When the selected Node is D, the function below will find us all the parents node till root node. private void findNodeChain(TreeNode tmpNode, int i) { if (tmpNode.Parent != null) { i++; MessageBox("Parent is "+tmpNode.Parent); tmpNode = tmpNode.Parent; findNodeChain(tmpNode, i); } return; } in the main i call as below MessageBox.Show("Selected Node " + this.selectedNode.Text); //MessageBox Show " Selected Node D " findNodeChain(this.selectedNode, 0); MessageBox.Show ...Show All

  • Silverlight (formerly WPF/E) OnLoad event

    I'm trying to create the a WPF/E control and hook up a some events after it has loaded it's XAML. I've trying a zillions of ways to hook up the onload/onloaded/loaded event (or what ever it is called - the doc is not too clear on that), but no luck. I'm also confused on whether I should hook the event to the host or to the WPF/E Control Basically here's what I'm trying to do: this ._host = new agHost( this .get_element().id, // hostElementID (HTML element to put WPF/E control into) this .get_element().id+ "_wpfeControl" , // ID of the WPF/E ActiveX control we create this ._width, // Width this ._height, // Height this ._backColor, // Background color null , // SourceElement (name of script tag containing x ...Show All

  • Visual Studio Looking for laptop, should be fine with .Net Framework.

    Hi, I'm planning to purchase a laptop but don't know exactly what minimum config is required to run it, specially in case of laptops. I have gone through lenovo C100, i think the processor is Pentium M. Does it support .Net without any problem " Can anybody help in this regard. Absolutely correct!!! It seems u have a fair knowledge about laptops. But my concern was performance, which could vary with processors. I heard about "Duo", do you know about this. How its different from other processors If you have an idea please tell me, what are necessary future technologies I should look for in a laptop I don't want features like fingerprint reader .... Just sufficient enough to suppo ...Show All

  • Visual Studio 2008 (Pre-release) Assmebly problem validation rules

    I have ValidationRules in a different Dll and get this exception: Cannot find type 'WpfUtils.RequiredValidator'. The assembly used when compiling might be different than that used when loading and the type is missing. Error at object 'System.Windows.Data.Binding' in markup file 'PowerJobsDll;component/security/userwindow.xaml' Line 45 Position 20. assuming everything else works great what do I miss here, if I set the validation rule in code it works great what can I do about it. The code I use Reference: xmlns:u = " clr-namespace:WpfUtils;assembly=WpfUtils " The binding code: < TextBox.Text > < Binding Path = " UserName " UpdateSourceTrigger = " PropertyChanged " > < B ...Show All

  • Visual Basic Method 'System.Windows.Forms.Design.ControlDesigner+DesignerControlCollection.Add' not found.

    I'm a regular Express user, and I was recently tasked with upgrading a VB6 application to VBX'05. Upon converting and building a form, I encountered the following error when viewing the designer: Method 'System.Windows.Forms.Design.ControlDesigner+DesignerControlCollection.Add' not found. Hide at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at System.ComponentModel.Design.Serialization.CodeDomSerializerBase.DeserializeExpression(IDesignerSerializationManager manager, String name, CodeExpression expression) at System.ComponentModel.Design.Serialization.Cod ...Show All

  • .NET Development First time using serial port: help for receiving data and manage serial port bahaviour

    Hi everybody! First I apologize for my english, then I apologize if I make stupid questions, but it's few days I started using Visual Basic. I'm trying to make an application using serial port: I need to send from an external device data and text to PC and I have to distinguish between data and text: if I send a Byte 30h to the PC, how can I tell to my application if it's data (30h) or text (30h = "0") I was thinking to using CTS, DTS, CD, etc. etc. pins to tell PC if it's data or text and I've seen in this thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=627321&SiteID=1 these pins have to be enabled; does enabling one of these pins auto-enables the handshake for serial port How can I clean the ReceivedData buffer ...Show All

  • .NET Development Accepting multiple requests in server socket

    Hi, I want my server socket to accept mutiple requests arriving simultaneously. How can I acheive this Thanks very much I guess for testing one could loop calling socket.Accept() and count the number of iterations. Thanks, Barkley ...Show All

  • Visual Studio Express Editions BindingManagerBase Position_Changed Problem

    Hey Everyone, I have a program that has several textboxes bound to 1 dataset which contains only one table. When the form loads, the data is displayed in the textboxes allowing the user to add, edit, delete, etc., as well as navigate through previously entered records. However, when trying to navigate through the records, it doesn't do anything. The recordCountLabel, which keeps track of the record number that is displayed, changes, but the first record stays on the screen. Here is a little of my code. Protected Enum Record RecordNum DDate Shift ATO Vehicle End Enum Private Sub Form_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load 'Loads data into the 'TripSheetI ...Show All

©2008 Software Development Network