Frankboonen's Q&A profile
Windows Live Developer Forums My Blog - Edit Entries?
Are you having problems with Spaces My blog: daytradingtowin I keep getting these messages when I try to edit/add entries: Spaces not available This space is temporarily unavailable. Please try again later. I try to gain access throughout the day for several day now - what's the problem Thanks, John There were some temporary issues with availability on MSN Spaces which should be resolved by now. ...Show All
Visual Studio Express Editions read write serial port
I have found several classes online that say they make using the serial ports easy. I am never able to get any of them to compile. Is there a bare bones example of how to read/write to a serial port all bundled in a project for Visual C++ Express Edition It depends what classes you found. You need a class based purely on the Win32 API. Even than you need to install the PSDK as documented. If you used one using MFC and ATL you must fail because MFC and ATL are not part of VC Express. http://msdn.microsoft.com/visualc/learning/vcexpvids/default.aspx ...Show All
Windows Forms TableAdapter Update Error
I made a TableAdapter and use ObjectSource to bind it to GridView, when I insert new rows it works OK, but when I try to Update or Delete it gives me this error: ObjectDataSource 'RegionObject' could not find a non-generic method 'Update' that has parameters: RegionDescription, original_RegionID. Version Information: Microsoft .NET Framework Version:2.0.50215.44; ASP.NET Version:2.0.50215.44 Thanks Alaa Bhr Software Developer Hi, Could you check your *.xsd file See if the update queries available in your tableadapter has these kind of arguments. If not try creating it... cheers, Paul June A. Domag ...Show All
Visual Studio Change database connection on runtime
Hi. I have an issue that I haven't been able to google my way out of - so therefor im pleading here... I'm trying to change the database on which my report pulls data. I have two 100% identical databases with different content... In one case I want it to be based on the first database - in other cases on the second database. Im trying to change the database - but it seems like the data connection already set in the report 'overrides' my code... I've simplified my code a bit - here goes : Tables crTables = oRptDoc.Database.Tables; ConnectionInfo connInfo = new ConnectionInfo (); connInfo.DatabaseName = "Da ...Show All
Visual Basic Direct Input & Joystick
Hi, I have an application developed in VisB 6.0 that makes use of the DirectX 8 Direct Input Joystick Code sample on the MSDN. Importing just this simple code example into VisB 2005 does not Update sucessfully. Is there a .Net Framework CLS Class or code snippet or sample program that demonstrates Initializing and polling a Joystick TIA Horse I'm afraid I only know of a C# sample - if you can read that, i know that at least the June 2005 DX SDK has a sample for Joystick polling. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Create a sprite programatically in .NET?
Hi; I've struck out trying to get an answer to this in the .net forums. Is there a way to create a Bitmap object in .net where the bitmap is all 100% transparent (alpha) I can then draw lines, text, etc. on the bitmap and where I do not draw, it remains transparent. thanks - dave Just to clarify, "all from .Net" and "all in GDI" is not the same thing. Managed DirectX is a 100% managed API so you could use DirectX and still stay "all in .Net". ...Show All
SQL Server Clustered Index creation uses extremely much diskspace
Hi, I have a database in which I have a table that is about 20GB (+/- 9.000.000 records). This table is created in the filegroup 'SRC_TABLES'. When I want to create my clustered index on this table - in the same filegroup - it starts to write a lot of data to the harddisk. There is only 18GB free on the harddisk so it fails with the error that he can't create enough free space in the filegroup. This is the query I use. As you can see it's just a standard clustered index query: ALTER TABLE dbo . SRC_GRIDFEE_LINE_ITEM_SWITCH ADD CONSTRAINT PK_SRC_GRIDFEE_LINE_ITEM_SWITCH PRIMARY KEY CLUSTERED ( GRIDF ...Show All
Software Development for Windows Vista Limitation for simultaneous executing workflows
I tested with the Workflow Foundation Beta and tried to run as many Workflows as possible asynchronously runtime = new WorkflowRuntime(); runtime.AddService(new DefaultWorkflowSchedulerService(200)); The performance indicator did show a maximum of 25 even when I provided a higher maxSimultaneousWorkflows (e. g. 200). The default seems to be 5, because when I use the default constructor max is 5. When I use 2 the max in performance tool is 2. Is this a limitation of the Workflow Foundation Best, The CLR has a thread pool which is limited to 25 threads per CPU: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/ht ...Show All
Windows Forms How to add button to TabControl?
Hi all! How can I add a button to TabControl to make custom control, with ability to close tabs using button (aka Firefox-like or IE 7-like tabs) 'm waiting for your suggestions. Well, please, I still waiting for you answer. I really need this for my university project... ...Show All
Visual C++ About convert CString to char*
When I Search the forum with this tilte,I found there is a way to convert CString to char*.but I get a error when I compile it in vc 2005 CString hello("CString"); char* hello1=new char[hello.GetLength()+1]; _tcscpy(hello1, hello); Error 1 error C2664: 'wcscpy' : cannot convert parameter 1 from 'char *' to 'wchar_t *' d:\projects\c++.net\test3\test3\test3.cpp 20 why thanks. Short Answer: Why are you using a char * when you clearly wanted a TCHAR * Long Answer: In previous versions of Visual C++, all applications were compiled with Unico ...Show All
Visual Studio Adding items to the "Website" menu
Hi there, I've previously been able to add commands to the "Project" menu such that when you right click on a project in Solution Explorer or go to the project menu, you can launch an add-in. Now that Visual Studio 2005 treats websites as distinct from other projects I want to add my command to the "Website" menu so that it only appears if I right click on a website in solution explorer or go to the website menu. However, although I can still add stuff to the Project menu, the Website menu doesn't seem to exist. so CommandBar commandBar = ( CommandBar )commandBars[ "Project" ]; works whilst CommandBar commandBar = ( CommandBar )commandB ...Show All
Visual C# Convert Perl Code to C#
I have a perl script which I wanted to convert to C# which I can use for my application. Is there any tool/utility which does this. Thanks Imtiaz I think that trying to directly convert a perl script to a C# program is useless. You can of course try to convert some algorithms, but conversion of whole programs is too much for any computer (~programmer). The solutions in perl script may be done totally differently in C#. The Best Solution to this conversion is to just LEARN AND MASTER both Perl and C#, and then implement C# program that meets the original requirements set to the perl script. Do not try to copy ...Show All
.NET Development System.valuetype
Hi There is something I wan't to understand. How come there is no way to inherit from ValueType I know it is seald but why Is it because a user might create a "mutation" object Thanks Avi A value type in .NET represents a simple POD (plain old data) that doesn't support any form of OOP including inheritance, custom construction and polymorphism. This permits compilers to treat PODs like ints and structs as value types without any performance issues. To identify a value type programmatically the ValueType type was introduced. If a type derives from this type then it is a value ...Show All
Visual Studio Team System Search Work Items in VSTS
Is it just me, or does the lack of a Search feature in Team Explorer make it extremely cumbersome to use We have been using VSTS since Beta 2 to manage and track our projects. Of course, the number of Work Items has been steadily increasing over time, and we now have over 1500 Work Items (Task, Bugs, Risks, QoS Reqs, etc...). With so many Work Items, finding a specific Bug/Task/whatever is a tedious process. Since there is no Search feature in VSTS, I usually export a Query to Excel and use its Search features to find the specific Work Item I am looking for. Needless to say, this is not the optimal workflow - e ...Show All
Visual Studio Visual Studio 2005 Documentation Missing...??
I have installed Visual Studio 2005 standard edition. Every thing works ok except for the documentation item. When I choose the documentation item from the start menu I get a page that has links for "How to install help for Visual Studio" and "Visual Studio 2005 Combined Help Collection". When I click the first link it says to put the install CD in and choose to install product documentation but there is no such option on the install CD. When I click the second link there is a line at the bottom of the page like this...."Collections available for inclusion in VSCC:" but there is nothing there and the update VSCC button is disabled. I need to ...Show All
