Benjy's Q&A profile
Visual Studio VSS extremely slow over internet
hi. i have a setup with several local clients to the database and a remote client that is connectected over a 2mbit dsl line. now, i know that 2mbit isn't _that_ much, but is it really necessary for a 'get latest version' to take up to 20 minutes the ss database is only 10 mb in size... what options do we have in order to make this thing a little faster WM_THX thomas woelfer http://www.die.de/blog Hi, That comparison has been posted on this forum, too, but it seems that you have to read it "cum grano salis" http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=21541&SiteID=1 Alin ...Show All
Visual Basic Ordinary users can't update MDB files installed in same directory as app
I'm using Windows Installer 3.1 to put my VB 2005 application on user machines. The destination folder is C:\Program Files\my company\my app\. The application uses an Access DB that I have been putting in the same folder. The application and data are to be accessible to all users and the DB needs to be able to accept new data and modifications. All is well as long as the user is a power user or administrator. Ordinary users sometimes find that the default installation won't allow them to update any of the files since the folder, being under Program Files, is created without the necessary permissions. This yields the ever-popular "Ope ...Show All
Software Development for Windows Vista IsThemeActive call (uxtheme.dll) not working properly in 5270
Hi there, the IsThemeActive call of uxtheme.dll always returns 'False' in build 5270, no matter whether themes are active, or not. Hope this is the right forum to post this, since I did not find any 'Report bugs' forum ... :) Thanks, Steve Hi, Steve. I made a quick update to one of my theme aware apps and tested under 5270. This app runs under legacy platforms, so the theme calls are run-time dynamic link. Here's the code I tested: if (nWinVer >= 5) { BOOL bThemeActive; HMODULE hUxTheme; hUxTheme = LoadLibrary ("uxtheme.dll"); if (hUxTheme != ...Show All
Windows Forms Error after debug on one computer
Hi there, I have made a windows application in vb.net and now I have an problem. When I run the app. on my machine everything goes fine. When I run it on my laptop everthings fine, but when I run it on the computer from my boss we get an error "cannot convert varchar 'T' to int" the strange thing is that it's not an error of my "try catch" because there is no title bar in the error window, something i did program in my try catch error messages. also strange is that the application works fine... We get the error but the application goes on without trouble.... Is there someone whit an explonation for this strange b ...Show All
Visual Studio Adding items to the Visual Studio 2005 toolbox using Visual Studio Content Installer
I need to add custom controls to VS 2005 toolbox using Visual Studio Content Installer. I can get them added to the 'My Controls' tab which is the default & it works fine. But I want to add them under a custom tab (say 'My New Tab'). How can this be done . How to spcify the toolbox tab in .vscontent file (between <content>.....</content> tag . In the vstemplate file, you can give a filename tag like this: <FileName>CompanyName\Control.dll</FileName> When the installer installs the file, it will create a directory named CompanyName, and then driop the control into that direct ...Show All
Visual Studio Team System TFS BETA3 & SHAREPORINT err!
I'v installed TFS BETA3 with workgroup config (no use AD), on a server named "vs2k5tfs".... when I browse http://vs2k5tfs/default.aspx the returned page contains from same machine, (I'v new a team project, and browse project portal, got similar page....) ********************************************* Error [1] Web Part Error: This page has encountered a critical error. Contact your system administrator if this problem persists. Error [2] Web Part Error: This page has encountered a critical error. Contact your system administrator if this problem pers ...Show All
Visual Studio 2008 (Pre-release) assembly reference
The type or namespace name 'Design' does not exist in the namespace 'System.ServiceModel'(are you missing an assembly reference ) As stated above as it has been removed, you can no longer import that namespace. Have a look at the breaking changes document, to see the changes between the Jan and Feb CTPs: http://windowscommunication.net/collateral/pages/BreakingChangesJanCTPToFebCTP.htm . ...Show All
Visual Studio Team System Data Warehouse not updating properly
Last Wed. I created a new project to give a mini-demo to a co-worker. I created a few work items in the course of this demo. As of 2 hours ago, I created another project to verify that the database wasn't updating. As of right now, neither project shows up in the TFSWarehouse Team Project table. None of the work items created in either project are present in the TFSWarehouse Current Work Item table. All of the services associated with SQLServer are running. Any suggestions to get TFSWarehouse to update properly would be appreciated. That's a bug in b ...Show All
Visual C++ htonl source code
Hi All, My first ever posting. I am lookling for the sourec code for htonl, htons, ntohl etc function calls. I need to generate my own implmentation of these calls and hence need the source code for the same. All Suggestions are welcome!!! Thanks in advance -Sachin Thanks for the prompt message. So does that mean i cannot have my own implementation of these system calls. There must be some information as to what kind of byte ordering do these system calls make, which i can duplicate in my own function and make use of the byte ordering provided by these functions. It is very important for me to do this as there are a lot ...Show All
Visual C# how to check the node's text, level and depth in a treeview control?
For example, if I have a parent node Root and then child node Child created at design-time, I know how to add child nodes to Child at run-time but my problem is adding grandchild nodes to Child. Root Child ChildOfChild1 // created at run-time ChildOfChild2 // created at run-time How can I add child nodes to ChildOfChild1 or to ChildOfChild2 at run-time the children of Child are sorted randomly so their indices change. The child nodes that you add in run-time are also added to there Parent TreeNode. You can allways iterate over the nodes and add new TreeNodes wherever you want. Here is a little example that adds ...Show All
Smart Device Development The target device does not have a compatible version of the CLR installed for the application you are a
Error Message: "Unable to load the CLR. The target device does not have a compatible version of the CLR installed for the application you are attempting to debug. Verify that your device supports the appropriate CLR version and has that CLR installed. Some devices do not support automatic CLR upgrade." The Device is running Pocket PC 2003. And has been running programs written with .Net 2003 I just loaded .Net 2005 and ActiveSync 4.1 and created a little test program to deploy onto the hand held. I get the above error. Any help/hit would be greately appreciated. Thanks, Joe That means NETCF V2 i ...Show All
.NET Development Net.Framework Redistributable (dotnetfx.exe) - Can anyone redistribute it with an installer?
Hi Net Developers I have written an add-in for Excel that references a .dll I wrote in Visual C++ and that includes some managed code. Therefore if I want to deploy it to other computers, I understand that I need to ensure that those computers already have Net.Framework installed on them, otherwise my dll won't work. While I have had no problem locating the latest version of the Net Framework redistributable dotnetfx.exe, I cannot find a Microsoft document confirming that a developer is entitled to redistribute the dotnetfx.exe file as part of non-Microsoft package. Does any one know where I can find confirmation that software devel ...Show All
SQL Server SP1 failure - incorrect platform
When I try to run the x86 version of SP1 on my development desktop (for tools only), I get an 'Incorrect Platform' error: Setup cannot update x86 products on this computer To proceed, run the Service Pack Setup program for the x86 platform. The filename I downloaded is SQLServer2005SP1-KB913090-x86-ENU.exe and it successfully installed on my Wk2003 server (dual PIII). My desktop is a single P4 2.8Ghz running WinXP Pro. brian smith Hi, I am still getting this error message, you guys looked like it was resolved. Any ideas why this happens The installer logs thinks im running x64 but the looks of things. ...Show All
Smart Device Development Opening Serial Port more than two times this error occures “The Port ‘COMx:’ does not exist”
Hi all! This is my first post here, but I am really baffled by this issue, so here goes, I hope someone can help. The hardware this is running on is an Axim X50 with WM 5.0. I am using a CF+ Serial Card as a com port. I have access to CompactFlash cards from Quatech as well as from Socket and Ratoc and have this problem with all of them. This program runs fine twice then when I start it a third time I get the error “Port ‘COM4:’ does not exist”. The com port exist in the list returned by GetPortNames. The code that I used to test this problem in a console application follows: ...Show All
SQL Server Permissions Hierarchy - GRANT on logins/users/roles
A question on the permissions hierarchy: Since logins, database users, and database roles are both principals and securables - what does it mean to GRANT permission on a login/user/role to another principal Does it mean that for a login - you can GRANT permission to EXECUTE AS that login or modify it, for example Thanks! ...Show All
