Mike_Kla's Q&A profile
Windows Forms Cant upload my creatures
I can run all my creatures locally fine. When ever I try to upload them to the server, the upload fails. I get a dialogue box "There was a problem with the server". I've tried debug versions, release versions. Simple animals, simple plants etc. Anyone uploaded a creature recently ...Show All
SQL Server Pivoting large result sets
Heres the scenario: We have a database that stores values for different characteristics taken at different times. The data is stored in the following format: POSTED_UTS CHAR_ID RESULT_VALUE_FLOAT 2005-08-09 14:30:03.907 1859 1.08 2005-08-09 14:30:03.907 1860 1.07 2005-08-09 14:30:03.937 1861 0.01 2005-08-09 14:30:03.937 1859 0.01 2005-08-09 14:30:03.937 1860 0.01 2005-08-09 14:30:03.937 1861 0.01 2005-08-09 14:30:03.953 1756 0.01 2005-08-09 14:30:03.953 1757 0.01 2005-08-09 14:30:03.953 1859 0.01 ...Show All
Visual Studio Express Editions prevent automatic change of the scrollposition of the scroll bars
i am facing an irritating problem I am using: 1. A tab control 2. A panel with autoscroll set to true, Docked to fill the above mentioned tab control. 3. A tree view and picturebox inside the above mentioned panel. Both have the height more than that of the container panel and hence a vertical scroll bar comes in the panel automatically so far its fine the problem: when i click on the treeview loaded with nodes, the vertical scrollbar automatically changes the scroll position (increment) and the tabs of the tab control move beyond the top of the form and thus go out of vision. again the user has to manually move the scro ...Show All
Visual Studio 2008 (Pre-release) Blog based on WPF
http://www.valil.com/Valil.Blog/Valil.Blog.xbap viliescu wrote: http://www.valil.com/Valil.Blog/Valil.Blog.xbap Really interesting, great job :) btw, there is no RSS on it :) But I like your controls, on the rigth, with the animation on the green button And the animation on the books is fun too :) Just to be sure: looks like you have changed the template for a listbox, and all the listboxitem are now in a StackPanel, rigth Thanks ...Show All
Visual Studio Express Editions Start page question
On the start page, there's a list of recent projects. I to remove projects from this list to remove clutter. The only way that I found was to move the directory and then click on the link. VS then asks me if I want to remove it since it cannot find the directory. Is there a better way Thanks, LGuy I think the existing project list in Start Page come from MRU List stored in the registry, but the Start Page script is checking if the File/Project exist first before the script will display it to the Start Page. The location of ProjectMRUList is in this path: HKCU/Software/Microsoft/VisualStudio/<Version>/ ...Show All
SQL Server ntwdblib.dll not found
We have just installed SQL 2005 on a brand new server and have installed our software for our business solution. When I attempt to run the program, it says that it cannot find "ntwdblib.dll" Where is this file Am I missing a file from the install or what The error indicates that your application uses the DB-Library API. SQL Server 2005 does not include the files needed to do programming work on applications that use these APIs. The recommended alternatives are captured in SQL Server 2005 Books Online in section " Deprecated Database Engine Features in SQL Server 2005", which can als ...Show All
SQL Server Cannot shut down VS after using report designer
Routinely when I use BIDS to work on a report design, I cannot close BIDS because I get a message box that says: Microsoft Visual Studio cannot shut down because a modal dialog is active. Close the active dialog and try again. Of course, there is no visible dialog open. I actually have to terminate the process from task manager. I do not get this problem when using SSIS or SSAS. Only SSRS. Any Ideas Thanks! BobP I know I have experienced slowness in VS when I have multiple projects running in the background. Especially if one of the other projects is connected to a server. However I can't reproduce these eith ...Show All
.NET Development Were to store user options/data
What is the best way to store user information. I know how to save values to the registry but besides that, their has to be a better more secure way to save information from a windows form. Thanks for your help. If you are looking for secure then you can encrypt using the cryptography class to a db field (and even encrypt the db)or to your own file (ini, binary, text...)... ...Show All
Smart Device Development How to play many WAV resources at the same time.
Hi, I am developing a game for WM2003 and WM2005. Is there an example to play many WAV files at the same time from resources. Maybe DirectSound. If there is a example somewhere it would really help. Thanks, Giorgos There's no DS on CE. You can use waveOut API to do that. Samples are available on MSDN. http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcewave/html/_wcesdk_win32_waveoutwrite.asp ...Show All
SQL Server Enumerating Role Permissions with SMO
Hi, I am attempting to enumerate role permissions using SMO. I can enumerate the permissions on a atbel, view, or store procedure no problem. When I try to enumerate the permissions that a role has I get the following error: 'Operation not supported on SQL Server 2000' Can anyone help me in sorting this out. I had the permissions enumerated in DMO but I just can't seem to get it to work in SMO. Thanks, James Hi, I am connecting to SQL2K. I have not problem getting the permissions on a table, view, stored procedure, or function. Its only when I try to get the permissions for a role or user ...Show All
SQL Server problems in creating report (parent child hierarchy)
hello, im working with as/rs 2005 and need help in creating a report. my cube has a parent child hierarchy in "category". structur is as follows: A a 1 2 b B C f g 10 11 12 I like to have a function or something, that gives me the unique names of all children of maybe A (result should be: a,1,2,b,3,4,...) there is a function called children, but i am not able to obtain my desired result. (in fact, i dont get any result with this fuction) every little bit that shows me the right direction is highly appreciated ... ...Show All
Visual C++ Issue with spawnv (tried spawnl, spawnlp and spawnvp, too)
Dear all: I ran into an odd behavior, and I wonder whether anyone has encountered it before and possibly knows a fix/workaround/correction. Rather than post lots of code right away, I will describe it first. The program is a .C source with a regular int main(). If I use spawnv directly with the no wait flag, the path/command and the arguments (not interested in the env part), it works nicely. However, if I try to put the same logic into a subroutine, it works sometimes. My goal is to feel the PGP.EXE command line which has switches, e.g., '-h' for help. Some output goes to stdout, some to stderr. I use something close to Microsoft's he ...Show All
SQL Server Cannot link measure group from cube in different AS database
I am trying to link a measure group from a cube in a different AS database (but on the same server), and get the following error: Errors in the OLAP storage engine: The metadata for the statically linked measure group, with the name of 'AD043', cannot be verified against the source object. Note that I can successfully link a dimension from a cube in a different AS database, and can also link a measure group from a different cube in the same AS database. I found the following information at MSDN, but am not sure if this is the proper solution (nor do I entirely understand it--I'm not the security guy in our organization): In order t ...Show All
Windows Forms How to select multiple rows in datagridview by using datagridviewCheckBox?
The datagridview is already binded to table. I need add a new checkbox column in the datagridview. How to make rows selected when user check each checkbox. No databinding for checkbox. Any idea would be appreciated. In response to the CellContentClick event for the check box column, set the row's Selected property to true using the RowIndex provided in the CellContentClick event. -mark DataGridView Program Manager Microsoft This post is provided "as-is" ...Show All
SQL Server After laptop goes into standby, SQLEXPRESS won't start
If my laptop goes into standby with the MSSQL$SQLEXPRESS service running, the service will not start again. I get the following error messages in my log: 2006-03-06 20:49:08.45 Server This instance of SQL Server last reported using a process ID of 1764 at 3/6/2006 1:48:21 PM (local) 3/6/2006 9:48:21 PM (UTC). This is an informational message only; no user action is required. 2006-03-06 20:49:08.45 Server Error: 17053, Severity: 16, State: 1. 2006-03-06 20:49:08.45 Server UpdateUptimeRegKey: Operating system error 5(Access is denied.) encountered. 2006-03-06 20:49:08.45 Server Registry startup parameters: 2006-03-06 20:49:08 ...Show All
