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

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

PedroCGD

Member List

hazz
InquiringMinds
ManishKumar
Sanjukta
dougakers
WolfgangEngel
Modeller
Titu
GizmoC
Harry_Leboeuf
AdamRLeggett
Evgeny Popov
HSBF Lewe
DevDiver
Cyrus Chan
Drunkboat
AndyW027
stang4lyfe
Greenstrike
NeptuneTech
Only Title

PedroCGD's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Unified Input

    It's my biggest gripe about XNA and directx, there's no unified input...   I don't have a 360 controller hooked to my pc, not even sure if that is possible... is it Anyhow, since i took the whole unified input idea from Lynn T Harrison's book, i'll share it here in hopes that people can email me suggestions and feedback. The enum translations aren't finished yet and the InputManager is a singleton (i'm on a singleton kick lately don't know why), and obviously the gamepad implementation isn't finished.  Hopefully you can sortof see where i was headed with the 360 implementation...   wel here it is, i guess email me at jhered at yahoo com if you have suggestions.   Peter D. wrote: ...Show All

  • Visual Studio Changing the AssemblyName property causes referenced projects output assemblies to have the same exact name?

    Basically here is what I am seeing: I have a C# Winforms application (MainProject) that references 2 other projects (Project1, Project2). When I call the Build target for MainProject.csproj with a new AssemblyName (Test) it builds Project1 and Project2 and tries to output their assemblies as Test.dll (rather than Project1.dll and Project2.dll as specified in the project properties) < MSBuild Projects = " MainProject.csproj " Targets = " Build " Properties = "AssemblyName=Test;" /> This leads to the following error because because Project1 is version 1.0.11.0 and Project2 is version 1.0.2.0. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets : warning MSB3243: No way to resolve conflict between "T ...Show All

  • Smart Device Development Bluetooth anyone???

    Does anyone have or know of where I can obtain exaples of bluetooth communication set up in vb.net I am attempting to set up communications between a bluetooth mobile printer and a handheld device, so if the example where compatable with the compact framework I would be that much more excited. I have been looking for a while now and have hit a few dead ends (dead links) and am begining to get frustrated. I am suprised at the lack of information on the topic considering how great the technology is and how many hardware solutions are out there. If you are sure, that your device have Microsoft Bluetooth stack you can find some free libraries (start from OPENNETCF). But if the targets are many different models PDAs you can use only thes ...Show All

  • Visual Studio 2008 (Pre-release) Populating TreeView with xml file in c#?

    Hi I am trying to fill a treeview with xml file,i am working on the code provided by the msdn but its for System.Windows.Forms.Control treeview ,and i want to do it in WPF I am doing following thing but keep getting exception: OpenFileDialog dlg = new OpenFileDialog(); dlg.Title = "Open XML Document"; dlg.Filter = "XML Files (*.xml)|*.xml"; if (dlg.ShowDialog().Value) { try { //Just a good practice -- change the cursor to a //wait cursor while the nodes populate this.Cursor = Cursors.Wait; //First, we'll load the Xml document XmlDocument xDoc = new XmlDocument(); xDoc.Load(dlg.FileName); //Now, clear out the treeview, //and add the first (root) node myTreeView.Items.Clear(); ...Show All

  • Visual Studio 2008 (Pre-release) Getting started with video and animated 3D

    Hi. I need to put together an application that renders 3D graphics on top of video in realtime. I know the 3D camera positions that I want to use for each frame, so I need to be able to synchronize a specific video frame with 3D content for that frame. Is this possible in WPF In addition, the user should be able to play, pause and seek the video, always seeing the correct 3D graphics blended onto each video frame. Could someone tell me whether this sounds feasible for WPF, and if so, could you point me at some of the ingredients I will need - e.g. how to synchronize 3D content to video frames, and how to animate camera position/orientation over a scene. (In the old days, I did this with DirectShow and native Direct3D.) Thank ...Show All

  • Windows Forms Regarding value of datagridviewcheckboxcell

    hi all, I am having datagridviewcheckboxcolumn in my datagridview.I am not clicking in the checkbox while running it.If i get the value of the datagridviewcheckboxcell(not checked) its saying error like "object reference not set to instance of an object". Suppose if i check the cell its getting correct value of true. I want to set the default value of all datagridviewcheckboxcell to false n while getting the value it should return false.How can i do it can anyone reply soon Thanks. Hi Santhosh: follow code would set checked box all checked when form load private void Form2_Load( object sender, EventArgs e) { Table_AB TBC = new Table_AB (); DataTable ...Show All

  • SQL Server how to stop conversing status?

    Once my target service start to process, how can I stop the rest from running right now I'm looping sys.conversation_endpoints and run "END CONVERSATION @dhValue" Is there a simpler way to stop processing a service without interfering with other services I don't understand what you mean by "stopping the rest from running". If you want a way to stop an activated stored procedure from running, you could either kill the spid it is running on, or disable the queue which will cause it to abort. Rushi ...Show All

  • Visual Studio Express Editions Function trouble

    I have a Function that contains a calculation. The calculation pulls a number from a column to the left (let's call it "x"). For some reason it is not automatically calculating when "x" changes. I tried to input a Calculate at the end of the function but it still doesn't automatically change when the "x" changes. Any help is greatly appreciated! Any chance you could paste some code here I'm not quite following. From the sounds of it you are trying to execute your Calculate() method when x changes... is there an event that you can subscribe to to be informed of when it changes Is it changed in another method If so... can you call Calculate() from there If Calculate() i ...Show All

  • Visual C# Console problem. New, I swear.

    I am testing TCP connections locally on my PC. I created two forms: Server and Client. I start the Server form first. There is code for AllocConsole in both of these Widnows Forms applications.: [DllImport ( "kernel32.dll", SetLastError = true )] [return: MarshalAs ( UnmanagedType.Bool )] Static extern bool AllocConsole ( ); After testing some methods unsuccessfully for a day or so I downloaded a few classes from MSDN site describing server side code: ms-help://MS.VSCC.v80/MS.MSDN.vAug06.en/dv_fxnetwork/html/13624cd3-f5c5-4950-8cda-31273b1fa6d1.htm I made some slight modifications, essentially negligible. I ran the forms and to my surprise found that the Server form did not appear at all, only the Console showed up. Puzz ...Show All

  • Windows Forms ListView Tooltip Always Visibile

    I've got a listview control that is showing a tool tip for it's items using the following code: ListViewItem previousIt = null; //Keeps track of the most recent item under the cursor private void lvPeople_MouseMove(object sender, MouseEventArgs e) { ListViewItem it = lvPeople.GetItemAt(0, e.Location.Y); if (it != null) { toolTip1.Active = true; if (it != previousIt) { toolTip1.ToolTipTitle = "Contact: " + ((ContactInstanceData)it.Tag).Contact; toolTip1.SetToolTip(lvPeople, it.ToolTipText); } } else toolTip1.Active = false; } The problem I'm having is as I move the cursor across an item, the tooltip remains visible and moves w/ the cursor despite the tooltip's delay settings. If I move the cursor onl ...Show All

  • Visual FoxPro Standard UI

    Hi! I have question for You. I`d like to change the look of my System but I don`t know how do it. The FoxPro (9) brings me standard Toolkit and I am blocked. I am inspired the UI of Vista and I would like to create something similar to it. I know that the people who use foxpro can do it. I need that information, it is very important for me. Help! There are many small changes you can make to improve the look and feel of your apps. There is no single source for this, but many people are working on these ideas, check out the following links for inspiration. How to make an aero-styled window: http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,ded0ffae-4c8f-41b9-918f-b5adfe36f140.aspx SednaX - open-sou ...Show All

  • Visual Studio Team System Reading Label Text in a ASP.NET Unit Test

    I'm trying to read a label's text in an asp.net unit test. I'm running the test against a local IIS server on a windows xp machine with VSTS Team Suite. Also, I don't know if this makes a difference, but I'm using the Web Application project type as opposed to the Website project type. When I run the test I get the following error System.NullReferenceException: Object reference not set to an instance of an object.. Test: <TestClass()> _ Public Class MyPageTest <TestMethod()> _ <HostType( "ASP.NET" )> _ <UrlToTest( "http://localhost/myprojects/testproject/MyPage.aspx" )> _ Public Sub Read() Dim target As MyPage = New MyPage Dim accessor As MyPageAcces ...Show All

  • Visual Studio 2008 (Pre-release) possible 3D LookDirection bug

    the scene has a cube at the origin. the camera is looking down on it from LookDirection="0,.0001,-1" ... and that works. but if i change it to LookDirection="0,0,-1" ... then the cube cannot be seen. i'm assuming a DivideByZero bug happens somewhere during processing Just copy/paste the XAML below into a file and open in IE. Thanks, casey < Canvas ClipToBounds = " true " Width = " 400 " Height = " 300 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " xmlns:d = " http://schemas.microsoft.com/expression/interactivedesigner/2006 " xmlns:c = " http://sche ...Show All

  • Visual C++ C1083 Permission denied

    Hi, I'm getting this C1083 Permission denied error when I try to build an application (console type) project A which includes files from another project B (static library type). The B project includes files from a math library C (GSL). When I build the static library B, I have no problems. The problem is when I try to build A, and it complains about having permission denied to access a folder which turns to be the folder containing the .h files of C (included by B). I hope this is clear enough, if not please tell me. I'm using XP Home Edition and files have no permissions at all. Here is the text: 1>c1xx : fatal error C1083: Cannot open source file: 'C:\Documents and Settings\Alix\My Documents\genetic context\GSL\include' ...Show All

  • Visual Basic Page_Load Blank Form

    I need to make my WebApplication load a blank form so that a user can add the values to the form then save to the database. currently when the page loads all the drop down list boxes have what ever the first value is and everything esle is blank.. what i need is to have everything blank when the page loads and also i need everything blank when i click on the Start New Application button on my form... Any help would be welcomed and i would be thankful for. Thank, WoFe In order to receive faster and better responses to your web application questions please post them on the asp.net forum located here: http://forums.asp.net/ Your question is off-topic for this forum ...Show All

©2008 Software Development Network