mix600's Q&A profile
Visual Studio Express Editions ButtonArray
I see that VB 2005 has a ButtonArray component in the Toolbox. Unfortunately, I've not been able to figure out how to use this component. I drag it out of the Toolbox, on to my form and it just sits there below the form. I'd appreciate some assistance on how to use this component to create an array of buttons. Thanks. Shakalama, The ButtonArray is not a standard component, but if you click Tools -> Choose Toolbox Items you will find i ...Show All
Windows Forms Refresh Designer at Design Time?
Hi, I’ve created a simple user control which resizes its height automatically according to the image size loaded by a user at design time. After loading the image my control resizes but the control selection area doesn’t resize automatically - only when I click on the control. My control also has a custom control designer which restricts the control user to set the user controls height at design time. ...Show All
Visual C++ why I can't use "cin" or "cout" when I making a 64bit program?
I built a simple program with VC++6.0 and Microsoft Platform SDK,the code is : #include <stdio.h> #include <iostream.h> int main() { int r; double mj; cout<<"put in r:"<<endl; cin>>r; mj=3.1415926*r*r; printf("mj is%d",mj); getchar(); return 0; } but I got an error message: libcimtd.lib(iostrini.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator ...Show All
Visual Studio Team System Custom Rules Development
Okay, okay so I know that any rules I write now will need to be re-written with the next release of Visual Studio, however I write (and maintain my own rules and now I'm stuck) .... I've been tasked to write a rule that checks for multiple return statements in methods, this is to help enforce the structured programming principle of methods having single entry/exit points that some of the junior developers consistently ignore. The probl ...Show All
Visual Studio Express Editions What is the current build of beta 2?
Hello, What is the current build of beta 2 I have beta2.050215-4400, is that the most recent one. Where in Microsoft site I can find numbers of latest builds, to be up to date Regards,ProJester. There has since been the release of the July CTP. You can see the latest version posted at http://lab.msdn.microsoft.com/vs2005/get/default.aspx on the right-hand side. ...Show All
.NET Development Delete from FTP server
Hi, I am trying to delete a file from a local ftp, using : FtpWebRequest request = (FtpWebRequest)WebRequest.Create(ftp://localhost/test.txt); request.Method = WebRequestMethods.Ftp.DeleteFile; FtpWebResponse response = (FtpWebResponse)request.GetResponse(); last line has an exception:{"The remote server returned an error: (550) File unavailable (e.g., file not found, no access)."} System.Exception {System.Net.WebException} what ...Show All
SQL Server Report Viewer/Explorer-WebPart missing under SharePoint v3+SQL Server 2005
Hello all, I'm new with SP v3 and the Reporting Services of SQL Server 2005. I did a prototyp report and show it with "SQL Reporting Services Report"-WebPart, but I can't find the WebParts Report Viewer and Explorer in the WebPart Gallery. Please, could somebody give me a clue where the problem could be, or how I could isolate the problem area. Cheers Marc Salut Marc, If you seach the ...Show All
Visual Studio Team System TF30321: The name you typed is already used for another team project
I had a project fail part way through creation (sharepoint timed out on creation for some reason) and it also failed to "back out" of creation properly. Now when I try to create a project with that same name I get error TF30321 "TF30321: The name you typeed is already used for another team project on the Team Foundation Server. Type a unique name for the new team project." I would have thought this was a big problem, but I had alread ...Show All
Visual Studio How to add solution items?
Hi, I'm new to this forum. I just wanted to ask for some help. Just got interested with the automation and extensibility functions of Visual Studio. I used the DTE and Solution objects for creating a solution and projects. Here are some of my questions. 1. How do you add solution items 2. How do you reference a project to another Lets say I wanted my Dal to be referenced in my BL. 3. How do you set a default namespace for a project ...Show All
Visual Basic Questions
I just started using VB 2005 (in VS 2005 Beta2) and have the following questions: 1. Is it possible to enable the Clipboard ring or is there an equivalent replacement 2. Is there any way to prevent task descriptions from using Word Wrap in the TaskList window 3. Does the Solution Configurations menu item exist in VS2005 (i.e., the ComboBox in the Standard menu bar that contains "Debug", "Release" and "Configuration Manager..." items) If ...Show All
SQL Server Copy Replication Publication Definition
Is there an easy way to copy a replication publication definition from one server to another In our environment we have a development environment, testing environment and soon a production environment. Right now keeping the replication definition between the development and testing environments is a manual process, are there tools that can do a diff on this or a way to keep this in sync For example when we change what information gets replica ...Show All
Windows Forms Constructor on type 'Inherited.Controlname' not found.
I am getting a following desing time error on my user control. Constructor on type 'Inherited.Controlname' not found. I have already tried puting a empty constructor on the base control but it didnt work ErrorDetials ___________________________ Hide at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) ...Show All
Windows Forms Deployment Issues (Major Headache)
Can someone please help me to fix this issue I'm having in launching a setup package for my application. When I attempt to build my setup files I get the following error message: "An Error Occurred While Validating HRESULT = '80040155'" Has&nb ...Show All
Visual Basic Upgrade problem
I have a VB.Net application that upgraded from VB.Net 2003 to 2005. This application has a calculation that is now running very slow. It is the same code except now it is in VB.Net 2005. Does anyone have any ideas why this would run slowly Give us an idea of what you're calculating. Post some code if possible. ...Show All
Visual Basic Issues in converting a usercontrol project from VB 6.0 to VB 2005
Hi, I'm converting a VB 6.0 project to VB 2005. There are few issues, where i got stuck up. They are 1. 'Ambient' is not a member of 'System.Windows.Forms.UserControl' This is the code that gives this error. If (mbHasFocus Or MyBase.Ambient.DisplayAsDefault) And m_Style <> 0 Then 2. AmbientProperties property Ambient.Font was not upgraded. Ambient.Font is not recognised. How to get his issue resolved 3. UserControl property ...Show All
