Oddbjørn Sjøgren's Q&A profile
Visual C++ Mixing C and C++ MFC
Hello everyone! I am working on this project where I have to implement a decoder/video player. I have a decoder project written in raw C. It takes an encoded file as input and generates a decoded file. I have another project, a video player, which is an MFC implemented in C++. What I have to do is incorporate these two projects together. I have to decode a single frame and play it on the spot. Anyways, this introduction is just to get you guys i ...Show All
Windows Forms A Bug in TaskVision ?!? ( for those puzzled about selections in DataGrid )
TaskVision is a very nice Tool, but it is also a great tutorial & source-code source for those making Client applications. I took the TableStyles along with thier TextBoxcolumnStyles of the main DataGrid used in the project, and used it in my cl ...Show All
Visual Studio Team System Sql Server Management Studio is missing in Sept CTP
According to VSTS Beta3 installation Guide, I installed Sql Server for Sept CTP from en_SQL2005_STD_Servers_Sept2005.iso file. After installing sql successfully i don't see Sql Server Management studio installed. Am i missing something here Thanks, Anu There are 2 ISO files. A _SERVERS_ and a _TOOLS_. You'll need to get both ISO files. I seem to remember someone have a problem getting the Management Studio to install ...Show All
Visual Studio 2008 (Pre-release) Username credential without windows account
Hi, I'm looking at the SupportingToken sample. The sample uses client and server certificates and then add a username password "on top" of this. The username and password must be those of a user on the client machine. My "users" will not be the a windows user on their machines.I s it possible to use an arbitrary username/pass Thanks If you want a username/password pair that' ...Show All
SQL Server Error (rsInternalError) after installation
I have installed Reporting Services 2005 64bit Enterprise Edition on WIN 2003 64bit SP1 Enterprise Edition. Reporting Services Configuration Manager indicate that everything is ok, green checks except Encryption Keys and Execution Account. Reporting Services databases, ReportServer and ReportServerTempDB, is not "installed" at the same server. Tha DB's runs at a SQL 2005 Server 64bit in the same domain. I get following error: http:/ ...Show All
Windows Forms Collection Property Please Help urgent
Hi folks I have an Class as [ ToolboxItem ( false )] [ TypeConverter ( typeof ( ExpandableObjectConverter ))] [ DesignTimeVisible ( true )] [ RefreshProperties ( RefreshProperties .All)] public class LocalMessages { private string fkey = "" ; public string key { get { return fkey; } set { fkey = value ; } &nb ...Show All
Visual Studio Team System Using a group instead of an account in TFS doesn't seem to work in Beta2
If I assign an individual Windows user account (e.g. VSTS\me) to Namespace Administrators, then everything is just fine. If I use a Windows group containing the account instead (e.g. VSTS\TFS Users), then the user cannot do Namespace Admin things. Gssutil /m also says that the account is not a member of Namespace Admins. Yes, I waited for hour and I saw that the Users and Groups were sync-ed in the Event Lo ...Show All
Smart Device Development Installer for .net Application
I have some questions regarding the handling of .net CF installation I have a cab file and a working MSI installer for my app. (based on http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnanchor/html/CompactfxTechArt.asp) How can I check if the .net cf 2.0 is installed on the device and is there a way to somehow merge my installer with the .net cf redistributable (from here: http://www.microsoft.com/downloads/details.aspx famil ...Show All
Windows Forms Checkbox in datagrid?
Hopefully somebody can help me out here. Table1 formName varchar(20) formIndex integer example data would be: {'ProductEntry', 0}, {'OrderEntry', 1} Table2 empId varchar (5) rights varchar (5) example data would be: {'ABC', 'Y ...Show All
Smart Device Development Trace/Debug output
I want to get trace/debug output from an app I'm debugging in the output window in VS2003. I'm assuming this is possible as it looks like the framework is there. Can anyone tell me how to do this, and confirm that it's possible Thanks. The debug or trace output doesn't work in VS2003 (It was fixed in the VS2005 though). Alternatives are: http://blog.opennetcf.org/ayakhnin/PermaLink.aspx guid=fc78d047-c414-48f4-9a78-42567fffc ...Show All
Visual Studio Consuming MSSCCI plugin - calling SccInitialize
Hi I'm trying to write an editor (in C#) that would be able to connect to source control using MSSCCI, much like Visual Studio does. I've started by importing SccInitialize method from the VSS plugin C:\Program Files\Microsoft Visual SourceSafe\ssscc.dll. I can call SccGetVersion() and it works fine, but when I call SccInitialize, it returns -15 ( #define SCC_E_NONSPECIFICERROR -15). SccInitialize populates and returns lpSccName (puts &quo ...Show All
Visual C++ Unlinking the CRT...
Here's a fun question: how do I get the CRT out of a project, utterly and completely The project in question is a mixed-mode C++ DLL. /NODEFAULTLIB leaves me with dozens of link errors to CRT functions that I'm not calling from my code so I'm assuming the compiler is sneaking stuff in on my behalf (how very kind of it). What functions do I need to implement on my own and how do I do that Some of the more obvious ones like atexit I've already ta ...Show All
Visual Studio Team System Assign work items to the change set after it was checked-in
One of the developers has checked in source code into the source control (Team foundation server) and he ovewrote policy to assign work item. Can i as project admin (or system admin) assign required work item to the change set and possinly add comments after the fact. Thank you in advance Maxim With proper permissions on the work item, you should be able to update it an link it to a changeset. You ...Show All
Windows Forms how can i trap the forms on closing event from a menu item
I am out of hair! New to .net so be kind... I have been trying to get my "exit" menu item to trap the on closing event that the close X button does. When i click the X i get the on closing event and i& ...Show All
Software Development for Windows Vista XAML and Migration
Hi everybody, I'm migrating my WorkFlows from Beta 1.2 to Beta 2, but I receive a message if I try to open an old project: "The XAML file does not contain a root activity" and the WorkFlow file xoml doesn't open. I did a uninstall of the extensions 1.2 (first) and the Foundation 1.2 (second) and then I did a install of the new Beta 2. Is possible to recuperate my work The WorkFlow did it without problems with the Beta 1.2 R ...Show All
