Gar Mac Críosta's Q&A profile
SQL Server Sql Server 2005 Mobile/RDA connection problem
I have a working Pocket PC 2003 app that uses RDA to exchange data with SQL Server 2000. I'm attempting to port it to a Windows CE 5.0 device. (I'll be porting to Mobile 5 in the near future, but the gadget I have at the moment is CE). I installed SQL Server 2005 Mobile Edition on the computer running IIS according to package directions, and used the wizard to set up a virtual directory with sscesa30.dll. The directory I was previously using with sscesa20.dll is still there, and still works. I set up the virtual directory to use basic authentication without SSL. (I know that's not advisable). I have confirmed that I can reach the URL using the username and password I supplied to the wizard. W ...Show All
Visual Basic UserDomainName - Domain or Workgroup?
Hi all, I've used System . Environment . UserDomainName to find out what domain/workgroup the user is on, but how do I know if its actually a domain or workgroup that they've logged onto. I want to be able to do stuff if they're not logged into a domain. Thanks in advance... Scott There may be a more official way but I found this: http://www.devx.com/tips/Tip/26562 type=kbArticle&trk=MSCP Basically you attempt to enumerate the DC name for the "domain" part of the user name, if it pops back with a name then you are in a domain, empty then workgroup. Not tried it and seems a bit untidy but may work. Had a bit of a play, do not have a domain ...Show All
Visual Studio how do I change the color of bookmarks in VS2005?
the bookmark indicator is a blue rectangle. in Visual Studio 2003 I changed it to a red rectangle so it was more visible. in Visual Studio 2005 (version 2.0.3115.0), I go to Tools/Options/Fonts and Colors. then I select "Bookmark" in the "Display Items" list. then I change the "Item background" from the Default blue to red. but it has no effect -- the bookmark rectangle still appears blue. (note that all my other color changes took effect just fine and that when I open "Fonts and Colors" it says that bookmark it is set to red.) this seems like a small thing, but I've found myself setting breakpoints that already exist (which toggles them off) because the blue color was so light that my eye doesn't pi ...Show All
Visual Studio Team System Creating a new build type..
Hello, I have set a workspace on a local machine and I'm able to build any .sln without issue, when I attempt to create a build type I run into the following issue; Under the 'From which workspace would you like to select solutions to build ' section - I have two options 1). 'All solutions under team project' or 2). 'xxx' (local workspace) - when I attempt to select my local workspace the following error appears 'TF472027...... please verify the workspace mapping is correct and it contains one or more solution files.' The workspace exists and contains all solutions in the Team Project, it's mapped to a local directory. Has anyone run into a similar issue Thank you. Hmm... Based on the info yo ...Show All
Visual Studio 2008 (Pre-release) Emulating glass reflection - gradient or png?
I have an application and like to run a glass reflection through the background of it (but can't use aero directly because some machines don't support it). My options are to create a gradient or to try and capture the gradient from aero in png form (I am having trouble doing that). Should I use a finely-crafted gradient, or persist at the PNG - and if so does anyone have any ideas (or examples) on how I should do either of these Thanks in advance! Whilst the information you gave is useful, and actually solves another probelm I have been having, it's not quite what I was after - I should have been more clear. - I want my application to have a background picture (which I have done) - Above the back ...Show All
Visual Studio Team System HOW: Authoring a Web Test project on a site with a masked URL
Newbie question. How do I write/record a Web Test on a site that has an implementation of a masked URL I am recording on a QUAT environment in which I will also need to implement a Load Test project on so removing the mask is not an option at this environment. Masked URL = The full path of the pages are not exposed only a default page at all times. Example: http:\\somewhere.com\default.aspx Is this even possible If it is how Your help will be greatly appreciated...thanks. I made a simple recording of our site. This recording registers a user to our site. The user needs to fill a series of pages to complete his/her registration then provides him/her with a confirmation page after submitting the ...Show All
.NET Development I have a error 2908 wat is the solution
By installing of . net framework1.1 i see error 2908 Thanks Mike, much appreciated. Have you tried to uninstall .NET Framework, rebooted your system and tried to re-install it What happens Did you previously have .NET Framework installed Betas/CTP's Did you remove them via the correct cleanup tools (Which .NET Framework of beta's/CTP's did you install if any ) have you tried to see if the directory "URTTemp" exists in the system32 folder if so, tried removing the contents in it then restarting the installation What happens Have you tried to disable your anti virus software before installation ...Show All
Software Development for Windows Vista How can I add "Copy to" & "Move to" buttons to Vista's Windows Explorer toolbar
Hi all, Does anyone know how to add a button to the new Explorer toolbar (Views, Organize...) Thanks in advance. I think it's safe to say that you do not understand the question... Or else your windows Vista works different than most other peoples..( ) Since someone else suggested the same thing on another forum (at: http://www.msdner.com/dev-archive/109/24-117-1092843.shtm ) - and everyone that replied, as well as myself (who didn't reply there) says it doesn't work. I right-click on my toolbar, on the buttons, on the menu, next to the menu, anywhere... I never see anything that says anything like "customize" - all I ever get is "Lock the toolbars" (or the standard window menu if ...Show All
Visual Studio Express Editions Saving ALL of the installer to disk
I downloaded and installed VC++ express and love it. Unfortunatly I will be getting a new computer that is seperat from my internet computer which I will do my programming on. Also, I would like to keep the install files backed up. So my question is, Is there a way to download the files that are downloaded by the installer and put them in a temp folder to install off of a CD or from a hard drive on a PC without the internet Or is this mentioned somewhere else and I'm just being dense Hi, I want to get a fresh installation because I made wrong directories and path changes. I reinstall (repair option) with the ISO CD Image but all was left as they were. Should I uninstall first ...Show All
Software Development for Windows Vista Lightweight transactions vs. Connection pooling
As I understand it, if you open a second SQL connection within a transaction it will automatically be promoted from a Lightweight Transaction (LT) to a full DTC version. However, normal advice with ADO is to utilise connection pooling by simply opening the connection and closing it ASAP. Therefore doesn't the adivce seem to clash since if you open the second connection (even if it is exactly the same connection details) you'll lose out on the LT I believe Jian answers all your questions on her final post on the thread that you are pointing to. Bottom line is that the only way to avoid this at the moment is to have a single connection, this pooling limitation may be removed in the future. to make sure of this I would make sure a bu ...Show All
Visual C# Static Methods And Thread Safety
could somebody please tell me, in the following static method, is it possible for a second thread to call the same method with a different input variable modway through, thereby screwing up the result thanks public static int GetString(int i) { // do some stuff with i. e.g. i = i + 100; i = i / 2 ... etc. return i; } Wee Bubba wrote: i think im going to avoid static classes and static methods wherever possible. Why Usage of statics is a powerful concept and one of the main features of the language. There is nothing wrong with static methods/classes in use with threading... Some of the same problems exist with non statics. Thread safety procedures have to be e ...Show All
Visual C# problem with String.Format function.
hi friends, i got a problem when i do the following operation. String.Format("{CN={1}}","hello"); this is giving error while execution.String not in proper format. but the following thing works, fine String.Format("{0}CN={1}(2}","{","hello","}"); Is, their any better way to do the above operation.Like, is their any escape sequence for {. Any suggestions, Ranu. Thanks for your reply. its working fine with my application. can you explain more on this. Thanks and Ragrds Ranadheer ...Show All
Gadgets Permission denied Error - Daily Dilbert Gadget
Hey Guys i have created a DailyDilbert a Windows Sidebar Gadget which can be downloaded from http://www.codeproject.com/useritems/DailyDilbert.asp Although the Gadget is working great i am getting this complain from few of the users that they recieve permission denied Error when the HTTPRequest object tries to get the RSS xml feed from a third party website Comment from a user " However, when I try to run it using Vista Enterprise 64bit, the gadget encounters an "permission denied" eror when running the getRSS() function. I printed out the exception and e.name is "Error" and e.message is "permission denied". I've reinstalled the gadget several times, each time unzipping the package and puttin ...Show All
Smart Device Development How to read an XML file which is in the web server?
Can anyone pls teach me how to read an XML file which is returned from a jsp application(e.g. http://192.202.51.61/test/App1.jsp &myID=001 ) I have been searching for long. I found that if my application is developed as a computer application, it works fine. But if I copy and paste the code into a smartphone application, it does not work.... It returns timeout error.... Can anyone tell me how to do this It is under the debug mode and after a long time, it returns an error... I have tired other program that if a window-form application which access this XML file in server, it is ok. Only when I copy and paste the code into a smartphone application, it returns error.... ...Show All
Visual Studio Tools for Office Nothing happens when opening Office App with cached typed dataset
Hi all, I'm hoping somone can help me with this VSTO 2005/Office 2003 Pro issue... First a bit of background info; I've got a web service which defines a typed dataset (PurchaseOrders) that acts as a wrapper for views in our backend SQL 2000 database. The web service works fine, and returns exactly the information I require. I have also created a very simple word application which has a proxy to the web service and has my typed data set refenced and a cached, typed dataset object defined, it can happily fill it's cached data island with PurchaseOrder data - no problem at all. The issue occurs when the third app comes in to play - it's a web site which is to become our intranet, which I've set up to populate the word app with PO ...Show All
