jcnetdev's Q&A profile
Microsoft ISV Community Center Forums Where is the command button on microsoft visual basic
Hey, I was wondering if anyone knew where the command button is for Microsoft Visual Basic 2005 express edition. I need to use the command button, and I cant find it, even after using the help button. Can someone please tell me where I can find it. Any help is appreciated. Thanking you in advance, Neil. Hello Neil, The command button should be in the toolbox. If you add a form and display it in design ...Show All
Windows Forms Disable input to controls on a form without disabling?
Is there a way I prevent user input (mouse and key events) for a control (or all controls on a panel) without disabling it I have a smart client application where accesses to the server are done on background threads. To prevent new interaction with the controls until the running access is done, I want to prevent new events. When disabling the panel all controls "blink" in a rather anoying way (when they are greyed out and then enabled). Instead ...Show All
Visual Studio Team System Recurring TFS errors in event log
Starting about 60 hours ago, the System Log began showing this series of error, sourced from TFS, recurring continuously about every 2 minutes: > eDT: Field CategoryId is missing for fact Result; no default value defined for type NChar. Followed by: > eDT: Adding fact Result got exception System.ArgumentOutOfRangeException: Specified > argument was out of the range of valid values. > > Parameter name: Missing field value fo ...Show All
.NET Development generic concretization at run-time
Consider following code snippet: public abstract class AbstractClass { protected Object param; public void doSomeThing() { .... } } public class GenericClass<T> : AbstractClass { public GenericClass() { param = doSomeTypeBasedOptimization(T); } } public class Client { public static void Main() { Type someType = typeof(string); GenericClass<someType> st = new GenericClass< ...Show All
SQL Server SSIS Development Suggestions
I could use some help from those of you who have SSIS deployed in a production environment. The developer creates a SSIS package on a workstation with BIDS. Package accesses a network drive and a SQL database on a development server. The developer can test the SSIS package successfully in BIDS. The only way to use the ServerStorage protect level is that the developer needs to save the SSIS package directly to the development server (we ar ...Show All
Visual Studio complib.hlp
Hello, I started on a project in my home desktop. I copied the project's folder to another computer. Now when I try to build the project on this computer I get the following error: Compiling... SqlManager.cpp .\SqlManager.cpp(1) : fatal error C1093: API call 'ImportFile' failed '0x80070003' : ErrorMessage: The system cannot find the path specified. Description: The system cannot find the path specified. HelpFile: complib. ...Show All
.NET Development Creating data table and data set
Hello, I want to fill a data table that I created with a dataset created by vs.net. The reason is I have to rewrite this part of my application so that the data set handles the update to the Sql server table. I have already created the data table and the application was complete it is just that I used the SqlDataAdapter parameter .Update to update my database with a stored procedure. Well, it executes t ...Show All
Visual C# Add registry values in setup project
Hi, I’m making a setup project, and I want to add a value in the registry. It has to be the application folder where the project has been installed, but i don’t find how to do it. I can only write some fixed text, and i don’t want that. Thanks in advance. Yes you can add values to the registry using by 1. Right Click on the Poject Name in the Solution Explorer. 2. Click View 3. Click Registry ...Show All
Visual Studio Express Editions ListView Column Header question
Hi Just a simple question. In all the examples I have seen in the system help with regard to creating a new column header for my ListView control, the following example format is used in all of the examples I could find: listView1.Columns.Add("Item Column", -2, HorizontalAlignment.Left) Now that is all well and good, but nowhere at all is there an explanation given about the '-2' parameter. It is said to be the initial w ...Show All
Visual C# Converting document files (.doc, .rtf) to .pdf format using .net
how can i convert .doc or .rtf files to .pdf format using .net Try this from code project http://www.codeproject.com/csharp/sertf2pdf.asp it is an article with source code (C#) for converting a whole load of different formats to pdf. Hope this helps ...Show All
Visual Basic Some Questions
how on earth do you make a color transparent I'm not tlaking about a button color, not a 'textbox color', but a color on Paint. I painted a picture on Paint. I loaded it on VB, now there's a big black area behind it. i want the black area to go away. I want to make the color 'black' transparent, so that when you move it over something, the black area is transparent. Tu comprende Not comin' to ya &nb ...Show All
.NET Development Why Namespace xmlns="" always in Child element when use IXMLDOMDocument2Ptr?
I use IXMLDOMDocument2Ptr to create a root element. Then, use setAttribute to set Namespace xmlns. Then use IXMLDOMDocument2Ptr to create a child element. To my supprise, xmlns="" is always attached to child element. Anyone can tell me how to avoid this problem Thanks! Are you creating the child element with the same namespace as the root element If the root element has a non-empty namespace (and an empty prefix) ...Show All
Windows Forms MySQLDataAdapter Insert Not Working...
Can anyone see why this insert command is not working It is not generating any error messages. It acts as if it has inserted the records, but when I check the database the row count is still 0. Here is my code... <hr> <color="Blue"> Publ ...Show All
Visual C++ Memory error in loading DLL
Hi All, I have a program that reads DLL libraries but it fails with error code 1001 (i.e. Recursion too deep; the stack overflowed.). When I trace the program in debug mode of Visual Studio 2003, the exception is raised and the detail is shown as below. First-chance exception at 0x00359439 (msvcr71d.dll) in iChannelGateway.exe: 0xC0000005: Access violation writing location 0x00030ffc. The program breaks at the function _malloc_dbg() in ...Show All
Visual Studio Team System One Statement per line
Hi, I need some help in building custom FxCop rule, which checks for only one statement per line is present in the code. for example: int i; float k; Regards Venkatesaperumal This is another source constructs that compiles away when IL is emitted. You'd need to pursue a solution other than FxCop to accomplish this, since we're a binary checker only. ...Show All
