DOTNETFantasy's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. MDX Suggestion for Microsoft
As a developer, I would like to see Managed DirectX on the web. Without high security issues, Managed DirectX can act like a high-end multimedia tool for user-controls especially on ASP.NET. Is there a need I can think of a few. Java had Java3D, JOGL (opengl for Java), etc. that could be used as games online and the such. A fine example is Runescape at the following url of screenshots: http://www.runescape.com/screenshots/screenshots.ws Since Java seems to excel in this, why wouldn't Microsoft add such a multimedia port to IExplorer, for example I can only see the web becoming much more alive with such a task. Games, simulations, etc. ...Show All
Visual Studio Express Editions Problem creating a querry with an embeded variable when using access datafile as connection source
When a Data Connection is established using Microsoft SQL Server Database File (SqlClient) as a data source the following code works perfectly SELECT * FROM ProdMaster WHERE (PRODMASTER.DESCRIPTION LIKE '%' + @DESCRIPTION + '%') The ToolStrip on the form opens an input box so you can type in a choice of DESCRIPTION and when the button is clicked the dataset returns only those values that meet the criteria input BUT If you use a Data Connection established using Microsoft Access Database File (OLE DB) when you attempt to establish the querry above you get the following error Error in WHERE clause near '@' . Un ...Show All
.NET Development MySql and SqlDataAdapter
I'm tring to use a SqlDataAdapter to access some data in a MySql database. The problem is that the SqlDataAdapter.SelectCommand.Connection.Open() does not like my connection String which is: " DRIVER={MySQL ODBC 3.51 driver};Server=10.10.0.229;port=3306;Database=dbName;Uid=myUserID;Pwd=myPassword; " If you take out DRIVER={MySQL ODBC 3.51 driver}; and port=3306; it runs but then it doesn't find the database. The error reports that it's looking for and SQL Server 2005 which makes sense assuming it's the default type of server. I have no problem with that same exact connectionString connecting my SqlDataSource Objects be ...Show All
SQL Server New Login with Trusted Connection
I have my development machine connected to my SQL 2000 server using trusted connection. I want to setup another machine for testing purposes. How do I setup SQL for another user I can't get pass the Domain, when I setup a new login using trusted connection. It only shows the admin and my account on the sql server machine. Once that is completed, how to I setup a w2k pc for trusted connection Thanks, MikeD Can you be a little more clear on what the error is that you're getting Can you tell me exactly what steps you took to get you to where you're stuck Is your SQL Installation enabled fo ...Show All
Windows Forms Please help
I want to add Onload event for my windows user control. But I am not getting the idea where to call this event in my control.Can somebody help me please its very urgent the OnLoad Event already exists for a UserControl. If you want code inside the UserControl to execute upon the load simply do this protected override void OnLoad( EventArgs e) { // code to execute base .OnLoad(e); } If you have code that is outside, say in the Form that is going to host it then simply bind to it through the designer by clicking on the control on your form in the designer going to properties and then clicking on events and fin ...Show All
Windows Forms Use Designer Tools like smart tags on runtime
Is it possible to use designer tools like smart tags on runtime And if so, how For example I have a Grid and (if a user has administrative rights) the user could hide and add collums of the grid by using the smart tag feature To customize the appeareance on runtime... regards fbecker Hi! You can make you own designer, check here http://msdn.microsoft.com/msdnmag/issues/06/03/DesignerHosting/default.aspx But in your case easiest way is to create context menu with all columns. User can check on/off any column. ...Show All
Visual Basic how to update rows in an mdb data source??
hi everybody , I'm a beginner student in vb.net,and I'm working on a very small project as a homework,and I've some questions which I ought to search for their solutions via any source . I need to make an (Update )button in most of my VB forms,which enable me to update any row elements in the datasource in Access through each form , for example: I've a form about CustomersData as (Cust_No,Cust_Name,Cust_Address,Cust_Phone...etc) when the user want to update one of the customer data ,s/he will display this customer data through the search method in the form and this customer data will appear in the textboxes in the CustomersDa ...Show All
Windows Forms RichTextBox - finding word at a position
Hi, In RichTextBox, I want to find the word which comes immediately(or 1 or 2 words) after a word say "Name". Name John Age 23 I will use Find("Name"), now I want "John" or "Age" (1 or 2 words) from reference "Name". How can we do it Thank you. Hi, I don't know what follows "Name". Let the RichTextBox control contents be as follows. Name John Age 23 Name Mike Age 30 Name Mary Age 25 I only know that there will be "Name" and "Age" in the text. Now using these as the reference, I need to find the other two ...Show All
Visual Basic How can i use nullable (of t) to handle nulls in DateTime
Hi, As we all know the Datetime in vb.net 2003 cannot handle nulls. I see that there a system.Nullable (of t) How can I make use of this in order to handle nulls in datatime. An example will be appreciated Something like this Option Strict On Module Module1 Sub Main() Dim dt As Nullable( Of DateTime) = Nothing Debug.Assert( Not dt.HasValue, "dt has no value ( is nothing )" ) dt = New DateTime(2005, 11, 7) Debug.Asser ...Show All
Windows Forms My Control's Are Stacked!
Hey, I'm having an issue with a few of my custom controls. I want to add my custom controls to another control at runtime and have them dock to the top. (this.Controls.Add(<myCustomControl>);) The controls get added to the form but they all dock to the top of the form, not to the control added before it. The way I want it: |___________|  ...Show All
SQL Server Excel Pivot Table and Time Dimension
I’m using the OLEDB Provider for Analysis Services 9.0 in Excel 2003 to get to my OLAP cubes in SQL Server 2005 Standard SP1. When I use Time as a Page filter in an Excel Pivot table, the dropdown looks like this (May_2006 is the default period): -2006 -Qtr2_2006 +May_2006 +Apr_2006 +Jun_2006 +Qtr1_2006 +Qtr3_2006 +Qtr4_2006 +2004 +2005 I checked the field settings in Excel and it is using the data source order option. When I browse the dimension, the Time members are shown in chronological order. I’ve concluded that this behavior is a res ...Show All
Windows Forms Printing component
Hello, I'm searching for FREE printing component to be used in VB.NET thanks ...Show All
SQL Server divide by zero exception
How I can rectify divide by zero exception in stored procedure OK - so what do you need to know In your stored proc, return the result of the divide if it's not going to divide by zero, or zero if it is. Then you can check for 0 and show an error if you prefer. ...Show All
Visual Studio Express Editions Speed of binary parsing
Hi, I'm just getting started with c#, but the IDE and .net have made it quite easy so far. What I'm playing with right now is MPEG2 transport stream parsing. This is what I have: FileStream fs = new FileStream("C:\\Documents and Settings\\Administrator\\Desktop\\New Folder\\nun.mpg", FileMode.Open, FileAccess.Read); FileStream fsw = new FileStream("parsed.mpg", FileMode.OpenOrCreate, FileAccess.Write); byte[] payload = new byte[184]; & ...Show All
Windows Forms Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0'
I have created a new test project and when I add a reference to my application project I get the following error message: Could not find file 'Microsoft.Windows.CommonLanguageRuntime, Version=2.0.50727.0' What can cause this Chris Holland After 2 days of reducing my project to a minimum I have found what causes this problem. If I Activate the "Enable ClickOnce Security Settings" I get the error, if I disable this feature it compiles correctly. The test project can be downlaoded at: http://www.secsol.co.uk/download/cypher1.zip In the project Right Click on the "Cypher" project and activate the "ClickOnce" security settings and you wi ...Show All
