Joe Bilbro's Q&A profile
Windows Forms AutoToolboxPopulate not working
Hi One of the great things I liked when beta testing VS 2005 was the AutoToolboxPopulate feature that would populate a special tab in your solution toolbox whenever you create a new Control or Component. The feature seems to still be there (seen it in the Windows Forms Designer UI options tab) but it is not working properly. Whenever I build my app, the controls built in are not showing up in the toolbox. Is it related to the fact that I create simple classes files instead of custom control files (which at the end are just source code files) Thanks Amadrias I received a response from Microsoft the other day ...Show All
Visual Studio Team System Unable to Debug with HostType and UrlToTest attributes in VSTS?
Hi, I am unable to debut UnitTest project with HostType and UrlToTest attributes.Here are the details. I have created a new Web Site application using Visual Studio 2005. I selected an empty website application and added MasterPage.master and content page(Default.aspx). I selected a file system option while creating the web site and my web application’s(ASPTDDWebApp) physical location is “C:\Anjaneya\Work\ASPTDDWebApp” I have created a Test project called ASPTDDUnitTestProj and it physical location is “C:\Anjaneya\Work\ASPTDDWebApp\ASPTDDUnitTestProj\” This is my solution explorer screen shot Note: ...Show All
Windows Forms Embedding Windows Explorer...
Hello Everyone, I'm having some difficulty. In order to make my application more user firendly, I want to try and embed windows explorer into my application, with the full tree structure shown. I know how to set up the splitter control and everything, but I don't know how to import the file tree. Any help would be greatly appreciated. We plan to do any coding in C#, if that matters. Thank you all in advance. ...Show All
Visual Studio VSS checkins take an hour over a domain
Hi all, I have lately joined a domain at my work to program against Active Directory. Most of our machines are not on the domain yet, and our VSS machine isnt. Since I have had to access the VSS machine from within our domain, checkins have been taking up to an hour or thereabouts, and quite often I get a 'Invalid handle' error. The files do get checked in in the end, but it is causing me immense pain. I have tried checking in from both vs2005 beta 2, and vss 6 (I was using the new beta vss, but gave up on that quickly), both give me these errors. Does anyone perhaps know what the problem is, and what the solution may be Thanks in advance, ...Show All
Visual C++ why can't I use the socket
I use the .net2003 IDE, and make a MFC app project without socket support. but, now I want to use network for some reasons, and I include the winsock2.h file and compile the project successful, but when running, I can't get a valid socket, why how to resolve it The question is not complete , could you please explaing more BTW, did you call WSAStartup(), if yes, is it successfull . If not add this call on InitInstance of you application and WSACleanup() on ExitInstance(), and you can call the Winsock function socket with appro. parameters anywhere in you app. Thanks, Krishnaraj Varma ...Show All
Windows Forms What is the best way to Load/Store Form Location and Size?
Hello, What is the best way to Load/Store Form Location and Size Also what it the best method for Load/Store of other elements on a form such as a MenuStrip and ToolStrip when that are placed in a ToolStripContainer Thank you for your help, Your options are the registry, and a config file ( but the Microsoft config file stuff does not support writing ). I think it depends on how much there is, officially, you should use a config file. ...Show All
SQL Server SQL Sever 2005 only has client side?
Why I couldn't find any datebase engine setup SQL Server 2005 Developer Windows xp You're going to have to give us more to go on here. You're saying that you installed Dev edition on XP, and the engine isn't there Take a look at the install logs, located at %Program Files%Microsoft SQL Server\90\Setup Bootstrap\LOG and below, and see if any errors are reported for the engine. ...Show All
.NET Development WINDOWS service
I have developed a windows service . I want to run it every Tuesday at 2AM(even when the clocks are turned an hour back or forward) . I have added a timer control . I know I can assign value to the interval property. My concern is it takes value in milliseconds . Is there a better way do acomplish this Thanks in advance You can also create a standard EXE (that is not a Windows Service) and schedule the process using the AT command. If you want to keep on the service with a timer, this is the correct way. Unfortunately there are three Timer classes in .Net one for System.Timer, another for System.Windows.Form ...Show All
Visual C++ complaint no. 3 SETUP IS AWFUL
the setup proceedures you folks have worked out for these Express editions is absolutely awful. i appreciate the free software, (smart move to release these tools, for obvious reasons). but i don't think its appropriate to provide such lame installation support even if you are being generous. ms should set an example ... ease of use, transparency of installation especially, is issue 1 in good software development. there are too many problems to detail, but a few off the top of my head.. generally disintegrated approach. broken up modules rather than one setup sheet to get everything in one package, with single integrated ...Show All
Microsoft ISV Community Center Forums How to remove Application members from the global namespace
Dear Support, We recently implement the Application.Left property to move the application main window similar to the Office Application.Left property. Afterwards we encounter the problem that the 'Left' and 'Left$' symbols now are resolved to the Application.Left property instead of to the VBA.Left and VBA.Left$ methods. I noticed that the Office '98 VBA implementation suffered from the same artifact. This has been fixed in later office versions. This must have been implemented by removing the Application.Left method from the global namespace symbol table or preventing it to be added in the first place. C ...Show All
.NET Development multiple query using single command object
hi, how to run multiple query using single command object only once. txs. ...Show All
Windows Forms Another stupid question "species name exists in universe"
When I try to introduce an animal I get the following error: "species name exists in universe. Please choose a new assembly name" How do I get around this problem That means someone else has introduced an organism with the same name. The assembly name is what Terrarium goes by, so simply go into your project properties and change&nb ...Show All
Windows Forms get value of checked item in checkedlistbox
Hi, I have a checkedlistbox. I am trying to get the value of all checked items, but cant really find any function that gets the value of checked item. how can I get it CLBDiscount is the checkedlistbox for(int i=0;i<CLBDiscount.CheckedItems.Count;i++) { _AListDelete.Add(CLBDiscount.CheckedItems[i].ToString()); } and this is how I am doing the databind CLBDiscount.DataSource = ArrayListDiscount CLBDiscou ...Show All
Visual Studio Express Editions How can I kill Selected process ?
Hello, this code get a list of runing processes : Process [] pArry = Process .GetProcesses(); foreach ( Process p in pArry) { string s = p.ProcessName; s = s.ToLower(); listBox1.Items.Add(p.ProcessName); } so how can I kill the selected processName from listBox1 Best Regards Try something like- Lets say the user clicked a listbox item and you get the name of the process.Lets say it is selectedProcess . Process [] pArry = Process .GetProcesses(); foreach ( Process p in pArry) { string s = p.ProcessName; if(s == selectedProcess) { p.Kill(); break; } ...Show All
Visual Basic MS Project 2003 / VB .net 2003
Hi! I want to connect to a MS Project file (*.mpp) through the Microsoft Project 11.0 OLE DB Provider to read/write to the *.mpp file. When I try to setup the connection it asks for the datasource. I don't know what to put in there. The filename/path doesn't work. Tried everything! I've managed to connect through the some random code in an htm file in Project's program folder, but it doesnt server my purpose. I need to create data adapters etc for the data from the *.mpp file. Thx guys W ...Show All
