RebeccaR's Q&A profile
Visual Studio Express Editions Subtraction of a decimal less then 1
I am not sure if anyone else had this problem, if so please help... While writing a simple function that holds the equation: bVariable = 1 - aVariable (where: 0 < aVariable < 1) Every so often a nasty little bug showed its head. I have used every number decleration (keeping both the same). My problem is that the code works, but the value calculated is wrong! When "aVariable" is equal to 0.94, the value calculated for "bVariable" becomes 0.060000000000000000000001 This calculation error only shows up when "aVariable" has the values: 0.94 or 0.97 It is just like the error in win 3 ...Show All
Visual Studio Installed SQL components not listed on splash screen
Hi, I installed SQL Server Dev first, then installed VS, but when VS loads, there are no SQL components listed on the splash screen, just VB, C# and VWD. A colleague installed the other way, and has some SQL components listed on the splash screen. Can I get VS to 'refresh' this list I've since installed Reporting Services and that's not listed either... Thanks Mike devenv /setup will regenerate the splash screen. if you ran it, and you're still not seeing what you expect, then possibly something is wrong with the install of either sql or vs. if you really want these things on the splash screen, ...Show All
SQL Server Problem with MS Access '97 .mde program and Windows XP
I am having a compatibilty issue with a program that was written with MS Access. It seems the files that are running the program are .mde event driven. The program seems to hang when placed on a Windows XP operating system. Thanks, Danielle Hum... looks like you have not posted in the rigth forum: this one is dedicated to Microsoft Visual Studio, the IDE used to develop .NET applications... Bye. ...Show All
Windows Forms What is the AddNew method of BindingContext???
I need to try this question again: Does anyone know what the AddNew method of BindingContext Class is It is not documented in the Class Members. Here is the code that generated this question. This code is found on a form displaying one record at a time. This code appears to prepare the form for data entry; but other than incrementing the& ...Show All
Visual C# listening to keyboard
ok i know how to know is shift+F6 key is pressed in my form but how do i do to capture key press from windows (when my form doesnt have focus) ex: i put my program in system tray and i start internet explorer, and in internet explorer i press SHIFT+F6 my form doesnt do anything.. how ca i set my form to do that When you form does not have focus, it does not recieve any events. Any app that reacts to key presses outside of focus is using a global keyboard hook, which can be done in C#, there are articles around on how to do it ( i.e. I've seen them, but I've not done it, so I can't tell you anything more specific ). ...Show All
Visual C++ COM Tutorial?
I need to create a COM object that will be multithreaded using Visual Studio 2003. Can anyone recommend and good tutorials on doing this There's a bunch of them at codeproject.com: do a search under articles for "COM tutorial". I'd pick one that best suits you. You can also search MSDN. ...Show All
Visual Studio Team System Where is it?
Hi all! I received the Visual Studio Team Suite CD Set and I realized that the Visual Studio Team Foundation Server is not on the CDs. I could see that we are still on beta, don't we If so, when it will become RTM If not, on which disc I can install it on the W2003 Server See ya and thank you for your help! Chila! Hello, The actual RTM date hasn't been announced, but will likely be in a few months from now. You can try out the Beta 3 Refresh and the December CTP bits meanwhile. We will provide an upgrade path to the RC and RTM bits from the Beta 3 Refresh bits but not from the December CTP (which contains a few ...Show All
Windows Forms Can't run ClickOnce
I can't seem to run ClickOnce applications (or at least the ones I've created). It seems AppLaunch keeps crashing when I try to run the ClickOnce app. When I go to the directory that all the files are saved, and run the main app, it runs just fine. Haven't tested any other ClickOnce apps, or had other people test mine yet, not sure the problem. APPLICATION CRASHES OR MANIFEST IS IMPROPERLY FORMATTED Only when comes when : 1). You have manually edited the app.manifest file using notepad or any Editor 2). You traversed into the directory using windows explorer where the app.manifest is plac ...Show All
Smart Device Development MSB3247
What a pain in the arse! I've obviously not properly de-installed VS2005 beta 2 properly before I installed the vs2005 release version, so now the code I've been working on doesn't work. Hurrah for nice easy install/de-install methods! When I build my app the output is this... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Consider app.config remapping of assembly "System.Data, Culture=neutral, PublicKeyToken=969db8053d3322ac, Retargetable=Yes" from Version "1.0.5000.0" [] to Version "2.0.0.0" [C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\System.Data.dll] to solve conflict and get rid of wa ...Show All
Visual C# Not all code paths return a value
I have this function that grabs some files for me...but it sends an error saying that not all code paths return a value.....Any help with this...I know this has to be an easy question for an expierenced developer...help please! public string getfiles() { string [] thefiles = System.IO.Directory.GetFiles("C:\\VG\\Schuling\\Appro"); for ( int x = 0; x < thefiles.Length; x++) { lbox.Items.Add(thefiles[x]); } } // the "string" right before getFiles implies that you are going to return a string public string getfiles() { string [] thefiles = System.IO.Directory.GetFiles ...Show All
Visual Studio Express Editions Catalog Web Site
Hello Developers, I am about to start a project that will allow my clients to upload images and text to the site's database once I scan the data. Does anyone have some good advice and perhaps be willing to mentor or even partcipate in the project, I am using the visual web developer 2005 express. ...Show All
SQL Server SQL2K5 SP1-CTP fails while upgrading "Database Services"
Hello. I'm a little confused what went wrong on the SP1-CTP upgrade. Now, all three times I installed SP1-CTP, it failed to upgrade the "Database Services," but possibly for varying reasons Attempt 1: Received message about Pending Reboots, message about Full Text .dlls being locked. Stopped Full Text service, selected "Try Again," received "Failed" for "Database Services" component; successful for all other components. Rebooted. Attempt 2: Received message about Full Text .dlls being locked. Stopped Full Text service, selected "Try Again." received "Failed" for "Database Services" component, "Warning" for "Analysis Servic ...Show All
Visual Studio Team System Beta 3 Refresh: Cannot add users from another (trusted) domain to team project.
Hi! We have TFS Beta 3 Refresh running in our development domain (DEV). All our user accounts are living in a different domain (PROD), which is also in a different forrest. DEV is a native Windows 2003 domain, while PROD is a Windows 2000 domain. There is a one-way trust from DEV to PROD. When we try to add a user from PROD to a team project group such as Contributors, the following error message appears: Couldn't add user/group 'USERNAME'. It may be in an incorrect domain. Are we doing something wrong, or is this actually not a supported scenario The latter would be terrible; I think the need for adding users from multiple domains wi ...Show All
Smart Device Development Take an incomming call on a smartphone
Hi, I'm trying to make a program in VB using SmartPhone functions. For instance, I succed to dial a call with PhoneMakeCall function : http://msdn.microsoft.com/library/default.asp url=/library/en-us/APISP/html/sp_phone_phonemakecall.asp I'd like to know if it's possible to take an incomming call, I can't find anything about that on MSDN.. Does someone could say me if it's posible, and how do that. thanks Sorry, i forgot the import.. Here is the good one : <DllImport("coredll.dll", CharSet:=CharSet. Unicode )> _ Public Shared Sub keybd_event( ByVal bVk As Byte , ByVal bSca ...Show All
Windows Forms How to cause bindingsource to goto new record via code
When you create a detail view via Data Sources, you get a navigation strip that contains a New Record button. When the button is clicked, the binding source creates a new record in the datatable and moves focus to that record. That works great, but I cannot figure out what code is executed to make that happen. I would like to move to a new record based on the click of a button on my form. What code do I run to make the binding source move to a new record Both the Add() and AddNew() events fire when the new record is created, but What event do I need to fire to initiate the new record Thanks for you help. Dave S ...Show All
