Software Development Network Logo
  • Windows Vista
  • VS Team System
  • Visual C++
  • Visual J#
  • Smart Device
  • VS Express Editions
  • Architecture
  • Visual Studio
  • Windows Forms
  • Microsoft ISV
  • .NET Development
  • Game Technologies
  • Windows Live
  • Visual FoxPro
  • Visual Basic

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

gaorellana

Member List

Lino!
stalamoni
BRenfro
JAT60
Nori_at_Japan
Marcelo Jorge
carbo
fjleon
SrikanthR
bopamax
reklis
Arshadje
Jeffrey D. Baker
luisfslo
Shekhar Gupta
MCVapor
deaveDeveloper
Jared Wennstrom
Wentzel
Ben Chess
Only Title

gaorellana's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Rotating TransformedTextured Vertices around a specific point? (MDX, C#)

    Hello everyone! What I am trying to do, is to draw a textured 2d square using on-screen coordinates (therefore using TransformedTextured, and not PositionTextured), using vertices, and rotating the square around a specific point in the z axis, however after a good hour of googling, I can only seem to find examples of doing this with PositionTextured vertices, I am beginning to wonder if I am actually looking in the wrong direction. Is there any way I can convert on-screen coordinates to world matrix coordinates I would appreciate any help, hints or examples on how this could be done. Thanks in advance! //Avi I see. But as far as I can ...Show All

  • Visual C# Saving Toolbar State to Registry?

    I am trying to save a toolbar of another process to the registry for later restore. The toolbar is the Windows icon tray. This involves Win32 API calls and PInvoke. Can the SendMessage TB_SAVERESTORE be successfully used in C# I have had success with other cross process communication, but not here. Below is my code. Am i doing things Ok // get toolbar handle IntPtr hWndToolBar = TrayIcons.GetIconTrayWnd(); // get handle to other process // open process for all access or get access denied error int processID = 0; int threadID = Win32ProcessThread.GetWindowThreadProcessId( hWndToolBar, ref processID); IntPtr hProcess = Win32ProcessThread.Op ...Show All

  • Software Development for Windows Vista Vista installation problem on XP

    Hi, i recently installed vista beta, the latest one. And i downloaded the files microsoft provided me with the install the beta. So i install it, no problem , then when installation is complete, the box goes off and thats it, nothing else, please tell me how to install vista from here please. Your help is much appreciated. So does your installation try to start, or does it go into the infamous reboot loop My advice for what it is worth would be to boot from the VISTA installation disc and to carry out a complete new install, I assume that you went for the upgrade option You may want to format your ha ...Show All

  • .NET Development Improved Error Reporting with .NET

    When exceptions are thrown, I want to create something like this: Exception message: Division by zero SomeClass.SomeMethodA    Parametr 'a' = 7    Parametr 'b' = "somestring"    Local 'i' = 556 SomeClass.SomeMethodB    Parametr 'p1' = 45.6    Parametr 'p2' = 0.6    Local 'temp' = 0 etc.. Hello, Can you clarify what you are trying to achieve Are you trying to hook existing code that throws exceptions Or are you trying to throw an existing [or new] exception with the context you provided Thanks, Stephen Fisher ...Show All

  • Visual Studio Express Editions SQL Exception -- Failed to generate a user instance of SQL server

    I am a beginner and was doing a lesson on the videos on my laptop.  I created a data base according to the lesson and everything went fine.  I went back to the project the next day and received the following message when I tried to expand the "+" sign preceding the name of the data base in the Database explorer; "Failed to generate a user instance of SQL server due to a failure in the starting process for the user instance.  The connection will be closed."  The project would not run, showing on error on the loading line of the program.  After looking around the forum I failed to see anyone else who had this proble ...Show All

  • Visual Basic retrieve and parse HTML data

    Hi in VB.NET 2005, what is the best way to retrieve and parse HTML data from a URL, a bit like a search engine crawler I am building an app, where I need to parse a website, and collate data from it (the website uses some tags that I could pull out to get the appropriate bits of data).  I want to be able to do this in a thread, and just update a DB with the data, and give the client app a status update of the progress. Any ideas/samples/links that you can point out to me that you might know of Thanks Chris Hi I wrote a program to scan withing files a while ago for somebody. Here's the link to the for ...Show All

  • Visual C# Please specify the assembly explicitly in the type name.

    I am trying to set up Global.asax and a Code behind page but I am getting the following error: The type 'Global' is ambiguous: it could come from assembly 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\aaw\2de92fac\492e65b1\App_Code.gyumgjze.DLL' or from assembly 'C:\Inetpub\wwwroot\AAW\bin\App_Code.DLL'. Please specify the assembly explicitly in the type name. How can I get the code to reference only the 'C:\Inetpub\wwwroot\AAW\bin\App_Code.DLL' file Thanx. I had the same problem. What I had to do was delete the \bin folder so that the old 1.1 framework dlls were removed. Then I could bu ...Show All

  • Smart Device Development Contacts application and event handling

    Hi, i have an app that opens the contacts application and sends WM_CHAR messages to the listview. WHen tracing through the code, i see that the lookup works. For instance, if i send "j" followed by "o", my list will filter with each send character and i will see, for example, only names that contain "jo". HOWEVER, when i am not in debug mode and stepping through, this does not work. Is ee the text "jo" in the text box, but the listview shows all contacts. I ahve tried adding DOEVENTS and sending WM_PAINT as well as warrping the WM_CHAR with WM_LBUTTONDOWN and WM_LBUTTONUP...all to no avail. ...Show All

  • Windows Forms Listbox Databinding question

    OK, I know this sounds very simplistic, I've searched all over the net for it, but I can't find anything on it. How do you databind a datareader to the contents of a listbox In webforms, I know how to do it by using the databind method of the control, but how do you do this in windowsforms A very short code example would be helpful........ ...Show All

  • Visual C++ Why doesn't the following compile under VC2003?

    Why does the following code snippet not compile in Visual C++ 2003 It compiles under GCC, so why not in VC2003. What is wrong with it // Outter class: class Outter { public: // First inner class: template class Inner1 {}; // Second Inner class: class Inner2 { public: // Method definition: Outter* Inner1() {} }; }; Well, it compiles fine under VC2005. And it compiles fine under VC2003, here. // Method declaration: Outter Inner1(){} // Method definition: Outter* Inner1() Those two lines are different, which one is it If I add the *, then it compiles in 2005 and not 2003. So I would guess that this ...Show All

  • Visual Studio Team System How would you respond to this...?

    My boss sent this email out to the dev team. It seems a bit draconian to me, and quite condescending...how would you respond I’d like to make one thing very clear. Nobody should be writing code without a plan. This means written documentation (usually a design document) on what is to be done including but not limited to system and component description, test cases, programming interfaces and use cases where appropriate; what is to be done and why it is going to be done. The design should be reviewed as appropriate: in a meeting and/or by your peers, by architecture and by [John Doe] or me. Before you complete the document(s) i ...Show All

  • Software Development for Windows Vista a Beginner Cuestion...

    Hi, I'm trying to design a solution for a document lifecycle process using de WWF with a stateMachine workflow, but there are some points i still don't understand about using WWF with ASP.NET (my host application). 1. I don't now if use dataActivites or localServices to share information between the WWF and my ASP.NET app. wich is the best way to do this 2. I need persistence in all the cycle that a document can take. I think i can start a WorkFlow every time a document is captured and it finishes when the cycle is closed. The cycle can take days or weeks. How can i keep the state of every document captured in the system (any workflow start ...Show All

  • Visual Studio 2008 (Pre-release) Data binding and images

    Hello everybody! I'm using the December CTP, and I'm trying to create an image that's bound to some XML in an XmlDataProvider, thus: < StackPanel Orientation = " Vertical " > < Image Width = " 48 " Height = " 48 " > < Image.Source > < BitmapImage UriSource = " {Binding XPath=Image} " /> </ Image.Source > </ Image > < TextBlock Text = " {Binding XPath=Name} " /> </ StackPanel > I'm setting the data context programmatically to an XmlDataProvider defined in C#, into which I stuff some XML. ...Show All

  • Visual Studio Team System Team Project Creation Failed - TF30225: Error uploading report : Work Items

    Howdy All, I can't work out why my Team Foundation Projects fail to create right at the end of the New Team Project Wizard. It appears to be a rights issue, but rights to what Report Server SQL Sharepoint Arrgh! Here is a log team project creation log:   ------------------------------------------ .... 12/7/2005 11:47:45 AM | Module: WSS | Thread: 11 | Uploading file: Template Sample - Threat Model for Web Application.doc retry #: 0 12/7/2005 11:47:45 AM | Module: WSS | Thread: 11 | Setting the Work Item Tracking Query for file : Template Sample - Web Application Threat Model.doc 12/7/2005 11:47:45 AM | Module: WSS | Thread: 11 | Uploa ...Show All

  • Visual Studio 2008 (Pre-release) Button Style Trigger - IsPressed Property

    Hi guys, May be someone knows why I can't change button's background using style trigger in IsPressed Property. Appreciate your help. Irina <Window x:Class="Window1" xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " > <Window.Resources> <Style TargetType="{x:Type Button}"> <Style.Triggers> <Trigger Property="IsPressed" Value="true"> <Setter Property="Background" Value="Red"/> </Trigger> </St ...Show All

©2008 Software Development Network