vbjunkie's Q&A profile
SQL Server the database isn't working with the setup based deployment of the application
I deployed my application to my newly installed xp pro laptop The prerequisites are installed Now that I want to testdrive my database application I get this error: An attempt to attach an auto-named database file c:/program files........................\MyDB.mdf failed. A database with the same name exists, or specified file can not be opened, or it is located on UNC share. This is what I read in my app.config file; < connectionStrings > < add name = " MasterDetail.My.MySettings.MyDBConnectionString " connectionString = " Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\MyDB.mdf;Integrated Security=True;User Instance=True " providerName = " System.Data.SqlClient " /> < ...Show All
Windows Forms Checkboxes in ListView
I have set Checkboxes properties of the ListView on. When I check on checkboxes, checked items are high-lighted. But the first record is also high-lighted. How can I make it high-light only selected items, not including the first record Which properties have I set wrong Thanks for your assistance! PHUONG_LE You need to give more details about your ListView properties. To prevent the 1st item from being selected when the form displays, try this: private void Form1_Load(object sender, EventArgs e) { listView1.SelectedIndices.Clear(); } ...Show All
Windows Live Developer Forums Robot Question
I have started 50 robots in my robot service.When I will to start more(maybe 60 robots,70 robots and more) robots,my log service will receive the error ‘ Authentication failed ’ . I never heard of that one, so I guess it isn't an official platform right We can give you help for these 3 SDK's , not for unsupported ones... ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Plans for future XNA webcasts?
Just wondering if there were any official plans for webcasts One of the guys at the webcast that was done a couple weeks back said they'd like to do others. I guess we could see here what the community would like to see to determine what the interest would be. David Weller - MSFT wrote: ..and don't forget you get to see me at the end smack Rory upside the noggin for calling me "Dave Mitchell" LOL! I saw that. Now we know what you look like as well so you won't be able to hide from us at the next get together. ...Show All
Smart Device Development VS2003 to VS2005 conversion
I'm attempting to upgrade an application developed using VS 2003 for a device to VS 2005. When I open the application in VS2005 the conversion wizard runs and informs me that the conversion was OK. However on opening the forms the desigh and layout has been lost, the forms also have many additional properties, those of standard windows forms. Also in the project menu there's no indication that its a mobile device application. I tried starting a new project in VS2005 and importing the forms. This did n't work either. Its been suggested that deleting the .resx file associated with the form is the solution but I have found this to be only a partial solution as any data stored in the .resx file such as embedded images is lost. Does anybo ...Show All
Visual C++ _tmkDir
Hi, If I have two seperate threads creating the same directory using _tmkdir, is synchronization required If internally _tmkdir works by checking the existence of a dir and then creating it if it does not exist, then I was wondering about the condition where two invocations of the _tmkdir might conclude that the dir does not exist and might try to create the directory. Can anyone tell me what would happen. Thanks a lot, KarthikR ...Show All
Windows Live Developer Forums a href link in Bot activity window
Hi We have a provisioned BOT on MSN and now notice that any href link in the activity window with a target of "_blank" (i.e. outside of the activity window), does not work. Is this a limitation of our provisioning Thanks Riaan London You will need to have the "Windows" property to be true. Read the documentation for more info about the XML parameters. ...Show All
Visual Studio Team System Solution File, file format changed
It looks like the solution file format has changed from VS 2005 to VS 2005 Team Edition. This is despite that the format version is 9.00 in both versions. This is a rather big problem in our company because we're several developers working on the same solution. The solution file is under source control and changes ought to be merged between branches. This is, however, not feasible with this format change and a solution with 45 projects. Of course the best solution would be to use the same VS version. But what can we do until all have upgraded Whoops. "This is rather annoying when using the SCCM to trace which has been made " should be "This is rather annoying when using the SCCM to tr ...Show All
Visual C++ MFC .dll to Visual Studio 2005
Hi ! I have the application written in MFC C++ which includes .dll, and .lib. But, I need to update it to Visual Studio 2005.NET C#. Is there anyway that I can use .dll and .lib from the old application and import to the C# world I need an advice. Thank you. I am not exactly sure what did you mean by using bridge layer in C++/CLI (A CLR class libary project) . I am a new programmer if you would provide some tips and examples. ...Show All
Visual Studio Team System sqlservr.exe eating available resources during a loadtest
Whe I run a load test and have my storage type set to database I notice that the process sqlserv.exe starts using memory at an alarming rate. I just ran a test and notices that sqlservr.exe is using over 400,000 k of memory. If I set storage type to none I consume much less memory but am unable to view past results. This also prevents me from running with very many virtual user (can't run with more than 50 for ten minutes) for any amount of time. What can be done to fix this problem Chuck, This is the default behavior for SQL server and you might post on a SQL forum regarding ways to limit their memory usage. SQL will use available memory until the system tells it that it needs the memory for other pro ...Show All
Visual Studio 2008 (Pre-release) Is my old XBAP cached somewhere?
Since running from VS doesn't work, I'm launching the XBAP directly from the bin folder manually. This works *the first time* I run the XBAP, but if I change something in the solution and recompile, I still see the old XPAB in the browser. I've tried Clean and Rebuild the solution, and I've emptied IE's cache, but it's still the original file that is run. What to do TIA I can't load xbaps inside VS too... Somethimes it works, sometimes not. Often I get message that my compiled xbap-file not found - but I navigate through folders and it is there. I launch it manually. Sometimes I get another errors. But I can tell that launching xbaps from VS succed 1 from 10 times but it is ok when I do it manually ...Show All
Visual Basic create sql table in vb.net code
Hi, create a table in vb.net connect with sql server. i know create a sql table in sql server 2000. but i don't know vb.net using runtime create a table. pleasew help me. thanks Hi yes. create a table in an application written in VB.NET but not in a database. but store in sql server 2000 or 2005. ...Show All
Audio and Video Development Can XPath variables be used in <styling>
I wonder if the xpath variables can be used like : style:x="$style_x" in <styling> in .xmu , and style_x is from document.setXPathVariable("style_x","200px"); in .js . I know the xpath variable can be used in <timing> and <body>. Anybody can help me Thanks in advance. HI there Xpath variables are meant to be used only inside Xpath Expressions (that's why they are called Xpath Variables :) ). I guess at least pre-defined Xpath variables can be used in XMU (inside Xpath Expressions). Author can define her own Xpath Variables in a js file.I am not sure whether author-defined variables can be used in XMU ( inside Xpath Expressions). ...Show All
Gadgets WMP
I am trying to embed an mp3 file into a gadget and then play it using a windows media player. it seems to be not loading the file. when i context-click on the media player i get: Windows Media Player cannot play the file because the specified protocol is not supported. If you typed a URL in the Open URL dialog box, try using a different transport protocol (for example, "http:" or "rtsp:"). the protocol, of course, is x-gadget:// can anyone recommend how i might be able to accomplish this thanks, milton. clarification: i did not supply a protocol on the url parameter in the embedded object. i simply put the path to the filename within the gadget assembly, the same as i would for ...Show All
Visual Studio 2008 (Pre-release) How to enable Paging in RichTextBox
Hi, I am trying to load an rtf document into the RichTextBox, but one I have loaded the document I want to be able to navigate the document by using Page numbers. How can I do this, assuming the original rtf document had its page size set up to letter (8.5" / 11"). I tried using ScrollToVerticalOffset with multiples of 11*96 as parameter, but was not able to scroll to the correctposition. Thanks, G I am aware of that, but how to I implement it ... by maybe creating a custom RichTextBox control etc ... derive from RichTextBox control ...Show All
