Mavericko's Q&A profile
Software Development for Windows Vista Adding developers to the Admin Group help....
OS: Vista Ultimate Using Web Developer Express 2005. I want my developers in the Power User Group instead of the Admin Group. I don't wont them to have full access to the system. But, I want them to be able to develop there web projects on my Web Development System using the inetpub directory, but Vista wants them in the Admin Group. How can I work around this or is this possible on the Vista Awh, I fixed the problem and found the solution. 1st) installed the Visual Studio 5 SP1 for the Vista, 2nd) installed the IIS6 Management Compatibillity features. Now all my developers are in the Power User Group and running all development software as an Admin. ...Show All
Visual Basic Random Characters from Label???
I cant seem to figuire out how to pull a random character from a label that is varied in length and in chars. based on what the user does. I tried to get the number of characters, then create an array based on that number of characters, assign each character of the label to that array, then randomly pick from that array and display it in a different label. I'm thinking that I am on the right track but not sure. If someone could help me with this problem it would greatly appreciated. Private Sub Button1_Click ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Button1 . Click Dim randomizer As New Random () Dim Position As Integer = random ...Show All
Smart Device Development Page up/down with rocker
I am wanting to use the buttons/arrow at the bottom of the device to scroll the page up and page down. what is the best way to do this. or is this possible. after calling microsoft and talking to tech support. I have learned that the autoscrollposition will not work for this and keep the scrollbar on the side. The best solution that we were able to come up with was to use the webbrowser do display everything. it inherently has all of the features that we were looking for. ...Show All
Visual Studio IDE Menu Duplication
I have just installed Visual Studio, and whenever I launch it, the menus and the items in them are duplicated. Another copy of them is made whenever I launch VS. Restarting my computer or VS doesn't fix the problem. Here is a screenshot: http://www.rightflux.com/menu_dupes.jpg I apologize if this is the wrong place to post this, let me know where it should go if this is incorrect. interesting! Have you tried to reset the IDE settings, just in case start > run > devenv /resetide This only works on the full version of Visual Studio, not the express editions ...Show All
SQL Server User initiated backups
During the month end close the accontants want to have their SQL2000 databases backed up before they run certain processes. We (IT) run the backups using the SQL management console when they call. Is there a way we can allow the users to start a backup without giving them access to the SQL management console It depends on how much effort you want to put into this. You could buld a little application that uses SMO to do a backup, or invoke a backup via a script (see below re: rights). You could add one (or more) of the Accountant Users the db_backupoperator role, and show them how to use the UI to do the backup, or give them a script to run. ...Show All
SQL Server Microsoft Access Database Synchronizer (ADS) RTW
Hi, Today we are very pleased to announce the RTW release of Microsoft SQL Server 2005 Compact Edition Access Database Synchronizer (ADS) for which many of you been waiting eagerly. Access Database Synchronizer provides a way to synchronize data between Microsoft Access database on a desktop and Microsoft SQL Server 2005 Compact Edition database on a device. The salient features of this solution are summarized below O Provides a synchronization solution between SQL Mobile/SSCE and MS Access. Data conversion is done while synchronizing the data. O Synchronization happens when there is an active ActiveSync connection between the device and the desktop. O There is no update to SQL Mobile/SSCE ...Show All
Visual C++ Separator in a context menu
Hi all, How do I add and locate a separator in a context menu (of the mouse right button ) E.g. I wish to separate (between two lines) my own menu items (in the context menu) from all the others. Best regards. I had a little look into this issue yesterday, but couldn't find an exact c++ solution. If you do a search on google for adding a context button into Visual studio you shoud find sufficient information to allow you to proceed. As both VS and office use the same extensibility interface, the code should work for both. Within 5 minutes I found a c# and vb solution for adding separators ;p ...Show All
Visual Studio Express Editions Access number of instances of record
Hello everyone. I have searching a Access database down. I would like to know when I return the values that I want can I detect if there is more than one of that type of record (phone number) I will sent it to a text box to say it has more than one of these found. Is this possible thanks try adding a % before seekValue also, so it does a search containing the seekValue in the records. "SELECT count(NUMBER)FROM TESTTABLE WHERE NUMBER LIKE '%" + seekValue + "%' " ...Show All
SQL Server I need to pass data entered /created on the first page to the next page and populate the next page with some data from the fir
Hello I have a project that uses a large number of MS Data access pages created in Access 2003 and runs on MS SQL2005. When I am on lets say my client, (first page in a series) data access page and I have completed the fields in the (DAP), I am directing my users to the next step of the registration process by means of a hyperlink to another Data access page in the same web but in a linked or sometimes different table. I need to pass data entered /created on the first page to the next page and populate the next page with some data from the first page / table. (like staying on the client name and ID when i go to the next page) I also need the first data access page to open and display a blank or new record. Not an existing record. ...Show All
Visual Basic Error HRESULT E_FAIL has been returned from a call to a COM component
Help! I have a window that opens a word document from a databse and displays it to a user in an axWebBrowser control. This works fine the first time I open a document, but causes the above error every time after that. Restarting the program fixes it. Here is the error and code fragments of relevence: System.Reflection.TargetInvocationException was caught Message="Exception has been thrown by the target of an invocation." Source="mscorlib" StackTrace: at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature ...Show All
Visual Studio 2008 (Pre-release) NavigationWindow - Memory/Perf Advantages?
When navigating between pages what are the pros and cons of using navWindow.Navigate(...) vs. navWindow.Source vs. navWindow.Content. Are there signifcant memory/performance advantages with any particular method I read that when navigating the following events occur... -Page2.Initialized <-- Are the GUI objects reinstaniated -Page1.Unloaded <-- What happens to the GUI objects Do they still exist -Navigated -LoadCompleted -Page2.Loaded I have a follow-up question. Is Navigating to a Uri with the KeepAlive property set to true the same as Navigating to an Object ...Show All
Windows Forms DataGridViewComboBoxColumn selection
Hi, I am developing a C# application in VS2005 and I've added a DataGridViewComboBoxColumn to a DataGridView in a form and set its DataSource, DisplayMembers and ValueMembers properties. When the form is loaded, the grid shows all bind and unbound columns data and it also fills the combo box with correct data, but the problem is that no item is selected in combobox. I have to click on the combo box to select an item. I'd be thankful if anybody guide me to solve this problem: How can I select an item in the combo box in the dataGridview programmatically Thanks in advance, Saeideh Thanks a lot for your cooperation and replies. I set the cell.value while the datasource of each co ...Show All
Game Technologies: DirectX, XNA, XACT, etc. HLSL Grammar ... Tokens?
Hi, I am currently working on a HLSL parser, and while the HLSL grammar can be found in the online reference I've got a few questions about the tokens to be used. Especially, I couldn't figure out how T_TYPE_ID and T_NON_TYPE_ID should be defined.. I've got a few ideas that seem to work but would rather use the 'official' definition and not have mine break at some random point in the future. Also, the assignment operator tokens aren't quite clear. The grammar lists quite a few possible assignment operators (<<=, >>=, *=, /=, +=, -=, %=, &=, |=, ^=) but i'm not quite clear how I should map these to the five tokens used in AssignmentExpr (T_OP_ME, T_OP_DE, T_OP_RE, T_OP_AE and T_OP_SE). Right now it doesn't really matter, but ...Show All
.NET Development datetime field sql server 2005 updates incorrectly
I am using vb 2005 expess edition and sql sever 2005 The problem I have is the LastUpdated field which is a datetime field in the database does not update properly the code I am using is Dim cnSQL As SqlConnection Dim cmSQL As SqlCommand Dim strSQL As String cnSQL = New SqlConnection(ConnectionString) cnSQL.Open() strSQL = "update people set LastUpdated = " & DateTime.Now.Date & " where PersonId = 13" cmSQL = New SqlCommand(strSQL, cnSQL) cmSQL.ExecuteNonQuery() this executes with no errors but the database is updated with the same date each time 01/01/1900 00:00:00 I have tried all combinations of the datetime field values with no effect Can anyone h ...Show All
Visual Studio Tools for Office "Microsoft Visual C++ Runtime Library" error
Since yesterday, my document customization created using VSTO 2005 causes an error to pop up in Word 2003 whenever I close the customized document: ------------------------- Title: "Microsoft Visual C++ Runtime Library" Body: "Runtime Error! Program C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information." ------------------------- With an OK button. If the document is saved before I close it, all of my changes are saved (including [Cached] fields), but if I choose "Yes" to save an unsaved document after clicking close, the save process is interrupted and the d ...Show All
