enric vives's Q&A profile
Visual Studio Bug: Root-chickenfeet item (namespaces) is no hyperlink anymore
hi, In the november CTP build the root-chickenfeet item (namespaces) is no hyperlink anymore! Please fix this! Stephan Smetsers Thanks Stephan for reporting this issue. Anand.. ...Show All
.NET Development Windows halts loop excecution
I hope this question is in the correct forum. Here is my problem. I have a generic while loop that is repeatedly calling a function. This function handles receives in socket communications. The problem is that windows will stop executing this loop. All of a sudden it will just pause. Once you force a refresh of the form that contains this loop (by minimize/restore, etc), the loop will start executing again and will never pause again. Initially, I thought it may have something to do with the socket communications. So, I replaced the socket function with just incrementing and displaying a variable. Sure enough, the display would start counting up. All of a sudden, it would pause. As soon as the form is refreshed it would start counting again ...Show All
SQL Server SQL Server 7.0 shows a suspect database after attaching it in SSME?
Hello, I have a database that resides in SQL Server 7.0 that I can attach in Microsoft's SQL Server Management Studio Express and I can see all the tables from the database in that program. My problem is that when ever I re open SQL Server Enterprise manager, the database that I attached to SSME, shows up as Database(Suspect). Now I am unable to view my tables in that database. Can anyone tell me what causes this, and how I can resolve that issue I need to have my sql server database, and sql server express edition database present in SSME because I am doing an import of data from SQL Server 7.0 to SQL server express. Also, if there is another easier way to import data from SQL Server 7.0 to SQL Express edition, I would like to ...Show All
SQL Server How to control number precision?
Hi all, There is a table like this: item quantity ------ ---------- A 1 B 3 C 7 D 6 Now I want to get a table like this: item Percent ------ ---------- A 1/17 B 3/17 C 7/17 D 6/17 For script: select item, quantity/sum(quantity) from table but the number has a very long precision, like 0.0588235456456, I only want to keep two number after the point as like 0.06,what should I do Thanks! Coeus: Maybe something like: select convert (numeric (9,2), 0.0588235456456) ...Show All
SQL Server IIS and SQL Server 2005 Express Edition
hi Currently have SQL Server 2005 Express Edition installed. Wanted to install reporting services, but wouldn't let me re no IIS as I only have Windows XP Home Edition. My question is therefore: Is there any way of installing IIS to allow me to install Reporting Services for SQL Server 2005 Express Edition Many thanks Tim Leicester, UK Thank you for your clear answer I see that if you do not install IIS before SQL Server, it's impossible to use reporting services. All i regreat is that Microsoft nowhere warns about that problem except at the beginning of the installation of SQL Server with a meagre warning. I hope that Microsoft will correct this absence in the documentation to a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 360 Deployment Issues
Hello I've downloaded the latest version of XNA: GSE, signed up to Creators Club, downloaded the launcher, created a key and entered it into GSE. The 360 is sitting there waiting for a PC connection but the deployment just times out. I've checked the subnet and they're both 255,255,255,0. It doesn't work whether it's wireless or wired. I can't ping it from the PC, it just times out. Got another pal to try pinging their 360 from their PC and they get a similar time out. I've also made sure all the required ports are open, I think. I'm not sure, we have a Belkin router and I've added the ports the docs say to add but I can't test whether they are actually open or not. L ...Show All
Windows Live Developer Forums Showing latitude and longitude lines on the map ?
Hi Is it a built-in functionality to show latitude and longitude gridlines on the map or does anyone know how I can do it in some other way I am a bit new to Virtual Earth , but I have a windows app, that is using Virtual Earh to show positions for fishingvessels and those who are using it wants to have gridlines on the map, because they are used to it from other software they have used ( GIS stuff ). The vessels are sending xml messages from wherever they are fishing and into a server. Their position are inside this xml message and I show them on the map. Stein You can draw them yourself with a few lines of code in any colour you like! check out: ht ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How make a DirectX app runs on Windows Forms (using C++)
Well, i'm making a simple directX application based on my studies on this book Introduction to 3D Game Programing with DirectX 9.0 , the problem it's how i make the scene created runs inside a windows form to be more clear, i'm trying to render my scene inside a form but don't know how call a specific function to do that. Another thing, the code i'm posting here create by itself a window and i know that to runs on windows form i'll need erase thoses line of code, 'cause that i needed know how do that using a windows form. I'm using native C++ language and the code of the program i trying to run is down below. Thanks for any help (i really need do that). xfile.cpp #include "d3dUtility.h" #include <fstream> #include ...Show All
Windows Forms Center a panel in a sizeable form
I have got a form that has a panel on it with controls on the panel. What I am wanting to achieve is to center the panel on the form, reguardless of the monitor size(either square or wide screen). I am programing on a wide screen monitor, and I would like to make sure that the panel is in the center of the form reguardless of what it is viewed on. Can this be done Davids Learning The dimensions of the screen are irrelevant towards the position of the panel inside the form. Do you want to center the form or the panel ...Show All
Smart Device Development Treo 650 SmartPhone to deploy PDA application
Can i using thr Treo 650 SmartPhone to deploy the PDA application This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. If you’re having a hardware issue, please contact hardware manufacturer or reseller. If you having an issue with 3rd party software, please contact respective software manufacturer or reseller. Otherwise please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. Hint: Treo 650 runs Palm OS (which is why it's not considered Smart Device for the purposes of this forum), so try Palm OS related forums or NG. ...Show All
Smart Device Development Can i create a user control for pda?
Because i have made an userControl for pda in C# but when I deploy my project I have this error: Error 1 Deployment and/or registration failed with error: 0x8973190e. Error writing file '%csidl_program_files%\MyPrincipalProyect\system.windows.forms.dll'. Deployment and/or registration failed with error: 0x80070070. There is not enough space on the disk. Device Connectivity Component If i take off Using system.windows.forms; i can't deploy OsoPolar wrote: Because i have made an userControl for pda in C# but when I deploy my project I have this error: Error 1 Deployment and/or registration failed with error: 0x8973190e. Error writing file '%csidl_program_files%\MyPrincipalProyect\system.wi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Logitech G25 DirectInput
Does anybody knows about this problem My new Logitech G25 not work with DirectX SDK directinput samples. It says "no force feedback device found"... Please help ! Hi there, you got the solution to your problem just here http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1232887&SiteID=1 or at my blog: http://graphicdna.blogspot.com ...Show All
Visual C# Making a dialog wait
Hi! Im currently working on a project that relies heavily on user feedback. At certain times the program should prompt dialogs requesting information from the user. The problem I'm having is that currently the program doesn't wait for the feedback from the form. It just keeps prompting the same dialog over and over again giving the user no time to type in the answers. The dialogs are prompted at certain times if certain requirements are fulfulled. How can I make the programflow stop and wait for the feedback This is the code I use to prompt the dialog dlgFirstReminder . FirstReminderHandler func = delegate ( object sender, dlgFirstReminder . FirstReminderResult theResult) { theRes = theResult; }; dlgFirstRemi ...Show All
Visual Studio Code generation based on checked nodes within a treeview.
All WizardPages I have seen as examples use textboxes from which GAT extracts argument values, although I need a different approach. In a WizardPage I have a treeview with dynamic filled items. I would like to create class files for every item that has been selected. Later on I also want to create class properties for every sub-item that has been selected. Lets only tacle the class generation, and so take a list of animals as an example: -Cat -Mouse -Horse -.... In the Wizard, the user can select one or more items by using checkboxes. So if they select a Cat and Horse it would generate the classes: Class Cat { // Todo: Code to write manually } and Class Mouse { // Todo: Code to write manually } -- Is it possible to create a class file ...Show All
.NET Development Substring with regex??
This is a simple stripping MyString.substring(1,150); but I want to strip the first 150 chars and also any of the following characters if found in the first 150 chars: HTML tags carriage returns line feeds tabs Can this be done using regex and substring or just regex How can this be done CalvinR wrote: Starting point http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconCOMRegularExpressions.asp Language elements http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpgenref/html/cpconRegularExpressionsLanguageElements.asp Grouping http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpgenref/html/cpcongroupingconstructs.asp Hi Calvin, When ...Show All
