Jenny Lo - MSFT's Q&A profile
SQL Server Client Printing Hangs
We are accessing SSRS reports using web service. We call the Render the reports using http://<server>/ReportServer/Pages/ReportViewer.aspx reportName&rs:Command=Render All reports render fine. However for one particular report when we click the print button on the report viewer in IE, Active-x pops up a message "Printing Now" and hangs eternally. The error occurs even when I am logged in with Admin privileges to the machine and Active-X client works fine for other reports except this one. Work-around tried: If I call the same report from Report Manager it works fine. Even on the server I have been able to print t ...Show All
Visual Studio Team System Do Not Catch General Exception Types
I have a question about the fxCop rule on "Do Not Catch General Exception Types"...I started some discussion on this in another thread but I didn't get a full answer to my question and I thought this topic was worth starting a new thread. I think I'm using the recommended Microsoft approach for Exception Management: I'm using the Enterprise Library Exception Management Application Block to handle exceptions At the "top of the food chain" I have defined some policies for handling exceptions and use the EM application block to determine how to handle, report, and log the error. In all cases at the moment, it simply ...Show All
Visual Studio Express Editions Computernames
Hi How can i see the names of all the computers in a network, which are connected to my computer or which my computer is connected to. Regards Thomas Are you still with me here is a .NET object picker from Mr Igor Kissil that was posted on the gotdotnet.ru forum, that I have updated to from 1.1 to 2.0. It works as expected. the picker is in C#, but can be referenced in VB. includes a VB example project (PickerTest) with a reference to the C# library IMPORTANT : compile before opening the form1 in the PickerTest as the form has the component on it. . . will fail if not compiled ...Show All
SQL Server how to change data types in Excel source file?
I'm getting a bit lost in SSIS. I've got an Excel source file that I'm trying to load into a table. I keep getting validation errors that warn about not being able to convert between unicode and non-unicode string data types. I'm trying figure out where I have to change this and am frankly confused. It seems SSIS is selecting various columns as unicode/WSTR data types, but I want them to import as regular string types. On the Data Flow tab in SSIS, I right-click on the source Data Flow component (the Excel file) and select Show Advanced Editor. Then on the last tab, Input and Output Properties, there's a tree view for the Excel output. There ...Show All
Windows Forms DataGridView with MultiColumn Combo Box
C# Windows Form] I would like to have one of my DataGridView columns as Multi-Column ComboBox column. Can anyone help me on this Hi, Have you figure out how to create a multi-column combobox in the DataGridView Can you guide me through on this or do you have a sample code for it Thanks ...Show All
SQL Server Where is "SQL Server Management Studio"
I just installed Microsoft SQL Server 2005 Enterprise Evaluation Edition and it didn't install "Sql Server management Studio." Where can I find the management studio I don't want the express edition, I need to work with the import / export wizzard. I'm not sure if it's not included with the evaluation edition or If I have to do soemthing to get it installed. Thanks Perrin In the words of the late great Roseanne Roseannadanna "Never Mind." It just doesn't install automatically, I had to manually select it. I love forums, as soon as I post a question I figure out the proble ...Show All
Visual Studio Express Editions VB not changing the records in the database
I'm new to VB and have been trying some online study guides. I created a project following the instructions but the results did not work as expected. I had created a 2 column 4 row database table. Then went to modified one of the records. The information was changed in the BindingSource. But the update did not change it in the actual database on the hardrive. Public Class Form2 Private Sub Form2_Load( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles MyBase .Load Me .CustomerTableAdapter1.Fill( Me .MyCompanyDataSet1.Customer) End Sub Private Sub Button1_Click( ByVal sender ...Show All
SQL Server small scale (light weight) SQL search engine (basically a stored procedure) to search through Products Table
Hi, I am attempting to build a small scale (light weight) SQL search engine (basically a stored procedure) to search through Products Table. I am passing a search string, which i break up by the ' ' (space) delimiter. next for each [value] (after breaking up) in the search string I want to be able to count the number of occurences of each [value] in the [ProductName] [ProductDescription] fields of the [Products] table. However I am confused as if its even possible. We can count the number of rows(or products) that contain the [value] in either of the [products] data table fields but i don't know if its possible to count the number of occuren ...Show All
Visual Basic immed?
In vb 6 I could use the immedaite window to do something like form3.DataGridView1.Width to see the width of a column... then form3.DataGridView1.Width = 800 to set it and see if it looks right.. then I'd write a procedure to set up data grid appearance. How do I do that in vb.net Getting furstrated... Brian I'm back (or, most of me, anyway -- part of me is still 11 time zones to the east ). So, anyway, when you pause the application (if I understand correctly what you're doing), you're pausing it at an arbitrary location. The immediate window and watch windows are scoped to wh ...Show All
Windows Forms How do i deploy my application on client computer
Hi! I am a newbie in .net windows application i need to know how do i deploy my windows application on client pc must the client have .net framework installed is there any other solution if i just want to include only the JIT compiler to my setup project so that it will only install the JIT compiler to enable the client pc to run the ap ...Show All
Visual Basic System.Security.Permissions.SecurityPermission
I tried to move my project from my local machine to my NT4 server. When I tried to open the file, a message box told me that the location wasn't trusted. I ignored this and ran my program and it threw me an exception. I tried the suggestions that the exception gave me including giving full trust, etc. I am an administrator on both my local machine and my NT4 server. Does anyone have any suggestions Here is the complete exception: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. System.Security.SecurityException was u ...Show All
Visual C# Threading - ActiveX Events/Objects
Hi, I have a threading problem that drives me absolutely nuts and I don't know what to do: I'm using an ActiveX object and subscribe to one of its events. Whenever I execute the method that drives the event, a couple events are triggered. The event response holds an ActiveX object which I need to work with. What happens now is that whenever the event response returns it runs on a different thread. I want to store the event response activex object in a Hashtable which was created on the main thread. Now, when all the events are done, I continue processing on the main thread. But here's the odd thing: All the actvivex objects in the hashtab ...Show All
Windows Forms help with new forms
hi, im kind of new to window forms so bare with me if this question seems somewhat retarded.. im using the code bellow to display messages to a user at certain points (creates a new window form with a label control to display a message). Sometimes the window will display correctly, however at times when the program is performing a stressful task, the message window wont respond or display correctly (the outline will show, but not the contents of the message window). Can anyone offer a reason as to why this is Also should i be using asynchronous method execution/threading for a task like this (not much knowledge of this!) thanks for any help ...Show All
Visual Studio Team System Newbie questions
hi I want to start using fxcop but i only do web development in 2.0 now a days. I just noticed that asp.net 2.0 will not generate a dll for the web site like 1.1 used to do how can i use fx cop without generating the web site dll or am i doing something wrong and i should be able to build a dll for my web site thanks ...Show All
Windows Forms Form.Close() won't close
I am working on a VB application where when a certain condtition is met, the Form cannot close itself: Me.Close() //does not do anything Application.Exit() //works but causes an error, due to other code checking when the main form closes It almost seems like a silent error or something that messes up the running application. I was just about to sta ...Show All
