Software Development Network Logo
  • .NET Development
  • SQL Server
  • Windows Vista
  • VS Team System
  • Visual FoxPro
  • Audio and Video
  • Microsoft ISV
  • Smart Devicet
  • SharePoint Products
  • Visual C#
  • Visual C++
  • IE Development
  • Visual Basic
  • Game Technologies
  • Visual Studio

Software Development Network >> Mirko Messori's Q&A profile

Mirko Messori

Member List

Giugio
Whoisit
KORT
NewGuy212
RichieD123
Dhananjaya Bk
John, Roy
David Ing
X.K.
Thurein
asalcedo
ece_07
Robert G Lewis
AlucardHellSing
jomunoz
A911Pro
USMCNJ
jkv10
andrewsc
ks2006
Only Title

Mirko Messori's Q&A profile

  • Windows Forms How can I hide the caret of a RichTextBox control?

    Hello, Can you please tell me how can I hide the caret of a RichTextBox control completely while my app is running Thanks. This will completely hide it: Set the timer1.Interval = 1; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Runtime.InteropServices;   namespace WindowsApplication2 {     public partial class Form1 : Form     {         private bool hidden;         private const UInt32 WM_LBUTTONDOWN = ...Show All

  • SQL Server SQL 2000 Enterprise Linking of servers not pulling data.

    I know this is an easy one for most of you but this is new territory for me. I am trying to link a production application database to an existing SMS database. Both of these databases are SQL 2000. I have sa access to both of them. I have an accreditation application that deals with internal processes within our active directory network. We are using SMS database collections to provide the discovery for reporting of this application database and I want to compare the collection to the existing data between the 2 databases. For simplicity I will define them both. Application Database we will call “A-Database” SMS Database we will call “B-Database” I have gone into the A-Database and gone to linked Serve ...Show All

  • Visual Studio 2008 (Pre-release) Underlining content in WFP RichTextBox

    Hi, I have the absolute start index and the last index of a section of text I would like to underline in a RichTextBox however there seems to be no obvouis way to do this easily. Bonus points if you know how the underlining can be nice and red and wigglely. Thanks, Rob This is the WPF/E forums, but if you're trying to do this in WPF see this post: http://blogs.msdn.com/henryh/archive/2006/08/11/696159.aspx ...Show All

  • SQL Server OpenRowSet and OpenDataSource Fail on Production to open Excel data

    The following statement fails when using SQL Analyzer under sa but works on all of our development and staging server. All are SQL Server 2005 SP1. We upgraded production over the weekend from SQL Server 2000, creating a new instance machinename\SQL2005. SELECT * FROM OPENROWSET ( 'Microsoft.Jet.OLEDB.4.0' , 'Excel 8.0;Database=d:\data\test.xls' , 'SELECT * FROM [Sheet1$]' ) The error we are getting only in prodcution is: OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)" returned message "Unspecified error". Msg 7303, Level 16, State 1, Line 1 Cannot initialize the data source object of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server &q ...Show All

  • Visual Studio Textbox Format Missing

    I'm running out of ideas here... My reports are working perfectly in the ReportViewer control, except for textbox formatting. Despite the fact that standard format codes are specified in the designer, date and numeric values display exactly as they're returned from SQL Server. Am I missing something simple here The report language is set properly, is there something else I need to do to tell the viewer to use embedded formatting Any help is appreciated. Hi, I have the same Problem! I want to format a textbox with Decimal "D2" Format but it doesn't work! I had also tried to give the Textbox the Value =FORMAT(Expression,"D2"), but that also doesn't work! The only thing I ...Show All

  • SQL Server Exceptions in Data Flow Scripts

    What is the "correct" way of dealing with exceptions in a data flow script component. i.e. am I supposed to catch all exceptions and then set some failure flag The reason I ask is I've got a script in a dataflow which is occasionally throwing exceptions when trying to convert an empty string to a decimal. Problem was the package locked up and had to be terminated when the exception was thrown (and not caught in the script) The only thing which differentiates this package from others I've created is the data flow has a conditional split which creates 2 seperate paths loading 2 seperate SQL tables - the exception is being thrown in a script on one branch which seems to hand the entire flow PS I have fixed the script so t ...Show All

  • Windows Forms Problem updating clickonce app

    Hello, I have tried to publish a new version of my application. So I published it to a web project, removed the folder for the old version. Created a web setup project and installed it to my dev server. When I try to update the application via CO it detects the new version and downloads it. However, when it has finished downloading I get an exception.. System.IO.DirectoryNotFoundException I found this on the web, might be related.. http://support.microsoft.com/kb/911792 However the path structure of the CO application have not changed at all. I have three folders within the CO application and they remain the same in both version. What has changed are the prereqs. and perhaps some of the files. If anyone has any clue on how to solve this ...Show All

  • Connected Services Framework Any way to retrieve original SOAP action?

    When a message gets processed by the Session Engine, the original SAOP action gets lost. For example, consider the following route (borrowed from the Intercept example) <Route> <Criteria>(ACTION EQ 'http://www.contoso.com/intercept/AddResponse')</Criteria> <Destination>UIParticipant[http://www.contoso.com/SampleServices/RouteResponse]</Destination> </Route> In the resulting SOAP call to the UIParticipant, the original action (AddResponse) is never mentioned. Is there a way to retrieve this original action and why isn't this provided Almost all other information (OriginalFrom, OriginalMessagId) is provided in the wsa:From > wsa:ReferenceProperties xml element... ...Show All

  • Internet Explorer Development IE7 and page-break-before

    I have some code that uses page-break-before: always that works fine in IE6, but in IE7, the page-break-before is ignored. Was there a change in this behavior that I have not seen documented uwdoug79 , Pardon me for stating the obvious, but have you tried wrapping around your <table></table> inside the <div> sample I showed above. I think the magic is in using the <div>'s for formatting layout since <div style="..."> complies with MS's new found CSS compliant standards. Also, I see you appear to be using single quotes as opposed to double quotes. May I suggest you run your code through http://validator.w3.org/ as it has excellent advice on what you are ...Show All

  • Visual Studio Missing References in NDoc generated help

    Hello, First, sorry by my bad english. I’m brazilian and i need to practice more. I really been thankful by who can help-me. I’m trying to generate a help file to my class that inherits from a third-party class (like CrystalDecisions.Web.CrystalReportViewer). The help is generated fine but the links of the inherited class does not works. The links of the Framework classes works fine, like WebControl etc. My class hierarchy is shown below. The links of System namespace works fine but the links of CrystalDecisions does not. System.Object System.Web.UI.Control System.Web.UI.WebControls.WebControl CrystalDecisions.Web.CrystalReportViewerBase CrystalDecisions.Web.CrystalReportViewer MyControlLibrary.MyCrys ...Show All

  • Visual Studio Express Editions Problem with Mouse_down and Mouse_leave on items

    Hi I have put this code on my label and this is not working. Private Sub label1_MouseDown( ByVal sender As Object , ByVal e As System.Windows.Forms.MouseEventArgs) Handles label1.MouseDown label1.Font = New Font(label1.Font, label1.Font.Style Xor FontStyle.Bold) End Sub Private Sub label1_MouseLeave( ByVal sender As Object , ByVal e As System.EventArgs) Handles label1.MouseLeave Label1.Font = New Font(label1.Font, Label1.Font.Style Xor FontStyle.Regular) End Sub When I move the mouse cursor on " label1 " , the font style must be cahnged to " Bold ", and when the mouse leave, the font style must be changed to " Rregular ". Thanks Shady ...Show All

  • Visual J# who's better Visual J++ 2005 or normal Java Language

    Hey ,, who's better Visual J++ 2005 or normal Java Language like NetBeans 5.5 ... I have knowledge in Visual Basic ,, how long dose J# take time from me .. Thanks Hi; I want to add a postscript to my previous post. I think J# is an excellent implementation. We have found it a dream to work with. It's not perfect (what is) but it's incredibly well designed. I am still amazed how well they made standard java fit with .NET. My point was that if you don't know Java and you are thinking .NET, C# is designed for .NET. The J# team has made java fit in .NET as well as can be done - but it is still clearly a fit, not seamless. So if you are looking at a new language and .NET is where you want to go, ...Show All

  • Visual C# Setup projects: "variables" in registry values?

    My question is probably best posed as a scenario: During install, I want to add a registry string that contains the full path of where I was installed to. For example, if the user elects to install to "c:\program files\MyProg", then as part of the setup process I want to add a registry value under HKLM\Software\<my app>\InstallPath = "c:\program files\MyProg". It *looks* as though the VS 2005 Setup project only allows "fixed" values added to the registry. I'm hoping I'm wrong. Brad. Brad, Did you find a solution to this problem I want to do the exact same thing. I already tried [Application Folder] as the Value property and it did not seem to work. -Frank ...Show All

  • Visual Studio Express Editions Saving Settings?

    Hey i have made a little program in VB2005. Their are some settings of cores :) Right now i am saving them a very strange way.. I make a txt file for each setting. And then i just use the my.computer.filesystem.Read/Wright ting. Hmm.. so if it reads like the file contains the text "1" then it will activate the setting... That is quite hard to do that for every settings. And it is quite messy to look at in the program folder where all the files are saved. So my question is: Is their an easier way to do this I am thinking of something like one text file where you could do it like this AutoSave 1 Hide 0 You know 1 = on, and 0 = off I was thing that the vb might somehow reconigse the text "AutoSave" and then reads i ...Show All

  • .NET Development How can I fix this Error ?

    I use ODBC to connect to Excel file and when I insert or update data on that file I get the following error. I am writing Windows App. Error[HY000][Micorsoft][ODBC Excel Driver] Operation must use an updateable query I have checked sql command text. It OK. Please help me solve this problem ! Thanks in advance ! Usually you get this error when the xls file (or the odbc data source) is read only. When you create the ODBC data source in the Select Workbook dialog you have a Read Only checkbox that is checked by default. Uncheck it and try again. ...Show All

©2008 Software Development Network