Elie Rodrigue's Q&A profile
Visual Studio 2008 (Pre-release) Making a custom menu like Vista's Photo Gallery
I like the way that Photo Gallery, Media Player and Movie Maker have a black bar at the top with drop down buttons, and I have managed to emulate the bar itself, but not the buttons... I am hoping someone here can tell me how this is meant to be done Do I just create a rectangle and make it act like a button - OR - is there a preset way to do this I've almost completed it. I have the bar (looks identicle) and the button style is pretty-much finished. I just need to set the button as a resource... not as easy as I thought it was. Email me sometime and I'll give you the code. (my nick + @ hotmail . com) ...Show All
Visual Studio Tools for Office Reading Excel From C#
You can read data from Excel using the JET OLEDB provider. See the URL below for the necessary connection string, and a link to a KB article with further information ... http://www.carlprothman.net/Default.aspx tabid=87#OLEDBProviderForMicrosoftJetExcel -- Brendan Reynolds wrote in message news:9226766e-a1d5-400c-8d3c-8ffc566bec50@discussions.microsoft.com... > Hi > > Can anyone help me how to read values in Excel in C# . So that Once I > read I can send them to DataBase. My excel file Test.xls in ("C:\") > > Thanks > Doss > "To prevent possible loss of data, Microsoft Office Excel cannot shift nonblank cells off the worksheet. Try to locate the last nonblank c ...Show All
Visual Studio Team System Issues getting the build results test count correct.
I'm running a build and using a Summary Result File for passing results back. The issue I'm having is that the count appears incorrectly in that the SummaryResult appears to be considered a test along with each individual innerTest. In my opinion this would meant that I would need to record one of my tests at this top level and attach all other variations as innerTests. Is this the intended usage or am I missing something as there appears to be limited documentation on the summary results file. Thanks in comments or help on the subject, Ty Hello, We understand your concern with this issue, but this is something that we intended this way, since we view these kinds of scenarios as a test t ...Show All
Visual Studio 2008 (Pre-release) WPF equivalent for windows forms button.ClientRectangle()
I would like to find out if there is a WPF equivalent for a windows forms button.ClientRectangle() method. Or if anyone knows how to determine whether a given point is inside a WPF button or not or simply how to get a button’s location in WPF If A Button is inside an panel say Grid, then you can use this method to get the location of the Button: Point currentPosition = btnChild.TransformToAncestor(panel).Transform(new Point(0, 0)); and if you wanna get the bounds of the Button, you can do this: Rect rect = VisualTreeHelper. GetDescendantBounds (btnChild); Sheva ...Show All
SQL Server Full-Text Crawl Error in logs
Hello I get tons of errors of this type. Are the error-code (x14b) documented I've checked a couple of rows but don't find what could be wrong. I'm running sql 2005 with sp1, noise-word files are empty, index has many columns which are in different languages. Thanks for any support Extract from log 2006-12-20 22:52:51.53 spid20s Error '0xc000014b' occurred during full-text index population for table or indexed view '[shab001].[dbo].[TSH_SHABDATA]' (table or indexed view ID '917578307', database ID '5'), full-text key value 0x00000000001E7E42. Attempt will be made to reindex it. 2006-12-20 22:52:51.53 spid20s The component 'MSFTE.DLL' reported error while indexing. Component path 'C:\Programme\Microsoft SQL Server\MS ...Show All
Visual Studio Tools for Office VSTO2005SE
I have a VS2005 Prof project I built for Office 2007 using VSTO2005SE that modifies the ribbon yet I cannot get the callback from a button to call the sub I have created for it. I suspect That I installed something wrong. I discovered a web site with pretty clear instructions (for this mere mortal) http://msdn2.microsoft.com/en-us/library/ms406046.aspx . I descided to start over with a new project - paying careful attention to instructions provided. Now things are more strange I cannot find Microsoft.office.interop.word in "add references" anywhere. At least not by that name. My previously mentioned project shows the dll in reference but I have no idea how I got it there. I could use some help on how to make this available. ...Show All
Software Development for Windows Vista CFileDialog in Windows Vista
I developed a C++ program in Visual Studio 2005 w/c was compiled in a Windows XP OS. The application works properly, except that I noticed that the Open Dialog UI (CFileDialog) is different when run in Windows Vista. In WinXP, the "Files of Type" Combo box displays all the selections when the pull down button is clicked. On the other hand, in WindowsVista, the combo box only displays the 1st selection even if you click the pull down button. But when you press the down arrow key in your keyboard, the other selections will be displayed one by one (e.g. All Files (*.*) ). This issue occurs when there are only 2 File types selection in the combo box. I also noticed that in Windows Vista, when there are more than 2 File types ...Show All
Microsoft ISV Community Center Forums How can I give my own Error handling a higher priority
Hello everyone, i want to give the user of my program some hints when an error occurs. I tried to create an active Error handling (Code below). But Visio always opens its own typical window instead of doing the actions I want it to do. Is there any reason why <code> On Error goto Error_Handle 'Some Code including: Err.Raise(6) Err_Handle: 'Some actions </code> thanks :) ...Show All
SQL Server Flat file processing dilemma
Hello, How do I import data from a text file into columns (DB_table) that I have created in SQL server 2005 Data in text file does not have any commas, semicolons, or spaces in between them. Each instance in the text file consists of 109 characters (real numbers). I also know that first 4 numbers go in particular field, next 4 go in another field, and next 6 are particular field, and so on. I also have created columns in a table respectively. Sure, you can write code to parse the string based on the defined field lengths. However, it's a lot easier to just use SSIS, in my opinion. ...Show All
Microsoft ISV Community Center Forums Order by in select statement not working
Hi there - i have a select statement that runs on form load that allows selection of appropriate company names from a combo box based on if the user is the owner of a company, which works great, syntax is below; Me.companyname.RowSource = "SELECT [companyname] FROM [qryactivity] WHERE [active] = Yes AND [leadofficer] ='" & loginname & "'" However i want to sort them alphabetically by name but cannot get it to work, i keep getting syntax errors, i have added the following code but it does not like it: Me.companyname.RowSource = "SELECT [companyname] FROM [qryactivity] ORDER BY [companyname]ASC WHERE [active] = Yes AND [leadofficer] ='" & loginname & "'" any help would be greatly appreciated. Rhys. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to get Angle from Thumbstick?
Is there a way to get the angle from the thumbsticks of a XBOX360 controller If up return 0, right 90, down 180, left 270. this is how I crudely did it: if (currentGamePadState.ThumbSticks.Right.X != 0 || currentGamePadState.ThumbSticks.Right.Y != 0) { if (projectileTime == 0) { Vector2 vel = new Vector2(400, 0); float rad = 0; if (currentGamePadState.ThumbSticks.Right.Y == 0) { if (currentGamePadState.ThumbSticks.Right.X > 0) { vel = new Vector2(400, 0); } else { vel = new Vector2(-400, 0); } } else if (currentGamePadState.ThumbSticks.Right.X == 0) ...Show All
Windows Forms Set Datetime Value - Datepicker
Hi, I have a datetimepicker control, that when I define a value to save in the datebase it's save correctly, but when I get result to set to the control, it does not shows the value that I selected but the default value ! I've already get the value that is query from the database and it's getting correctly in datetime type How can I solve it Thanks (PS: Sorry for my english) Yes, I accessed it manually, and its ok,.....If it was wrong it will also appear in the messagebox.... Do you have MSN I can share my desktop with you so you can see it.... ...Show All
SQL Server UK Datetime parameter problem SQL 2005 RS
Hi, I am having a problem with the DateTime parameter option in SQL 2005 reporting services. Note that Server, workstation and database are set to British/English (UK) date/time localisation (dd/MM/yyyy) for example 25 th December 2005=25/12/2005. I create a simple query with a parameter on a datetime column and set the report parameter to Data type: DateTime in the report parameters dialog. On preview or after deployment the following behaviour is observed. Selecting 1st February 2006 in the datetime picker control populates the date parameter entry field with 01/02/2006 = 1st February 2006 (the correct UK format as expected) When View Report is clicked the datetime parameter field ...Show All
Windows Live Developer Forums Make a 'sticky' blog post
Is there a way to make a blog post 'sticky' Basically, I'd like to have a module that comes after the Title and Tagline, but before the most recent blog post, and have it remain static in that location with some introductory text or whatever. I've tried using the Tagline itself, but there doesn't seem to be a way to enter a line or paragraph break. I also tried using other modules to simulate what I'm after, but the format for those modules (Custom List and Profile, btw) don't really cut it. Any ideas for a hack of some kind Or possibly an additional checkbox in the edit section to make the selected blog post always be the first post Cool. I just found the HTML Sandbox Gadget . That'll work for now. ...Show All
Visual Studio Express Editions how to make a detailed view?
how to make a detailed view interacting with the database...to move to the nextdata or back to it's previous data Hello pinoyz I can write the answer or put a link to a video which explains the thng you need....but its already done...so heres the link to the video http://msdn.microsoft.com/vstudio/express/vwd/learning/ go to that page and download the video of 7th lesson..which is exactly what you want.its about 21.7MB have a nice day ...Show All
