Oyster Poh's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. DirectX 10 Game in VB. NET
I want to create my first game in Visual Basic. NET by managed DirectX 10 SDK. Please, help me, friends. I thinck it is easy to do 3D Game in VB. NET. To use DirectX 10 in any sort of a game at the moment will be hard, for one there is not really any hardware around that can use it's functions. Also the code is still in beta, and I dout that any company would let you produce a game using beta code. Also it is not really that easy to create a game in 3D, and just asking here will not get you that knowledge. For one how much experience do you have I would start first with the basics and work your way up, now this includes t ...Show All
.NET Development Beta 2 Error/Bug: XmlException reading Application setting in Class Library
I believe I have discovered an error or bug in beta 2. I am receiving an XmlException with the message "An error occurred while parsing EntityName. Line 1, position 45." when reading an Application Setting stored within a Class Library project. The application setting is of type (Web Service URL) and contains an ampersand at character position 45. This error happens when reading application settings in a project with a build type of Class Library. Rather, this error occurs whenever this is the scenario: 1) Project A contains a reference to Project B. 2) Project A calls a given class method X in project B. 3) Method X in project B ...Show All
Visual Studio Tools for Office Open action-pane from any existing word document
hi all, im fairly new with vsto2005, and though i have read some articles i still havnt found an answer to my question. I want to build an action pane that the user can give some properties to a question or an essay written in a word document and then save these properties to a DataBase. Now, my question is, if it is possible that when a user opens a new simple word document and writes his question in the document, will be able to open my Action pane through a button in the toolbar (COM add-in, or any other way), and have all the functionality that comes with the Action pane available on his document. Or to summerize my question : is it poss ...Show All
Visual Studio Team System Using Excel pivot charts, can I filter on creation dates within the Work item history cube.
Hello, I am using the cumulative count in Work item history cube using the Pivotchart within Excel (a great way to get quick graphs for management). The problem I am having is that I want to see the progression of states between specific dates. As it stands now I can choose specific weeks to see but the counter in the graph does not start at zero. If I could put the creation date as an additional filter the graph would start at zero. In the Work Item History cube there are no dates contained in the workitem that can be selected In beta3 this was possible but then again the structure was different (there was only a workitem cub ...Show All
Visual Studio Express Editions Connect to Oracle DB
Is it possible to connect to an Oracle database using Visual Basic Express Edition hi, as far as i know yes you can in that thread you will find usefull links about connection almost to most of databases types http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=174960&SiteID=1 but also i don't think you can deploy your database with your project under express edition i'm not professional but that's what i know till now , if someone has a correction plz do best regards ...Show All
.NET Development Running ASP.NET as NetworkService
Hi, I'm writing a ASP.NET Web Service that needs to access an external database (which uses Windows Authentication). However, ASP.NET runs as ASPNET account (I'm using .net 2.0 on Windows XP, IIS 5.1) and the server refuses to accept that. Running ASP.NET as "SYSTEM" works, but I'd rather not do that. Accessing the database through non-web-based means (i.e. Windows apps) works without any problems, the authentication runs into trouble only when I create Web Apps or Web Services. The machine.config file has this entry in it : <processModel autoConfig="true"/> I tried putting in <processModel userName="NT Authority\NetworkServic ...Show All
Visual Basic Email Problem
Hi I am a new Programmer and i want to know how to send an automatic email when the user clicks on a button. It should pull the email address from the email field in my access database. Unfortunatly i dont know how to do this, and so far no one has been helpful. I really need to know how to do this here is my code: Dim MyMail MyMail = CreateObject( "CDO.Message" ) MyMail.Subject = "Work Order Reciept" MyMail.From = "infosystems@dhiusa.com" MyMail.To = 'this is where i want the email to go so it sends the user an email. MyMail.Bcc = "" MyMail.Cc = "jonathon_amnah@dhiusa ...Show All
.NET Development Using .net framework SDK ver2 under visual Studio 2003
hi, i have downloaded the .net framework 2 and its sdk, but i have a problem in referencing the new framework in Visual Studio 2003, i receive an error message when i try to reference any manifest (like System.dll) from the new framework, the message is : "A reference to *** could not be added,this is not a valid assembly or COM component etc...." , there's no error number. what's the problem you cannot use .NET Framework 2.0 with Visual Studio 2003. You must use Visual Studio 2005 in order to use .NET framework 2.0 you can purchase VS.NET 2005 or download the express edition for free until No ...Show All
Visual Studio 2008 (Pre-release) How can I run a SVC based service with a trusted account
How can I configure (convince) a SVC based service (i.e. hosted in IIS) to run with a trusted service account In ASMX I would use the <! --identity impersonate="true" userName="neptune" password="password"-- > configuration, however, it has no effect with SVC hosted services and I have not yet found a way of simulating the impersonate option in WCF. Hey there. I apologize for the delay in getting a response back to you. If you're simply trying to run each request in the context of a trusted user identity, the best way to do that it to create an IIS Application Pool that runs as your trusted ident ...Show All
Visual Studio Team System Best Practice Setup of TFS and Team Workstations
Since we had some issues installing TFS, is there a set of best practices to set up TFS and team workstations We will need to be able to develop in both VS 2003 existing applications and VS 2005 new applications, as well as SQL 2000 and SQL 2005 mixed environment. We will be using XP Pro for developer workstations and have 2003/2005 side-by-side. Any guru at MS that can quickly put together a useful guide References to existing KBA, etc is appreciated. Thanks. Hi, Are you still looking for help with this matter If so, please let me know so I can find someone to provide help. Thanks, -Matt ...Show All
.NET Development Encrypting a string? Or SignXML with Exclusive Canonicalization.
I would like to encrypt a string. Where do I start Can I encrypt it with a X509Cert (Basicly using that as the Public/PrivateKey) I would love to be able to create a signedXML document with Exclusive Canonicalization that was signed and ecrypted with a X509cert but this does not seem possible with .NET 1.1 and WSE2.0 since: 2.0 has the exclusive canonicalization but it is only intended to sign full blown SOAP messages and not just signedXML. If you're on v1.1, which it sounds like, you can create a new encryption object (Which will create a random key), and you're off to the races. You should encrypt your string with a symmetr ...Show All
Visual Studio 2008 (Pre-release) Offline binding
Is there any means to initialize "offline" binding for elements I've created in code through .baml/xaml parsing or imperative What if I've <ViewBox/> with some resources+binded elements-all self contained but I created it from "sratch" and it's not displayed on screen.Now I want to simulate "complete" cycle of rendering to get RenderTargetBitmap of my ViewBox...well you get idea All work nice except {Binding} markup expressions dosen't get called.So,how I can "invoke" expression engine to make binding work. I tried: vb.Measure(new Size(1000,1000)); vb.Arrange(new Rect(vb.DesiredSize)); vb.UpdateL ...Show All
Visual C# Bitmap(string) constructor throws ArgumentException
Hi I'm trying to create a bitmap on the fly from an on disk image resource (PNGs in this case). I can create one fine, but when i try to create the next one the Bitmap constructor throws an ArgumentException with the message "Parameter is not valid". The weird thing is that the second image (Pan2.png) is an exact duplicate of the first image (ZoomExtent.png) which creates successfully so there is no difference between the dimensions, color depth, format, etc of the two images. Here's the suspect code below: this .tsbFullExtent.DisplayStyle = System.Windows.Forms. ToolStripItemDisplayStyle .Image; this .tsbFullExtent.Imag ...Show All
Visual C# Grrr
private void button1_Click(object sender, EventArgs e) { if (textBox1.Text == "x3d2") { this.Hide(); Form2 form = new Form2(); form.Show(); else Whenever i do that it says else is invalid. Not a very informative subject title. Anyway, your problem is that your else is in the { } block. Try if (textBox1.Text == "x3d2") { this.Hide(); Form2 form = new Form2(); form.Show(); } else do something different ...Show All
.NET Development Regex / string processing
I'm working on an app which interfaces to the ebay system, i'm getting the following format of string returned for time left P4DT19H23M36S This above example means 4 days, 19 hours, 23 minutes, 36 seconds left What I need to do is extract the four numeric values from the string, whats the easiest way, I thought regex but never used one! Or could I get an array of the numeric values something similar to string.split Or is there a better way Any help appreciated. (Moderator: Thread moved to the Regular Expression Forum) You could use a manual split process. But regular expressions would also work. The MS ...Show All
