sadsadasdsadsad's Q&A profile
Visual Studio Express Editions LINK : fatal error LNK1104: cannot open file "mfc42d.lib"
Hi, I am trying to run a VC++ code and I am getting the following error: LINK : fatal error LNK1104: cannot open file "mfc42d.lib" I have located the file mfc42d.lib and also have included the path in the directory, but that doesnt help. Can anyone help out Thanks See http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=286206&SiteID=1 for similar question. Thanks, Ayman Shou ...Show All
SQL Server Trying to SET a variable from a SELECT
Hello, Wondering why the following won't work: DECLARE @objName VARCHAR(50) SET @objName = 'happyhippytable' set @objCnt "select count(*) from " + @objName + " where begtime > endtime " or set @objCnt ("select count(*) from " + @objName + " where begtime > endtime ") or set @objCnt = ("select count(*) from " + @objName + " where begtime > endtime ") or ...Show All
Visual Studio Team System Setting options for VBScripts wrapped in Generic Tests
Hello, I have a number of Test Scripts written in VB that I'd like to hook into the Test Manager in Studio 2005. While I can wrap them using Generic Tests, they all take different command-line parameters that are used to turn on or off specific portions of the tests. They also all need some additional common configuration details like the Source and Target machine information. I'd like to have an easy way to change these input parameters so I ca ...Show All
Architecture OO design question.
I'm trying to figure out a good way of looking this.. I have a "Product" class ( which is the fullblown class having all the child info and such ) and I have a subset class we'll call "ProductSummary" ( where it is used as an instance of OrderItems - when people are ordering products ) which doesn't have any child info - at least for now. I also want a very lightweight instance, we'll call "ProductInfo" ( and make it a struct ) ...Show All
SQL Server Microsoft best practices for implementing windows authentication for sql server 2005
Microsoft recommends using Windows authentication instead of SQL Server authentication in SQL Server 2005 for improved security. What are the Microsoft best practices for implementing this Will be helpful if someone also provides some links that talks about this.... Once you've established a connection, the authentication method that yo ...Show All
Visual Studio Tools for Office Installed OutLook 2003 Add-in not available to "All Users"
I need the Add-In to be available to all users on a machine. I'm working from MSDN documents "Deploying Visual Studio 2005 Tools for Office Solution Using Windows Installer (Part 1 of 2) & (Part 2 of 2). I'm using the example in (Part 2 of 2), page 11 verbatim. /assemblyName="OutlookAddin.dll" /targetDir="[TARGETDIR]\" /solutionCodeGroupName=" MyCompanyName .OutlookAddin" /solutionCodeGroupDesc ...Show All
Visual C++ Having Function problems
I want to write a fuction that will add all these elements in a array it will go sorta like this, when i input all these numbers in the array it should add them and divide them buy the number entered, i am getting an errror when i call my function though any help, am i missing something in this lisiting int addup(int Numbers[ ], int count) { int a; int sum = 0; for(int a = 0; a < count ...Show All
Windows Forms How to set filename in OpenFileDialog via SendMessage
Hi ! I'm trying to add features to NUnitForms such as support for modal dialogs such as OpenFileDialog. I want to be able to simulate that a user sets a filename and presses the Open button so I later can se that the filename property on the OpenFileDialog is set. To do this I have used SendMessage with a VW_SETTEXT message to the ComboBox (ID 1148) and I have also tried the EditBox (ID 1152) with no luck. I can se the text when ...Show All
Visual Studio Express Editions Random Numbers again!!!
Hi there, i think i have gotten into a bit of a fix... here is the problem: i have used the random obj to generate random numbers between 1 to 90. some times when the application runs, it picks a number twice. for example an output would be 2,8,34,2,67.... is it possible to make sure all numbers picked are only selected once that is if i request for 10 ranadom numbers, each 10 digits would be unique... this is driving me nutts!! ...Show All
Visual Studio Project File Automatically Gets Checked Out - Multiple Copies of .database files locally
I have an odd scenario going on. Using Visual Studio 2005 Team System, when I open a Solution containing several Integration Services Packages that is under source control (Version 6.0 Sourcesafe Database) it automatically checks out each SSIS project file in the solution and then creates in my local directory additional ".database" files. Has anyone else come across this behavior Hi Steve, I hav ...Show All
SQL Server Background Color for SQL Server Management Console
I am new to SQL server 2005 and I was wondering if there was a way to visually tell what server you are connected to other than the tab loacted at the top of the page. Something like changing the background color of the editor to red if you are connected to a production server so hopefully the user will not make unapproved changes in production. Please let me know if there is some feature like this out there. Thanks. ...Show All
Windows Forms list boxes more HELP needed.
I need a way of making list boxes center the values displayed within the list. I also need to find a way of making them unselectable without setting enabled to false or SelectionMode to None because the form won't load the way I trye ...Show All
Visual Basic WebPage Interaction
HI I Hope this is the right place to ask this! I have a browser window which i use to connect to my bank accounts web Page. I use SendKeys to communicate with the webpage and to download my accounts. I have used 'Microsof Money' in the past and they are able to do everthing automatically without even opening the webpage! I wonder if any of you know how this is acheived any clues would be appreciated Thanks in advance Mike Pooley Hey ...Show All
Visual Basic The macro substitution in VB.NET?
Hi Doea some one know how to perform macro substitution in .Net VB I've tried to read the Help - all in vain... With best regards! Hi, No, Macro Substitution has not been part of Visual Basic atleast after Visual Basic 5. I am not aware of versions before Visual Basic 5 - but I would assume that it has never been part of Visual Basic. However, people have had various workarounds such as Database queries or a ...Show All
Visual Studio Team System Unit Testing Windows Forms Applications
If this question is posted to the wrong group, please indicate which other group to post the question to. I am new to unit testing and am using Visual Studio Team Suite. What is the best way to unit test a Windows Forms applications Would it be better to: Put all of the logic for the form in a business class and then unit test the business class Keep the form logic in the form and somehow unit test against the form Do it so ...Show All
