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

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

sangminny

Member List

FallenKing
a.d.m
doener
Mahmoud_Fayed
Mark Dahl
JIM.H.
GlenAtMotorola
Rookboom
Jeff Q
tarjan bruce
Bas de Zwart
Diber
Rykin Poe
Phillip Carruthers
Guy Pilk
Eslam Afifi
Ilya_X1
Shuman Kibria
ghawkes
Jake H
Only Title

sangminny's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Creating a GUI builder in visual studio

    I'm curious as to #1 if it's possible and #2 how to get started building a GUI creator where you can drag and drop gui controls in 'design time' to create code files or a form of XML How do I tap into vs.net to create my own design time/code time pages The GUI controls wouldn't be .net controls, but controls that inherit from a custom gui control class and so on. Thanks, Jonathon Before you guys didn't have a designer for GUI, you had a designer for the entire game. Sure, that was the "main screen" GUI, but I'm not talking on that level. I want to simply create a plugin (or whatever it would be called) for visual studio so that I can go in and get a design surface (design view) and dra ...Show All

  • Visual Basic Browse for Folder Dialog Box

    I've been looking around the internet and I found a few pieces of sample code that uses SHBrowseForFolder, but I have no idea how to use it, or how to tweak it. I'm looking for something that hopefully VB .NET can provide, and hopefully is a little less verbose. Basically, I just want to browse for a folder in one of those windows dialog boxes, and when the user presses OK, the program will set a textbox's text to the selected path. The last time I did classroom VB programming was 5 years ago, back in HS, and we were using VB6 back then. If anybody can shine a light on this issue, I would greatly appreciate it! Sure. Try this:   Dim theFolderBrowserDialog as new FolderBrowserDialog() the ...Show All

  • Visual C# assemblyinfo file 2005

    In 2005 visual studio assembly info file autometically create company name. I want to know from which registry value is affecting the company name, because our comapny name is changed and I want to modify it. Thanks Drew_p, The assemblyinfo.cs file is created from the project template replacement parameter called $registeredorganization$. That replacement parameter is populated from HKLM\Software\Microsoft\Windows NT\CurrentVersion\RegisteredOrganization. Hope that helps! Anson Horton Visual C# IDE PM ...Show All

  • Visual Studio 2008 (Pre-release) BindToEnum example in expression

    Hi I've just tried opening BindToEnum example from Beatriz Costa in expression and I get an odd error "Unexpected value typp. Expecting IList." with a reference to the ObjectDataProvider Opening the same app in VS gives a different warning (see below) and this one I'm particularly interested in because I'm getting the same warning in my other apps that use methods on an ObjectDataProvider. Is this currently expected behaviour or am I missing something Warning 1 The element 'ObjectDataProvider' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation' has invalid child element 'ObjectDataProvider.MethodParameters' in namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation'. List of possible elements ...Show All

  • Windows Forms "Foreign" msi files in a Setup project

    Hi there: Quick question: my application uses SMO, and I need to install that on the user's machine. I got the download from Microsoft in the form of a .msi file (the Microsoft SQL Server 2005 Management Objects Collection download from http://www.microsoft.com/downloads/details.aspx familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang=en ) . Is there any way for me to incorporate that msi file into my setup project I tried going through the prerequisites (I already have .Net 2.0 and Sql Server Express in there), but it is not dynamic enough to allow that. I could try and package the SMO assemblies one by one (the dlls were already added as dependencies), I'm just not sure how to force them to be installed in the correc ...Show All

  • Visual Basic Emulating VB6 Textbox arrays on Windows forms

    My apologies to anyone reading this for a second time - I might have put it in the wrong forum earlier. I like entering data into text boxes on a form, rather than using a datagrid. I like to have the use of the Enter and arrow keys to navigate from one box to another. Doing this in VB6 was easy. All it took was making the textboxes part of an array, then this subroutine took care of the business (the actual routine also takes care of the arrow keys - I have removed the coding to keep it short). Private Sub Text1_KeyDown(Index As Integer, keycode As Integer, ShiftCode As Integer) Select Case keycode Case Is = vbKeyReturn Index = Index + 1 If Index > Text1.Count - 1 Then I ...Show All

  • .NET Development Serial Port Stopbits

    hi everyone!! I have the following problem! For my project I need a SerialPort Object for communication via Infrared! But I always get a RuntimeError when I set the StopBits to None! Does anyone know how to solve this problem Thanks is advance StopBits.None is not valid for any serial device that uses the standard Windows drivers. The DCB structure (used by SerialPort) only allows one, one and a half and two. From where I sit, it was a mistake to include it in the enumeration. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. my first game problems

    Hi everyone :) I have been having some weird issues with this tutorials code. It is mainly in this area here: myTexture = Texture2D .FromFile(graphics.GraphicsDevice, "mytexture.bmp" ); Which is located in here: void LoadResources() { myTexture = Texture2D .FromFile(graphics.GraphicsDevice, "mytexture.bmp" ); spriteBatch = new SpriteBatch (graphics.GraphicsDevice); } Everytime i run the game it gives me this weird error: An unknown error has occured. The result code was -2005529767. Any ideas what it might be Thanks for any replies. The error occurs on the line: myTexture = Texture2D .FromFile(graphics.GraphicsDevice, "MyFile.MyExtension" ); ...Show All

  • Visual Studio 2008 (Pre-release) cannot able to open new xaml browser project

    hi i hv laptop of Hp Pavillion dv6000..... AMD turion 64 bit processor ,,,, 1 gb RAM,,,,,,,, 40 GB HDD .....running with windows xp 2. i had install .net framework 3.0 but whenever i m going open xaml browser application it gives me warning that " the system can not find specified file "..... then what to do ......... If you're seeing this error when you try to create a new XBAP project in VS2005+VS Extensions for WPF, can you try uninstalling VS Extensions for WPF, then re-installing it ( http://msdn2.microsoft.com/en-us/vstudio/aa700831.aspx ) If you're seeing this error when you activate the app (say, by double-clicking in .xbap or navigating to its URL), then as Lester ...Show All

  • SQL Server SQL 2005 Error: The "variant" data type is not supported

    Hello, I have to use a script which examines whether an SQL Server 2005 database is correct and can be used to transfer data to. Under "Validating Database Collation..." I get the following error message: com.microsoft.sqlserver.jdbc.SQLServerException: The "variant" data type is not supported. I used Latin1_General_CI_AI and switched to SQL_Latin1_General_CP1_CS_AS (because this is what I have to use, according to the documentation), but in both cases the script produces the same error. It does not seem to be a big problem, as the script apparently does not fail because of this error, but I would like to improve the situation. Also, my knowledge of databases is limited and therefore I do not understand what the varia ...Show All

  • SQL Server Problem With OraoOLEDB.Oracle

    I'm trying to retrieve data from Oracle 10g Database from a SQL2005 procedure like this: SELECT * FROM OPENROWSET ( 'OraOLEDB.Oracle.1' , 'XXXX' ; 'Xusr' ; 'Xpwd' , 'Xtable ' ) But I get this error message Msg 7399, Level 16, State 1, Line xx The OLE DB provider "OraOLEDB.Oracle.1" for linked server "(null)" reported an error. The provider did not give any information about the error. Msg 7303, Level 16, State 1, Line xx Cannot initialize the data source object of OLE DB provider "OraOLEDB.Oracle.1" for linked server "(null)". I cant' undertand wich is the problem, can anyone help me Thanks Take a look at this article: http://msdn2.microsoft.com/e ...Show All

  • Visual Studio Express Editions attention newbies... Rowfilter

    refreshtable("info") With ds.Tables("info") .DefaultView.RowFilter = "LastName = 'Mojica'" .DefaultView.Sort = "ID DESC" End With i want to search a certain reord.... but nothing happen... Help please Hi, It is best to use a DataView object: http://msdn2.microsoft.com/en-us/library/system.data.dataview.rowfilter.aspx Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All

  • Visual Basic VB6 get function in VB.net

    Instead of using the get function in VB6, what would i use in VB.NET Since VB6 had a couple of different "Get" methods...I'll assume you mean Get [ # ] filenumber , [ recnumber ] , varname There are several different methods of getting file info: Dim TheFileText As String = My . Computer . FileSystem . ReadAllText ( "ThePathOfTheFIle" ) Dim fs As IO . FileStream = System . IO . File . OpenRead ( "ThePathOfTheFile" ) I would take a look at the IO Namespace to get familiar with .NET file manipulation classes and methods ...Show All

  • Software Development for Windows Vista BDA with DVB-T

    i have a dvb-t card. and i want to write a program which can view the tv show and capture it in to stream. i found the sample in directshow (bda) , but it works with ATSC i have rewrite it but i don't know witch the flow is write . cause that i can't run correctly in grapedit . microsoft dvbt network provider --> dtv-dvb mantis dvbt bda receiver --> mpeg-2 demultiplexer --> inter video video decoder --> video renderer can anyone show me how to try it .   i had tried that before , but the programe can't run , so i give it up, yesterday , i can have a view in vc++ , and now i am trying to capture it down, there is a bda ip_sink ->   In a digita ...Show All

  • Visual Studio Tools for Office Outlook Addon - MessageBox not displaying in the current active window.

    I have created an Outlook add on which performs actions when the ItemSend mail event occurs. I have a confirm dialog box that pops up. 1) If the e-mail message is open on my secondary monitor the messagebox will display on monitor 1. 2) If the e-mail message is open on my primary monitor the messagebox will be displayed BEHIND the message window. I suspect the problem is that I need to pass the MessageBox the parent window to be displayed in. Just I don't know how to go about doing that. At the moment all I have is: MessageBox.Show("Hello World"); Thanks. Thanks guys. That looks like what I am after. I kind of knew why the problem was happening just didn't have a clue at how to fix it. I will tak ...Show All

©2008 Software Development Network