CaffeineAddict's Q&A profile
Visual Studio moving pages forward - CR recalculates data per page
Hello all, I am very new to CR and I am using the version that comes with VS 2003. I am doing a sales report which gives a summary for one sale's group for each state and for the whole group in all the states at the end of report. (one group - several states which for which the data is grouped by) I have the main report and a couple of subreports. When I run the report, it takes 50 secs to show me the first page. When I move to the next page it takes another 50 secs and if I move to the last page it takes 50 sec * number of pages to finish. Is there a way I can make the report run all once for a shorter time Why it seems t ...Show All
Smart Device Development Reading Application-Config in CF 2.0
Hi there, is there any chance to read the data stored in a .config-file with CF 2.0 The namespace "System.Configuration" is completely missing in the Objectbrowser! Any chance to get the code without self-coding thanks in advance and best regards Reiner PS.: In the good old days of Win32-Programming my nightmare was the "ERROR_ACCESS_DENIED"-error! Nowadays this is the "NotSupportedException", which I get (at least) 10 times a day!!!! Paul, can you send a bit of code, (the lines, where the exception occurs) regards Reiner ...Show All
Smart Device Development Device Unique ID
Hello, i'm trying to get the unique DEVICEID from some PocketPC with the function: KernelIoControl(IOCTL_HAL_GET_DEVICEID, IntPtr.Zero, 0, OutputBuffer, OutputBufferSize, ref BytesReturned); ...this works fine. ...But for some OEM device this function returns always the same code... How can i get a unique identifier for that device thanks for suggestions Andrea C. You can not since OEM failed to include unique ID. Please consider using something else for identification purposes. ...Show All
.NET Development How do I know if I need MFC x86 or x64?
I know this sounds like a dumb question but here is why I am asking. I recently installed the .NET 2005 Express versions of C++, C#, and J#. I have a 64 bit laptop running win64. It has 2 program folders one for 64 bit apps and 1 for x86 apps. After the installation was complete I notcied that all of the Visual Studio Express versions were in the x86 folder. There is however one folder name MS Visual Studio 8 in the 64 bit folder for the Remote debugger. The Platform SDK installed in the 64 bit folder as well. The SQL stuff seems to be split between the 2 folders. This is confusing me. I do not r ...Show All
Visual C# Sessions
Hello0o0o Dears, How to make a session in C# please i want an Example about Sessions When an .net application starts the global file usually kicks off the session. the Session class is naitive to .net and always accessible. So just break a point and look into Session Object. Heres a link: http://www.csharphelp.com/archives/archive185.html hth, mcm ...Show All
Software Development for Windows Vista How to make a custom composite activity unexpandable in the designer?
In a workflow designer, for example the one inside the sample "WorkflowMonitor", all my custom composite activities can be expanded until the level of built-in activities. If I want to hide the details of these composite activities and make them unexpandable, what should I do Thanks. You mean associate my custom activity with my custom designer by setting the property "Activity" of my custom designer to my custom activity Because I couldn't find where the attribute "Designer" is. ...Show All
Visual Basic Actions with a button?
Hello, I have a question... Well, this is pretty much no-brainer for you guys (professionals and even enthusiasts!) but no clue to me... Sorry if it's bugging you, recommending a creat book on C++ would be great... Okay, I have a button called "exit" and when a user presses that button, the program should close... any idea's well. I am working on VB Express Beta 2 project on Windows Forms. Thank You! Keehun Nam ...Show All
Visual C++ GetThemeRect fails
I am calling GetThemeRect to work out the size of the part my code wants to draw. I pass in a valid theme handle, part and state ID, and 5002 for the prop ID ( which is TMT_DEFAULTPANESIZE, I need this to work by delay loading functions from the dll, so I can use VC6 with no SDK updates ). I get back a failed HRESULT, with the value 'Element not found'. I've tried a variety of values, and always get the same result back have the same problem have code.. RECT rct = {}; HRESULT hr = CRSXpStylesManager::GetThemeRect (hTheme, BP_CHECKBOX, state, TMT_DEFAULTPANESIZE, &rct); hTheme is valid state is 1(CBS_UNCHECKEDNORMAL) and.. i re ...Show All
Visual C# Dynamic menu bar
Hi. Your help is very much appreciated. I am building Win app in which I'm allowing the users to add entity-types (i.e. entity-type = client or supplier,etc..) at run time .(I dynamically add tables in the db to support this requirement [I add client table, supplier table, etc.). However, I want to menu bar to reflect the existing enitity types. So I want the menu bat to look something like: Clients | Suppliers .... Find Find Add Add Show Show How can it be done It looks easy to add menu items at run time through code , but I didn't find a way to add event handlers functions at run time... Any suggestions Thanks Roy ...Show All
Windows Forms Is this legal for me to do this?
If not, i will happily stop, but right now, i am having a blast with Terrarium in .Net 2.0. http://tanderson.cbs-posi.com/MyTerrarium/checkmeout.jpg Just don't tell the C# coders They will probably scream blasphemy and other curses. ...Show All
Visual C# Commandtext origin a overloaded execute reader
Hi, I have a OleDbCommand and I'm trying to add a sqlcommand with more than 1000 characters. When I execute the executereader() it give-me a overloaded error. If I reduce to less than 1000 characters it works perfectly. I don't know how to resolve this error. Can someone help me Thanks. Hi, I have something like that OleDbConnection conn = new OleDbConnection(ConfigurationSettings.AppSettings["DSN"]); OleDbDataReader resultados=null; //VAI PEDIR A BD A INFORMACAO RELATIVA AO PEDIDO EM QUESTAO ...Show All
Visual Studio Express Editions Where do i register vwd?
Tried help on vwd express edition and clicked link to register but hung and could not see the site address and i tried microsoft site for registering and lots of good info on registering but no button or link to click... Help Pauley As Ralph Gerbig mentions...please see thread at http://forums.microsoft.com/msdn/ShowPost.aspx PostID=19141 . You really *do* need to register Visual Web Developer via the Help menu. You cannot do this online--or via the links in the Registration FAQ. (Those links are ONLY intended for re-generating an e-mail with your beneft access codes; you will not receive a product registra ...Show All
SQL Server Restore Database from file
Hello, I had backed up a database from SQL 2000, just before I format my computer. Now I have installed SQL 2005 and trying to restore that database to it, it doesn't work and I get the following error when doing that =================================== Restore failed for Server 'localhost\SQLEXPRESS'. (Microsoft.SqlServer.Express.Smo) ------------------------------ For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Restore+Server&LinkId=20476 --------------------- ...Show All
Visual Studio Express Editions New Forum
Deploying-issues on Windows XP I have experienced annoying limitations trying to deploy Visual Basic 2005 Express Edition applications with SQL-database connection on Windows XP. Besides, the debugging feature on other XP-identities than the one where VB was registered, has proven inadequate as well. In my experience it is only possible to debug the application with database connection on one identity on XP – the one where Visual Basic 2005 Express Edition was first registered. When I try to establish a mdf-database connection on any other XP-identity an error message occur ...Show All
Software Development for Windows Vista Statemachine not Stable !!!!
I checked in several constellations. Rasing Events works between 1 - 20 times than I get by random Event can not be deliverd. By seeing the unanswerd request here in the Forum I think it's not working. If yes some good Ideas are always well come. Wolfram Most probably the raise event happens before the state is active. Please see this post for more details http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=271267&SiteID=1 ...Show All
