double americano's Q&A profile
Windows Forms Getting the classes of a project at design time
Hi all I want to make a usercontrol that has a property that lists all the Classes of the project of the form where the usercontrol is placed on. I know how to create a custom StringConvertor and how to overload the GetStandardValues function, ...Show All
Visual FoxPro VFP linked server issue
We're using SQL Server for the majority of our applications, but our accounting package is still in VFP 8.0. I need to make some costing adjustements from our inventory program. I have linked the VFP database to SQL Server just fine and, using OPENQUERY, I can SELECT data without a hitch. Performing an UPDATE or INSERT, however, is a different story. I get the following error: "Server: Msg 7301, Level 16, State 2, Line 1 ...Show All
Visual Studio Express Editions formview datetime error
Hello, I am having the following problem. I have created a formview to edit information in a SQL Server 2K table. One of the fields is a date field. The data type is set to datetime and Null values are allowed. Whenever I try to update the information, I get the following stack error. Any help would be appreciated... Exception Details: System.FormatException: String was not recognized as a valid DateTime. Source Er ...Show All
Visual Studio 2008 (Pre-release) Mixed credentials: Username & Certificate
Greetings, Our services will be exposed on the Internet. Only specific partners applications should be able to have access to them. At the same time, the partners applications users will need to be authenticated & authorized by our services. We will use role-based security to authorize them. The reason why we need a double validation using a certificate for each application is because we don't want anybody on the internet to be able to qu ...Show All
Windows Forms Wizard creation
Hi, I need to create wizard but I don't know what is the best way to do it. I consider two ways: 1. Create few forms and simply swith between them during on each step of wizard. 2. Create master form that will switch panels of each wi ...Show All
Visual Studio Team System Common Rule Set
What I need to do is have all users in a group use the same set of rules. There are no custom rules, at least yet. But many rules have been turned off. We all want to easily share the same rule set. Do I need to use your procedure here to do that Seems like my scenario would be a very common thing to do and one which should be easily accomplished. Hi Andy, Right now there is no easy way to do this. There ...Show All
Visual C# Dynamic Controls and Events
Hi, I have a piece of code that adds controls to a form at run time based on the number of images that I have in an image list: for ( int i2=0; i2 < il.Images.Count; i2++) { pb2 = new PictureBox(); thumbWidth = (il.Images[i2].Height/il.Images[i2].Width) * thumbHeight; pb2.Size = new Size(( int )thumbWidth,( int )thumbHeight); pb2.SizeMode = PictureBoxSizeMode.StretchImage; pb2.Image = il.Images[i2]; pb2.Name = i2.ToString ...Show All
Smart Device Development VS 2005 PocketPC Cab File Creation
I am using the Visual Studio 2005 Beta. I am trying to figure out how to create a cab file for deployment. The old option to "Build a cab file" from VS 2003 doesn't seem to exist in VS 2005. If anyone can assist me, I would appreciate it very much. Thank you. Does the service pack for VS2005 fix the 262 file limit in Smart Device CAB files that exists now ...Show All
SQL Server Deploying Jet OleDb Provider
If I'm posting to the wrong forum, please correct me. I'd like to use an Access database for an application I'm developing for retail sale, and I need to do these things: Determine during setup if the target machine has the Jet OleDb Provider installed. If so, determine whether the version is adequate. If necessary, install the correct provider. I don't seem to be able to find any documentation or downloads covering this scenar ...Show All
SQL Server SSIS package doesn't execute as a job step
I have this SSIS package which just doesn't seem to run when executing as a sql job and I keep getting this error: " The command line parameters are invalid. The step failed. " I read some of the comments in forums and they were suggesting to verify the command line for the sql job since there is known bug in the command line for sql job. But that didn't seem to resolve it and the reason could be one of the variable values tha ...Show All
Visual Studio Team System TF30177: Team Project Creation Failed
I am trying to create my first Team Project and this is the error I'm receiving from the wizard: Error Unable to connect to the specified source control server on the Team Foundation Server localhost. Explanation The Team Project Creation Wizard was unable to connect to the Team Foundation Server {0}. Without a connection, the wizard was unable to create the team project root directory on the server. User Action Contact the adm ...Show All
Visual C# C# Compiler heap error - help!
For the last week I have been having a bizarre problem in VS. If I double-click on a windows forms control it does not take me to the event code, but if I double-click a 2nd time it does. From then on, whenever I copy-and-paste, random text is deleted and the cursor is moved to just before the end of the "#endregion Windows Form Designer generated code". All intellisense stops working and ctrl+arrow moves to arbitrary places in words. After a fe ...Show All
Visual Studio Express Editions How to make radio buttons in a groupbox unchecked when form loads?
The excercise is a small app containing 3 group boxes (2 contain radio buttons, 1 contains check boxes) When the app starts the first group box containing Male & Female radio buttons receives focus,but for some strange reason always checks the Male radio button by default. I am trying to get both radio buttons in this group box unchecked so that the user decides without a default option being used. Any help gratefully received ...Show All
Smart Device Development Determine if Bluetooth or GPRS connection
Hi, How is it possible to determine if the bluetooth, gprs or wlan is turned on in my ppc or smartphone if not then how is it possible to turn it on regards, rnv GPRS: You can't really ever be sure you are connected as you can lose connectivity at any time. I'd recommend that you simply try to do your send/download and if it works you're connected. You don't need to turn it on, the device handles this for you when you try to ta ...Show All
Visual C# How do I determine which program window is active?
hi there, i want to programmatically determine which program is currently active from the user's perspective. i.e. if I have Acrobat Reader, Visual Studio and Internet Explorer open but Internet Explorer is currently being used and is ACTIVE. I need to know where the active programs' .eve file is located e.g. C:\Adobe\Adobe.exe or where the process comes from. thanks You can use GetForegroundWindow(); to get the foreground window ...Show All
