Ulf Lagerb's Q&A profile
SQL Server No Toolbox
This seems like a rather simple questions that I've hesitated posting for a day now, but as of yet I can't really find an answer through my searches online. My SSIS package is using a couple of the Konesans Transforms, this worked fine on my development box with my dev SQL server. The time has come now to deploy my package to my production SQL server. The instructions on installing the transforms on my dev box all uses Visual Studio to ad ...Show All
Visual C# serialize mail messages
For a message queue I need to serialize (and later on deserialize) many MailMessage s. Quite generally I ask myself, which is the best way to do this To .eml To a mbox format How can this achieved Are there any free libraries (open source preferred) Thanks a lot Jan Yeah, it can get heavy on disk access if you have alot of mail going through that box. I did do load testing and I averaged it out to be about a 25% performance loss f ...Show All
Visual Studio Preview doesn't show all information
Hi, I'm using VB.NET 2002 and Access 2002 databases in my application. I have also one Dataset for each report that I have. I doing my reports with crystal reports and I use textobject to add some particular information, like this: Dim dbDataAdapter As OleDbDataAdapter Dim dbDataSet As New dsBalancete() Dim frmCrystalReport As New frmCrystalReportViewer() Dim ReportBalancete As New rptBalancete() Dim SQL as String Dim objTextObject ...Show All
Visual Studio Team System Recreating Team Project SharePoint portal for existing Team Project
Here's the problem: We erroneously installed SharePoint Services with the MSDE database in Beta3 Refresh and have recently upgraded to RTM. Our old Team Project moved over fine but now that we have SharePoint Services installed correctly (i.e. no MSDE database with the SharePoint databases stored in Yukon) our Team Project portal now doesn't exist. Is there any way we can re-create the SharePoint portal for an existing Team Project We don't car ...Show All
Software Development for Windows Vista WWF or Skelta
I need to design a workflow application. If we set aside the fact that the WWF is still in beta phase, what would you recommend ; skelta or WWF. I think that WWF misses some features like email etc but has a strong support. Skelta makes the work very tedious like mentioning the workflow variables in different xml's, using its own libraries to access database etc. Please give recommendations with reasons in support Thanks in adv ...Show All
Visual Studio Express Editions Odd 'replace text' behaviour in Richtextbox control
I did some testing with the Richtextbox control and ran into a problem: when replacing text some formatting seems to be removed. I made a text sample in Wordpad which contains the text and format Bold! Not bold. in rtf this looks like this: {\rtf1\ansi\ansicpg1252\deff0\deflang1043{\fonttbl{\f0\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\b\f0\fs20 Bold!\b0 Not bold.\par } I saved it as 'test. ...Show All
Software Development for Windows Vista Silly question about Sequential Workflows
Hi there! I have one silly question. State machine workflows can move from a state to another, and if all states are connected, the different states can loop around the state machine (depending the order, of course). For example, if I have a states named "OrderComplete", "OrderConfirmState" , "OrderRejectedState" and "OrderApprovedState". When the order is complete, the state moves to "OrderConfirmSta ...Show All
Visual C# An Event Handler in a static object
Background: I have a ComboBox designed as a simple color picker with a short finite list of choices. To show a color bar in each choice, I handle the DrawItem event. As I would like to use the Combo box across a number of dialog forms, I declare it as a static, as follows: public class G { public static ComboBox ColorList = new ComboBox(); static G() { // Copied from a standard ...Show All
Visual Studio Tools for Office What Kind of things can I do with VSTO?
Hello Experts. I am currently on a new proyect, this project must show some reports to the users, preferibly in PDF or WORD documents, I told my boss to use reporting services because its easy to draw reports there but the new sql server will cost 6000 dollars the version that includes reporting services so I need to know if the thinks I do with reporting services can be done in Vsto. Draw Tables, Put colors for Indicators, Put ...Show All
Visual C# Should I pass an object to a class using its constructor or using a property.
I need to instatiate a class and then assign a property with a value. One solution is to: Instatiate the class. Set a property in the instantiated class. Another solution could be: Modify the constructor of the class to accept a parameter. Use the parameter to set the property in the constructor. Any idea if one way is better than another Thanks in advance, Dave If your class ca ...Show All
Visual C# Resizing
I have the following issue: When I want to resize he form and its controls. Does Autosize handle it all , or do you have to code all sizes manualy Ancher property changing to None does a bit but when I make the form smaller controls get hided in "Nowhere". It has to automaticly change the position and size.. ...Show All
.NET Development Dates and the database
I'm really having trouble figuring out how to handle dates within my database. SQL is really picky about date fields, and so I'm having trouble. 1. If I want to leave a date field null - I can simply omit it from the insert statement, but then once it is entered and I try to "null" it out then the database gets mad at me. 2. If using .NET I try to check for validity on a null date - it returns as valid because the time element of ...Show All
Windows Forms Terrarium b1.0.21.281 available here...
For those of you who are in desperate need of previous stable version of Terrarium client i made it available at this address: http://s2kmail.nm.ru/terrarium17.msi (original install package) AWESOME!!!!!! Any updates on when the new one will work ...Show All
Visual Studio Express Editions Debugging problem
Could you help me i have a problem with debugger. When i want to debug i get an error message : "Error while trying to run project : Unable to start debugging. Handle de liaison non valide" But when i go to the solution properties, if i uncheck the "Enable the visual studio hosting process" , that's work (but i lost the avantage of "hosting process") Thanks for your help I find the soluce Just tur ...Show All
.NET Development When method returns Com Invisible type?
Hello, What exactly is the behaviour here Marking BarNotForCOM [ComVisible(false)] will result in the ReturnBar() function to be exported as the quivalent of object ReturnBar(). QI on the unknown object will only succeed on IUnknown as thats the only interface you know on that object. Unless you have type information for the object you cant do much with it. If you implement an interface (even through another type lib/assembly) on BarNot ...Show All
