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

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

yhong

Member List

gafferuk
Mike D12995
Eladka
Tom Phillips
TruePsion
Zapp
AlexZR
Steve1999
Rahul Singla
Nagarajan Murugan
Alex-MyRpg
JesseD70
Slyon
MaryOS
devstuff
shax
Alle
Fusion1224
chub xbox
nzmike
Only Title

yhong's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. My 2 Cents on pricing...

    I have been actively reading as much information on XNA as possible. I would like to thank the members of the XNA team who have been providing great information about the tools and framework. I have already posted my thoughts about the fee on David Weller’s blog. I understand completely why the fee is needed for development. However, I do feel that the fee could be adjusted in such a way that the end result would equal more profit for Microsoft and a larger market for the hobbyist game programmer. While browsing David’s blog today I came across this comment to his latest post by Bladestar: “ That should create a dent; I'm not sure if "XNA Creators Club" it's the proper term. Since even people that have no interest ...Show All

  • SQL Server Dymamic connection strings in SSIS...

    I was reading through the following post regarding dynamic connection strings: http://forums.microsoft.com/TechNet/ShowPost.aspx PostID=812814&SiteID=17 In this posting they talk about setting up a configuration file to setup the connection string, but I am not sure how to apply that connection string to my connection manager. When I go into my configuration file, I can see the connection string, and when I go into the advanced properties of the connection manager, under the "Named ConnectionString\FileName" property, I set the property value to the name of my configuration file, but when I test the connection I get an error that the connection string property has not been initialized. Can someone please assist me w ...Show All

  • Gadgets How to make ActiveX Callback functioning

    I cannot get the office name control to call back to a jscript eventhandler. (Office 12 installed in my case) The page works well if just rendered in a browser, hoever it does not function when run in a gadget. The thing that fails is that the eventhandler is never called when a buddy chnages state. The callback function is registered by calling the OnStateChange function as shown below. is such a callback not allowed (or only with additional magic ) I'd also appriciate suggestions for debugging this as I am not quite sure how to approach this Jos Indeed, That shows the same effects I see when run as gadget. Do you have suggestions how to find where the security (if it is indeed that) is restrictive and how it could be ad ...Show All

  • Visual Studio Remote debugging with VS 2005 when TCP/IP filtering is on

    I have an embedded XP environment where TCP/IP filtering is turned on and only a small number of ports are allowed to be open. With MSVCMON, we knew which ports were needed and we'd open them up to allow DevStudio sessions to remote debug. With VS 2005, MSVSMON "seems" to allow you to select a port (like dbgserver for Windbg), but when I try to connect I still am told that I cannot connect. I did some network sniffing, and saw that VS did an initial handshake on the specified port, but then switched to some other, random port, which is not opened on the server and therefore led to the debug session failing. Can anyone tell me if there is a way to use MSVSMON in this type of environment where I want to know (and control) which por ...Show All

  • Visual Basic Making settings mandatory and trusting locations

    Hi everyone, I'm working in a 300+ workstation school site which has 1500+ users. I have installed VB 2005 and setup the settings that I want them to have. How can I restrict Visual Basic so that it's 'profile' settings stay the same for each user after they log off and without an error message saying that it 'can't be written to I have tried restricting the settings file and it gives me an error. Is there a way of turning off the 'auto' saving function of the settings file Secondly, We have redirected all the user accounts to a mapped network drive on the server - ex H:\ . When I make a new project on H:\, it states that it is not a trusted program location... How can I make it so that H:\ is trusted Thanks ...Show All

  • Internet Explorer Development IE7 webbrowser control and SWF/PDF files

    My app embeds a webbrowser control. One issue I notice after installing IE7 is that if I browse directly to a SWF or PDF, the page is blank. If I browse to an html page that embeds a SWF, it works fine. This also works fine in IE6. Am I missing a flag/setting when creating my webbrowser control ...Show All

  • Windows Forms Editing (specifically deleting) from hosted designers

    Hi there If anybody can help me, it will be greatly appreciated. I've used the DesignerHosting sample from the MSDN magazine (article "The Perfect Host...", and I'm trying to combine that with a TestUndoEngine example I've also found. My problem is that even when invoking StandardCommands.delete after a click on my menu, nothing happens. Now I've noted that all the edit functionality is disabled when you aren't working with a CodeDOM loader in the DesignerHosting sample, but I can't figure out what I need to implement in my BasicDesignerLoader so that deletion works, or even why this functionality needs to be disabled. I'm also not sure what happens behind the scenes when you delete something in a CodeDOM loaded form in ...Show All

  • Windows Forms combobox question!

    dear all me a newbie to .net and so i assume you will forgive my ignorance. what I have is an array of dynamically created checkboxes mycheckbox[ i ] with some properties like mycheckbox[ i ].name, mycheckbox[ i ].id etc. This data like name etc for the checkboxes are read from a xml file. my question: when any checkbox is selected, I need to dynamically create a combobox in the form populated with options pertaining to that particular checkbox.  I want to do this from another xml file... something like... <checkbox> <checkbox1>            <option1>something</option1>            <option2>something else< ...Show All

  • .NET Development Possible Problem With Sockets 2.0 Implementation in .NET 2 with McAfee Software?

    McAfee (Privacy Filter and Personal Firewall) installs it's own TCP/IP driver layer. This new driver does not seem to support sockets correctly. When attempting to connect to a remote server IPv4 TCP/IP using the Async BeginConnect you get "not supported on this object type" (unistall the Mcafee driver and it all works fine). If you do a sync connect using Connect the connection is established . However, if you then try to do an async send after connecting you don't just get an exception you get a full blown unmanaged general protection fault. This seems to be a pretty big problem has anyone else out there experienced it or maybe got a work around To answer your previous question, I don't know ...Show All

  • Windows Forms UserControl and text property

    Info: If you want to se the Text property in the Property vindow, add <Browsable(True)> Case Trying to use the property Text in a own made control, Inherits from "System.Windows.Forms.UserControl" I want to use the Text porperty, but it is losing its data added in the property window. It is newer saved). So I made another property called Text_, and it is working perfect. But way can't i use the Text property If someone has the solution, please tell me. Code example: Dim mText As String Dim mText1 As String Not working:   <Browsable(True)> _   <Description("Text")> _   Public Shadows Property Text() As String     Get       Return mText1     ...Show All

  • .NET Development how to read and update an xml file

    I have an xml file with the follow fields: <name> John Doe </name> <city> XYZ </city> <zip> 88888 </zip> How can i update for example the zip code to 99999 without affecting other fields Use System.Xml.XmlDocument and load the XML. Then you can use XPath with SelectSingleNode or SelectNodes to find nodes (e.g. //zip) and e.g. elementNode.InnerText = "99999" to change the contents of an element node found. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Water Ripple Effect ?

    Hi all, i develop ship game now, i want the ship moving make some water ripple, How to make water ripple Best Regards, There are several ways. 1. Use a vertex shader (or update dynamic vertex buffer) to move vertices on a suitably dense mesh 2. Use a pixel shader to manipulate or animate a bump map In general to look good this is a fairly advanced topic. It would help if you let us know the kind of things you have already tried and what problems you encountered otehrwise this topic is a big one to cover in a forum. ...Show All

  • Visual Studio 2008 (Pre-release) Working with Viewport3D

    Hello, I have got some questions about working with a Viewport3D. 1)How to develop a method which converts the view of the Viewport3D to an image file and saves it on the hard disk 2) I have got some spheres in the Viewport3D. How programically make them visible or hidden 3) I want to add some text to the Viewport, for example, on the one of the spheres there could be written "Earth". This sign should always have the same size (it shouldn't scale while I am scaling the spheres), it shouldn't rotate while I am rotating the other content of the Viewport3D. How it can be done 4) If I change the view which appears in a Viewport3D (for egxample, rotate a model or zoom in/out), is it possible to save ...Show All

  • Visual Studio 2008 (Pre-release) Nested Listviews in Treeview

    I am trying to create a treeview with some nested listviews as its treeview items. This data is connected to a dataset which is created in code. I want only one item from the dataset in each listview, but I am not getting the proper results. I have been working based off this great example by Josh Smith Any help is greatly appreciated! XAML Code: <Window x:Class="WindowsApplication8.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:WindowsApplication8" Title="WindowsApplication8" Height="585" Width="939" > <Window.Resources > <!-- Create ...Show All

  • Visual Basic ADO.net dataadapter.fill

    Hi, I have two tables in my database: tb1 and tb2. tb1 will be inserted into tb2 with these conditions: 1.) if primary key to be inserted is already existing in tb2, then the data in tb2 will just be updated using values of tb1 2.) if primary key to be inserted is not yet existing in tb2, a new recorded will be created in tb2. I used a dataadapter to fill the datatable and a bindingsource. Also, I used execute non-query command to insert/update the data in tb2. everytime i update/insert a record in the database, my datatable still contains old table records (it doesn't have the data i inserted and contains old data before updated). in this case, i have to issue another da.fill(mydatatable) to refresh.... which is so slow espe ...Show All

©2008 Software Development Network