Hanas's Q&A profile
SQL Server Grouping a query in 30 seconds
Hi, How can I make a query and group the registries in a interval of 30 seconds...like for each line I have a datetime field that have all the day, and I need it to return just like TIME Contador_type1 Contador_type2 Total 01-01-2006 00:00:30.000 2 5 7 01-01-2006 00:01:00.000 3 7 10 It's just an example...but that ...Show All
Visual Studio Help me ! VBControlsEvents
I write my addin in Visual Basic 6.0 and use VBControlsEvents to handle the control when I at it to my form. (like CodeSmart for VB)(control spy) But where i create my addin in VS.NET 2003 i can't find the event that handle like it can any bodyhelp me. PS: if you use CodeSmart.NET, when you drag a control to your form, it display a dialog box. I want to make it, but with my dialog box. Thank ! Email me: vanphuoc1978@yahoo.com or vanphuoc@gm ...Show All
Visual C++ RegularExpressions namespace seems to have moved in VC 2005
I am trying to create a program that uses the Regex class in namespace System::Text::RegularExpressions, but the compiler says it does not exist Error 1 error C2039: 'RegularExpressions' : is not a member of 'System::Text' Did it move Thanks The Regex class is still located in System::Text::RegularExpressions. Does your project have a reference to System.dll (Project Properti ...Show All
Windows Forms Another DataGridView Background Row Color question ....
I'm writing a simple app which goes through a folder, takes each file thats in that folder, and sees if it's in a database. If the file is found in the db, then I do a DataGridView1. Rows.Add( False , file.Name.ToString, folder.Name.ToString, "kb" ) , which adds the file name and folder name to the new row and keeps it unchecked. If the file can't be found in the db, then I do a DataGridView1.Rows.Add( True , file.Name.ToString, folder.Name ...Show All
.NET Development document.getElementById().innerHTML fails with 'Unknown Error' in IE
Hello, I'm trying to use document.getElementById().innerHTML in a JavaScript to change information in a webpage. On FireFox this works as described in the W3C documentation, however, the same method returns 'Unknown Error' in IE. The JavaScript looks like this: <script type=text/javascript> function Change_Info (ID, ROW, VALUE) { & ...Show All
Windows Forms If you can answer this Overrides Question... you're brilliant and probably way underpaid
I have a treeview control on a form. The TreeView control automatically as part of the .NET framework contains and uses a TreeNodeCollection, which of course you gain access to using objTreeView.Nodes I am able to override the TreeView control without breaking the tinyest of a sweat. Public Class MyOwnTreeView Inherits System.Windows.Forms.TreeView ... End Class Well here's the EEEnormously HUUUUUGE dilemma where MASSI ...Show All
Smart Device Development How can I get cpu usage in wince.net
As we know,the Remote Performance tools can get the cpu usage of certain process,but the tool itself use may cpu times,how can I get it in my own application anyone help me Thanks any more. Try using G etThreadTimes Check MSDN documentation for its usage Srikanth Bogadapati [Microsoft] ...Show All
Visual C++ Recommended Books
Some people have been recently asking about books for learning C++. Here is a link to a great site that reviews C++ books. This is the list of books that they recommended for learning C++ http://www.accu.org/bookreviews/public/reviews/0hr/beginner_s_c__.htm I found a pretty good Internet site about CLR (common language resource). CLR looks like it's the future, so check it out. http://www.gotdotnet.com/team/clr/about_clr.aspx Seth ...Show All
SQL Server Profiler ....duration
In SQL Server 2000, "Duration" in profiler (which is in milliseconds) taken by the event; does it include time for the network transfer of the results to the client as well ; or its just the duration taken by SQL Server to complete the SQL Statement. All the measurements are serverside only, so no network time. If you want to see the network time then run the query in query analyser but before you start right click and select client si ...Show All
Visual Studio Controls Toolbox not showing in Visual Studio 2005
Hi, Using Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Professional Microsoft Visual C# 2005 77626-009-0000007-41642 Microsoft Visual C# 2005 Microsoft Visual Studio 2005 Tools for Applications 77626-009-0000007-41642 Microsoft Visual Studio 2005 Tools for Applications Microsoft Visual Web Developer 2005 77626-009-0000007-41642 ...Show All
.NET Development Match and Replace question
Hi all, let say that my string is : /// <author> aaa /// <author> bbb /// <author> ccc 1. how do i match all the authors except author aaa 2. how do i append the string "2006" to the authors names found in #1 Thanks. (Moderator: Thread moved to the Regular Expression Forum and Title tweaked for quicker thread understanding during a search) you could try [^aaa] which would re ...Show All
Windows Forms webBrowser question, content from string?
Hello. I am using VS 2005 beta 2 and am building a C# project with a webbrowser control embedded in my Windows.Form. I see that I can use the DocumentText hook to feed HTML from a string to the webbrowser. What I would like to do is feed SVG code to the browser from a string (I have already installed Adobe SVG Viewer, so the browser can render SVG content). Is there a way to tell the browser control that the mime type it is ge ...Show All
Windows Forms Windows Service Installation Error
I've created a windows service project and have been testing for some time now. When I right-click on the deployment project in the Solution Explorer and click Install, the first thing it does is remove the service if it is currently installed. Well, the other day I went to install a new build and the existing instance was being removed when I decided I didn't want to do this yet so I hit the Cancel button. While the installer looked like it rol ...Show All
.NET Development Generic's - Collections
Hi all, I aint too cluded up on Generics yet, but let me give you a run down on my problem so that you can advise me if Generics is the way for me to go. OK - I have a a couple of collection classes that inherit from CollectionBase. These collection classes all have the same property members that I have overriden,, such as Add, Remove (Overloaded), this, etc etc. I may be going down the wrong route with Generic's here, but could I have one Colle ...Show All
.NET Development Error generating a DataSet from an OracleDataAdapter
Hi, I'm trying to generate a dataset from an OracleDataAdapter but it returns an error as follows: “Retrieving the schema for oracleDataAdapter1 failed. Syntax Error: Expecting ‘.’, identifier or quoted identifier.” oracleDataAdapter1’s SelectCommand CommandText is as follows: SELECT ORDENS.COD_SEQL_ORDM, ORDENS.COD_INVT, SUB_ORDENS.DT_DATA, ORDENS.COD_OPER, SUB_ORDENS.C_PAPEL, SUB_ORDENS.N_QUANTIDADE, SUB_ ...Show All
