HowardH's Q&A profile
Visual Basic Conversion of an array to generic.list
We are currently converting a larger legacy application from .Net1.1 to .Net2.0, both VB. Our new standard is Generic List, instead of arrays. We are recoding component by component. And while not everything is yet stored in generic.list we end up with compile time errors. Converting from generic.list to array is supported with myGenList.ToArray(). But from array to generic list isnt that easy. "Value of type '1-dimensional array of something' c ...Show All
Windows Forms Opacity and Transparancy...
Hi I'm workin on a Splash screen (Yet another one.. :) )... and the idea is as follows. 1. When starting its completly transparant.... nothing is seen on the screen.. 2. It shall fade up until completly "solid" (sorry about the language) 3. After a period it shall fade down until inviseble and then closed. This sequence is handled by a Timer and Opacity property.... During 2 (Splash is visible) the Splash window displays a bitmap as a back ...Show All
Visual Studio Integration of different C/C++ compiler
Hi, I plan to integrate a C/C++ compiler for a different target platform into VS 2005. I have to provide specific compiler/linker settings in the project properties dialog. I would like to reuse the existing C++ project model (including Class View, Add Class, project hierarchy, etc.). I found three possible approaches: - implement a VS add-in (Does this provide enough functionality ) - integrate a new target platform (How to do that ) - implem ...Show All
SQL Server Gurus: Please help! SSIS package using custom dll fails on server
I have a SSIS package that has a script component. In the script I reference a custom dll that contains some functions. The dll is registerd with a strong name in the GAC on my machine and the SQL Server 2005 box. The package works fine in Visual Studio. The problem lies when I deploy the package to the server. (note: several other packages created without the dll work fine on the server). Is there something else that has to be configur ...Show All
.NET Development Handling Special characters in Indexing service
There are certain documents in the Indexing server that have special characters like ' and - in the document title (Document properties -> Title). On querying for these documents, these values are corrupted in the title example - is converted to ... How can this be fixed to get the correct results use contains in the query @Doctitle contains 'xyz' i think the following link explains http://ncru ...Show All
Visual Studio Express Editions Orphaned Controls
I have noticed that it is possible for a control to be orphaned i.e. it is listed in the properties drop down box but selecting it in the drop down box does not cause it to be highlighted in design view. If you open for example the Form1.Designer.vb file the orphan control does not have a parent control i.e. nowhere within the code is there a Me.<name>.Controls.Add(Me.OrphanControlName) I have been hacking around a fairly complex form no ...Show All
Visual Studio Express Editions Get Hostname from IP?
How can i turn like "67.171.62.83" into "hsd1.wa.comcast.net" In vb.net It works for me in Visual Studio Professional, possibly there's some wrinkle in the Express edition. When you say "it doesn't work" what do you mean - doesn't compile throws an exception something else ...Show All
Visual C# Creating Nightly Build Problems
I'm trying to create a nightly build that is automated via a cmd script. I'm calling the following command to build my solution: devenv /build debug "solution.sln" /out "output.txt" Now the problem I'm having is that I want to be able to somehow take the output of the build process and see if it succeeded/failed and if it failed what went wrong. For some unknown reason though, the /out command line switch doesn't actually see ...Show All
.NET Development How to get system specs (processor, memory etc...) in C#?
Hello, I would like to know how to find the specs of the current running system such as the memory amount and processor speed in C# Mateusz I don't know if this will help, but it may be a place to start. Try looking for info on the functionality in the System.Management dll. I know this is how you get the processor ID: private string GetProcessorID() { string sCpuInfo = String.Empty; bool bSuccess = ...Show All
Visual C++ Compiling FilmBox SDK Under VC6
Hi, I am trying to compile Filmbox's SDK using VC6. I can compile under VC7, but I only have a temp version, and do not want to port over to VC7. The problem I am getting is on the following section of code: /*********************************************************************** CLASS KStaticArray ************************************************************************/ template< class Type > class KBaseStaticArray { & ...Show All
SQL Server Management Studio Express CTP update now available
There is a new Management Studio Express CTP download available at http://www.microsoft.com/downloads/details.aspx FamilyId=82AFBD59-57A4-455E-A2D6-1D4C98D40F6E&displaylang=en . This update fixes the defect where installing the full Books Online documentation prevented Management Studio Express from starting. With the update, Management Studio Express and Books Online no longer interfere with each other. To update Management Stu ...Show All
Visual Basic ATTACHING CODE SNIPPET
How do I attach a code snippet to a thread so that it can be viewed by the members of the forum You can copy and paste it though, rather than typing it from scratch. HTH ...Show All
Visual C++ how to find the factorial of a big number
Dear all, This question is of dealing with large values of integers. I would like to know the logic of how to fine the factorial of a very big number, lets say factorial of 100. Thanks and regards, Raja Pratap. There is no solution in Visual Studio for this. Search the web for "bignum library" for libraries and source code you might use. e.g. GMP looks good, but I don't see any references t ...Show All
Visual FoxPro Vue File Format Structure Needed
Can anyone help me on where I can find information on the structure and format for the VFP Vue files that are created with the command: Create View MyView.Vue Please thanks, Terry Hi Terry I understand what you are saying, but I would still say that a better approach is simply to set up programs that replicate these environments and that will accept a parameter (or use something like CURDIR() to define the starting location. ...Show All
Visual Studio Express Editions Error result -1073741819 returned from 'C:\Program Files\Microsoft Visual Studio 8\VC\bin\mt.exe'.
I just sarted getting this error. I have no idea what is causing it. Embedding manifest... Project : error PRJ0002 : Error result -1073741819 returned from 'C:\Program Files\Microsoft Visual Studio 8\VC\bin\mt.exe'. Suggestions where to proceed, please. Thanks, RON C mt.exe is a tool used to embed manifest to the resulting binary. It could be that the binary is being used by another process. Could you try cleaning your s ...Show All
