eshu's Q&A profile
.NET Development Stream Not writing last byte?
Hello and thanks in advance for any help you may give. I am currently using the new gzip feature in VB 2005, to compress XML and insert the zipped bytes into an OLE access db column. I have gotten it to work for the most part except it seems to be cutting of the last Char of XML and sometimes even more. E.g. The closing tag of the XML would look like "</Inventory" - Missing the ">" .I have no idea why, but since I am new to streams I may be missing something. So anyways here is my compression code. The top function is for compressing, the lower for decompressing - Public Function GZipCompress( ByVal compressData As Stri ...Show All
SQL Server Capturing and reporting execution errors
We have a report subscription that emails an excel file every morning at 11am. For the past two mornings the subscription fails due to one of the parameters being null. This was caused by another programmer changing a stored procedure used in the report. What I'd like to know is how can I capture and report that the report failed to be produced. I have loaded the Execution Log sample reports and the relevant DTS package to load the logs is run every 5 mins. However, this error does not show up in the reports. The entries in the Report Server log file are as follows, ReportingServicesService!dbpolling!25a4!17/08/2005-11:00:12:: EventPol ...Show All
Visual Studio Team System Errors re-installing beta 3 refresh
We installed Beta 3 refresh a few weeks ago, and all was working fine. However, we experienced some corruption outside of Team Foundation Server that caused us to have to reinstall Beta 3 Refresh - the reasons behind the need to reinstall are a bit shady at the moment - sorry! During the reinstall procedure, we keep receiving the following error: Error 32000: The CommandLine "F:\<path name>\createds.exe" /setup /install "http:\\FUCHSIA-SERVER\ReportServer\ReportService.asmx" TfsReportds "DATA SOURCE=FUCHSIA-SERVER initial catalog = TfsWarehouse" "<domain name>\tfsreports <long guid> ...Show All
SQL Server Print Preview pagination for multipage data in single text box
I have a tried two different reports one with table and the other without The last textbox in both reports contains enough text which should fill half of first page and half of second page. In both reports the print preview and export to PDF keeps the first page blank and puts all the data in the second page. It appears that the textbox control doesn't know when to place a pagebreak when in print preview and export to PDF. The rdl file has no pagebreaks defined anywhere. Thanks in advance for your help! There is an implicit keeptogether on the text box. Only when the text box cannot ...Show All
Visual FoxPro Docking PrintPreview toolbar and Making PreviewContainer Modal Window
Hi, I am facing problems in the reportlistener class, my requirement is 1) i have to preview a report with the preview toolbar docked and should be moved from the position. 2) The PreviewContainer should be Modal and no other window should be accessed. 3) no resizing of the container and should occupy the application fully. I used the ReportListener Extension Handler Classes and Set the PROCEDURE Show ( iStyle ) THIS .PreviewForm. Movable = .F. THIS .PreviewForm. windowstate = 2 THIS .PreviewForm. windowtype = 1 THIS .PreviewForm. Toolbar . AddObject ("cmdProof","MyButton") ...Show All
Windows Forms Yet another .addNew question
I'm doing the typical master-child form. Master's records are in textboxes, one checkbox. Child is in a grid. A relation joins the PK/FK. MasterTable: SRProfile2 Child: SRProfile2Detail PK/FK: Profile2Key Relation: SRProfile2SRProfileDetail I can do the following: Delete a child Add a child to an exising master Edit a child Can not Add a master + child. Since i can do the 1st 3 items,& ...Show All
Visual Studio Express Editions installing express editions on same computer as full editions
This refers to the final products. Can we have visual web developer express and sqlserver express alongside vs stuidio 2005 and sqlserver 2005 developer edition Any issues dennist685 I'm new to asp.net and the express edition might help me learn it faster. Am I wrong dennist685 ...Show All
Visual Studio Problem in Crystal Reports
Hi All, I am using Visual Studio 2003 and crystal reports 10. I have developed a Web application using ASP.Net and used crystal reports 10 version. I have developed the setup project. And I tried to install this setup project on another system, on which crystall reports does not installed. Installation completed successfully on this system. Now I tried to run the installed project. I am facing the problem with crystal reports. Apart from crystal reports everything is working fine. I am getting error 'CrystalDecision.CrystalReports.Engine is not registered'. Then i checked this dll in the installation setup project and in&nbs ...Show All
Visual Studio Express Editions read info
Ok i've been given this bit of code Dim Instring As String Dim stream_reader As New IO.StreamReader("textfile.txt") Instring = stream_reader.ReadToEnd() stream_reader.Close() This locates my file and does tht all ok. I've got the code/form to find my textfile. But how do i make a text box display what the text file say. ...Show All
Software Development for Windows Vista Error debugging a workflow
Hi, I have the RTM version of VS 2005 installed with the 2.0 framework and the November CTP of WinFX and specifically the WWF VS integration. Everything seems to work fine except I get an error when trying to debug a workflow: "Error occurred while Loading Workflow An error occurred while loading the workflow. Please correct the following error and try reloading the document to view the Workflow. Attribute 'Class' not found on the root activity." This happens for even the most basic of workflows if I simply create a sequential workflow project and then add a "Hello World" code activity, set a breakpoint on the activity and debug. Thanks ...Show All
.NET Development Specifying a server for COM+ class instancing
I'm designing a system which will include many remote databases. One of the options is to create a COM+ app to do the data-intensive stuff, and instal an instance with each db. This seems preferrable to doing the many trivial remote db calls required from one location. This will require specifiying a remote server when instancing an object from one of these COM instances. How can this be done in VB .NET I can't find a .NET method similar to COM coCreateInstanceEx which takes a server name. The .NET CreateInstance method can take activation attributes, but I can't see any suitable ones except System.Runtime.Remoting.Acti ...Show All
Windows Forms Paint() with UserControl
I wrote a Usercontrol that paints gradient texts via DrawString but have two questions: 1. I want it to print what I enter into a a property called "Text". There is currently no visible Text property that shows when I go into design mode. I also tried using "override" but could never get a property called Text and had to use one called Text1. 2. How can I force it to Paint when each time I perform a KEYDOWN. Currently it only does this when I finish updating the entire Text property. I want it to update the gradient on the form after each keystroke, not just when I finish updating the Text field. Thanks ...Show All
Windows Forms possible to use VS 2003 IDE "server explorer" behaviour?
hiya, I really like the way that server explorer: 1) stays collapsed at the left hand side of the screen when it is not in use. 2) expands to cover a small area when the mouse hovers over it. I have a fairly busy winform where this functionality would come in very handy to hide/display my "search" control. I understand, from having&n ...Show All
.NET Development puting a comboBox in my datagrid
I have two tables tbl1 and tbl2. Tbl1 is the datasource of mydataGrid. Tbl1 has 4 columns (all with mapping names from Tbl1). I want to add a combo box in the fifth column that has its values from Tbl2. I m coding windows form application and not a Web application. Is that possible and how pls. Thanks Hi, You can manually add a combobox column in your gridview. After adding the new combobox column, you can see that it has a DataSource and DisplayMember properties. Use that to display data from your tbl2. To add a combobox column to a datagridview, select the gridview (F4 for properties) click the columns property, there ...Show All
.NET Development Visual Web Developer Panel Control does not maintain scroll position after postback
Hi, I have created a web form in Visual Web Developer 2005 Express Edition that is fairly lengthy. At the end of it there is a Panel control with a GridView control inside. The Panel control is configured with the scrollbars property set to Auto. The GridView table is large and the Panel control displays the vertical scrollbar. I can use the MaintainScrollPositiononPostback="true" directive in the <@ Page... tag and this works well for keeping the scroll position of the page itself but not the Panel containing the Gridview. Is there a way to maintain the scroll position of the Panel on postback Regards, Deven ...Show All
