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

Software Development Network >> XNA Rockstar's Q&A profile

XNA Rockstar

Member List

M.N. Ahmed Sahib
sandyrae
Rolle
voxanBoxer
smilemax
mbp
Santosh Ransubhe
petedashwood
Luxsy
Jason Zhang
big fish713
dlawler
nbrege
John Dunn
JeroGrav
LouArnold
Pablo Orte
red-ned
AndyL
Dave Mullard
Only Title

XNA Rockstar's Q&A profile

  • Visual C++ Resource files in VC++

    I am trying to understand resource file concept in VC++.But i really confused.First i want to ask you a question. In every document it says you must include #include "resource.h" But in my solution there is only one file it is Resource.h .Is resource.h and Resource.h different Can you advice me web links to understand resource, resource script files in vc++. Thanks Case is not a matter in windows file system. Resource.h and resource.h are same in windows file system. you can have only one of them. it is not possible to put both of them under same directory To learn more about resources, please refer this link HTH ...Show All

  • Visual Studio Unexpected error when load Installshield project to VSS with VS2005

    I have a solution with a C# project, a dotfuscator project and an InstallShield 12 smart device project. When checking in the solution both C# project and dotfuscator got upload to VSS 6.0. But when at the installshield project VS2005 throw this error: --------------------- Unexpected error encountered. It is recommended that you restart the application as soon as possible. Error: Unspecified error File: vsee\pkgs\vssprovider\cmsscciabstractionlayer.cpp Line number: 4260 ---------------------- Any suggestion It is hard to figure out why this is happening without a repro. Could you please give us a simple repro or a dummy solution that can repro the error so that we can narrow down the is ...Show All

  • Windows Forms Creating a Class with multible controls

    I would like to create a class that includes a group box and several checkboxs. I want it so when you create a new instance of the class it creates the groupbox and the checkboxs, I do not want to have simply refrence an exsiting groupbox, ect. I have no Idea how I would go about the creating the groupbox and checkboxs so they would appear on the form through a class. Any help would be much appreciated, thank you in advance. Rather than create a new project for your control simply add a new item to your existing project and when prompted choose a user control. After that you'll still need to build the project to have it show up in your toolbox but the rest of the tutorial will still help y ...Show All

  • Windows Live Developer Forums How to find the maximum zoom available?

    After I map an address, how can I find out what the maximum zoom level is available (that is, the maximum I can zoom into without the "missing tiles") Thanks! Thanks for the update John.  I've looked through the API and found that there are only two methods in relation to determining max zoom level:  map.vemapcontrol.GetCurrentViewMaxZoomLevel();  map.vemapcontrol.GetMaxTileZoom(); Both of these are not in relation to the "no image" photo that you get in aerial/hybrid which leads me to believe that the tile server is managing what images are getting displayed and not the API control ...Show All

  • .NET Development How to do with wildcard search!

    Hi all! I was looking to biuld sql statemenet where a wildcard search should be included on one of the criteria/field. For example if I gave words like " search " " searchs " and " search's " it should return all the values under that specific field having all or two or one of these words. Would you mind helping me how to construct the sql statemenets please Thank you in advance. you can customize your SQL statement before executing mySqlStatement = "Select * FROM MyTable Where (TheSearchField Like " & text1.text & "%)" ...Show All

  • Visual C# a quetion about events

    Hello, can someone please tell me what is the difference between the two syntaxes: this .Enter += new EventHandler (Form1_Enter); this .Enter += Form1_Enter; I've noticed that both of them work. So which one should I use does it matter Thanks, Ori There is no difference (other than the shorter syntax). The compiler knows the type of the event handler needed from the event itself. The second form is new for .NET 2.0. ...Show All

  • Visual Basic Define Class?

    I dont know if thats the right thing to say or not being I'm still green, but If I had a calculation that I needed to do often, is there a way t o make that (Public(Dont know if thats right or not)) I am wanting not to have to type the calculation over and over just wanting to put it in one place and refer to it if possible. Then how would you call it Davids Learning Hi, you can do like this: Class Calculator Public Shared Function Add( ByVal val1 As Integer , ByVal val2 As Integer ) As Integer Return val1 + val2 End Function End Class And call it like this: Console.WriteLine(Calculator.Add(10, 5)) Hope this helps ...Show All

  • Visual Studio Express Editions Save selected ComboBox Value in Dataset

    Hi Everyone I have a combobox manually filled with two items. I want to bind it to a dataset. So that the selected item is saved in the database and that items saved in the database are shown in the combobox. This is the code: Me.InternalExternalComboBox.DataBindings.Add(New System.Windows.Forms.Binding("SelectedValue", Me.ProcessBindingSource, "InternalExternal", True)) Me.InternalExternalComboBox.FormattingEnabled = True Me.InternalExternalComboBox.Items.AddRange(New Object() {"Intern", "Extern"}) Me.InternalExternalComboBox.Location = New System.Drawing.Point(715, 73) Me.InternalExternalComboBox.Name = "InternalExternalComboBox" Me.InternalExternalComboBox.Size = N ...Show All

  • Visual Studio 2008 (Pre-release) Xaml Error when using Frame in a Window "Source="Page1.xaml"

    I am getting an xaml Error when i use a Frame to Display a Page with in a Window Class....When i run the program its fine,when i remove Source="Page1.xaml" the error goes away... But as soon as i put the Source="Page1.xaml" back in the Error Returns.. 'Class' sttribute does not exist in XML namespace ' http://schemas.microsoft.com/winfx/2006/xaml ' namespace Line '8' Position '2' Here is part of the Xaml:: <Window xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml " xmlns:mc=" http://schemas.openxmlformats.org/markup-compatibility/2006 " xmlns:d=" http://schemas.microsoft.com/expression/interactivedesigner/2006 " mc:Ignorable= ...Show All

  • Windows Forms Calling open another form

    Yet another question for you guys: I have created 2 forms in my application. I want a button on Form1 to "call open" Form2 without opening another window. AKA: Sort of like a "Next Page" option. What code would I put in the button event handler to perform that task It works when I tested it. When I open Form 2, it hides Form 1 as well. I was not really looking for a code to actually bring a new form up INSIDE of another form... Although that would be neat if I could find out how to do that... Give me the details, what code do i put where lol... (im completly new to this, forgive my ignorance). Thanks a billion trillion! ...Show All

  • Visual Studio 2008 (Pre-release) M:N Relationships

    Where (link, samples) can i find documentation about implement a M:N relationship I supoose that i need an intermediate table, isnt it Something Like that ... A(IdA, ......) Key = IdA B(IdB,.......) Key =IdB AB(IdA,IdB) Key = IdA,IdB Ive had read "Hand-On Lab Visual Basic document" and page 5 says "DLINQ allows uou to express 1-to-1 and 1-to-many rel. using EntytyRef and EntySet types" ok What about M:N Thanks.And sorry if this question is available in the doc. but i couldnt find it Jim... do u mean that i can build a M:N relation with two "1:N relations construction" I think... its impossible Let see this sample CARS PERSONS * One car can be owned for one or more people. * One person can own one or m ...Show All

  • Visual Basic in my richtext box i need to load a ms word document file content

    in my rich text box control i need to load the msword document file my word document file contain but it is accepting onely a text file can any one help me Did you save you documents from works as rtf documents and NOT word doc files. If they are not rtf files they will not work in the RichTextbox control. ...Show All

  • Visual Basic Searching Records on Windows Form

    I can't seem to find a solution for this anywhere! Everywhere I've searched on Google always shows me how to do this with a datagrid - but not a form. I've created a form which correctly displays all my fields in a recordset. I can scroll through them, add new records, delete records, etc. etc. and everything is fine. I now want to add a Search field to the form so that when the user enters a search string, it automatically searches through the dataset and refreshes the display to display the appropriate search result (i.e. populates the currently open form with the appropriate record). Any help will be appreciated. Thanks DeborahK, however I don't seem to have the 'productretievelist' op ...Show All

  • Visual Studio Custom Add File and Linking File

    Hi All, When you right-click on Debugging in Solution Explorer in Debugging window, you can add a new item with your own DSL template. Can I perform this with just clicking a button I made by myself Second one, let's say I add two new DSL files; test1.mydsl and test2.mydsl. How can I link these two files For instance, in test1.mydsl I make the relation between System1, System2, and System3. And in test2.mydsl the full diagram of System1 is specified. Can anyone please help me, or point me to links that are related Thanks in advance. Herru Thanks, Edward! Your answers sound interesting. I've heard about GAT/GAX before, but I didn't know what is exactly the purpose of that and the relation to DSL. I thought my application w ...Show All

  • Smart Device Development How to detect idle on SmartPhone application

    I am building a SmartPhone application that I want to password lock out if the user stops interacting with the application for a period of time. On the PocketPC version of this application, I was able to detect user activity by catching the WM_LBUTTONDOWN and WM_MOUSEMOVE messages. This does not work on SmartPhone. Is there a prescribed method for detecting that the user has stopped using the SmartPhone thanks, KevinBase ...Show All

©2008 Software Development Network