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

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

Jon_V

Member List

fibonacci1123
IamHuM
WayneSpangler
DevDiver
Chris A. Palmer
Rush hour
lgrainger
JERRYa
Shailendra Kumar
Jeff Walsh
AlexanderJ
RufusLDK
dragoncells
Vadimus
Rabtok
Elfshadow14
sathupadikesavan
karande23
ReneeC
Andrew MacNeill
Only Title

Jon_V's Q&A profile

  • Visual Basic i forget what is the name of input message box? InputBox

    to prompt the user to enter a string in a little input text box Thanks What is your follow up question It is there as Nogchoco states (if you need a quick and dirty way of getting a simple input while testing). There really isn't a necessity for it in the core .NET framework. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. My 2D game layer Editor and XNA to PictureBox question

    I started to build my "2D game layer editor", if you want you can see the interface of the application at this link: http://www.tonigreco.it/_XNA_/Editor.jpg The question is: can I draw to PictureBox area using XNA framework And if yes, how Feel free also to post here your general ideas about how to making this kind of editor. Thank you, Toni Yes, this is a very good tutorial. But, if I understand right, it don't use .NET control for user interface, but it draw control like sprite. With my editor I want to use control like treeview, propertygrid and more. These controls work fine with little code to write. I don't have a time to write also my classes to draw and manage this kind of user interfaces. Bye Toni ...Show All

  • Visual C# How to Save/open data to/from a file

    Hi, I have a Rich Text Box and I want to save the text in that Text Box to a file. What I want is when the user finish entering data in the Text Box, then they press the "Save" button, then the SaveFileDialog would popups and let the user save the data to a text file anywhere they want to. The user can also re-open that file and then the data would populate the Text Box. How do I go about that, please help!! Thanks Jason You can retrieve the text data using either the Text or Rtf properties. The former returns raw text while the latter returns RTF text. In both cases you need only send it to a file. You can load the box with data by setting these properties as well. To display the Open/Save dialogs create an in ...Show All

  • Visual C++ std::vector::resize bug

    This is the declaration for the second form of std::vector::resize (in VC 2005): void resize( size_type _Newsize , Type _Val ); Note it passes by value, not by const reference. This is different to every other function in std::vector, and means you cannot construct a vector of items marked with __declspec( align( n ) ). I modified the vector header to use a const reference instead and it seems to work fine now. The Intel C Compiler does not seem to have this problem, and I've just checked the GCC header and it passes by const reference. I can't really see any reason why you'd want to pass by value, so I'm presuming this really is a bug. Does anyone in MS read these forums cfp c_f_p w ...Show All

  • SQL Server Where can I locate and see my connection string of my databas?

    Hi, as the subject suggest. Thanks in advance Whats the use of the '@' Example: string connectionString = @"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\sample.mdf;Integrated Security=True;User Instance=True" ; ...Show All

  • Visual Studio Express Editions embedding .swf to vb.net forms

    can someone give me the codes needed to embed an swf file ( a flash animation for the banner) in a window form.. thanks.. im using the version 8, macromedia pro... thanks. Right-click the project and click Properties, Resources tab. Click the arrow on "Add resource" button and choose Add Existing File. Navigate to your .swf file. Build your project. You now have a My.Resources. flashname property which returns a Byte(). No idea how you'd play it with MacroMedia though... ...Show All

  • Visual C# program running problem

    hi, i have a problem with running my program. when i trace my codes, the program is able to run according to what i planned. but when i run without tracing, the program will skip 2 lines of codes. can anyone advise on what i can do thanx. hi, i've solved the problem by replacing the problematic line(method) by adding the contents of the methods into the codes. i believe the problem is due to another class declared in the method that clashes with the class declared in my codes. i have another problem which i need advise on, how can i trigger an event manually from a method. i have to trigger a button click event which consist of my "save file" codes. i understand that i can't simply call the ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Generate random numbers for every class instance

    I'm trying out some AI techniques but I'm having a problem generating a TRULY random number. I create 20 instances of an ant class that should move and change directions on a random basis. They are doing that, but all in unison instead of each changing directions at different times. Its like synchronized ants. Anyone know how to create a truly random number each time the ants use this method Random r = new Random (); if (r.Next(100) < 5) ant.Speed = new Microsoft.Xna.Framework. Vector3 (-ant.Speed.X, ant.Speed.Y, ant.Speed.Z); if (r.Next(500) < 2) ant.Speed = new Microsoft.Xna.Framework. Vector3 (ant.Speed.X, -ant.Speed.Y, ant.Speed.Z); I might be able to give a bit of in ...Show All

  • Smart Device Development CCommandbar wont show

    Hey people, im currently porting a eVC++ to Visual Studio 2005 and i got some errors around the CCommandbar, i know about the fact that there is no more resetbar and stuff. ive read a lot of threads about people having difficulty getting submenu's to dissapear and stuff. but my bar wont show at all, its just a blank space I dont realy get why this is happening, could some1 help me out a bit. code: if (!bar.Create( this ) || !bar.InsertMenuBar(IDR_MENUBAR1) || !bar.AddAdornments(dwAdornmentFlags)) { TRACE0( "Failed to create CommandBar\n" ); } bar.SetBarStyle(bar.GetBarStyle() | CBRS_SIZE_FIXED); bar.DrawMenuBar(0); Pls check if the following code snippets are useful in your case ...Show All

  • Visual C# The correct way to Windows service

    Hi all, This is some kind of philosophy question. What is the correct way to build windows service And what exactly do I mean My WS (windows service) have timer and every 1 minute it execute method that need to do something. the method need to run on different thread, and it can be stopped during executing. So, Whet is the correct way using timer thread timer timespan and wait and how can I stop executing Start a separate thread in your windows service in which you perform yout task. When it's finished use Thread.Sleep(60000) and then do you task again in an infinite loop. The main thread is still responsive to the message loop so if you get a close there you can terminate the second thread y ...Show All

  • .NET Development Compiler Error Message: BC30138

    when i run(press F5) the web app in vb.net 2005, it's works ok. but when i publish the web app in localhost, (iis) something is wrong. here's the error: ========================================= Server Error in '/abc' Application. ...Show All

  • Visual J# Importing external jars to use in J#

    Hi, I have an external jar library that I want to use within the Visual Studio J#. I want to instantiate a class from the external jar into one of my J# classes. How do I do that I don't seem to find a way to import the external jars. Any help will be appreciated. Thanks Thanks for the response. We have a SDK that is developed using Java by a SDK group that is being used within our company. It comes with a bunch of jars and it's not possible to tweak individual classes or conversions. We are trying to write a Visual Studio Add-In that is written using VJ# that need to use classes within these jar files. I am surprised that Java classes/jars can't be imported into classpath of VJ#. This seem ...Show All

  • SQL Server Automatic width

    Hello : It is possible to define the width of the cells of table dynamically (not Statics) Thank's. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Min. Requirements to PLAY

    hi, sorry if this is explained somewhere and i just can't find it... i can see the min. requirements to *develop* the games, but what are the min. requirements to *play* the games we develop i can't get my game to run on any machine but my own. either .net isn't there (and *won't* install either), or they're not running WinXP. it seems like getting our games out there isn't very easy. the funny thing is, my PC doesn't support XNA completely -- i can only draw sprites, no 3D stuff -- so i made a simple game that's only using sprites. that means even something this simple isn't running on any machine but mine ! it's going to be hard to generate interest in our games if noone else can play them... finally, shouldn't the "r ...Show All

  • Internet Explorer Development Message asking if allow or block IE7 to use clipboard

    A message appears asking if I want to allow or block clipboard. How can this message be disabled and always allow use of clipboard Hi I have tried to look for the steps you have mentioned however I am not able to see any option for allowing access to the clipboard. I f you could please send me the detailed steps, it will be great. I am usin IE 7.0.5700.6. Thanks Deepak ...Show All

©2008 Software Development Network