d00d's Q&A profile
Windows Forms Best way to create a multi language application?
I am looking to develop an application that can be used by an english speaking user or a spanish speaking user. What is the best way to do this Does .Net 2.0 already have this capability Thanks. Hi, Could you please check the below link. Hope this might be of some help. Link: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=75214&SiteID=1 Thank you, Bhanu. ...Show All
Windows Forms Web "color picker"
I am working on an application in VS2005, using a VB type project. I have been playing around a little bit with the Color Dialog control but it doesn't quite do what I need. I want to allow the users the ability to change some of the colors used for various things, and I would like to restrict the choices to those available within the "WebPalette" side of things. But I need to restrict it further because I don't want to allow for the selection of "light" colors because the areas that they can work with all have a white background. Therefore choosing something like "white" for the text color would be disasterous and comical at the same time. I would like to create a "list"... similar to that one ...Show All
Software Development for Windows Vista Custom/Preconfigured StateActivity
DI am trying to create a custom StateActivity. This activity should have a default StateInitializationActivity and three predefined EventDrivenActivities. (The state represents a page in a workflow driven wizard-like dialogue. The EventActivites are BackButtonClicked, NextButtonClicked and CancelClicked. I realy do not want the user to have to assemble all nessesary activities for each page on its own. Especially if only few properties of the state are of interest for him (template to use, parameters to pass and next state depending on the button clicked). I use the CreateComponentsCore function of my own derived ActivityToolboxItem class to create the SubActivites of my custom StateActivty. So far anything is working just fine. But ...Show All
SQL Server Cannot Access Report Manager
I have just installed Reporting Services on a 2 server web farm. I can access http://virtualserver/reportserver but when I try to access http://virtualserver/reports , I get the following: The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. Review the existence of the virtual directory "reports" using your IIS Administrator. If this already exists will be that it does not have a correct configuration. If this virtual directory does not exists, you can configure it using the Reporting Services Configuration , (Start > All Programs > Microsoft Visual Studio 2005 > Configuration tools > Reporting Services Configuration). A intuiti ...Show All
Visual Studio Trapping Ascii keypress events.
Hi, I want to handle Ascii key press events in my .Net 2003 plug in. I am able to trap arrow key press events but could not trap the same for ascii keys. There is only one linechange event in text editor, but what if one insert data in the same line.This will not raise any event. Is there any other way to do this. Kindly help me out please. Thanks and regards, Ruhina Parveen. Hi, At least using add-ins or the EnvDTE namespace, there is no way to trap keypress events using VS.NET 2003. VS 2005 introduced EnvDTE80 which provides a new event for that purpose. ...Show All
.NET Development System.Net.WebException
I'm using the following function to try to determine how long it takes for a file to download from a webserver. private void btnDownload_Click(object sender, System.EventArgs e) { //**************************************************** Uri uri = new Uri(" http://cslibrary.stanford.edu/107/UnixProgrammingTools.pdf#search=%22unix%20filetype%3Apdf%22 "); System.Net.WebRequest wr = System.Net.HttpWebRequest.Create(uri); System.IO.Stream stream = wr.GetResponse().GetResponseStream(); int b; int counter=0; string strResult = string.Empty; DateTime BeforeDlTime = DateTime.Now; while ((b=stream.ReadByte())!=-1) { strResult += System.Text.UTF7Encoding.UTF7.GetString(new byte[] { (byte)b },0,1); ...Show All
Software Development for Windows Vista Installation of Setup Analysis tool in Vista
How to install SAT in Vista RTM It is asking for the location and filename for the installation control file. what is it Hi VikasAgr , Final version of ACT is available now. You can download from http://www.microsoft.com/downloads/details.aspx FamilyID=24da89e9-b581-47b0-b45e-492dd6da2971&displaylang=en . SAT is not supported on Window Vista, so that you can not install SAT on Vista. SAT is now GUI mode there fore you will not hite any problem to installe. You are using beta version ACT. In this case you need to do following steps to install SAT. 1. Create a Control directory in netwirk share. 2. Create ICF.txt file in Control folder. Now give your share location \\<machinename>\<sharefolder > and c ...Show All
Visual Basic two question??
Whats the difference between CType() and DirectCast() also what is the difference between Dim val As Integer and Dim val as Int32 To quote MSDN on the subject of CType() vs DirectCast(): DirectCast does not use the Visual Basic run-time helper routines for conversion, so it can provide somewhat better performance than CType when converting to and from data type Object. As for Integer vs Int32... Integer is nothing but a language keyword that acts as a shortcut to Int32 which is used completely behind the scenes. While it may seem redundant to define two different names for the same value, this enabled a programmer to use legacy code and keywords without having to learn all of the newness of .NET all at once. ...Show All
SQL Server SQL Server Express SP1 Setup Changes
The just released SP1 version of SQL Server Express has a file name of sqlexpr.exe. The previous setup file was named sqlexpr32.exe. Why would Microsoft change the file name Anyway, the file name change obviously breaks the file name that is coded in the bootstrapper package.xml file. Also, the link address will need to change (I suppose Microsoft couldn't just put a new version at the same link with the same file name so that everything would just keep working ) Is there a revised package.xml file we can use If not, do we use the same publickey Are the necessary changes documented anywhere Thanks Russ Stevens Mike, <<As I mentioned in my post, you can't get a copy of the SP1 s ...Show All
Visual Studio Tools for Office Remove Applications Distributed with Access 2003 Developer Extensions (Lost CD)
I have developed an application in access for one of my clients. I used the Access 2003 Developer Extensions to package and distribute a runtime version. He lost his install cd and now he can not uninstall the application. When he tries to go through the control panel it is asking him for the cd. I tried sending him a new cd but that did not work. Is there a clean way for him to uninstall Thanks in advance for your help. I'm afraid that this is the wrong forum for this type of question. The Visual Studio Tools for Office forum is for the discussion of issues involving custom solutions for Word and Excel created using Visual Studio. For Access questions, you will want to post your question to the Office discussion groups found ...Show All
Visual Studio Team System Just installed Team Server Trial -- I think...
After fits and starts I believe I got everything installed on a virtual server. So I have only two questions: 1. Where is it Nothing was added to my Start/Programs. Files are on the hard drive. It looks like everything's there. What do I run to administer TS 2. Can VS Professional Edition use TS as a replacement for SourceSafe and ignore the rest of TS Or is an upgrade to VS required Is TS's source control that much better that SS's Thanks. JerryR I would say the answer is a, b, and c, but I'm a bit biased. :-) All developers accessing TFS will need a CAL (client access license). You can install Team Explorer to get integration in VS 2005 Pro. For earlier versions of VS, you would need to use the ...Show All
Visual Studio Express Editions downloading help, needed. -new user- cant understand, why it is not working??__--
HELP i have been trying to download visual C++, from http://msdn.microsoft.com/vstudio/express/visualc/download/ i download the setup, it takes me through the agreement, then asks what i wish to download,i choose the first [full] option. it the goes to a downloading screen, in bracets it reads, [connection attempt 1/5] After it has used up all 5 of the connection attempts, it moves to the ending screen,with the not. telling me that it was unable to download, and i get an error report, i have coppied it. and place it below. EventType : visualstudio8setup P1 : 10860 P2 : 8.0.50727.42_rtm_x86_ixpP3 : gen P4 : inst P5 : f P6 : dlmgr_bitserror P7 : -2145844845P8 : 0 P9 : runtofinish()_failed to retrie ...Show All
Visual FoxPro Imagelist control
I want to add the imagelist control to the treeview control(ocx) but I keep getting a message that I have to initialize the imagelist control first. How is this done The treeview works fine. Both ocx controls are dropped on the form but I have been consistently getting the error. Appreciate the help. >What is the website Dave's site is at: http://www.geocities.com/df_foxpro/ ...Show All
Smart Device Development Who has a PPC-6700 Sprint AudioVox Mobile 5 (Can I use GPS?)
I have the Sprint AudioVox PPC-6700 and I know that it has the built in GPS chipset but everywhere that I search I can not find out how to actually access the API. There are a few of the GPS API references throughout msdn & msdn2 but none have an actual walk through. It is very easy to access the phone API's and contact lists/appointments and whatnot but the GPS is not to be found. As far as the GPS is conserned one could argue that it isn't ment to be programmed or something but the fact is that in all documentation it says that e911 can use the gps and also applications that need your location (such as movie times or resteraunts in your location). I really need to find out how to manage this out even with just a simple quord ...Show All
Visual Studio 2008 (Pre-release) I was wondering about automatic and not about explicit lazy loading.
While on the subject of loading foreign key references... Is there some mnemonic I can throw into the LINQ query to tell LINQ to Entities that I want to pre-fetch all of the type data because I want to filter on it When I do: var filteredQuery = from game in gamesDb.VideoGames where game.Type.Name == "Nintendo Wii" select game; foreach (VideoGames g2 in filteredQuery) Console.WriteLine("{0} : {1}", g2.Title, g2.Type.Name); That thing works fine, and I don't have to loop through and call TypeRef.Load() Is there something I can stuff in the query when I'm not using a where clause that will force the TypeRef to pre-fetch Daniel Simmons - MSFT wrote: This topic is one we have debated a ...Show All
