Ogulcank's Q&A profile
Visual Studio No print option available in the menu bar in report viewer control.
Hi all, I'm using a report viewer control in my project and the print option in the menu bar is not available. can anyone help me out n throw some light on this issue Thanks in advance. Have you tried clicking on the ReportViewer control, navigating to the Properties window, then investigating the properties that begin with "Show..." For instance, set ShowPrintButton = true. If the correct property is set to true then another problem could be that your menu bar is not long enough and the icon is hidden. ...Show All
Software Development for Windows Vista VERY interesting WF architecture/performance article.
The following article is VERY informative and worth the read for anyone developing applications on top of WF. http://msdn2.microsoft.com/en-us/library/Aa973808.aspx Zack Please use this thread to give us any feedback on the article. The dev team think that the performance is pretty impressive and we'd like to hear about any areas that don't perform well for you. Conversely we'd also like to hear that the high performance of WF allows you to do new things that you couldn't do before. Regards, Paul ...Show All
SQL Server Problem with reference dimension & snowflaked tables
OK, this is a bit complicated, so I hope I can explain it clearly. I'll try not to get bogged down in the details of the problem domain, but bear with me. We have a cube with a regular dimension and a reference dimension. The reference dimension is connected through the fact table through the regular dimension (there are many other dimensions as well, but I'll simplify the situation here). Both the regular dimension and the reference dimension have hierarchies that that include as their top level a level called "System". For both of the dimensions, the "System" level is snowflaked in from the same table. So the regular dimension table contains a column called System_key, and a corresponding attribute. Similarly, the ref ...Show All
Visual Studio Express Editions DataGridView Column's expression
hi all, i need to know more about DataGridView Column's expression. I have column-C want to do expression, choose Data from Column-A if the column have value, otherwise choose Column-B. It is got any idea ...Show All
SQL Server EASY! Trim string?
I have values in a matrix takin too much space. Since they are just used as the matrix column header, cant i trim it or something. To display just the first 3 letters of the the attribute, and not the whole string Whats the code for that =Fields!Collision_Type.Value thats my field right now. Please help! thanks! There is no difference really, the Mid function allows you to give it a starting position and how many characters to return. Jarret ...Show All
Visual Basic “My” Name Space and Violation of OOP Concepts!
I am an old VB programmer; I started using this powerful language since it was “4” years old! In my MSC program I have studied a complete Java course with its “new” O bject O riented P rogramming (OOP) capabilities. I faced no problems to “absorb” these new concepts; and in a short time I became a “deeply” Object Oriented Programmer. Unfortunately I found that Java lost a big efficiency of VB 6; this is, specially, true when Java runs in windows platform .VB 6, itself, misses a lot of Java OOP capabilities. I did not wait a very long time till the news began talking about VB.Net! When VB.net was first introduced in early 2002; I faced no problems becoming familiar with it; VB.net combines the powerfulness of VB 6 and the OOP “ ...Show All
Windows Forms Datagridview comboBox not showing displayMember
I am creating a comboBox in a dataGridView that holds month values. The dataGridView is bound to a datatable which is created from an SQL query. However, this DataTable also contains additional columns that I am creating and populating in code. In particular, I am craeting a "month" column in the DataTable in code after the DataTable is filled from an OdbcDataAdapter. I am trying to add a combo box to my datagrid that will represent my months column, but for some reason, the combobox will display the month ID as opposed to the month name once the combo box has lost the focus. For example, if I select "April" from the combo box, the value will revert to "4" when the combo box has lost focus. As far as I know ...Show All
Software Development for Windows Vista Same problems, but build 5384
I just installed Vista beta 2 (32bit) at build 5308 on a brand new Optiplex GX620. It boots then, no matter what I do including if I do nothing at all, about two minutes into my user session the menu bar sort of jumps up a bit and I get the blue screen-o-death. When I recover the windows crash console assures me that "this bug will be fixed in a future release" but other than a criptic set of "bcodes" (1000007e) it gives me no further information. I need a work around for this if anybody can help. How do I find out if it's hardware or software related even If there is no help, when is the next release Thanks. same problem with vista... runs fine until i try to use the file explorer a ...Show All
Visual C++ #pragma must be first non-whitespace character...
Hi, I'm wondering if anyone else has encountered this possible bug with the vc 2005 compiler. I was working through a series of OpenMP tutorials and had all sorts of obscure issues, either the code would compile but not run properly, or it would fail to compile with an error that "#pragma must be first non-whitespace character on a line". In the end I closed the cpp file and re-opened - the editor then warned that the file contained mixed LF and CR/LF line terminators. Converting to CR\LF then fixed the issues with the #pragma statements! So it appears that the pragma statements were not being treated correctly when the end of line terminators are not consistant Dave This issue is re ...Show All
Visual Studio Express Editions OpenFileDialog and SaveFileDialog Questions
Back again.....with a new question. Right now I am dealing with learning to open and save a .txt file. I understand the concept but when i debug the code and....lets say save a file, I cannot find the file on my desktop as a .txt file. Here is the code that I have implemented. Where did I go wrong 'Open Option Private Sub OpenToolStripButton_Click( ByVal sender As Object , _ ByVal e As System.EventArgs) Handles OpenToolStripButton.Click Dim open As New OpenFileDialog() open.Filter = "All Files (*.*)| (*.*)| Text Files (*.txt) | (*.txt)" open.Title = "Open Text File)" open.ShowDialog() End Sub 'Save Option Private Sub SaveToolStripButton_Click( B ...Show All
Visual C# Serialization and get the rowcount
Hello again comunity... that's my question.. hope someone can help..: Problem: I have an serializable struct, so i'm save it on a binary file, i apend each struct to the others (i'm not saving an array, i'm just saving the structs over an over again..). Im currently use another file to mantain the row count that i have, so... Question How do i get the rowcount directly from the binary archive .. i've tried the old ISO c++ trick, you know.. dividing the file length / sizeof(The struct)... but.. firs of all.. sizeof does not work for managed code.. i mean.. with managed structs.. and.. Marshal.SizeOf(object objetc) returns a value that does not work.. i mean.. the division does not return the correct row count.. Marshal.SizeOf re ...Show All
SQL Server Multicolumn cell in table
Hi, I need to realize multicolumn cell in table for grouping fields, but i don't know how to do that. Help me please. 1col. 2 col. 3 col. long text grouping field first second third data data data Thank you. ...Show All
Visual Studio 2008 (Pre-release) Resize proportionaly window
Hello to all! I need to realize a window that at the same time resizes width and height, maintaining therefore the proportion of the window. How can I do it Thanks! Hi guys, I was experimenting with keeping aspect ratio of the window while resizing. The problem is the WM_POSCHANGING message from API is not wrapped in WPF, so you may try to play around with setting MaxWidth/MinWidth and MaxHeight/MinHeight during window sizing. This will make flicker free resizing. ...Show All
SQL Server Report layout matrix/dynamic columns...
Hello Could someone please help me with how I can produce a report. I'm new to Reporting Services and I'm thinking this should be so easy, but it doesn't seem to be . A simplified version of my data is: Table 1 ======= JobNumber Date Staff 123 01/01/06 5 444 01/03/06 6 Table 2 ======= JobNumber FieldName FieldValue 123 Apples $13.23 123 Deleted False 444 Deleted True 444 Oranges 23 I need to create a report with the following output: Report ====== JobNumber Date Staff Apples Deleted Oranges 123 01/01/06 5 $13.23 False 444 01/03/06 6 True 23 The FieldNames in Table 2 are variable, any number of new field names could be added and I don't know w ...Show All
SQL Server Out of Memory Error when running a Select Statement
Hi all, In the object Explorer in SQL Server 2005 Management Studio, if I right click on the table I want to open and choose open, I eventually get an out of memory error with an error source: MSCORLIB. This table contains 40m records, but when it opens the table it goes past the 40m and wants to open 83m records, and then eventually comes up with an out of memory error. The properties of the table indicates that there are 40m records, but when you open the table, at the bottom, where it says retrieving data, it is counting of numbe rof records that surpass the 40m total. Is it because the database is too big, or is there a way to configure SQL Server 2005 to use X amount of memory Regards ...Show All
