Vidya Vrat Agarwal's Q&A profile
.NET Development Merging Of Multiple Activex Wrapper Dll Into Single Assembly
Hi , We have different activex dll , we create interop for every activex Control (developed in vb 6.0). We used com interopility tool provided by dot net framework to create Interop Wrapper, the tool creates two dll for each acivex control. We have more than 50 AciveX Controls so for 50 Activex it creates 100 dll files. It is difficult to maitain all files. The Problem :- I want to merge all dll files whcih are created into single dll. Tell me whether it is possible to merge all wrapper dll into single assembly if yes then how i will do this and how to use. Regards, Vighnesh Ambekar Thanks I used ilmerge utility ...Show All
Windows Forms How to custom date format for datagrid datetimepicker
Hi everyone, if anyone know to customize date format for datagrid datetimepicker. I have a datetimepicker in datagrid, I want to display format like this, yyyy.MM.dd how to do it thanks ...Show All
Visual FoxPro Pageframe color problem
I'm having a problem with using a pageframe. The problem is that I can't set the backgroundcolor properties of any of the pages. It defaults to 236.233.216 which is a some kind of pink but it shows as a light grey. I can change it but it stays light grey. I've tried this on a few differant computers. Very wierd. Anyone have any info on this Thanks That's it! I don't know how it got set this way. It was working fine before but now that I know what the cause is I 'm not worried. Thanks for the help. Very much appreciated. ...Show All
Visual C++ "Unknown compiler version" message
When compiling a static library, I get the following message for every .cpp file: "Unknown compiler version - please run the configure tests and report the results" What does it mean I use VC++ 2005 Professional Edition on Windows XP. Thanks, Bumbrlik This message is probably coming from your sources. I believe boost headers contain such messages. You might be using older source code. See http://www.boost-consulting.com/boost/boost/config/compiler/visualc.hpp where the message is part of the code. Take a look at where in your sources this is coming from and see ...Show All
SQL Server Crosstab in SQL 2000./.net 2003
Hi al Don't know this is the right forum, but here is my question anyway Is there a way to make a crosstab like you can in access with the transform statement Regards Remco Please update post to answered if that answered your question ...Show All
Visual C++ Disabling advanced print settings.
Hi there. I'm writing a service, with the only purpose of disabling advanced print settings, for all printers using the Generic / Text only driver in Windows XP. I've had a lot of luck using the SetPrinter-function, i just can't seem to find a printer_info-structure wich treats the option i want to set. I haven't had any luck experimenting with different attribute settings. Does anyone know how to do it I am not sure but PRINTER_INFO_8/PRINTER_INFO_9 should be useful. In LPDEVMODE struct reset the dmDriverExtra extra portion to 0. ...Show All
.NET Development trailing 0 in datetime
Hi, How can I have date in this format mm/dd/yyyy and I want mm and dd always in 2 digits. like this 08/03/2005 It should'nt be single digit 8/3/2005 I need trailing zeros in days and months part of date. Thanks, Hi, use this parameters in the toString Method: MessageBox .Show( DateTime .Now.ToString( "MM dd yy" )); ...Show All
SQL Server ETL using SSIS
Hi guys, I have been able to put together a simple SSIS package and familiarize with how it works. Now as I am trying to put together this ETL job I am stuck and am looking for some recos: I need the source system to be able to do a join on my Datawarehouse table and push thru only those rows which I am interested in. Can this be done using one of the Data flow task Presently we do it by using staging area, creating temp tables, doing joins, but if I attempt the same here, what is the advantage I would derive out of SSIS Any pointers will be helpful Does anyone know as to how I can tap into the SSIS meta data and maybe kind of ...Show All
SQL Server Programatic Fuzzy Lookup
I want to use Fuzzy lookup to search a table for similar matches. I would like to do this from code in Visual C#. How do I do this or can I If I cannot, will this be something available in the future Thanks for the compliment. I have been programming for about 13 years and the last few years have been in .NET. The 2005 version has seen a lot of improvements and changes especially in the SQL Server side of things. We just installed the Beta where I work so I am trying to get my head wrapped around it and am trying to do some proof of concept things such as what I am trying to accomplish above. No, I don't have to call it from a stored ...Show All
Visual Basic Making an Incremental Search
I had a datagridview(dgvName) that was primarily used to load data from a certain table of my database.Using the datasource option in my datagridview's properties, I choose the table and in the Column, I bound a certain column(Name)...Now I had also a TextBox(tboxSearch) which I want to use as a way to search the data of my dgvName..I want the seaching to be incrementally, that is, when I type a single letter in the textbox, say A, cell will point to Aaron and when I type Ab, it will point to Aban and so on.Anyway I am using visual studio.net 2005 edition..Can somebody help me please... thanks. Set t ...Show All
Software Development for Windows Vista Tips in debugging dependency property problem?
I've created a dependency property that's causing me some problems at runtime. First, the definition of the dependency property: public static DependencyProperty ToValueProperty = System.Workflow.ComponentModel.DependencyProperty.Register("ToValue", typeof(object), typeof(SendEmailActivity)); [Description("To Email Address")] [Category("EmailActivity")] [Browsable(true)] [DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)] public object ToValue { get { return ((object)(base.GetValue(SendEmailActivity.ToValueProperty))); } set ...Show All
Visual C# C# 2003 code optimization?
I have written a Newton Fractal generator. In computing the Newton Iteration I included a switch to determine the order of the equation. See code snippet below: public Complex evaluate(Complex x, int order) { switch (order) { case 0: return (((((((A*x+B)*x+C)*x+D)*x+E)*x+F)*x+G)*x+H)*x+I; case 1: return ((((((8*A*x+7*B)*x+6*C)*x+5*D)*x+4*E)*x+3*F)*x+2*G)*x+H; case 2: return (((((56*A*x+42*B)* ...Show All
Visual Studio Testing for empty item list in a condition
I am setting up a dependency property group (to be used in a Target's DependsOnTargets attribute). I would like to have a dependency optionally show up depending on whether an item list exists and is non empty. So far, this is the best I could come up with: <PropertyGroup> <OtherLibFilesTemp>@(OtherLibFiles->'%(identity)') </OtherLibFilesTemp> <OtherLibTargets Condition="'$(OtherLibFilesTemp)' != ''">OtherLibTargets</OtherLibTargets> <BuildLibDependsOn> PrepareOutputDir; &n ...Show All
Windows Forms Hide certain standard control's properties from designer
Hi, I created a custom control which inherited from Forms.Button. There's no problems to create & expose custom properties but... I cant find anyway to hide the standard Button's properties... Note that I'm using J# Thanks override the property, apply the Browsable(false) attribute. . . call the base property to access it. this is c#, but the approach should be the same: public partial class MyTextBox : System.Windows.Forms. TextBox { [System.ComponentModel. Browsable ( false )] public override string Text { get { return base .Text; } se ...Show All
Visual Basic Error with my project
Hi! I have nearly formated my pc. And i copyed my project. Then i installed VS.2005 on my new formatted pc and tryed to continiue with my project. I open the project and try to open my main .vb file. Then it comes an error opening the .vb file... I cant tell exactly what it stands right now, because im not on my computer... I write what the error contained later today. If someone understands this without explaining what the error said, it have been nice! Ok the error is: There is no editor available for 'D:\Projects\MyProject\Main.vb Make sure the application for the file type (.vb) is installed. This is weird. It happend on my other c ...Show All
