Adagio59675's Q&A profile
Visual Basic Complex Numbers
Is there a complex number type as part of VB.NET 2005 Makes me wonder, if not, why not No there is not an intrinsic complex number type http://www.vb-helper.com/howto_complex_number_class.html http://msdn.microsoft.com/library/default.asp url=/library/en-us/dv_vstechart/html/vbtchUseClassStruct.asp are links on how to create your own complex type/structure to achieve this and a simple web search on &q ...Show All
Windows Forms CellDoubleClick on DataGridView
Hi, I don't know if it is a feature or a bug, but when the user double-click on a cell, the CellDoubleClick event is triggered twice. It is quite annoying. ...Show All
SQL Server DTA w/Dynamic SQL
Is DTA aware of dynamic sql say when it's embedded into a proc your are analyzing ...Show All
.NET Development Convert Java SHA1 computation to .NET
Hi, I need to convert an Java application into C#. The Java application compute SHA1 hash value using the code: MessageDigest digest = MessageDigest.getInstance("SHA"); digest.update(getSessionId().getBytes()); digest.update(getMachineMark().getBytes()); digest.update(getClearingNumber().getBytes()); hashcode = (new BASE64Encoder()).encode(digest.digest()); I can compute SHA1 hash in .NET with the code: SHA1 sha = new SHA1M ...Show All
Visual C++ ATL Connection Point Wizard - No Code
I am making an ATL exe Server. - VS Net 2003 using C++ I created my interface from a Simple ATL object WITH Connection Points. I have my Interface working. I want to ADD my CallBack (connection point) and proceed per all the documentation. I add a method to the IEvent ... I run the Connection Point Wizard requestion a Connection Point. I get the BUG, as noted on MSN, about the duplicate __event __interface _IDialerEvents; What I do NOT get ...Show All
Visual Studio Problem with the local help in VS 2005 Team Suite
Hello, I read some Articels about the problem of the local MSDN help. In my case, I installed VS 2005 Team Suite and afterwards the MSDN help from the DVD. When I mark a keyword for example "string" then I get the following message. I get this message when I set my help options to: Try local only, not only Try local first, then online The information you are trying to access could not be found. Various events could have caused this error. You ...Show All
Visual Studio Team System More ways to minimize instrumentation output?
I know about /INCLUDE /EXCLUDE and I know about /START... and API. I was just wondering if it possible to for example disable stack collections. I might be happy running whole application and just seeing the times of the functions and call count. I generally know what my call stacks might look like. I wrote a sample profiler with just profiler api (not anywhere near as fancy as vs profiler) and just collect times and counts and it's almost not n ...Show All
Visual Basic screensaver
I'm trying to create a screensaver. When i do so, i notice that windows launches the application several times. Why does it do so, and how do i prevent it Ultimately you write some code to prevent a second instance of the application from running. As you've provided no details on your code I would suggest looking at these A few URL's to provide details of how to create a screen saver. http://www.vb-he ...Show All
SQL Server Select - 4 hours
Hi, I need to make a select getDate() subtracting 4 hours... How can I make it Thanks SELECT DATEADD(hh, -4, GETDATE()) -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 -- < ZopoStyle@discussions..microsoft.com > wrote in message news:4d9c1334-3210-4fbc-968f-2b55c4b6ec84@discussions.microsoft.com ... ...Show All
Windows Forms .NET Compact Framework Redistributable for Windows
I'm dying to use .NET for my next Windows programming project. I could even live with using the Compact Framework subset. But, since there is no Compact Framework that I can distribute with my application to run on Windows (not Windows CE), I&n ...Show All
.NET Development .NET Framework version
Hi, I need to install .NET framework 1.0, but I only found the 1.1, does anyone know if it is still available and its url for download. Thanks in advance!!! http://www.google.com.au/search hl=en&q=.net+framework+1.0+download&meta = First hit. ...Show All
Windows Forms icon stream problem
Hello, Following the example from the Forms FAQ I am trying to add an unbound image column to my datagrid. Here is some of the code: private void frmJournalGL_Load(object sender, System.EventArgs e) { //Load some icons from embedded resources this.Icons = new Ima ...Show All
SQL Server 2 Data Sources for 1 Dimension
I have 2 data sources : One for my business data and one containing the state / countries tables. I want to use a foreign key between the two datasources and use these two tables in a dimension, but when deploying the project I get the error (translated from french) : Error 1 Error OLE DB : Error OLE DB or ODBC : Impossible to create Registry Entry for provider OLE DB 'SQLNCLI.1'.; 42000; Trace of error : OLE DB [Non-interface error: Provi ...Show All
Visual C# Checking values of variable at runtime.
I have created a C# project using Visual Studio 2003. I have declared a string variable 'strTest'. I want to check the values of strTest.Substring(0, 2) at runtime. I tried checking its value in quickwatch window but getting the following error: error: 'strTest.Substring' does not exist I get the same error for strTest.ToUpper() etc. but its working fine in vb.net. Can anyone plz suggest a solution. Thanks. Ashok ...Show All
SQL Server Sql query for helpdesk application
I am having a difficult time to create the following query. I am creating a vb.net command-line app that will produce a report from our helpdesk system on a scheduled basis. I have the following table structure timeStamp - Date/Time RuleID - Text(50) ResultId - Text(50) The RuleId are the Ids of the different server process that we monitor. The ResultId can be a 1 for Success, or 3 for Failure. Entries are only added during a falure, ...Show All
