Jonsan's Q&A profile
.NET Development MDAC SDK Conformance testing & .NET!
Hi there, I have recently upgraded to .NET 2003 and would like to use the OLE DB conformance testing tools, supplied with MDAC 2.8 to test a writable OLE DB provider. The trouble is I cant build the tools as they make use of ANSI C++ and obsolete header files. The documentation only includes directions for VC5 & 6 users and no information for .NET users. Are there any conformance testing tools that will work with .NET or is it possible to obtain pre-built test modules for LTM regards chris Well as no microsoft representative has put me right, i'd say that my speculations are c ...Show All
Windows Forms system idle process
what is it what does it do and why is it always high in terms of CPU usage in my task manager thnx I have found out that there are several items that run in the system idle process, they are actually hing in there as a generic term. Thse include sypware!!!! DEFRAG programs, and/or virus cans. If you have installed any of these or they have installed without your knowledge get rid of them. try the spyware first....then defrag or disk maintenance programs. ...Show All
Visual Studio Team System VSTS4Dev Cost
I've been looking at the info on microsoft.com about cost and I am totally mystified. I can't tell if it's possible to buy a copy of Visual Studio Team Edition for Developers with out an MSDN Premium Subscription. The Team Edition pages sure make it look optional but the price guide sure makes it look like a bundle. Anyone have a clue Hi Kevin Take a look at Rob's response in the following post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=138785 Some of your questions might get answered ...Show All
Windows Forms Customizing TableLayoutPanelDesigner
Hello, I'm developing a custom control that is to be used in a custom forms designer that I created. The control should have exactly two cells behaving like cells in a TableLayoutPanel, so I thought I'd build my control as an extension to TableLayoutPanel. Now I need to customize its designer, since I do not need all the design-time options that TableLayoutPanelDesigner offers. Problem is: TableLayoutPanelDesigner is an internal class, and can therefore not be inherited! Now I was wondering what my options are... I was thinking about developing a custom designer from scratch (extending from ParentControlDesigner). How to achieve ...Show All
Visual C# Type.GetType Problem
The following is my code to get type from AssemblyQualifiedName. //Full Qualified Name Work Type type = Type.GetType("System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"); //Partail Qualified Name Work type = Type.GetType("System.Int32, mscorlib"); //Full Qualified Name Work type = Type.GetType("System.Windows.Forms.DataGridView, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"); //Partail Qualified Name Doesn't Work that return null type = Type.GetType("System.Windows.Forms.DataGridView, System.Windows.Forms"); I do ...Show All
Visual C# Unable to update the dependencies of the project
I have had this error every time I try to check my program into source control after making changes. The project builds and works fine until I check it in and check it back out then it won’t build. I have deleted the setup project and built a new one only to have the same problem after checking it into source control. It also givs me a warning that " Assembly ' FolderName\FileName.exe ' is incorrectly specified as a file. Any suggestions would be helpful. 1. Yes, there is a database project in the solution. 2. If I delete the hierarchy section in the project file I just get the same series of " ERROR ...Show All
Visual Studio Tools for Office Action Pane
I've created an Action Pane in C# VS2005 and inserted a Tab control. I'm trying to make the tab control fill the entire action pane. I can't work out how to set the control so it fills the entire Action Pane space. If you create a custom control you can set the docking property to Fill for the custom control if available. customcontrol _cc as new customcontrol(); this.ActionsPane.Controls.Add(_cc); _cc.Dock = DockStyle.Fill; Regards ...Show All
Visual C++ error C2065: '__LINE__Var' : undeclared identifier
hi, I get the following error when I try to move a project from vc6 to vc8. error C2065: '__LINE__Var' : undeclared identifier The error line goes to a macro definition which doesnt have a _LINE reference. And one more error which i get is error C2061: syntax error : identifier 'THIS' I tried to use #undef THIS and #define THIS. But it didnt work. Is it possible that old windows files are getting linked. In that case as well the definition of 'THIS' hasn't changed and its the same. Any suggestion to fix the problems regards, sk80. Check this: ...Show All
Smart Device Development Overriding Volume Softkeys on Motorola MPX220
Hello. After three days searching the net, I couldn't find a way to override the Volume Up/Down keys (those two located on the left side when you look at the smartphone). I want to write a small app that needs the remapping these buttons. Ok, Up, Right, Down and Left Keys are remapped, but I can't even find the Volume softkeys in the System.Windows.Forms.Keys. Is there a way to do this in C# Should I look to deactivate some running service first I'm using VS2005 Beta.C#. Thank you in advance. :) Thank you, Peter. For a start, I'm not happy with the phone not being able to reject ...Show All
Visual Studio Team System All Unit Tests abort immediately
I've been using the TestManager extensively in Studio 2005 Team Version for months running dozens of unit tests as I develop. Recently, every time I try to run a unit test *in Debug mode*, it aborts immediately with no message. When I open the test results, all I get is this: Test Name: <test name> Result: Aborted Duration: 00:00:00 Computer Name... Start Time: 1/1/0001 12:00:00 AM End Time: (the real date time) That's it. Not a word more. And ALL unit tests are doing this, even ones that used to run just fine. If I just run them, they run fine, but I absolutely cannot run them in Debug mode! Very bizzarr ...Show All
Visual Studio 2008 (Pre-release) WCFdiagnostics in the September CTP
The classes for the WCF diagnostics such as: System.ServiceModel.Diagnostics.MessageWriterTraceListener seem to be missing from the September CTP. Are diagnostics done differently now in WCF, or was this just an omission from this CTP Youcef Hi Txs for this post. It was really helpfull. I'm giving a session in TechDays and i couldn't make diagnostics work. Michele, what's the source " System.ServiceModel.MessageLogging" in your example, is that a replacement for " IndigoMessageLogTraceSource" I Couldn't find that source in the Sept CTP... Txs regards! ...Show All
Visual Basic Project output path on network drive
Hello, I'm *trying to* transition to vb 2005 from vb6; All our current vb6 projects are on a network drive; However when in vb2005 i start a new project then the default path points to "C:\Documents and Settings\ava\Local Settings\Application Data\Temporary Projects\WindowsApplication1\bin" When i try to point to Z:\andreas\VB2005\ I get a message : "the output path is not trusted; the application may throw securuity exceptions when it attempts to perform actions which require full trust. click ok to continue click cancel to choose a different output path" How do I setup vb2005 as to compile all projects on the shared drive It is ...Show All
Visual Basic Hex Editing
How do you Have a program like change some values of hex. For example in a file like it goes to offest 0x24E and changes a a certain number to a different number. You can read a file using a binary stream, then you can change the values and overwrite the entire file with the changed array. ...Show All
SQL Server Weird formatting problem
Hello all, I have a strange problem that i need some advice on. I have the following field called FILENO. It is a SQL 2000 field with the Data Type set to Char (7). The following sql statement works perfectly: SELECT TOP 1 RTRIM(FILENO) AS TEST, RIGHT(DATEPART(Yy, FILENOYEAR), 2) AS YEAR FROM tblRecords WHERE RIGHT(DATEPART(Yy, FILENOYEAR), 2) = '05' ORDER BY FILENO DESC It returns the correct data, 0050. Now, what i'm trying to do is add 1 to the value so i can get the next available number which is 0051. But, when i run the following sql statement, i get 51 instead of 0051. SELECT TOP 1 RTRIM(FILENO+1) AS TEST, RIGHT(DATEPART(Yy, FILENOYE ...Show All
SQL Server Why cant sql server 2005 management studio cannot connect to lower version than sql 2000?
Hi, Is it possible for sql server management studio to connect to sql server 7 I need to connect to both sql server 2000 and sql server 7 but when connecting to sql server 7, it says "This version of microsoft management cannot connect...". If possible, how Because I will be connecting to both version and last thing i will do is to install sql server 2000 tools and sql server 2005 together. Thanks, Kobe Hey Kobe, SQL Server 2005 Management Studio cannot connect to a SQL Server 7.0 instance by design. It was a tough design decision to make. There are workarounds. Like you mentioned ea ...Show All
