Alex Stevens's Q&A profile
Visual Studio Team System BUG - VS crashes when comparing db schema
I am trying to compare schema from my db project to an existing database. My user account has limited privileges on the SQL Server ( I do have dbo rights, but no superuser rights on the server level). The VS crashes at the step when it tries to read filegroup information from the server. It did not do this in CTP4 - everything worked smoothly. Are there any workarounds/what privileges to i have to have on the sql server First of all, this issue is fixed and will be included in our next CTP. To work around the issue, you can grant CREATE DATABASE, ALTER ANY DATABASE or VIEW ANY DEFINITION permissions to the user you are using to access the database. When reading the filegroups, we ...Show All
Windows Forms Different install locations for prerequisites
Hello, Is it possible to have for instance dotnet framework to be installed from the component vendor's web site and having a custom prereq. being installed from the same location as my application Thanks, Robert Indeed that was the problem, I missunderstood the url attribute... setup.exe /url=http://myserver/myapplication does the trick, and now it works. Thanks again for your help! ...Show All
Smart Device Development Can WMP 10 on WM 5.0 really do streaming?
I am needing to create a streaming application on Windows Mobile 5.0. My first tests have been to even see if WMP10 can really do streaming audio. I've tried an ASX, mp3, wmv file all from a remote server, as well as a streaming mp3 feed and get the same dialog saying "Cannot play this file. The file is either corrupted or the player...blah blah blah". So can WMP really do streaming at all They work fine on the standard WMP on my PC. we're not concerned about asx streams. I did discover that WMP on the Treo is issuing a "connection: close" command. Whereas IE and WMP on the PC sets the socket to "keep-alive". And there seems to be no way to get its internal socket, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Connect & Feedback - Issues
Is it just me, or does the XNA connect / feedback page keep having problems I log in and the feedback option isn't available, or the page doesn't show at all... is anyone else experiencing these issues Jeff Johnson wrote: Is it just me, or does the XNA connect / feedback page keep having problems I log in and the feedback option isn't available, or the page doesn't show at all... is anyone else experiencing these issues Please post the issues you're having on the Microsoft Connect website under "Feedback" and somebody on the team will take a look at it. ...that was a little "Microsoft humor" for ya Seriously, I just checked it and didn't have any problems. Does th ...Show All
Software Development for Windows Vista WordPad Problem
Dear Editor, I have a problem with wordpad ,simply I can't open .tsv in wordpad that is about 3mb and amazingly it is opened with notepad with seconds, the problem that I face that is it takes so much time to open ,the .tsv file comes in un unwraped state and I know it takes time for WorPad to wrap it ,but I didn't have that problem in the past ,I have Windows XP Professional SP2 ,I have searched the entire web for solutions for answers and I don't know if is a problem with wordpad or the SP2 ,please I really need help in this matter,and I'll appreciate any help or comments. Aiad Al-jumaily Hi Aiad, This forum specifically addresses questions regarding Windows Workflow Foundation, one of the componets in .NET Framework 3 ...Show All
Software Development for Windows Vista Create Custom activity to store data
Hi everybody, I created a state machine workflow with some services: _WFRuntime = new WorkflowRuntime (); _WFRuntime.AddService( new DefaultWorkflowCommitWorkBatchService ()); _WFRuntime.AddService( new SqlTrackingService (trackingStore)); mmitWorkBatchService(workflowStore)); _WFRuntime.AddService( new SqlWorkflowPersistenceService (workflowStore, true , new TimeSpan (0, 0, 0, 10, 0), new TimeSpan (0, 0, 0, 10, 0))); _WFRuntime.AddService( new ManualWorkflowSchedulerService ()); ExternalDataExchangeService dataService = new ExternalDataExchangeService (); ... (adding my local service which i use to raise events from my asp.net application) I need to be able to stor ...Show All
Windows Forms Check datagridview last row
How do i check if user has selected the last row in an event Regards Alu Private Sub DataGridView_RowEnter( ... ) Handles DataGridView.RowEnter Dim dgv As DataGridView = CType (sender, DataGridView) If dgv.CurrentRow IsNot Nothing Then If e.RowIndex = dgv.Rows.Count - 2 Then 'last row has been selected End If End If End Sub ...Show All
Windows Forms relationships
hi, ive got a table 'bills' bills contains all kinds of bills. ive got 3 datagridviews. one is binded to a multiplebills table. and the other two to bills. dgv1 should display all bills that fall under the selected multiple bills and when select one bill from the dgv2, it should display all bills that concern different clients. i.e 1 bill is to many bills that is to many clients bills. hard to explain. how do i built relationships that all fall within the same table I am guessing you would have to have the data in 3 datatables in a dataset. Then you could create a relationship between the datatables. The other possibly is to use a 3 dataviews and use the rowfilter to limit the records that are seen in the other d ...Show All
Visual Basic ListviewItem Selected reflected on another Listview
I had a listview on a certain form wherein it loads data from my database.Every data in this listview(firstListview) was reflected on the second form which also had a listview(seconListView).It displays pretty well,now my question was, how can I make in such a way that whatever item I selected on the firstListview will be selected also in the secondListview Pretty much that whatever I deleted in first would also deleted in the second...Someone told me about this code: Private Sub ListView1_SelectedIndexChanged( ByVal sender As System. Object , _ ByVal e As System.EventArgs) Handles ListView1.SelectedIndexChanged While Me .ListView2.SelectedItems.Count > 0 Me .ListView2.SelectedItems(0).Sele ...Show All
.NET Development XMLDataSource with cross-domain
I was trying to get a cross-domain XML file to work with and XMLDataSource control in ASP.NET, but I got an error that said: Access to the URL "url here' was denied in the XmlDataSource with ID 'id here' because of security settings. Is there any way to write a proxy in ASP.NET to access this file (I know how to do this in PHP.) Does anyone know how to get this to work Note: I cannot edit the IIS metabase because of my hosting company limitations. I am sorry for them, but it's unlikely that here somebody would know the answer. The problem is not really XML related. Let's see. ...Show All
Visual Studio 2008 (Pre-release) Canvas KeyDown event
I can't able to get the keyword events of the canvas.... Any help would be appreciated. Thanks in advance Cheers, G You can do that by setting Focusable="True" on the canvas and set the focus on the Canvas from the start (myCanvas.Focus() somewhere in the window's constructor or loaded event). The problem is that if another element receives focus during the application's lifetime, you will not receive the keyboard events on the canvas. Another way is to set the event handler up in the hierarchy (in the parent Window) - because of the tunneling/bubbling you will get the event no matter where the focus is in the window. I think in this case PreviewKeyDown is even better - you will get t ...Show All
Visual C# Evaluating a string to call a method
I'm new to C# and for better or worse i'm trying to do things the same as in the language i'm used to (OMNIS). In the past i could do this: String s1 = "printName('John Doe')"; Test.[s1]; And the square brackets would be evaluated and John Doe would be passed to the printName method in the Test class. I have a list of methods and parameters formated as strings from an external data source. Since my data source is defining the flow of the application the calls can change. So a nice for loop with a simple string evaluation would be wonderful to have instead of a huge switch statement that evaluates the string. That's one (*) of the really nice things about intrepreters that you lose ...Show All
Visual Studio Express Editions Open form from Menu item
I have managed to get two forms designed and the programs written. Now I have them in the same project file one is an entry page that has all the details of the person entered on it, and the second page is the workings page. I have entered a tool label in the menu strip but have no idea to be honest how I can open the other page from withinn the first form So I am here to ask as none of my searches come up with an answer, (Probably asking the wrong question) any suggestions Kiwi bloke Ok that helped! All I needed in the end to open it was the click event and the following line: Private Sub .....................................etc FormType.ShowDialog () End Sub That opens it, now on to t ...Show All
Windows Live Developer Forums Creating setup for the add-in
Hi How can I create a setup file for my Add-in that automatically registers it without the need to manually add it to the messenger Tal Hi james Thanks for the answer Is the registry modification supported by microsoft Do you have documentation for each registry key ...Show All
Windows Forms Seeking sample code for DataGridView
All, I am quite familiar with ASP.NET but am struggling with WindowForms.NET. I am hoping you can help. The application is very simple: I have a database with two tables that are related: TABLE 1 - tbl1_ID tbl1_col1 tbl1_col2 tbl1_tbl2_ID TABLE 2 - tbl2_ID tbl2_col1 What I would like to do is to display a DataGrid with the following columns: tbl1_col1 | tbl1_col2 | tbl2_col1 where tbl2_col1 is in a ComboBox column. The user should be able to edit any row and add new rows. If a new value is typed into the ComboBox, this should create a new row in TABLE 2. I know exactly how to do this under ASP.NET 2.0, but am really struggling with WindowForms. Would you please point me to an e ...Show All
