LSDev_KF's Q&A profile
Visual C# Unable to update the dependencies of the project
I have had this error every time I try to check my program into source control after making changes. The project builds and works fine until I check it in and check it back out then it won’t build. I have deleted the setup project and built a new one only to have the same problem after checking it into source control. It also givs me a warning that " Assembly ' FolderName\FileName.exe ' is incorrectly specified as a file. Any suggestions would be helpful. I'd like to also confirm this is a serious problem. I have built, destroyed and rebuilt the setup project several times. This problem usually occurs that the worst possible time, like hours before a release or a big demo. I spent almo ...Show All
Windows Forms OnSizeChanged called twice when changing the property Size on a UserControl
Hello! I have created a UserControl and load it in the constructor of a Form. UserControl c; public Form1() { System.Reflection. Assembly assembly; assembly = System.Reflection. Assembly .LoadFrom( "File with UserControl" ); Type t = assembly.GetType( "The type of the Control" ); c = ( UserControl ) Activator .CreateInstance(t); c.Location = new Point (0, 0); Controls.Add(c); } I then set the Size of the control doing something like this: int NewHeight = System. Convert .ToInt32(textBoxHeight.Text); int NewWidth = System. Convert .ToInt32(textBoxWidth.Text); c.Size = new Size (NewWidth, NewHeight); In my UserControl I have the eventhandler ...Show All
SQL Server What is it? "Could not resolve expression for schemabound object or constraint"
I trying create view on Employee table in my database, but error occured: Msg 2791, Level 16, State 5, Procedure EmployeeActive, Line 3 Could not resolve expression for schemabound object or constraint. View: create view dbo . EmployeeActive as select EmployeeId , StateId , FirstName , SecondName , MiddleName , FirstNameSys , SecondNameSys , MiddleNameSys , Email , SID , Comment , Pin , DismissDate from dbo . Employee where DismissDate is not null Table: CREATE TABLE [dbo] . [Employee] ( [EmployeeId] [int] IDENTITY ( 1 , 1 ) NOT NULL, [StateId] [int] NOT NULL CONSTRAINT [DF_Employee_StateId] DEFAULT (( 0 )), [FirstName] [dbo] . [contact] NOT NULL, ...Show All
Microsoft ISV Community Center Forums vlookup
I am using vlookup and I want to obtain the value in column B for the second occurance of the lookup value This code comes up with error DestCity = WorksheetFunction.VLookup(" Line#1 CITY ", Range("CPARSdata"), 2, 0) _ And WorksheetFunction.VLookup(" Line#1 CITY ", Range("CPARSdata"), 2, 0) If I use the first part before the "And" it will find the results to the first occurance. Please help! Hi Try a change of tack. Try using the Find command to go to the second instance, then get the value from column B in the found row. Example of finding the secind instance of "Bosch" below: Columns("A:A").Select Selection. ...Show All
SQL Server Error in installing SP1 or sp2
I have a sql server 2005 developer edition installed on my windows xp system. I apply sql server 2005 sp1 then sp2 all does successfully. Now I have installed same sql server 2005 developer edition on windows 2003 server When I installed sp1 or sp2 i get the following error --------------------------- Invalid Login Information --------------------------- Your account information could not be verified for one or more instances. Ensure that you can connect to all the selected instances using the account information provided. To proceed further deselect the instances to which connectivity cannot be established. --------------------------- OK --------------------------- I have done every thing.PRovided sql server as wel ...Show All
Visual Studio Express Editions compiler options
Hi Where can i found refernce for the compiler options for VSE C++ compiler /Torvie MSDN is your friend http://msdn.microsoft.com/library/default.asp url=/library/en-us/vccore/html/_core_compiler_reference.asp ...Show All
SQL Server Class Offerings Analysis
Hi guys, I need a plan of action slides based on this scenarion below. Thanks a lot. The mission of the UCF Division of Graduate Studies is to provide leadership and services to create high-quality learning environments for graduate students. In support of this mission, the Division of Graduate Studies is client-centered and focused on providing the information and services that students need to enhance their experience with UCF and that faculty and staff need to effectively carry out their responsibilities to students. In an effort to continually improve the student experience, the division of Graduate Studies often conducts focus groups and other means by which to collect feedback from students regarding area ...Show All
Visual C++ Invoking CDO.dll without getting Outlook Security Alerts
We are writing an add-in for Outlook using Visual C++. We use both the Outlook Object Model and CDO for performing different actions. We use CDO for things that we cannot get from the Outlook Object Model, like obtaining the SMTP-address of an email. However we get Security Alerts from Microsoft Outlook twice: once when we access the Outlook Object Model and once when we access CDO. We can get rid of the first one by making our add-in Trusted. However we still get the Security Alert when we invoke CDO. Would we need to rewrite all our CDO-access to use Extended MAPI or is there some way to use CDO without getting security alerts Lars Thorup The VC++ forums are for VC2005 specific issues. For mess ...Show All
Visual Basic restart application with check new version. Check if file exists first.>>
in my application, there is a step needs to check last version, sometimes customer run the application in offline mode, so the application will not check the newer version. at that step user must connecto to the internet and I have check it manually. If there is new version application must to restart. I'm using application.restart but this way will not check newer version. so what is the solution, to make it check newer version really it is common way but in my application there is an step tell user there is a newer version and force him to download and the application will restart and update automatically, so even if I add it to the Help menu this step still required. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to use View and Projection matrix?
Hi. I'm trying to draw a vertex buffer (using PositionColored vertex) but I can't see anything. So, reading about it on the web, I've found that I need to set two matrix: Projection and View. I've donet it! Take a look: // Create the vertex buffer private void OnVertexBufferCreate(object sender, EventArgs e) { VertexBuffer buffer = (VertexBuffer)sender; CustomVertex.PositionColored[] verts = new CustomVertex.PositionColored[3]; verts[0] = new CustomVertex.PositionColored(0.0f, 1.0f, 1.0f, Color.Aqua.ToArgb()); verts[1] = new CustomVertex.PositionColored(-1.0f, -1.0f, 1.0f, Color.Black.ToArgb()); verts[2] = new CustomVertex.PositionColored(1.0f, -1.0f, 1.0f, Color.Purple.ToArgb()); buffer.SetD ...Show All
SQL Server Programmatically creating Transformation Script Component
Does anyone have any examples of programmatically creating a Transformation Script Component (or Source/Destination) in the dataflow I have been able to create other Transforms for the dataflow like Derived Column, Sort, etc. but for some reason the Script Component doesn't seem to work the same way. I have done it as below trying many ways to get the componentClassId including the AssemblyQualifiedname & the GUID as well. No matter, what I do, when it hits the ProvideComponentProperties, it get Exception from HRESULT: 0xC0048021 IDTSComponentMetaData90 scriptPropType = dataFlow.ComponentMetaDataCollection.New(); scriptPropType.Name = "Transform Property Type" ; scriptPropType.ComponentClassID = "DTSTrans ...Show All
Visual Studio Team System Import new schema objects into existing project
This has probably already been answered, but I couldn't find any references to it. Imagine I import an existing database schema into my database project. All fine :-) Now image some idiot goes and adds some new tabes to the live database without putting them in the database project. I would have thought I could import those new objects directly from the database using either the schema compare wizard or using 'Import Schema', but the former just suggests I drop them from the live database and the latter does not exist after an initial import. I know I can export the object(s) into text files and use 'import file' but it's quite time consuming. Is there any chance of adding a new action into the schema compare wizard other than drop a ...Show All
Visual C# Any Easy way to open help files by "F1"?
There is an "Help" on the MenuStrip, and its short key is "F1". I made a user guide of the software in word format. How to open the "user guide" when user click either "Help" or "F1" To use file open and close or some other easy way BTW. Is there any detailed and all-sided information about the items on GUI Thanks a lot! Thanks! However, I do think I get the answer... At this stage, I want to know what will be the "Path" of the "User Guide.doc" which is added to Setup Project for the Porcess.Start()... I do not know how to make it easily to open the "User Guide.doc" when user press "F1" or "Help" after installing my software. Since I do not know where user wi ...Show All
Commerce Server Number of pipelines in cs2007
Hello Is there any limit on the number of pipeline i can create in cs2007 Thanks arik Arik, There aren't any limits posted that I'm aware of. That being said, there is a practical managability limit where dealing with thousands of pipelines is painful. The pipelines collection in memory is a small configuration collection, so you shouldn't see much additional resource utilization by adding a few extra pipelines to the configuration. Like any workflow process running them in parallel, however, will present resource issues depending on the number of users. Again, mainly hardware limitations that can be resolved with bigger servers. Cheers, Colin ...Show All
Visual Studio Team System HELP: Accidently deleted an important project and I need it back!
[Originally posted under Version Control but it was suggested I ask this over here because I might have a permission issue.] Hi all, Here is the deal. I was attempting to move a project in TeamSystem to another project. I had everything checked in and I had a copy on my hard drive. I deleted the project with TFSDeleteProject.exe and then went to create a new one but when I set up my new Workspace and started to add my source I found my source was no longer on my drive. Ok. So I started to freak because this was approx 3 months work for me. We have nightly backups but I had left the backup to my systems team and they only backed up the databases. So I created a new install of TeamSystem on another machine and restored the databa ...Show All
