AGPX's Q&A profile
Visual Basic Internet Explorer Plugin Development
I visited the Internet Explorer forum for this question. What is the conceptual process for creating an Internet Explorer 6 plug-in (extension). Reason for post: I would like to use Internet Explorer instead of the WebBrowser inside my application. It seems like a waste of time to create a brand new custom browser if I could simply change IE to fit my application. Once again, I need IE to reside inside my application - specifically, integrate it into one of my application windows. There is a sample for how to do this in C# here: http://www.codeproject.com/csharp/dotnetbandobjects.asp . You may be able to download the code and convert it into VB. -Scott Wisniewski ...Show All
Visual Studio 2008 (Pre-release) frameworkelementfactory grid columndefinitions
hello, How do you define the columns and rows for a grid, when using a FrameworkElementFactory e.g. FrameworkElementFactory f = new FrameworkElementFactory(typeof(Grid)); f.SetValue(Grid.ColumnDefinitions, newNiceColCollection); except that Grid.ColumnDefinitions doesn't exist. FrameworkElementFactory has some custom logic for handling the ColumnDefinitions and RowDefinitions in a Grid. For those values, you treat them like children in the factory tree, for example: FrameworkElementFactory gridFactory = new FrameworkElementFactory ( typeof ( Grid )); FrameworkElementFactory columnDefinitionFactory = new FrameworkElementFactory ( typeof ( ColumnDefinition )); columnDefinitionFactory.SetValue(...); ...Show All
Visual Studio 2008 (Pre-release) ListView traverse down VisualTree
My main goal is to have a checkbox in a header column and have checkboxes in each row of the gridview. When the checkbox in the header is checked, all checkboxes in the rows are then checked and when the header is unchecked, the rows are unchecked. Here is my xaml page - so in the SelectAll function, I want to loop through the items in myList and find the firstCellCheckbox and set it to IsChecked=true. I was hoping a foreach would work. Any ideas < Page x:Class = " GridViewApp.Page2 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " Page2 " > < Page.Resources > < DataTemplate x:Key = " FirstCell " > &l ...Show All
SQL Server RS 2005 run on SQL Server 2000 Database?
Our product currently works with Cystal Reports but we decided to enhance it so it works with another reporting platform (MS Reporting Services). We are in the beginning stages of developement and trying to decide which version of RS (2000 or 2005 ) to build the reports and integrate our web UI with. Most of our clients are using SQL Server 2000 for their database platform and we don't anticpate them upgrading to 2005 in the near future. If we built everything using RS 2005 could our clients deploy RS 2005 Report Server on a SQL 2000 Database Is the licenses model the same when the Reporting Services and Database versions match vs non-match Is ...Show All
Visual Studio 2008 (Pre-release) Any way to create BreadCrumb navigation in Navbar?
In a WPF Browserlike app I'd like to show a breadcrumb navigation bar instead of the 'back' and 'next' buttons, showing a trail of the pages the user has visited, offering to go back to any page by clicking the breadcrumb. Can this be done in the controltemplate of the NavigationWindow This would contain the same pages as the navigation dropdown list does. Just in case it's not clear what I'm talking about I added a small project , showing a static navigation where I would have liked the automatic one. Thanks, Sam Replace the Grid you have with this < Grid DockPanel.Dock = " Top " Margin = " 9 " > < Grid.ColumnDefinitions > < ColumnDefinition /> ...Show All
SQL Server Move log file without shutdown
I need to move a database's log file to a different disk. Can I do this without shutting down It's pretty clear that I can create a second log file on the new disk but, what do I have to do to delete the old log file The documentation warns that files must be empty to be deleted but I can't find any information on how to empty and disable a log file. Will a BACKUP LOG make the log file empty enough to be deleted How do I make sure that new transactions are all written to the new log file You can't move the primary log file whilst the db is online, i.e. the one you create with the database. You could add another and then shrink the original and set the auto grow to off, but thats not ideal. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Playing drum sounds in succession
Hi, Is it possible to play short drum sounds (ie. kick, snare, hi-hat) in succession, one after the other without a noticable delay On the cue stop notification I begin playing the next sound but there is an obvious gap between the sounds. So, is it possible to play short drum sounds seamlessly Regards. Depending on what you want to do. If you want it to be interactive, then I'm not so sure. But if you want to basically make a song with very small memory usage, I did it by putting multiple samples into a sound and then adjusting their time stamp. It was my first attempt at doing something in xact, but I was able to make a cool "picard techno" song out of it. (I was trying to mimic the darkmate ...Show All
SQL Server Check if file exists
In SSIS, I need an easy way to see if a file exists, and if not wait for it until a timeout period expires. Here are the options I've discovered, along with the issues I've had: a) The File Watcher task from www.sqlis.com This was my first attempt. The task works great, BUT only detects when there is a change on the file. If the file already exists, it keeps waiting which is not the behavior I need. b) The WMI Event Task There is very sparce documentation on this event and how to write a WQL query. There are numerous examples of monitoring a folder and if any files appear, cause an event to happen. I need to detect for a specific file. I found maybe one example of this using "PartComponent" but wasn't able to ge ...Show All
Visual Studio Team System Creating a folder structure that allows easy merging?
I have read several blogs and posts here as well but have not been able to get a clear idea of a branching structure to create that will allow merging without any problems (no baseless merging). Here is the sample folder structure that I would use: $/Main/Release $/Main/Release/v1 $/Main/Release/v2 $/Main/QA $/Main/QA/v1 $/Main/QA/v2 $/Main/Src I want to have one codeline per major release in both QA and Release - hence the v1, v2 etc. Dev work would be performed under Main/Src - for ALL releases. Selected builds (labels) would be promoted to QA, and from there to Release. Any bug fixes would be performed on the Release/vXX branch, with the changes being merged back to QA, and Src. This would allow d ...Show All
Smart Device Development winCE4.2 and CF2.0 SP1(a strange problem) pls help
Hello, I want to develop a program with .NET2.0 on a winCE4.2 device. I used CF2.0 SP1 and could be able to run programs on the device. But weeks later, I hard resetted the device and installed .NET CF2.0 to the device again, and I uninstalled .NETCF2.0 SP1 and installed it again.It installed the files and at last tried to connect to device but an error occured: "Microsoft .NET CF 2.0 does not support the connected device type. Application Manager will make the applciation available for installation when a supported device type is connected." I wish I could explained my problem. If it is not clear, I try to explain more. Hello .Ilya, thank you very much for your answer.It's ok now.. Installing the patch ...Show All
Gadgets z-index with <object> and <g:background>
I'm nearing completion of my gadget, but I have one last feature which is stalling me. My gadget is using an ActiveX control to stream video from a webcam. Everything is working great, however I'm running into the old problem of not being able to catch onclick events on the <object> tag. My workaround so far has been to use onmouseover, which works fine, but it is less than perfect. While messing around with g:background, however, I noticed that if the z-index is higher than the z-index of the ActiveX object, I suddenly can right-click on the object and get the normal gadget context menu. Usually, that does not work. Also, the onmouseover event on the object stops firing, which leads me to believe that in some wa ...Show All
Visual Studio Express Editions Need Help :--- How to call a routine of C++ in c#.net
How to call a routine of C++(Turbo c) in c#.net....... can anybody help me OK - we're back where we started. To call your C++ code you need to either build it into a COM dll, and use COM interop, build it into a normal DLL and call it using pinvoke, or move the code to VC++ Express Edition and build it as a C++/CLI dll and import it into your C# project. ...Show All
Visual C# Unable to update the dependencies of the project
I have had this error every time I try to check my program into source control after making changes. The project builds and works fine until I check it in and check it back out then it won’t build. I have deleted the setup project and built a new one only to have the same problem after checking it into source control. It also givs me a warning that " Assembly ' FolderName\FileName.exe ' is incorrectly specified as a file. Any suggestions would be helpful. This continues to be a huge problem. For example, one solution contains 18 projects. All have explicit version numbers. Some are converted VB from VS 2003, some created in VS 2005, and one CS. I can get a clean build, exit Visual Studio, get a clean ...Show All
SQL Server Error with Execute sql task and full result set: " not been initialized before calling 'Fill'"
This is the first time I've tried creating an "execute sql task" with a "full result set". I've read in the documentation that I must set the resultname to 0, which is done, and that the variable must be of type object. Also done. [Execute SQL Task] Error: Executing the query "select * from blah" failed with the following error: "The SelectCommand property has not been initialized before calling 'Fill'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. Has anyone else had success with a full result set Thanks, -Lori I noticed that you said in ...Show All
SQL Server SQL Server Management Studio Express will no longer start
I used to have both SQL Server 2005 Express and SQL Server Management Studio Express up running just fine until I installed (removed SQL 2005 Express) SQL Server 2005 for Developers and re-installed SQL Server Management Studio Express - now, SQL Server 2005 for Developers works, but I can not start SQL Server Management Studio Express No error messages, simply nothing happens when I execute ssmsee.exe. Should I be using a different version of Studio Thanks, Tor On the official media just install the client Tools, that includes the SSMS. HTH, jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
