sea2006's Q&A profile
Visual Studio Express Editions Working with the WebBrowser control and Flash sites
Using the WebBrowser control I'm trying to create a simple web browser that my kids can use. A lot of the sites that they play at use Flash and I've found that the pages do not respond to clicks correctly. For example at the site www.myscene.com , the initial page loads correctly, but after clicking on the link for the "Hot Fashion Game", none of the buttons on the next page work. Of course it works fine in IE. I've also noticed that if I switch to another application and then back to my kid browser, then the flash link works. Anyone know how to get flash player working correctly with the WebBrowser control This is a known issue reported in other threads. See https://connect.microsoft.com/VisualS ...Show All
Visual Studio Sandcastle: How do I create seealso links to external Hxs files
I am creating help for a set of libraries that extend a library provided by a third party (actually MS in this case but the Hxs files are not part of the standard SDK stuff they are an additional add-on) I need to add see also links to the base classes which are not part of my help conent but are part of the other content. DocumentX! has a means of doing this via the seealso doc comment element (cref=!:ms-help:...) and I can't seem to find any way to do it with SandCastle. No matter what I try it ends up as just bold text. THe XSL files all transform seealso tags into an undocumented <referenceLink> tag but I have no idea how that tag gets transformed to the final HTML seen in the help. Any idea or pointers on how to make a link to a ...Show All
Visual C# Setting WM/Picture using C# and WM Encoder SDK
Hi, I was hoping someone could help point me in the right direction and/or provide a sample for me to look at. I need to set the WM/Picture field inside a WMA file that I encode using WM Encoder and C#. I have been able to set all the other tags fine, but I would like to add a picture the WM/Picture field and cannot figure it out how to do it. Thanks, Jeff ...Show All
SQL Server Best SSIS scripting tome?
Is The Rational Guide to Scripting SQL Server 2005 Integration Services Beta Preview by Donald Farmer the best way to learn how to use scripting in SSIS as of late 2006 I'm not a .NET developer, although I come from a Java and C++ background. I already own Professional SQL Server 2005 Integration Server, but that one doesn't cover scripting so much. Thanks in advance. I've read that book.. It gives you a nice understanding of the ScriptTask and ScriptComponent ( http://msdn2.microsoft.com/fr-fr/library/ms345171.aspx ) and gives you some tips and advices throughout the book. It covers input/ output variables and how to access them in the ScriptTask etc... The book has some practical realworld scenarios at the end. However the rea ...Show All
SQL Server Displaying value of a variable during runtime
Greetings all, Apologies if this question has been asked in the past but how I display the valuw of a variable during runtime Thanks for your help in advance. dreameR.78 wrote: Dear Rafael, I am fallin in love with you LOL Glad you got it! ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Render target save'n'restore
I've a func that do some work including rendering into rt. So, i need to save old rt at the beginning of my rendering, and then restore it at the end ( when smb call my func, he may have rendering to texture enabled, or just rendering to the backbuffer, and he don't wont to worry about restoring his rt after call of my func ). Is there any way to implement such a behaviour using XNA On the Xbox, there is only a single render target. "Render to texture" is done by rendering to this target, then using an ultra-fast memory copy into the texture area. Thus, if you really need to save the screen render target, you have to do something like: 1) copy current screen to texture 2) render your stuff 3) ren ...Show All
Software Development for Windows Vista Multiple WebServiceOutputActivities
Is it possible to have multiple WebServiceOutputActivities in a workflow My workflow could potenitally take a while to run so i want the option for the user to receive a response immediately while the workflow continues to run all its other processes, or just wait and receive a response at the end. Only one of the 2 outputs will ever be hit. i have done that but it tells me that another output already refers to the input activity. I see if i add them on opposite sides of ifelse branch it doesn't throw the error, but i have the response at the end of the workflow if the previous output was not called. ie, i have an ifelse at the beginning that responds immediately if required. then i do my processi ...Show All
Windows Forms Need help selecting rows from datagridview
I would like to show selected datagrid rows on another datagridview on the same form. Basically I have a product table which fills the 1st datagridview. I want users to be able to select multiple products and add them to the 2nd datagridview which is bound to the invoice table. I've been searching to forums and have found some things about this in c# but I'm using vb 2005 express with sql server express. Thanks. Found the answer in another post for anyone who wants to do this. For Each dgvRow As DataGridViewRow In Me .DirectShipLinensDataGridView.SelectedRows Dim dt As DataTable = Me .dataset.Tables( "tablename" ) Dim dtRow As DataRow = d ...Show All
Visual C# Converting images to matrix form
Hi! I am currently doing a project on Locality-Sensitive Hashing. One query I have is whether is it possible to use C# to convert an image to a unique matrix of high dimensions. Any help would be greatly appreciated. You can certainly use this declaration: int[ ] image = { x0, x1, x2, … }; but I think this could get a little tedious. A little more detail in your question would provoke a more accurate response. ...Show All
SQL Server 700 GB Database
1. I have an issue regarding backup in Microsoft SQL SERVER 2000. I have a database with 700GB size. What could be the best solution(s) for backup. 2. I have 72 GB tape storage device, if I start the same 700 GB backupon 72GB tape device, will it be ask for the next tape after completingone 72GB tape, till 700GB. 3. Tape backup will make slow the transaction I recommend that you configure your database to use filegroups so you can create filegroup backups. For an understanding of implementing filegroups, checkout http://www.informit.com/guides/content.asp g=sqlserver&seqNum=42&rl=1 ...Show All
.NET Development generics and static methods question
I'm learning generics and c#. Is there a way to call static methods in the T class so I can streamline this I have two static methods in T named GetItem and SaveItem that I would like to invoke by something like T.GetItem(astring) and T.SaveItem(t). Reading some of the other posts seems to indicate that a static method can not be used. Thanks for any recommendations. public class FrmUpdateManager <T> : Form { T t; // etc // would like to do something like T.GetItem(tb.Text) to eliminate the if clause // for each type I implement i f ( typeof (T) == typeof ( InsuranceCompany )) { object obj; obj = ( InsuranceCompany .GetItem(tb.Text)); t = (T)obj; displa ...Show All
.NET Development Deleting a record using DataAdapter
Hi everybody As a VB.NET beginner, I am facing a problem in the following code: Dim strDelete As String = "DELETE FROM Customers WHERE CustomerID = @CustomerID" Dim cmdDelete As New SqlCommand(strDelete, Conxn) dAdapter.DeleteCommand = cmdDelete Dim para As SqlParameter = _ cmdDelete.Parameters.AddWithValue("@CustomerID", "ALFKI") para.SourceVersion = DataRowVersion.Original Try NumRows = dAdapter.Update(tblCustomers) MessageBox.Show(NumRows & " Row(s) have been Deleted.", "Deletetion") Catch ex As Exception MessageBox.Show(ex.ToString) End Try The above code does not delete the record and report NumRows = 0. Please h ...Show All
Smart Device Development Help needed
hello, I have a big problem, my qtek 8010 is gone mute from a fall it's probably dameged the headsett connector becouse it's stuck in headsett profile and cant change. It had sound from the headsett for a while but it's gone now, I'm thinking it's a connect error from the fall but I dismanteled the facia, but afraid to go further, it really feels like ist going to break in half, so I'm not stressing it. This woudnt be a problem if I had a service in my area but I dont. Now, I'm thinking maybe I can force change the profile from a command line edditor so I need some help, I got Windows Mobile Development Power Tools and it has an application called RAPI_start (Command line tool for starting processes on the device currently connected to des ...Show All
Windows Forms DataGridView row selection
I have a DataGridView control on a Windows Form with the MultiSelect property set to true and RowHeadersVisible set to false. I need to programmatically select rows at form load that match values in a database table. The following code does not work even though when I step through the code a match is found and the row is set to selected. The row in the DataGridView is not selected on the screen. What am I doing wrong For Each objDGVR As DataGridViewRow In objDGV.Rows For Each dr2 As DataRow In dsListData.Tables(0).Rows If dr2( "Code" ) = objDGVR.Cells( "Code" ).Value Then 'We have a match so set the row as selected objDGVR.Selected = True End If Next Next ...Show All
Windows Forms Edit Files
Hi, I just like to find out a couple of edit menu technique codes. Could somebody please provide the codes of the following things: Undo Redo Cut Copy Paste Delete Find Find Next That'd be excellent if you could. Thanx. Eragon. thanks for replying, I typed in: private void cutToolStripMenuItem_Click( object sender, EventArgs e) { this .richTextBox1.Cut; } and the error screen came up saying: Only assignment, call, increment, decrement, and new object expressions can be used as a statement. What does this mean and how do I get around it ...Show All
