Jeffrey Harmon's Q&A profile
Smart Device Development Selecting items in Listview
I am trying to select items in a listview. The Listview is enabled but when I add "msgbox "hello" into the "click" event of the listview nothing happens The listview is enabled, just can't understand it I also need to get the selected "text" from the item that is "clicked", how is this done Thanks is advance. I find that using the ItemActivate is the best way as no SelectedIndexChanged event is trigged when you select the same Item as the currently selected Item in the ListView. ...Show All
Visual Studio Express Editions about dbase path in a connectionstring!?
hi there i have a problem regarding dbase path (i used dbase wizard) where can i find it because dbase wizard is the easiest and fastest the connect to the dbase and u can choose either detailed or gridview....but my problem is where can i edit the dbase path (C:\Windows\dbase\mydbase.mdb) because when i install my program to another PC the path of dbase was in (C:\windows\dbase\mydbase.mdb) i want is to share a folder in my PC(where my dbase is) and change the dbase path of my program and so that when i install it again to another PC(s) they can acces to my dbase ( \\mypc\dbase\mydbase.mdb )... or there is any way to bound the items of the database thru textboxes, rich textbox, masked textbox, and combobox.....using code There a ...Show All
SQL Server Accessing processing information
Hi, We need to access some of the processing information that are displayed when processing from BIDS. Is there any way to access this info send it to the event viewer (or anywhere) when processing a cube from the command-line I would like to see: Processing start and end date Error information if any what are the dimensions/cubes processed How many records were processed TIA, Aiwa Take a look at the ascmd utility that gives you ability to send processing commands and capture processing events in a log file. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
SQL Server Running value
Hi In my report I have the total column,under the total i have two sub fields:no , Row%and i have another column Cumulative total sub fields are no,***% For the Row % under total i write like this: =Round((Fields!Male.Value+Fields!Female.Value+Fields!Unknown.Value+Fields!Invalid.Value)/Sum(Fields!Male.Value+Fields!Female.Value+Fields!Unknown.Value+Fields!Invalid.Value)*100,2) For the *** % under cumulative total the expression is: =RunningValue((Fields!Male.Value+Fields!Female.Value+Fields!Unknown.Value+Fields!Invalid.Value)/Sum(Fields!Male.Value+Fields!Female.Value+Fields!Unknown.Value+Fields!Invalid.Value)*100, sum , "AgeByGender" ) But i am getting this error: The Value expression for the textbox '* ...Show All
Visual Studio Team System Connecting TFS Project on a Different Domain
Hi, I created a TFS project on a Server 2003 project on its local domain. By the way, the machine is not in the network domain. And, I tried to connect to that project from the network domain For example the username in the network name is Domain\ogulcank and i created a user in the computer as Computer\ogulcank with the same passwords But it did not see the TFS How can i get rid of this problem Any advice If the server is on a different domain and there is no trust relationship set up between them, then you will need to authenticate as a user on the server or the server's domain. When you try to connect to the server, it should prompt you with a login dialog asking for the user name and password. You will need to supply a valid user ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Saving Files
My game is now ready for 360 Super Stardom.. but i need to save high scores to make the replay value higher. Please could someone point me in the right direction of saving files and high scores Just write the values to a file with line feeds. The read it back line by line and add it to an array or vector. Remeber that you are free to use all the .net features of the other libraries. So just find you file handling library and use it. ...Show All
Smart Device Development Device Emulator Manager
Why can't I access device emulator manager (I have both 1.0 and 2.0 Beta) from the Tools menu of VS.NET 2005. I can launch them both as standalones when I go to the respective folders. I HAVE registered the dlls. Any help is appreciated. Which version of VS 2005 you are using Can you please try registering device emulator manager using "dvcemumanager /register" -Thanks, Mohit ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Game Programming is very Hard
I've been reading DirectX sdk tutorials and MDX tutorials and things like that, and it seems VERY VERY VERY hard. Will this new XNA studio and the documentation simplify this All these vectors and whatnot is very complicated and I'm having trouble understanding seemingly basic concepts in game programming in 3d. Geek Squad wrote: I've been reading DirectX sdk tutorials and MDX tutorials and things like that, and it seems VERY VERY VERY hard. Will this new XNA studio and the documentation simplify this All these vectors and whatnot is very complicated and I'm having trouble understanding seemingly basic concepts in game programming in 3d. Yup. I do recall saying that pretty clearly on the DirectX 101 forums: http://f ...Show All
Windows Live Developer Forums Orange Icons in Live Search
I'm not very fond of the red pushpins but the orange markers look perfect! The orange markers appear in Live Search when you do a search for businesses. Does anyone know where I can find the image source Also, I remember reading threads on how to print numbers on the markers but I couldn't pull it up from Search. Can someone point me in the right direction Thanks! Jeff / Stuart, I've add the snippet to the VE WIKI: http://www.viavirtualearth.com/wiki/NumberedPushpins.ashx If there is more to add or correct please visit the page and click on edit (no login required - just have to have a few goes at a capthca control) Thanks John. ...Show All
Visual Studio How to: Add a rtf file to the report?
I'm making a sales contract with the report control, what I want to do is: each time the report is generated, it will import a rtf file ( for terms and conditions ) to the report and show it correctly with the report. Is there any way I can do this with the report control Thanks in advacne. Long The current version of ReportViewer does not support rich text. (i.e., no support for mixing fonts in a single textbox.) You will need to convert the rtf to plain text before feeding it to ReportViewer. You can apply a style to the textbox, but only one style per textbox. Support for rich text is planned for a future release. ...Show All
Visual Studio 2008 (Pre-release) XP domain controller acting as Kerberos KDC?
Hi, I read posts about configuring a Windows XP Prof. domain controller acting as a Kerberos KDC. Could you guide me how set this up I'd like to set up a test scencario with a client and a KDC on the same machine to achieve single sign-on fpr my applications. For me, this seems to be the easiest way... If that's not possible, how about running a KDC on a local machine and let a client contact it from the same machine Many thanks!!! I really appreciate any advice! Look a little more closely. The XP KDC is backed by Active Directory . You can certainly set up a non-AD KDC and plug custom code into WCF to talk to it, but that's purely an extensibility scenario. ...Show All
SQL Server Incremental updates query not working for proactive chaching
Hi all, I'm trying to set up Proactive caching on a large dimension with incremental updates. I have read all the info on MSDN and followed what seems like a straight forward process but am still having difficulties. I've enabled proactive caching on the dimension with the following settings... Update the cache when data changes: Silence Interval - 10 secs Silence Override - 10 mins Scheduled Polling: Polling Interval - 10 secs Enabled Incremental Updates - TRUE Polling Query; Select Max (DocumentKey) As MaxDocumentKey From DIMENSION_Documents Processing Query; Select DocumentKey, DocumentBaseTypeName, DocumentTypeNa ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Is there an easy way to generate a random color?
I was trying to generate a random color to be passed into the Sprite Batch Draw function to put a tint on the sprite being drawn. mSpriteBatch.Draw(mBackground, new Rectangle (0, 0, 1024, 768), mRandomColor); However, there doesn't appear to be any way to create a new color from RGB values for the XNA frameworks Color object. I had thought that I would be able to do something similar to how you would create a new color when using the System.Drawing dll. Color mRandomColor= Color.FromArgb ( ( random.Next ( 0 , 255 ) ) , ( random.Next ( 0 , 255 ) ) , ( random.Next ( 0 , 255 ) ) ) ; Is there an easy way that I'm just overlooking to achieve that same effect Actually, it's not generating a random number that I h ...Show All
Visual Studio Team System How can i fill into a drop down list all the Work Item of a specific type?
Hi to all, I would like to know if is possible to create a drop down list, in the form of my Custom Work Item, where are filled all the Work Item of a specific type, for example Milestone, without using Custom Control. Thank you. I have two type of Work Item in my project: "Main Activities" and "Detail Activities". In the Work Item "Detail Activities" I would like to have a drop down list where are filled all the existing "Main Activities" Work Item of my project. In this way I can choose the "Main Activities" to link with my "Detail Activities". Thank you. ...Show All
Visual Studio New MPLex and MPPG tools in latest VSIP SDK
First of all, thank you for finally integrating these important tools into the MPF world. I can finally (hopefully) bring my language tools out of the unmanaged world. I'm running into a few issues, and I couldn't find any documentation on them in the help files. First is that mppg doesn't seem to create an output file, it just spews text to the console. It could be that it is failing silently before it gets to the point where it is supposed to create a file. If I do mppg parser.y > parser.cs, then it spits out a mostly complete cs file. I'm not sure if that is supposed to work that way or not, but MPLex seems to spit out a file without the need for output redirection. So if I bring my parser.cs file into VS, and after I found the ...Show All
