ideal24293's Q&A profile
Visual Studio ReportViewer Print Preview Problem?
Has anyone experienced this I created a report that has multiple pages - in fact my tests were done with 2 pages. When I go to Print Preview mode, it usually only has 1 page. I have to click refresh (sometimes more than once) before it has all pages. Hi, I have a similar problem, though I am not sure if it is quite the same. I have report in landscape format, displayed on a windows Form by use of reportViewer. At first he tells me there is only one page (in the foot of the report by using totalPages and in the toolbar). If I select the preview, there are several pages (sometimes he gives the total number in the toolbar, sometimes no total number and sometimes there is still a one, but I can see, that there is data missing. typi ...Show All
SQL Server b-tree structure.....
Can someone explain me or let me know the URL where I can find more details about b-tree structure. I am more intrested in the calculation that is done in one of the articles below. ---------------------------- Artcile ---------------------- With the 900 byte key, 8 rows can fit per database page. This means there will be 12500000 pages at the leaf level, 1562500 pages at the next level up in the b-tree and so on, giving a total of 12500000 + 1562500 + 195313 + 24415 + 3052 + 382 + 48 + 6 + 1 = 14285717 pages (including 1785717 to store the upper levels of the b-tree). -------------------------------------------------------------- How is 1562500 , 195313 , 24415 etc are calculated.... from 12500000 leaf pages. Each ind ...Show All
Smart Device Development TAPI
Does anyone know how to access TAPI for a smartphone or CF. I want to make a program to fax something from my Q. Use Process Invocation ("P/Invoke") techniques on native API. TAPI has been described at: http://msdn2.microsoft.com/en-us/library/ms835755.aspx so, you can go from there. Be careful with Marshalling. ...Show All
Visual C++ formatting output to a file
The problem i am having is trying to format a double type output to show the thousand comma. Meaning ##,###,###.## . The number is of double type with 2 decimal points. 1111111.11 How would i be able to change the output to show the thousand comma just before printing to an output file i am using sprintf to output to file. thank you, mike thanks for that. i will look into it. I was wandering if there is a way to do it witout external code. like in visualbasic there is the "format" command. mike ...Show All
Visual Studio Submenu in context menu
Hi everybody For my DSL project, I want to create a custom submenu in the standard context menu, where I put my commands. How do I achieve this Thanks in advance for your suggestions Best regards Christian Hi Christian, We don’t generate any custom code for cascade menu items for the target designer. Hence, you will have to create your command handler (derived from OleMenuCommand), and add the command object into the collection. In the gen'ed commandset.cs, we created doubled derived LanguageCommandSetBase and LanguageCommandSet. You can create a partial class LanguageCommandSet, override GetMenuCommands and supply your command handler. To implement the cascade menu, you can search the net. The following would be a good sta ...Show All
Visual C++ In Desperate need - Source code from 'obj'???
Hello guys, I had "quite" a big misfortune recently. My backup extern harddisk stopped working right after I reinstalled my laptop. So I lost all data. Disk is severaly damaged and it would cost a lot to get data. However I'm trying to get data from deleted+formatted laptop. I've searched through almost all files I can get back, but only files regarding my GAME PROJECT(in VS C++) are some "obj" files, VS project, ... some bits here and there, but no source code. I do have some backup of my project but that is 2 months old and I've done quite a lot since then. I know I will have to rewrite the code, but isn't there any way to get source code from "obj" files, so I could get at least some code back Or t ...Show All
Visual Studio Express Editions Populating a Dataset from an SQL Database
I am using VB 2005 Express Edition! Also - this is my first attempty at accessing an SQL database, so I acknowledge that I have probably done something very silly but at this stage I am stumped and need some help. As a reference on how to do this, I used KB Article 301216. I have basically copied exactly what was shown in the article changing names to suit my requirements and have come up with the following code :- Dim connection As New SqlConnection(ConnectionString) connection.Open() Dim adapter As New SqlDataAdapter ReadString = "SELECT * FROM configuration" adapter.SelectCommand = New SqlCommand(ReadString, connection) Dim DSetCONFIGURATION As New DataSet( "CONFIGURATION&qu ...Show All
Windows Forms ClickOnce seems doesn't work
Hi all, I'm newbie with ClickOnce. I have an application I'd like to update by web. I've tried to install it and then deploying a newer version and test id somethings happens... tha application runs normally. In which way I can test the ClickOnce functionality and what have I to check in my app settings. I've made the CD installation and installed it, what do I have to do now If I check the FTP site it has the right files. I've chechek the "before application starts" option to perform the updating check. I hope you can help me. TIA for any suggestion, examples or tutorial about it. Dario Hi Dario, Sorry didn't follow all the way. Here are some of the links that has simple ...Show All
Windows Forms Do i understand Beginedit()?
Hi, I am trying to edit a row in my database, but the value doesn't want to stay. When I close the program and reopen it the row just reverts back to it's original value. I'm not sure if I am using begin and end edit correctly. Are they meant to save the new edited row Here's my code: Step.Email.FindByID(0).BeginEdit(); Step.Email.FindByID(0).Text = SuccessString; Step.Email.FindByID(0).EndEdit(); Step.Email.FindByID(1).BeginEdit(); Step.Email.FindByID(1).Text = FailureString; Step.Email.FindByID(1).EndEdit(); Step.Email.AcceptChanges(); (Step is my Dataset) Hi, Thanks for the reply. Dataset doesn't contain a routine called Update. However the tableadapter doe ...Show All
SQL Server Urgent Sub Report Help Needed
I have an urgent need to solve this issue. I have a report that has two sets of six sub reports. Here is what I have: Main Report Subreport1A Subreport2A Subreport3A Subreport4A Subreport5A Subreport6A Subreport1B Subreport2B Subreport3B Subreport4B Subreport5B Subreport6B I want to have a page break between the first set and the second set. The last subreport of the first set, Subreport6A, has a pagebreak at end = true, so it should break. The problem is that when I export to Excel I am getting one sheet for the 12 subreports. This report exports to Excel fine in VS.Net. I'm having issues exporting from the Report Manager. The error log is below. I'm at a dead end. I'm ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Textured cube rendered with BasicEffect and Effect shader
This code start from examples that you can find here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=694235&SiteID=1 by "pRtkL xLr8r" and "i made this". It show a textured cube rendered with BasicEffect (on left, with light) and with Effect shader (on right, not light). Not all faces are right textured. Press keys: Insert-Enter to toggle Full Screen/window mode; arrows, PagUp, PagDown, Home, Fine to move; Esc to exit. To dowload the project: http://tonigreco.spaces.live.com/ I hope it can help. Bye Toni Interesting, if I comment out the 3d render code I get the blue background. Add back in Draw cube with BasicEffect, I get a black screen. Comment that out and add back in Draw cube with Effect shader, I get the same black ...Show All
Windows Search Technologies WDS 2.6 does not index mailbox and PST while Office Group Policy is used
We have a MS Office 2003 Group Policy (GPO) that turns on many of the Outlook controls. (This is not the GP for Desktop Search...but for Outlook, Word, etc.). Windows Desktop Search 2.6.5000.5401 will not index emails in the Exchange mailbox and the Outlook PST files until I "turn off" the Office GPO. Can you help me determine which particular policy/rule within that Office GPO is affecting WDS And what might we do so that we can keep our Outlook/Office GPO as it is but have WDS be "accepted" and get past the GPO rules Thanks. Abe1816 - that is helpful information. In order for WDS to index Outlook it must install and run an add-in. Could you do me a favor and do ...Show All
SQL Server DSV Refresh
Hi, I have an odd problem with the creation of objects in the data source view using AMO. I added some tables and relations with AMO and everything seems to work well. Then, using Analysis Services I selected the data source view and refreshed it. The form that notifies the changes in the data source view showed a lot of changes that I didn’t understand, costraints created and removed, fields changed and other operations that I didn’t made... I try to do the refresh with AMO using all the update and refresh options I found but with no results. Every insight on the question will be of great help. Thanks This is an extract of the data source view refre ...Show All
Audio and Video Development Reading sample from buffer,writestreamsample dropped all video sample??
Body: I read a live source stream from a network port,then i put the received sample of getting throngh onstreamsample function to a queue buffer,waiting for a sencond,i get the sample from buffer,using writer's writestreamsample to send it to writer.The result asf file's size are correct,but only have audio stream,all samples of video stream failed to write to file,i don't know why could anyone help me You're asking about the Windows Media Format SDK; this forum is primarily for Media Foundation questions. That said, I'll give you a couple ideas for how to figure out what's going wrong here. There is lots of good WMFSDK expertise at this newsgroup: http://www.microsoft.com/windows/windowsmedia/communit ...Show All
.NET Development & and $ symbols in xml causes validation to fail
Hi, i have a xml file with a number of elements in it. I am using xsd and XmlValidatingReader. I have fields that contain text data. These fileds all work fine except if the users enter & or dollar signs. To get around this i specified a regex pattern in the xsd but this makes no difference.The encoding is UTF-8. The validation fails. Any ideas would be really welcome this is the element <ethnicCopy> & ethnic </ethnicCopy> the datatype i specified in the xsd is <xs:simpleType name="EthnicDataType"> <xs:restriction base="xs:string"> <xs:maxLength value="2000" /> <xs:pattern value="^(.*)$" /> </xs:restriction> </xs:simpleType& ...Show All
