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

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

Nonu_k

Member List

TOMAHAWK1
Haziman
MParkhouse
onursen
marcyduan
NickNotYet
nlarkjason
Mr.Bean
vito1281
Steve Hoff
Xaid
Braneloc
2006
AVD
dvl_vn
Osprey
PPM
Chizum
Spenceee
Bas van Zuilen
Only Title

Nonu_k's Q&A profile

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

    Hi guys, I tryed to run a "Spacewar Starter Kit". I can build it but if I run it I found the messagge error "NoSuitableGraphicsDeviceException The values used in the attempt to create the GraphicsDevice were invalid." I didn't modify the source code. What shall I do Thank you Bye Alessandro namespace Spacewar { partial class SpacewarGame { /// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this .graphics = new Microsoft.Xna.Framework.Components. GraphicsComponent (); // // WindowsGame // ...Show All

  • .NET Development Update issue vb.net2005 express - SQLServerExpress "Failed to convert parameter value from a String to a Int32."

    Hi All, I an new to the .Net development (I used to work in VB6). I have a Problem updating a database and I can not figure out where the problem is situated !! On a form I've placed a datagridview linked to a sponsor table. I can see all the records and I can ADD new records to the database bu when I try to modify or dele a record I always get an error telling me I can not convert a String to an Int32 . This is strange as I have no fields in that table of the type Int32. I do not use the commandbuilder to generate the query and updateparameters but I code them myself. Here is my updatequery: UPDATE sponsor SET [id] = @id, [code] = @code, [name] = @name, [address_street] = @address_street, [address_street_2] = @address_street_2, [address_s ...Show All

  • Visual Basic Inheriting from Scrollable Control

    I'm working on a custom control where I'm going to handle drawing the entire UI with GDI+. The control class is inheriting from ScrollableControl, and I'm setting the AutoScroll property to True and setting the AutoScrollMinSize to 300x300 pixels, but this does nothing. What I want is for scrolling to happen based on the size of the drawing surface and not on the position of any other controls contained on the drawing surface (since I won't have any). I'm fairly new to custom control concepts, so I'm not sure how to go about this. Any tips you guys could offer would be much appreciated. The only idea I've had so far is to derive the control from the Control class, and then write a ScrollableControl derived control to house that control and ...Show All

  • Windows Forms Eject CD

    Hi, I am making an application that allows user to eject CD through pressing some button. How can I do this  Do I have to call some API  which API would that be  any alternative ways  any pre-built DLL from some website  Thanks, put it somewhere in your class...I usually put them at the top below my class variable declarations but it can really go anywhere inside the class ...Show All

  • Smart Device Development Smart Device - FileNotFound Exception

    Hi, I am still quite new to C# and especially to smart devices. I have created a simple game and am trying to get it to my device. The game runs just fine when I run the .exe file on my PC as long as my .bmp images are in the same folder. However, when I try to run the emulator or try to run the program once I have moved it onto my device I get a FileNotFoundError if I try to access any of my images. My actually code is quite lengthy. Here is an example line of code that causes the problem: private void pictureBox1_Click( object sender, EventArgs e) { pictureBox1.Image = new Bitmap ( "Bitmap1.bmp" ); } Can somebody let me know if there is a certain way that I need to configure my project so it knows where t ...Show All

  • Windows Forms How proctect my application with a key like Windows xp

    How i can protect my application with a key like in Windows xp .... with a serial Hi I guess you want to protect your application from unauthorised usage, i have suggestion. Try to generate a key, use some encryption algorithm to encrypt that key, and use that key to install your application. checks few links which talk about encryption: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=939853&SiteID=1 http://www.codeproject.com/dotnet/RSACryptoPad.asp   Hope this helps      ...Show All

  • Visual Studio 2008 (Pre-release) Installation Error resulting in SQL Server 2005 issues

    I installed the ORCAS Jan CTP yesterday on my Windows XP system. I already had installations of VS2005 and SQL Server 2005 present. Part of the ORCAS CTP installation is the automatic installation of Sql Server 2005 Everywhere which resulted in a 100% repeatable error when using my regularly installed SQL Server 2005 instance when attempting to Modify a table in Sql Server Management Studio. This error stated that Exception has been thrown by the target of an invocation. (SQL Editors) Additional information: An error occurred creating the configuration handler for system.data: Column 'InvariantName' is constrained to be unique. Value 'Microsoft.SqlServerCe.Client' is already present (C:\WINNT\Microsoft.NET\Framework\v2.0.50727\ ...Show All

  • Visual Studio Documenting overloaded methods and Sandcastle

    I'm a bit of a newbie using Sandcastle, so please bear with me. I'm at a lost. I cannot find out how to document the collection of overloaded methods. For instance. Say I have four overloaded Add() methods: public void Add( string name) public void Add(string name, Socket socket) public void Add( Socket socket, RobotPart robotpart) public void Add(string name, Socket socket, RobotPart robotpart) It looks to me as though Sandcastle, by default creates a folder for all of these Add() methods, and randomly chooses one of the headers as the folder name (again please bear with me about the names I am using) Now, within a summary tag for another method, say GetSomething(), I want to place a tag which wil ...Show All

  • Windows Forms How do I change the download location in the boostrapper?

    I am trying to figure out how to update the download URL location the Visual Studio Setup & Deployment boostrapper uses when you select the SQL Server 2005 Express edition as a prerequisite and choose Download prerequisites from the component vendor's website - it is still downloading the RTM version of SQL Server 2005 Express and I would like it to use SP1 instead. Does anyone know how to do this Thanks in advance! EDIT: I have not got the SP2 going yet but my tired eyes were clicking the MSI not the Setup.exe and so that is why I say below the prerequisites were not being installed, my mistake, sorry. hi, has anyone got this new SP2 vista compatible going yet I followed the SP1 hack abov ...Show All

  • Visual Studio Express Editions How do I count the number of lines in a Rich Text Box, or a List Box control?

    More accurately put:  How do I retrieve the number of lines of text Thanks, John   well you cant know something you don't know! Research is what it takes to learn and develop. keep asking questions, look on MSDN, look and browse around the objects properties/methods and read the documentation on what it does, and experiment with it. ...Show All

  • Visual Studio Tools for Office does visual studio tools for Microsoft Office......

    hi, this is srichand. does Visual Studio Tools for Microsoft Office provides add-in plugins for outlook.... i have VSTO(SE) up on installing it i got an error regarding the registry key where can i find solution for that.. thanx one and all... srichand but sir they have provided the provision for outlook 2003 also sir in that... sir i will send you in detail the pictures regarding this.. if u dont mind would u give me ur mail id sir...... srichand ...Show All

  • Visual Basic Visual Studio 2005 - VBA - Project properties disabled.

    Hi I am currently developing a VSTO Outlook AddIn in Visual Studio. I have not been able to change anything on the Application tab in Procject Settings. All items, besides "Assembly name" is disabled. Anyone have a clue to why it this way Appricciate any comments on this. Morten B ...Show All

  • Internet Explorer Development Vista/IE7 spawns new windows when Office 2007 is installed (unlike Office XP)

    I have an application written in VB6 which uses the webbrowser control to render MS-Office (and other) documents. I have migrated that application to Vista and VB2005 but am running into a problem in that it appears that when Office 2007 is installed, Office docs will no longer embed and render in the webbrowser control (this is probably true of the IE6 version also but haven't tested). Instead, the webbrowser.navigate method spawns a new instance of the appropriate viewer application (e.g., MS-Word 2007). This problem did not appear until I upgraded Office XP to Office 2007.  Other file types like Adobe PDF continue to embed and render in the browser, as before. Since the functionality and value of this application ...Show All

  • Visual Studio Express Editions Cant compile directx or win32

    Hello, i am posting this because i have been reading a directxtutorial at riemers.net, and i cant proceed because i cant get code to compile. I followed the instructions on how to setup the windows sdk, and everything worked fine. I even got the code from the win32 template to work (when u select new project, win32 console, windows form application) But however, when it comes to compiling my own basic win32 api code, like showing a messagebox, i get annoying errors. This is the project code. #include <windows.h> #include <d3d9.h> #include <d3dx9.h> int int_AppRunning = 1; LRESULT CALLBACK OurWindowProcedure(HWND han_Wind,UINT uint_Message,WPARAM parameter1,LPARAM parameter2) { swit ...Show All

  • SQL Server DatabaseMail process shuts down by itself

    I have a job set up to run sp_send_dbmail.  Then I notice there were no emails sent out. I check the log I found "DatabaseMail Process is shutting down". In the log, there was "DatabaseMail Process Started" also. I don't know what is calling this processes. If in the log, Stop was the last activity, all I can make this process start is to restart the database. Does anyone know the trick   Here is the real answer to the problem. Database mail is a 2 step process if you want it to be used to send notifications. You first set up the database mail as you did. Second you would modify the properties of the Sql Server Agent. Select "Alert System" and then check &qu ...Show All

©2008 Software Development Network