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

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

johnny83

Member List

Norbert.Bender
Koray Samsun
Cathie 64
Steven Hawkes
Oleg Kalenbet
jdonahue1971
Sam Williamson
JCJCJC
allison_h
Grotius
mnavkum
ITsAlive
billqu
logan_india
FranklinBAH
mdrelyea
Minway
Mykhaylo Blishch
Gordon Henriksen
chandu_sanka
Only Title

johnny83's Q&A profile

  • Visual Basic Error using Math.Floor()

    Hi again. in the JScript i was converting to VB i got an error that i dont have a solution to. the code is: jd = Math.Floor(jd) + 0.5 . whe the program runs i get the following error message: System.Reflection.AmbiguousMatchException was unhandled by user code Message="Overload resolution failed because no Public 'Floor' can be called without a narrowing conversion: 'Public Shared Function Floor(d As Decimal) As Decimal': Argument matching parameter 'd' narrows from 'String' to 'Decimal'. 'Public Shared Function Floor(d As Double) As Double': Argument matching parameter 'd' narrows from 'String' to 'Double'." Source="Microsoft.VisualBasic" StackTrace: at Microsoft.VisualBasic.CompilerServices.Overlo ...Show All

  • Visual C# problem with f5

    hi all vs 2005: i installed plugin for webapplication (different from web site) and i imported my web app from vs 2003. Now vs2005 not build and run always, sometimes i have to close and retry... why thx i download from microsoft site!!! http://download.microsoft.com/download/9/0/6/906064ce-0bd1-4328-af40-49dca1aef87c/WebApplicationProjectSetup.msi ...Show All

  • Visual Studio Express Editions help me! I don't obtain the point of IHTMLElement through IHTMLDOMNode! why?

    my code: CComQIPtr<IHTMLDOMNode>pRootNode(lpParentDisp); CComPtr<IDispatch> spChildren; if(FAILED(pRootNode->get_childNodes(&spChildren)))return; CComQIPtr<IHTMLDOMChildrenCollection> pChildColl(spChildren); long lCount = 0; pChildColl->get_length(&lCount); for (long l = 0;l<lCount;l++) { CComPtr<IDispatch> spChild; pChildColl->item(l,&spChild); CComQIPtr<IHTMLDOMNode> pChild(spChild); CComQIPtr<IHTMLElement> pElement(pChild); // I don't obtain the point } please somebody help me ! thanks........ ...Show All

  • Visual Studio Express Editions Error message

    Hello, I don't know if this is the right forum for my question, but I try. I use a program to convert RM to AVI files, but everytime I click on the button : Convert , the program will give me a error message. http://img88.imageshack.us/img88/7034/naamloosek0.png I have made a sreenshot of the error. Should i close visual basic or do something with the settings Sorry about my English, i'm from Holland ;) With kind regards, Snorro This is just a diagnostic message that the conversion program crashing due to an unhandled exception. Please contact the vendor of the conversion program for support. ...Show All

  • Visual Studio Express Editions After program built, no wav file.

    This is strange, I added a .wav file to my resources, and the .wav files plays fine when in running the program. But, when its built it just makes the normal "Beep" sound, instead of the .wav file. How come did you actually import the file or is it a local file That's important. I hate to suggest this but your form should have a .resx file and you should be able to check and see if you have a wav file included as a resource. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. VertexBuffer and IndexBuffer For Height Map

    I'm trying to create a heightmap from an image using a VertexBuffer and IndexBuffer but it isn't working. When I run my program, I just see a blank screen. Any ideas using System; using System.Collections.Generic; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace HeightmapDemo { public class Heightmap { public static float HeightScale = 50f; public static float CellSize = 20f; protected VertexPositionNormalTexture[] vertices; protected short[] indices; protected VertexDeclaration vertDecl; protected VertexBuffer vertBuffer; protected IndexBuffer indexBuffer; protected BasicEffect effect; public void GenerateModel(GraphicsDevice graphicsDevice, Textur ...Show All

  • Software Development for Windows Vista How to call webservices in a workflow in an asynchronous way

    Hi, I am doing R&D on the features of Windows Workflow Foundation which we are going to apply for our project after release of WWF. we are using SOA Architecture. So I need to call services based on the rules. I have succeded in doing them practically using Sequential and State Machine Workflow. So, now I want to achieve Asynchronous way of calling webservices. I don't know whether this can be possible with WWF or not. If it is possible, can any body please help me in doing this. Thanks in advance. I'm not sure I fully understand what you are doing that would cause you to both have a web service that returns nothing and need to get the response, so clarify that if you can. But, I'll give it a shot: I am assuming you hav ...Show All

  • Visual Studio Overwriting project properties from the msbuild command line - can not get it to work

    Hi, We have a click-once deployment project. Per our customer's requirements, we would like to publish this click-once deployment project for web distribution and CD ROM distribution (with generating an autorun.inf file). We also have an automated build process which uses msbuild to publish click-once projects. To accomplish this goal, I am issuing two msbuild commands, the first command is for the web distribution, which publishes everything under webclient directory. I do not pass any command line parameters to msbuild, because in the project file, all properties are set for the web deployment (Publish directory, etc) Then the second msbuild command I am using attempts to overwrite the project properties (as desribed @ http://msdn2 ...Show All

  • Software Development for Windows Vista Which design is better for ASP.NET WWF application

    As seen from the sample applications from blogs and msdn, there is two approches for asp.net application using WWF. One is writting code to start the work flow and runtime from web pages itself and other is creating HTTPHandlers which starts the workflow on request from web pages. Can any body suggets which approch is better. If there is any other way please let me know. If any one can put pros and cons of using said two approaches, please explain. thanks. I think both approaches have its pros and cons. Starting WorkflowRuntime from web page code: Pros: Easiest way to implement. You have control over when and from which page you want to start the workflow. Sometime you may not want to start the workflow right aw ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Storage

    I a bit confused about what things I need to consider when working with storage in XNA. For instance, I normally use xml files to to store data (map files, config). I want to be able to develop simple games that run both on the xbox as well as pc... so my confusion is what do I do about storage to make sure I don't run into any gotchas from one platform to the next I understand that I should be using StorageContainer and StorageDevice... but is that just for for storing game state like save games and so forth Or can I access the game directory using those... I need to be able to do simple things like load map files. What location do I store these files so that I can access them on both platforms at run time. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Invalid Search Path

    Hmm...there are always problems with the express versions of the Visual Studio Components, I think...under VC++ Express + Platform SDK the compiled EXEs won't run on other computers and now here with Visual C# Express and XNA Express Beta the compiler can't find the correct LIB Path. The funny thing is, that the Installation routine has named the installation path "Microsoft Visual Studio 8" but the compiler tries to search the LIBs in the Path "Microsoft Visual Studio\VC98\Mfc\lib"...I searched the whole IDE to find the place where I can reset the LIB Path, but it seems Microsoft has decided this feature to complicated for Express Users :D I Installed Visual C# Express on the D Drive because the C Drive ist ONLY for OS ...Show All

  • Visual Studio Team System check differents elements

    Hello, I would like to create some rules to check the naming conventions. I found alot of differents things really interesting. But i(d like to check if an element is : -constant -registerKey -parameter -control -delegate classe -exception classe -collection classe with the the override method "check". Can you help me Thanks Constant - Check(Member), cast it to Field and look at Field.IsLiteral Parameter - Check(Parameter) Delegate - Check(TypeNode) and cast to DelegateNode Properties - Check(Member), cast it to a Property Events - Check(Member), cast it to Event Try the above, this will get you started. Determining the other types is little ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. A couple more questions

    Does the Xna Framework support bump maps for the 3D models In the tutorial, we create a view of sorts using: matrixView = Matrix .CreateLookAt(camPosition, Vector3 .Zero, Vector3 .Up); matrixPosition = Matrix .CreatePerspectiveFieldOfView( MathHelper .ToRadians(4 5.0f ), aspectRatio, 1.0f , 20000.0f ); and later on: effect.World = Matrix .CreateRotationY(modelRotation) * mesh.ParentBone.Transform * Matrix .CreateTranslation(modelPosition); effect.View = matrixView; effect.Projection = matrixPosition; What I'm trying to understand is what these matrices are for. What's the difference between a View matrix and a Projection matrix I assume the World matrix is where the mesh is in the game world. I'v ...Show All

  • .NET Development Multi-assembly configuration

    I have a C# application which uses multiple assemblies, and I want them all to use "global settings" Using Application Properties I am able to define and use persistant data, however these properties are not available to satelite assemblies as the settings class is Internal Sealed. The System.Configuration.ApplicationSettingsBase namespace does provide PropertyChanged event. How should I propergate global setting changes to all assemblies Should I use the PropertyChanged event or is there a more straightforward option that I am missing   Thanks Nick.. Bump! Ah some one must know a prefered method to propergate user settings through to all assemblies whith in an applicatio ...Show All

  • Visual Studio Team System Sharing issue in VSTS Source control

    Hello guys, I'm trying to migrate our VSS database to VSTS Source Control and I don't really understend how can I make "sharing" happen at VSTS For example we have next VSS source tree: $root |-DummyProject |-Includes |-ProjectA |-ProjectB Both of them have shared files from <Include>. My question is: What is an alternative for us in VSTS in terms of do not re-organize our current code Thanks a lot guys. Well with a references it works pretty well, but how about individual files Let say I have VERSION.H file which is shared in 20 different projects in VSS. When I convert those projects to VSTS the convertor creates branches of this file in 20 places. I change the file in one place(mai ...Show All

©2008 Software Development Network