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

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

ToddGibbs

Member List

logtorahul
Chimme
HarryBedi
RabinLin
secmask
nobodyman
RameezM
best49erfan
Sami Karaeen
IrishWolf
PeterVrenken
Kaos
Morn
Quimbo
willthiswork89
muundahweed
Norbert.Bender
Adriaan W
leclerc9
etones
Only Title

ToddGibbs's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. How make a DirectX app runs on Windows Forms (using C++)

    Well, i'm making a simple directX application based on my studies on this book Introduction to 3D Game Programing with DirectX 9.0 , the problem it's how i make the scene created runs inside a windows form to be more clear, i'm trying to render my scene inside a form but don't know how call a specific function to do that. Another thing, the code i'm posting here create by itself a window and i know that to runs on windows form i'll need erase thoses line of code, 'cause that i needed know how do that using a windows form. I'm using native C++ language and the code of the program i trying to run is down below. Thanks for any help (i really need do that). xfile.cpp #include "d3dUtility.h" #include <fstream> #include ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Rotating VertexPositionTexture Arrays

    Just for fun I am creating a simple game of space combat. To draw the ships, I am simply applying a texture to a rectangle. The rectangle is a pair of triangles defined using an array of VertexPositionTexture objects. The problem comes in when I try to rotate the ships individually. Up unto recently, I only had one ship on the screen and I was using the following lines of code to draw the ship: Quaternion qRotation = Quaternion.CreateFromAxisAngle(new Vector3(0, 0, 1), fAngle); Matrix mShip = Matrix.CreateFromQuaternion(qRotation) *Matrix.CreateTranslation(fX, fY, 0f); effect.Parameters["xWorld"].SetValue(mShip); //rotate ship effect.Parameters["xTexture"].SetValue(txStarShip); dvOutput.Dr ...Show All

  • SQL Server unable to choose server type as 'SQL mobile server'

    Hi, i'm running Microsoft SQL Server 2005 express edition. I'm trying to create a new SQL server mobile database for my smartphone. when i launch Microsoft SQL Server 2005 express edition, i was prompted to connect to a server. But i can't choose Server Type as 'SQL mobile server'. My server type is greyed out as 'Database engine'. i've already installed SQL server mobile SDK and SQL server mobile tools. i was following this guide : http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/road03242004.asp My 2nd question is how do i go about exporting a desktop version of a database to my smartphone I need to convert it to the mobile version first right Any help would be greatly appreciated!! thanks!! ...Show All

  • Visual C# New non struct data type

    Hi How do I go about defining a type that is an 8 member array of char. I.e. it is a fixed size TIA Graham Harris Something like this class YourClass {  private readonly char[] _chars = new char[ 8 ];  public char this[int index]  {   get { return _chars[index]; }   set { _chars[index] = value; }  } } ...Show All

  • Visual FoxPro Disappearance of Important Data

    Hi experts, I’m using the Visual FoxPro version 6 to implement the database system in the server. The database system is shared by all the users in my office. Sometimes, the server is down. I can see the users are not aware of it and continue working with the system. Is the reason of not capturing data properly and existing data are out of control when the server is down Please guide me. Thank you. Actually question is not clear. bcz if the server is down and if your database is in the server, immediately your click on save button should give an error. even if they are browsing the database and entering the data manually without any program (if the database is in server) then it should give an error. supp ...Show All

  • Gadgets Sidebar and gadgets in XP

    Hi Is it possible to create a sidebar and gadgets for previous versions of Windows ie XP and 2000 thanks I have been using the Desktopsidebar from www.desktopsidebar.com for about a month. Running xp sp2. It's been great! Not as gadget capable as Googles desktop sidebar but plenty available on their site. ...Show All

  • Software Development for Windows Vista I HAVE YOUR FIX FOR OFFICE 2007 & ACTIVESYNC

    The new activesync 4.2 requires reconfiguration of your ZoneAlarm Free/Pro version. I was beating my head against the wall...then I closed ZoneAlarm and sync sync! ADD THIS NETWORK TO YOUR TRUSTED ZONE 169.254.2.0 Subnet mask: 255.255.255.0 In case that IP address is specific to my activesync configuration, just connect your PPC, then do an IP config from the command prompt, not the IP address that IS NOT your internet connection. Then add that IP network to your TRUSTED zone Thanks for the info, Derrick! This forum is for discussion of programming issues with Tablet PCs and Mobile PCs, such as laptops and Ultra Mobile PCs. You might also consider posting this on the forum for Smart Dev ...Show All

  • Visual C++ sending arrays

    hello guys, its my first time here, i have a class containing an array like this array[5][5][5]; and another class contains a function that will manipulate that array, the class named dijkstra and the function will search a path between two cells, but u dont have to know that. how can i send the array to the function in main p.s: the dijkstra inhirites the class that contains the array and thanx. typedef int myarray5x5x5x_t[5][5][5]; void process_array(myarray5x5x5x_t& arr) { ... } void main() { myarray5x5x5x_t arr = {0}; process_array(arr); } ___________________________________________________ Best regards, Alexander Stoyan E-mail: alexander.stoyan@gmail.com MSN: alexander.stoyan@gmail.com ICQ: ...Show All

  • Visual Basic loading adobe

    I have created an adobe file and all I need to do is when someone clicks the 'Documents' Menu the adobe file opens up. the code that I have now is PDF.LoadFile(qwdoc.pdf) Qwdoc.pdf being the file that I want to load and pdf the name of the pdf on my form Can anyone can tell me what I am doing wrong or what else I need ! Oh, btw-I have the com reference for the adobe reader added to my toolbar and my form. Since you aren't trying to automate Adobe Reader, it is much easier to use Internet Explorer to do this. You can show the PDF in IE using one line of code and no COM references: System.Diagnostics.Process.Start( "iexplore.exe" , "c:\qwdoc.pdf" ) Just make su ...Show All

  • Software Development for Windows Vista My Application has a problem finding the RAPI.dll on Vista x64

    I have an application that uses the RAPI.dll to send commands to a device. The application works find on Vista, but when I try and run it on Vista x64 then it gives an error indicating it can't find the RAPI.dll. I checked and the RAPI.dll is in c:\windows\system32, which is also in my path. I can browse the device fine through the file explorer, so it looks like the built-in "ActiveSync" works. I ran the application in the dependecy walker and it showed c:\windows\system32 in the search path. It showed the following error for RAPI.dll "Error opening file. The system cannot find the file specified.". For kicks, I copied the RAPI.dll into the directory with my application. This fixed the RAPI.dll not found e ...Show All

  • Visual Basic Opening Other Applications

    What would the code be (to put into a button) for opening another application I need to launch the calculator....located at: C:\WINDOWS\system32\calc.exe This is what I have so far... Private Sub Command1_Click() Process.start (calc.exe) End Sub But this always gives me "Run-time error '424': Object Required    I'm using Visual Basic 6.0 thanks if you can help Process.Start is the way you would do it in VB.NET, to get this to work in VB6 you want to do this: Private Sub Command1_Click() Dim x As Integer x = Shell("c:\Windows\sytem32\calc.exe") End Sub Hope that helps, Jonathan ...Show All

  • Visual Studio 2008 (Pre-release) MenuItem ItemsSource

    Hello, I would like to create a context menu for my listview: That would have the following structure: Send to Admin Send to > John Jim Jill Jack The list of names is dynamic is encapsulated in a string array and accessible through the TEST property. <ListView.ContextMenu> <ContextMenu DataContext="{Binding ElementName=pg}"> <MenuItem Header="Send to Admin"/> <MenuItem Header="Send to" ItemsSource="{Binding Path=TEST}"> </MenuItem> </ContextMenu> </ListView.ContextMenu> So I can't tell why this doesn't work :( I tried ItemsSource={Binding ElementName=pg, Path=TEST}...no cigar. does the itemsS ...Show All

  • SQL Server using a datetime as dynamic filter... How?

    Hi! Is there any way to use datetime value as dynamic filter in the Merge Replication (Yeah, I use HOST_NAME in order to pass datetime value) I used all possible approaches, but or I got the error Conversion failed when converting datetime from character string. (Microsoft SQL Server, Error: 241) or I got 0 rows on the subscriber after synchronization. Any ideas how it can be solved Thanks Paul Yes, the filtering date can be changed. by the way, I use in the article properties the option 'Delete data. If article has a row filter, delete only data that matches the filter.' ...Show All

  • SQL Server Passing parameter to query from main form

    I'm creating a report in SQL Server Reproting Services which requires start date and end date as parameters. These date values are keyed in by the user on a form and I need to pass these date values to the query (or dataset) that will use to filter and obtain data from the database. How do I pass the date parameters from a form to the query Yes. Create two report parameters, one named StartDate and the other EndDate. In the query you'll refer to these two parameters as @StartDate and @EndDate. Do this for any parameter you want to pass into your query. ...Show All

  • Visual Studio Team System DeleteProject using CSS causing problem...

    Hello all, I have noticed that the DeleteProject API in the CSS deletes only project name information from TFS, but does not delete the related artifacts from TFS such as WI, reports, sharePoint sites,.. Please suggest a way to delete the team project... (without using CLI / Web service) How can I delete the other artifacts (in the database) for the projects I have delted in this manner Thanks in advance One option is to use TeamProjectDeleter, this is available in Microsoft.TeamFoundation.Client namespace in Microsoft.TeamFoundation assembly TeamProjectDeleter deleter = new TeamProjectDeleter(teamFoundationServerInstance, projectName, /*bool*/ forceDelete); deleter.Delete(); ...Show All

©2008 Software Development Network