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

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

yxrkt

Member List

vibhavari
Nascom SNc - Gian Mario
rmeuser
Julia Semenova
MichaelMouer
Andreas Kranister
allison_h
Pad
Johannes Wind
Nightmare_BE
ssfftt
Arkcann
Joseph Geretz
Seena K
ciaranh
Bandile
yjacket2006
yabing
AdeptBlue
Dhaval4friends
Only Title

yxrkt's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. "Your first game" graphics device errors

    I'm working on trying to get the "Your first game" code given in the Help documentation to work. I had an exception when accessing the graphics device which I solved by turning the multisampling option to "off". Now I have another exception which occurs when I attempt to load a sprite texture into the graphics device. This texture has been added to the project and so it's where it should be. I'm thinking maybe it's just my GeForce4 graphics card is not supported by XNA. Any thoughts on this Here is the code where the exception occurs: <code> void LoadResources() { myTexture = Texture2D .FromFile(graphics.GraphicsDevice, "ptah1.gif" ); <<<<<< Exception thrown ...Show All

  • Software Development for Windows Vista Is .exe file's manifest info really being cached?

    I've read in a post that .exe's manifest info could be being cached. Is this really true And is there any way to delete that info or force the cache to be updated Can anyone shed some light on this issue Deleting manifests isn't a great way to change visual styles, as the manifest has a much larger impact (UAC, app compatibility, changes the version of common controls etc). Furthermore in many circumstances the application simply won't have write permission to the location it is installed, breaking your behaviour.They are really never intended to change once an application has been finalised. It is much better to work with visual styles programmatically using SetWindowTheme or Application.Enabl ...Show All

  • Visual Studio Express Editions I Need Help With Creating My Web Browser

    I am creating a web browser that is focused at loading pages at very high speeds. I have all of the basic "Forward" "Back" "Refresh and all of the major stuff down exept for the "Stop" Button. Also I am wondering how you can rigg your browser to automatically delete Cookies and tempory files as soon as they come. PS...My Browser works awesome already. Right now I am using it to create this post. well the temp files and cookies are stored in the same way as IE stores it - in the cookies/temporary internet files folder. the web browser control is a stripped version barebone version of IE I believe so the characteristics would be similar.   Look at the Document.Cookie property on the web ...Show All

  • Visual C# Abort a Thread

    hello, i have a problem that i really dont understand !!,, i cant abort a thread, my app get frozen... i have this function: socket is my Socket tcpListeer is a TcpListener listening is a bool listen is a Thread private void StartListening() { socket = null ; tcpListener = null ; tcpListener = new TcpListener(IPAddress.Any, port); try { tcpListener.Start(); listening = true ; lblConnection.Text = "Esperando Conexion en puerto " + port; btnListen.Text = "Cancelar"; //Here i wait for a connection and this can take long socket = tcpListener.AcceptSocket(); listening = false; connected = true; lblConnection.Te ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Creating VertexDeclaration every frame

    Hi @ll i have a simple quiestion bout examples in xna tutorials why VertexDeclaration is creating every frame using( VertexDeclaration decl = new VertexDeclaration( graphics.GraphicsDevice, VertexPositionColor.VertexElements ) ) {.... Why instead of it just create it once on start and use then every frame it seems this is the only place in docs with this bug   Mitch Walker - MSFT wrote: This is a bug. You shouldn't create a VertexDeclaration each frame. that's what i want to hear, thx for quick reply :) btw, i've tried to use BasicEffect, but seems it's bugged, no vertex color, no lighting (there r light artifacts; edit: ohh, i forgot to define vertex normals ^_^) or maybe i'm doing somet ...Show All

  • SQL Server SQL 2005 BUG - RIGHT OUTER JOIN on View

    I am having no luck reporting this bug on the feedback link. I type in all information and click "Submit" and it just refreshes the page. So, here it is, I hope someone from MS will post this for me. The problem appears to be a RIGHT OUTER JOIN on a VIEW causes the query to never return, or return very, very slowly. In 2000 SP4 the query returns in 2 seconds, in 2005 (2153) 64bit, it ran for 42 MINUTES before I killed it. The is a duplication script to show a problem I have. This script uses the AdventureWorks database to demonstrate the problem. This is script is not the best, but shows the problem. Please no comments on how to work around the problem. This query is generated by a user using and AdHoc reporting tool. I have NO control ov ...Show All

  • Visual Basic Cannot get margins correct when printing

    Hi There, I have been trying to print a report and am getting nowhere with regard to getting the correct margins, pageunits etc for the printdocument. The test code I have written below gives me really large margins on each side of the page. I have tried MarginBounds and PrintableArea. I have tried using millimeters, pixels, points and inches. MainRectangleSize.Height = e.MarginBounds.Height MainRectangleSize.Width = e.MarginBounds.Width MainRectangle.X = e.MarginBounds.X MainRectangle.Y = e.MarginBounds.Y MainRectangle.Size = MainRectangleSize I would really appreciate some help on getting the correct method of drawing a rectangle on the margins of a page. Thanks Shawn ...Show All

  • Visual Studio Team System Compuware & VSTS

    Please can someone confirm the benefits of haing the Compuware Test partner tool as well as the VSTS test suite having scanned through the posts here all I can find is that VSTS does not support UI very well. Alongside this are there not problems with the recognition of Java bits as well (forgive my tech. speak there - I'm just a mere tester). Thanks Dave Hi Dave, There are third party vendors which support with tools for Visual Studio Team System, and I recommend looking at their websites for updates on their products. We are working on fully supporting functional testing (UI testing) in our future releases. Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All

  • Smart Device Development How to change from one form to another in Compact Framework 1.0?

    I have a simple compact framework 2.0 application that I am trying to convert to CF 1.0 so that users will not have to upgrade the framework if they have a lower version. I get an error in the 1.0 version when I try to call a different form, such as the About form with: About.Show() I get "Reference to a non-shared member requires an object reference" If I try: Dim f As System.Windows.Forms.Form = MyApp.About f.Show() I get "About is a type in MyApp and cannot be used in an expression" The first version works in 2.0. How do I do this in 1.0 Thanks in advance. You should use New operator to create an instance of a form: Dim f As New <WhateverForm ...Show All

  • Windows Forms Do Not Merge Menus of MDI & Child

    I see several threads over the past few years on how to merge menus from the child on to the MDI - as it does this by default it's just a matter of how you want them to appear. However, I would like to maintain 2 separate menus - 1 on the MDI, and 1 on the child. If I change the Merge Type from Add to Remove it removes it from the MDI menu, but does not display it on the child form. Any suggestions would be appreciated. GRaab Ok, color me blind. I didn't see that you mentioned you were using VB 2003 in the last post. The stuff I was talking about only applies to the newer menu strip items in v2.0. For future reference if you aren't using VS2005 you should probably mention that in the subject header or in the initial messag ...Show All

  • Visual Studio 2008 (Pre-release) how to add text to a 3d shape?

    hi, i want to add text to a 3d shape, the text need to be on one side of the shape and act like a part of it (move when the shape move and ect'...) how it can be done Thanks, Omri Have you considered using a VisualBrush on the shape Something like: <Viewport3D xmlns=" http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x=" http://schemas.microsoft.com/winfx/2006/xaml ">     <Viewport3D.Camera>         <PerspectiveCamera             FarPlaneDistance="100"             UpDirection="0,1,0"  &n ...Show All

  • Visual Studio 2008 (Pre-release) Cannot set Name attribute value 'Tab1' on element 'MyTabItem'. 'MyTabItem' is under the scope ...

    Hello, I'm using WPF RC1 and I'm trying to create a set of custom control with template to skin the appearance of the TabControl. When I'm trying to use those controls in my application, I'm getting the following error: "MyPage.xaml(71,69): error MC3093: Cannot set Name attribute value '_Tab1' on element 'MyTabItem'. 'MyTabItem' is under the scope of element 'MyTabControl', which already had a name registered when it was defined in another scope. Line 71 Position 69." Here is a trimmed version of the application's page XAML. < DockPanel LastChildFill = " True " >   < rbn:MyTabControl DockPanel.Dock = " Top " >     < rbn:MyTabItem Header = " Tab1 " Name = "_ Tab1 " >   ...Show All

  • Software Development for Windows Vista FlowChart workflow - Custom FreeformActivityDesigner sample

    Hi,        Here is the long due sample for writing custom activity designers utilizing the freeform activitydesigner. This is still a very crude sample, so we will try to post improved versions from time to time.  Thanks to Arjun for the Executors and Validators. The validators show a false positive sometimes because of a bug that we will be fixing soon. http://www.thispointer.com/workflows/FlowChart.exe here is a preview of the flowchart workflowtype  get http://www.thispointer.com/workflows/FlowChart.jpg Hi! I look forward to an imporved version. When will that come Keep up the good work! ...Show All

  • Visual Studio 2008 (Pre-release) TextBlock Style in a Grid

    Hello, I have a rather simple question. I have a grid with a bunch of textblocks. I want those textblocks to use the same style. So I have to go through and copy paste the Style={StaticResource ABC} for each TextBlock element. I have noticed that Grid has some hooks for styling text such as TextBlock.FontSize. Is there a way I can assign my TextBlock Style to the entier grid Thanks Houman Ah I see, So I could define a style at the grid.resources level remove the key element...then it would automatically apply to all textblocks inside that scope I'll try it out. Thanks Houman ...Show All

  • Windows Forms Distributing Runtime files with .net program (Question)

    So I heard somewhere you can distribute the .net framework with your .net program. So if someone doesn't have the .net framework on there computer, the program comes with all the runtime files without installing anything, could someone tell me how to do this please simply create a setup and deployment project and thats it! Well, of course, you need to set it up to include your project, create application folders and so on. When installing on the destination computer, the installer automatically downloads the correct version of the .NET Framework, installs it then continues to install your application http://msdn.microsoft.com/library/default.asp url=/library/en-us/vsintro7/html/vbconintroductiontodeployment.asp http://msdn. ...Show All

©2008 Software Development Network