wannabe_2's Q&A profile
SQL Server table items custom sort
hello i am currently trying to port a "Business Objects" report to SQL Server Reporting Services. in B.O., there is a possibility to define the order of the table values by previewing the table values and moving them up or down. Example : the dataset contains data for 3 items, so in the Custom Sort window, I will see these 3 items and I can order them by moving them up or down in a listbox. is this possible to do in Reporting Services Are you wanting to be able to re-order the table's detail rows when running the report Or are you referring to the data Jarret ...Show All
.NET Development Access query to transpose table data
Hello, I have the following table structure in my database and would like to create a query or table that displays a single record for each country with the three different RatingsType1 across the top as column headings with the respective rating filled in. Something like this: Country Rating1 Rating2 Rating3 US AAA CCC Baa1 where Rating1, Rating2, Rating3 are one of the three types of ratings from the tblRatingsType1 table. Here's the table structure: tblCountry CountryID (PK autonum) CountryName tblCountryRating CountryRatingID (PK autonum) RatingType1ID (FK to tblRatingType1) Rating RatingDate tblRatingType1 RatingType1ID (PK au ...Show All
Windows Forms How to: indicate changed value in DataGridView?
Hi, In a DataGridView I need to indicate cells having a value changed by the user. At the moment I use the CellValueChanged event to set the cell font to bold upon a change of value: private void dataGridView_CellValueChanged( object sender, DataGridViewCellEventArgs e) { DataGridViewCell cell = dataGridView.Rows[e.RowIndex].Cells[e.ColumnIndex]; cell.Style.Font = new Font (dataGridView.Font, FontStyle .Bold); } However the cell should also revert to normal (not bold) if the user happens to restore the original value. Where do I find the original value to compare with Is there a better way Note: the DataGridView's DataSource property is set to a DataTable loaded from a database. Your help will be much apprec ...Show All
Software Development for Windows Vista One of multiple events handled by EventDrivenActivity: possible?
Hi, I have a state machine that in a certain state S1 should react to one of the several different events E1, E2, E3, E4 and then execute the same single CallExternalMethodActivity followed by a single SetStateActivity. In other words, I need an equivalent of EventDrivenActivity without the restriction of having only one HandleExternalEventActivity as the first child activity. Ideally, there would exist a HandleExternalEvent s Activity (note the plural) that would behave just like HandleExternalEventActivity except that it would "wait" for more than one event. More precisely, this imaginary activity would "continue execution" as soon as any one of the events would be raised, not all of them. Can I simulate this behavior ...Show All
Windows Forms C# Form problem
I know you can open a window by using Form class. But this will give you a new window every time, which have its icon and title on the taskbar. So if i open three forms, this will give me three icons on the taskbar. But how can i open a new window without have its icon and title visible on the taskbar In other words, a seperate window but can not be clicked on the taskbar e.g., like the find and replace dialog in visual studio .net software, that is a seperate window to the main window, but can not be clicked to being activated on the taskbar. many thanks danny that is the way to hide the form in the task bar using the ShowInTaskbar to false. or you can create a MDI form and show your other ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Rants on XNA 1.0
This is my first reaction when I installed and tried the 1.0 of XNA. To summarize my feeling: it's still 95% for XBox and no nearer to replace the old MDX 1.0. So I decided not to migrate from MDX to XNA though I want to do that very much. I feel like MDX 2 more; amen to MDX 2. The hardest issue for me is the content pipeline, which is very necessary, but the workflow is fixed and it assumes the contents are only built before the program runs. The helper functions wrapping D3DX can only be used with types in the content pipeline. I have to utilize the full content pipeline just for generating something dynamically, of course with significant performance cost. Or I have to write those D3DX utilities my self. Currently I don't have a good id ...Show All
Microsoft ISV Community Center Forums iexplore.exe - Application Error
I get the following error message when I close my internet explorer. The instruction at "0x62304320" referenced memory at "0x62304320", The memory could not be "read". Click on OK to terminate that program. Any ideas what is causing this I too am experiencing the same problem -- have been for a few days now. I haven't installed anything new in a while, but I have had the Google toolbar for sometime now. I modified it to just show me the google search box and haven't had any trouble since then (it's been more than a day now, and I used to get the error at least 2ce a day). ...Show All
SQL Server Field grouping in Report Builder
Hi, I build all my report with the report builder. When I build a report that the first column is ID and I've several records with the same ID one after abnother the report is grouping the ID data (see 2 in the example below) How can I cancel the grouping for report or for the entire environment example: ID Date 1 1/1/1990 2 1/1/1990 1/1/2000 3 1/1/2005 Hi, I'm building the report in Report Builder not report designer. There is no data tab in the report builder. Anyone ...Show All
Windows Forms some Designer Serialization problem.
hi all. i knew i can assign DesignerSerializationVisibilityAttribute to propoerties which type have a paramless constructor,the Designer Host Service can Serialize the Component to code in InitializeComponents method default. now can i custom this default action can i drive the host service generate some custom action code ,like a custom logic,i want thanks. man, i did not get your first sentence. if i understood your question correctly, you are trying to generate code in InitializeComponent method block for your component This is done with DeisngerSerializers. ...Show All
Windows Forms How do I ask user for confirmation when deleting a record ?
I am using Visual Studio Express (c#). I have a simple form with a DataGridView and a bindingNavigator. All I want to do is when the user clicks the 'delete' button on the navigator, I want to show an 'Are you sure ' message to allow them to cancel the operation. The seemingly obvious thing to do is to put some code is in the RowDeleting event for the data table like this: void Table_RowDeleting(object sender, DataRowChangeEventArgs e) { DialogResult res = MessageBox.Show("Are you sure ", "Warning", MessageBoxButtons.YesNo); if (res == DialogResult.No) e.Action = DataRowAction.Nothing; } The problem is that e.Action is readonly so I cannot change it. I can't do e.Row.RejectChan ...Show All
SQL Server Merge Replication with SQL Mobile Server 2005 / SQL Server 2005
I am using Merge Replication to Synchronize a database on a mobile PDA. I create an empty table 1st using; "engine.CreateDatabase()" then sync with ; "replicator.Synchronize() " It works great the 1st sync, but subsequent calls to "replicator.Synchronize() " dont download new table changes at the server level to the remote PDA. I have found by calling ; "replicator.ReinitializeSubscription(True)" I can get new updates downloaded to the handheld, but it is very flaky / glitchy when using this call and hangs / freezes / or doesn't work all the time, every second attempt seems to work.... My questions is... 1) after initial synchronization, is there steps at the server level or handheld level to request new updates to download - ...Show All
Windows Forms create screen savers using .NET
how to create screen savers using .NET Hey kru, Following should help you. http://www.devasp.net/net/articles/display/565.html ...Show All
Visual Studio 2008 (Pre-release) SolidBrush and Resource Dictionaries
How can i modify the color proprety of a brush from a resource dictionary. Hew i get it and want to change the color it throws me an exception saying that the object is read-only is sield. Any workaround SolidColorBrush backBrush = this.Resources["BackgroundButtonBrush"] as SolidColorBrush; backBrush.Color = Colors.Black; Exception: Cannot set a property on object '#FFA9A9A9' because it is in a read-only state. ResourceDictionary is not a real only collection, so my guess is that your SolidColorBrush is probably in the frozen state before you setting value on it, actually when you call Freeze() method on a brush, you cannot change it later on. edit: another reason why you got ...Show All
Visual Studio Express Editions Changing a URL in a webbrowser
I have this webbrowser and have the default page on it. Could i have a address bar so i type in the URL in the address bar and click go and it'll change the URL in the webbrowser But I think using both is correct - if you look at something like Internet Explorer - it has a little refresh button which sort of acts like a go button for whatever is currently typed in the URL textbox. ...Show All
Software Development for Windows Vista Can't register Windows SDK RC1 (5536.0.2) with Visual C# Express Edition
Hi, Environment: Windows SDK: RC1 (5536.0.2) .NET 3.0 Runtime: RC1 (4324.17) Orcas Tools for .NET: RC1 When I try to register SDK with VC# Express by going to Start --> All Programs --> Microsoft Windows SDK --> Visual Studio Registration--> Register Windows SDK Directories with Visual Studio 2005. I get a message indicating I must have "Visual Studion 2005 or VC++ Express edition installed". The documentation for Windows SDK (RC1) however indicates that it can be used with VC# Express edition. Anyway I can get it working with VC# Express thanks Anil Thanks Willy. Can I find this info anywhere to be sure which version of SDK is for VC#. I know that the Be ...Show All
