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

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

andradrr

Member List

J4m3sB
Andeezle
Grotius
Morrissey99
adamb99
mracuraintegra
ti_m
Chris4578
David_Lindley
AlexFreitas
happycamper1234
Jason Saunders
sungrebe
darkool
Sam Johnson
sushmsn
bdkf13
bennymacca
rxg
Geogie
Only Title

andradrr's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. RTS Camera

    Hi, I've went through any XNA game component, tutorial or forum thread out there and still can't find an example for what I need. Maybe someone could enlighten me or point me in the right direction! Trying to create a basic RTS style camera. The thing is when doing composite rotations no matter which axis I feed to the Rotate() method, eventually "yaw" and "pitch" rotations composite into a "roll". I want to keep my camera's roll level with the XZ plane. I tried using both "world" and "camera" up and left vectors for this. Didn't work. What do I need to do   Newborn wrote: Hi, I tried using both "world" and "camera" up and left vectors for this. The solution is to use ...Show All

  • Visual C# Windows Service or Scheduled Task

    Dear All, I need to run particular database script every 20 minutes. So what should I be doing I am confuse between windows service and scheduled task. Which is better Dear Gabriel, I guess my choice wil be windos service cause I may later need to run this script on several different machines. Can you tell me where can I get a good reference to start off with my windows service application for my database script. ...Show All

  • Visual Studio SandCastle, Msbuild, and H2Reg

    I have updated to the Oct 17 version of sandcastle and update msbuild scripts for the changes in this version. I am successfully building an hxs and can view it correctly with h2 viewer. However, when I register the collection to integrate it with Vs 2005 only the index items appear but nothing shows in the content window. I have search the fourm and can't find anything similar to this issue. Anyone have any clues why the collection looks fine in the viewer but not content in content window in vs2005 thanks, Don Eddleman Hello Don, when you mention the Content window above - do you mean the table of contents, or the pane where the topic is rendered Also, when you did your integration was VS open ...Show All

  • Visual Studio Express Editions Removing Specified Text in Textbox

    I am having trouble with what I thought was simple... I am trying to copy the text from textbox 'OpenPath' to textbox 'SavePath' and in 'SavePath' I am trying to remove the file extension so it saves it in to the folder.   SavePath.Text = OpenPath.Text Dim opentextlength As Integer opentextlength = SavePath.TextLength - 4 SavePath.Text.Remove(opentextlength, 4)   I thought this would work but apparently not   ...Show All

  • SQL Server MDX query count of new customers with a new flag who purchased in this period and following periods

    Hi all, I would like some help with an MDX query that will give the following information - return the count of new customers for the current year that have a new customer flag set and then the count of those returning customers in the following years that have made purchases. Here is an example of the data I'm taking about - CustomerID NewCustomer Year 1 1 2000 1 0 2001 2 1 2001 2 0 2002 1 0 2002 etc. So, for the above I'm looking for something similar to the following - Year 2000 New Customers = 1 Year 2001 New Customers = 1 Year 2001 Repeat Customers = 1 Year 2002 Repeat Cu ...Show All

  • Visual Studio Express Editions Problems when writing to textboxes from txt-file

    I brought this question up in another thread but the main question had allready been solved so I guess I better start a new thread. My problem is with a code that gives me the error " Object reference not set to an instance of an object". My code looks like this: Dim layerselect As String = layerbox.SelectedItem Dim strContents As String = My .Computer.FileSystem.ReadAllText(acadtroot + layerselect) Dim crlf() As String = {vbCrLf} Dim line As String () = strContents.Split(crlf, StringSplitOptions.None) Dim i As Integer For i = 0 To 5 Me .Controls( "L" & i + 1).Text = line(i) <-- Where the problem is pionted to Next ...Show All

  • Smart Device Development Get rid of/disable X

    I'm developing an MFC app for a Pocket PC type device. Most of my dialogs were automaticly given an OK in the upper right corner that caused that dialog to close and I disabled it but replacing the void OnOK() function with one of my own. However the main window is given an X in the corner that causes the window to close (and dosn't even stop the program), i've tried replacing OnOK() OnCancel() OnClose() OnDestroy() without any sucess of intercepting/detecting when the user pressed the X. How can I do it OK, that didn't work for me either, compiler can't find WS_NONAVDONEBUTTON WM_WINDOWPOSCHANGED and WM_SIZE both get sent when the program loads but not when it smart minimizes. P.S. for those of you who a ...Show All

  • Gadgets What ever happend to the old gadgets from Microsoft ?

    Today i was going through an old video which was basically showing the sidebar development team. The video had some cool gadgets in it like the wmp11 gadget, a gadget which showed emails etc. I just wanted to know does Microsoft plan to release them to the public >>Today i was going through an old video which was basically showing the sidebar development team. The video had some cool gadgets in it like the wmp11 gadget, a gadget which showed >>emails etc. >>I just wanted to know does Microsoft plan to release them to the public I've not seen the video you mean, but a lot of these kind of gadgets can be found, when you click on the "Add Gadgets" and then follow th ...Show All

  • Visual C++ Shallow Copy , Deep Copy , Memberwise Copy ,Bitwise copy

    hello ppl, i searched thru google but i didnt find the exact explanation for constructors. Shallow Copy , Deep Copy , Memberwise Copy ,Bitwise copy i got some conflicting answers.. and what is the difference between them.. .pls help me.. manish Just to be pedantic the compiler actually doesn't generate code that copies the object one bit at a time - it is at least one byte at a time. But the underlying meaning is the same: the way I think of it is a shallow/bitwise copy can be done using memcpy while a deep/member wise copy requires calling copy constructor/assignment operators for user-defined types. Note: for built in types, like int, char, etc., there is only one way to copy ...Show All

  • Visual J# How to set audio Master Volume from J#

    Hi, what is the way to set the Windows mixer master volume from J# program From the documentation, I could find only unmanaged function waveOutSetVolume, but that is not callable from J# If this is possible, please provide code snippet that shows how to do it in J#! Here is an example on how to adjust the volume. package MasterVolume; import System.Collections.Generic.*; import System.Data.*; import System.Drawing.*; import System.ComponentModel.*; import System.Windows.Forms.*; public class Form1 extends System.Windows.Forms.Form { private Button button1; /** * Required designer variable. */ private System.ComponentModel.IContainer components; /** @attribute System.Runtime ...Show All

  • Visual C++ Getting the position of a toolbar

    I 've created a floating toolbar in the MainFrm class, and wish to have it 'stick' to its parent's position. -How do I get the position of this toolbar relative to its parent I've tried using: pBar->GetWindowRect(myrect); in CMainFrame::OnMove() but its not giving me the correct coordinates -What is the correct way of setting the position of my toolbar once I have the coordinates Currently I'm using FloatControlBar(pBar,point,CBRS_ALIGN_TOP); where point has the coordinates. Thanks for helping!  you should see this Article for more Information. http://www.codeproject.com/docking/floatsetsize.asp         ...Show All

  • Visual Studio Express Editions Communication Between Multi Forms

    Hi. I'm a beginner in VC++ and I've a big problem to make possible change the controls appeariance belong to one Form from another Form.For example I've got 2 Forms: Form1 (with button & TextBox) and Form2 (also with button & TextBox), when I clicked button from Form1, the text in TextBox on Form2 should change, and when I clicked button from Form2 the text in TextBox on Form1 should change. I was trying evrything, and only what I done is changing from Form1 the TextBox on Form2. So Please Help Me. Here I Show You The code: File: Form1.h >>>-----------------------START--- Form1.h ----------------------------> #pragma once namespace Delete9 { using namespace System; us ...Show All

  • Internet Explorer Development IE 7 / Vista - Legacy Mode

    Does anyone know if the final release of Windows Vista will include the ability to run IE in a "Legacy Mode", i.e. running IE 6 in Vista We have many ERP applications that are unsupported on IE7 and we are looking to determine the impacts of upgrading. Any information on this would be greatly appreciated. The closest to a legacy mode in IE7 is the CSS compatibility mode (aka "quirks mode"). IE lets developers choose between one of two rendering modes for CSS. If a web page contains a strict !DOCTYPE directive, IE will display it in strict mode (emphasizing standards compliance over compatibility). IE7 can also display CSS as it did in older versions of the browser; this so-called &q ...Show All

  • Visual Studio 2008 (Pre-release) Getting list of all dependency/attached properties of an Object

    In Visual Studio, in the XAML view when we add a element tag say <Rectangle...> and hit the spacebar, we get a list of all the attached properties and dependency properties of the object. (For e.g. Canvas.Left). How can this be achieved through procedural code I tried using Reflection (on a Rectangle object in above case) but it did not help. Thanks, Niranjan you can try something like this Type t = typeof ( Button ); while (t != null ) { FieldInfo [] fs = t.GetFields(); System.Diagnostics. Debug .WriteLine(t.ToString()); for ( int i = 0; i < fs.Length; i++) System.Diagnostics. Debug .WriteLine( "\t" + fs .Name ); t = ...Show All

  • Visual Basic Cannot update / insert to access table

    All. I have an access database containing one table stored in my resource file. I can select from this table using the OLEDBCommand and an sql statament etc which works fine. However when I try and do an update or insert to the table no changes actually take place even though when debugging the code it says its been successfully. Can any one help Code Below Cheers Dim PPSConn As OleDb.OleDbConnection, PPSCmd As OleDb.OleDbCommand, strSQL As String, RowCount As Integer = 0 PPSConn = New OleDbConnection(csGlobal.PPSLocalConnString) strSQL = "update tblLocalApp set LocalVersion ='" & "9.9.9" & "' WHERE AppID=" & ApplicationID PPSConn.Open() PPSCmd = New OleDb.OleDbCommand( ...Show All

©2008 Software Development Network