MF Newbie's Q&A profile
Visual Studio Team System Project Alerts for Work Items Assigned to you
Is there anyway we can create a project alert to alert users whenever a new work item has been assigned to them Thanks, Maggie See here to fix empty subject line problem: http://blogs.msdn.com/jefflu/archive/2006/08/02/686268.aspx ...Show All
Internet Explorer Development Css not applying.
i am creating a text area (multi line text box) but its not applying css to it..... any ideas 2ndly i have created a required field validator dynamically and applying the css on it but it is still showing error in default red color. for record css is applying on all other controls on the page. I have this too. The problem is that the asp:RequiredFieldValidator outputs style="color:Red" and so it overrides any color you may have in your CSS. eg. < style type ="text/css"> .errorText { color: green; } < /style > <span id="ctl00_cphBody_RequiredFieldValidator" class="errorText" style="color:Red;">* Required</span> I see why this is a problem but don't know how to fix it.... We nee ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3D on Xbox360 using XNA
I've read the forums a couple times, and I'm still confused on this one. Can I use the DirectX libraries if I want my game to run on Xbox360 If so do I need to stick with a certain build of DirectX I'm just starting to build up my game engine now, and DirectX is making all of it much easier. I hate 3D graphics programming, but I love game programming. But I don't want to keep going down that road if its a dead end. Thanks to everyone in advance XNA is built on top of DirectX, and includes a lot of directx functionality, so I don't see why you're using non-xna directx. You should try to use the XNA libraries for the xbox, because that's what they were designed for. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. F14 XNA Game with Full Source
Well here it is. I finally got my first game into a releasable state. Screenshot, video, and full source available after the jump. http://aroganworld.blogspot.com/2006/09/f14-xna-game.html I couldn't have done it without the great help from this forum (and all those xna sites). Let me know what you think. Yeah let me know if you have any issues. I did d/l the zip, unzipped it to a new directory, compiled and did a test run so I think it should work. Also, I just remembered I forgot to hook in the game over voice clip. Oops. It's in the sound bank, I just forgot to trigger it so I'll probably update the zip tonight when I get home. It was a late night last night. Damn you Microsoft for making this time si ...Show All
Visual Basic i need to parse a resume which is in .doc format and extract
i need to parse a resume which is in .doc format and extract email id phone no name age dob ect can any one help me I guess one way is: Imports Microsoft.office.interop.word Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim strFileName As String Dim i As Integer Dim word As New Microsoft.Office.Interop.Word.Application Dim doc As Microsoft.Office.Interop.Word.Document Try doc = word.Documents.Open("c:\test.doc") doc.Activate() For i = 1 To doc.Words.Count - 1 If Trim(doc.Words.Item(i).Text) = "Searchword" Then MsgBox(Trim(doc.Words.Item(i).Text)) End If ...Show All
Windows Forms How do I create a backshadow of a line of text
I've been asked to create a drop shadow effect of a line of text on a form. When I was coding VB 6.0, this was easy as I would create twoi labels and set one to transparent and drop the other behind the first. When the app ran, a drop-shadow effect would be apparent. But I'm having fits trying that in V.S. 2005. I've set the forms Transperancy Key to a color and set the label back color to the same color but what I got for that was being able to see the desktop! And setting the top label back color to transperant apparently does not work either, unless there was something else I failed to do Is there a way of doing this or will I have to convince the user that this is no longer possible Thanks; Rhubarb I will still sugg ...Show All
SQL Server Obtain machine name from Sql server instance name
does any one know how to get the machine name in the LAN by reading the SQL server instance name installed on it You can obtain the machine name using the system function SERVERPROPERTY('MachineName'). Using SMO, you can find the same using Server.Information.NetName . Thanks, Kuntal ...Show All
Visual C# XML newbie
I am trying to read all the values under Genre_Country and Genre_Funk. To loop thru each genre...and get the Title and url. Driving me nuts.... < Radio > < Genre_Country > Country </ Genre_Country > < Title > .977 The Kickin' Country Channel </ Title > < url > http://64.236.34.4:80/stream/1075 </ url > < Title > 1.FM - Country </ Title > < url > http://64.62.194.11:8020 </ url > < Title > .977 The Kickin' Country Channel </ Title > < url > http://205.188.215.230:8000 </ url > < ...Show All
SQL Server Store FILES in SQL Express 2005 with VB.NET
Hi, I'm a beginner with VB.NET and SQL and I would like to store files (like Images, Document...) in a Table of SQL but I have no idea how to do it. This is my connection string, and examples of how I do queries, please help me... Private cn As New SqlClient.SqlConnection Private cn2 As New SqlClient.SqlCommand cn.ConnectionString = stringa cn.Open() cn2 .Connection = cncn2 CommandType = CommandType.Text Dim ESEGUI As String cn2 .CommandText = "INSERT INTO users (nickname) values ('Paolo') ESEGUI = cn2 .ExecuteNonQuery() Dim oDr As SqlClient.SqlDataReader cn2 .CommandText = "SELECT * FROM users WHERE Nickname like 'Paolo '" oDr = cn2 .ExecuteRe ...Show All
Visual Studio Express Editions Group delimiters are not balanced
I was looking for a quick and dirty way of making an OpenFileDialog show thumbnails. Using the keyboard Five tabs, four Downs and an Enter seemed to do the trick so I thought I would use SendKeys (from a timer to overcome the fact that the dialog is modal) - I said it was dirty but it's only for my own use. The tabs work fine but sending a down key results in the error message of the title. At which point I gave up - anyone any ideas. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Timer1.Start() OFD1.ShowDialog() End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick Static count As Integer ...Show All
Visual Basic Returning the current opened form
Hi guys I have a lot of forms opened one at a time by users Which function can I use to determine the current form with focus. you could use Application.OpenForms() and see which one has focus: for each currentForm as Form in Application.OpenForms if currentForm.Focused then 'do your thing end if next the problem you are going to have is the fact that the current form will be focused anyway so you wouldnt gain much benefit from using the code above. Application.OpenForms returns an array of forms that are open. Perhaps you need to explain a bit more on what you are trying to achieve so we can help you better ...Show All
Visual Studio Sample Code: Using subreports
using System; using System.Data; using System.Windows.Forms; using Microsoft.Reporting.WinForms; public class Demo : Form { private DataTable orderDetailsData = null; private DataTable LoadOrdersData() { // Load data from XML file DataSet dataSet = new DataSet(); dataSet.ReadXml("OrderData.xml"); return dataSet.Tables[0]; } private DataTable LoadOrderDetailsData() { // Load data from XML file   ...Show All
.NET Development Error in Web Service
hello , I have a Web service retrive dataset and some methods my application connect to Web Service and retrive the data From Web Service But after 5 minutes the application raise exception and if I call my Web Service again from internet explorer it gives me this Execption System.Data.SqlClient.SqlException: A transport-level error has occurred when sending the request to the server. (provider: Shared Memory Provider, error: 0 - Shared Memory Provider: ) at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception ...Show All
Windows Forms How is {Name} property handled in designer?
I have some strange things happening with my controls concerning the Name property. I have a custom user controls in a custom forms designer. If I change the {Name} property of my user control through a Property Grid control, it doesn't call the set method of the UserControls Name property. The name is set, because the Property Grid recognizes the new name, but if I reference the controls overridden Name property , it still holds the old name. It is causing me major problems. It is really strange. Here is what I'm seeing. This method removes a control that I have from an internal array. It is called by the Change service when a component is removed. public void RemoveControlFromControlArray( DisplayObjBase dob) { ...Show All
Visual C++ VC8 LoadLibrary access violation
I am doing load library but getting access violation CString strModule(_T( "MyWatch.dll" )); HINSTANCE hModule = ::AfxLoadLibrary(strModule); DWORD dwErr = ::GetLastError(); //998 Access violation in one of the dependent module but when I preload them like HMODULE hModule0 = ::LoadLibrary(_T( "gadgetd.dll" )); HMODULE hModule1 = ::LoadLibrary(_T( "gridd.dll" )); HMODULE hModule2 = ::LoadLibrary(_T( "Mylib3_2d.dll" )); HMODULE hModule3 = ::LoadLibrary(_T( "Myclient3_2d.dll" )); HMODULE hModule4 = ::LoadLibrary(_T( "ot900asd.DLL" )); I am getting access violation in my module MyWatch CString strModule(_T( "MyWatch.dll" )); HI ...Show All
