Jkumar's Q&A profile
Windows Forms System component model with custom combobox column
Hi, I have a custom combo box column for a dgv. i've set the datasource and display member. The problem i am having is: When the combo value is changed, the value in the cell remains the same. The issue could be about binding or selected value changed i don't know. Someone please let me know the direction, better in form of reading for me to better get a grip upon what i am doing. For now i need to be able to make the combo keep the value the user selects. If not a solution, can i have some directions Thanking you all, hrubesh Imports System.ComponentModel <System.ComponentModel.LookupBindingProperties( "DataSource" , "DisplayMember" , "valuemember" , "lookupmember" )> _ Public ...Show All
Visual Studio Solution file in VS2005
I create a test project in VS 2005 and it put the solution in my user’s profile. It does not give me an option to copy it to a different folder, any idea why dont you copy over the project manually to the folder you wish to move it to Did you create the project initially in this user profile folder if not then you could change the default location where projects are saved by going to tools > Options > environment > Projects and Solutions and change the paths stated in here. ...Show All
SQL Server Derived Column
I have two columns made up of 4 digits numbers eg col1 1234, col2 9876 I want to create a derived column so i get a eight digit column, eg col3 12349876 I cannot seem to get the expression right, I seem to be always adding the value which i do not want, can someone help me out with the expression Thanks Robbie Rafael Salas wrote: Please mark the thread as answered... thanks This is done how ...Show All
SQL Server Replicate only schema...
Hi, I am relatively new to replication. I have a rather dumb question. I have two SQL Server databases, If i make a change in the first database schema, i want it to replicate to the second database. i dont want the data to replicate though. Is this possible Thanks, Raj Hi, SQL server 2005 transactional replication supports replicating schema change. You might want to read through BOL "Making Schema Changes on Publication Databases" ( http://msdn2.microsoft.com/en-us/library/ms151870.aspx ) to review what kind of schema change is supported. To replicate only the schema, the simplest way is to add a horizontal filter that removes all rows. For instruction on how to define a filter, ...Show All
Visual Studio Impossible to uninstall GAT
Hello, I have an exception when I try to repair or to remove the GAT, because there is problems with registered guidance packages which don't exist yet. So I tried to manually unregister all the guidance package, following the instructions on the Clarius's Blog. I unregistered all the guidance packages found in the manifest file (RecipeFramework.xml). But if there is other registered guidance packages unknown (because I have no more the files), it is impossible to unregister them because I don't know their name and GUID. So it is always impossible to repair or remove GAT ! The exception said "The manifest file doesn't contain an entry for the guidance package Guidance Package Development". Usually, in this case, you instal ...Show All
Visual C++ EntAPI.dll', No symbols loaded
I am new to programming and C++. Using Visual Studio 2005. Build and compile are successvfull.Receive the following after I run my program and enter data that should result in a response. Instead this part of the message that I get. Anyone willing to help a new programmer Not sure what to do 'slope.exe': Loaded 'C:\WINDOWS\system32\EntAPI.dll', No symbols loaded. slope.exe': Loaded 'C:\WINDOWS\system32\netapi32.dll', No symbols loaded. The program '[3172] slope.exe: Native' has exited with code 0 (0x0) What you said has happened is perfectly normal in this case. The no symbols loaded is about debugging symbols. So if you have the IDE set up to load debugging information then it will load ...Show All
Software Development for Windows Vista [edit controls] What is EM_SETHILITE supposed to do?
Hi, watching the list of new COM interfaces, API functions, window messages and so on, I noticed EM_SETHILITE and EM_GETHILITE. I wrote a small app which displays an edit control with some text in it and sends EM_SETHILITE to it (with wParam = 0 and lParam = 9). When running this app on Vista RC1, I can't detect any hilighting on the first 10 chars. Is this an Aero Glass only thing I'm running Vista inside VMware and can't use Aero Glass. Or is this message not implemented (yet) Thanks in advance TiKu ...Show All
SQL Server ErrorCode 14
I've scripted a sql trace for Sql Server 2000 and added the filename in the appropreate location andthe result is a column called ErrorCode with a value of 14. Can anyone tell me what this error code means and what could be infered about what I need to resolve it Thanks, Marc It is most probably the call to sp_trace_create that fails. You can inspect the script to find out which one of the system stored procedure call is failing. For example, error code 14 indicates the stop time is incorrect for sp_trace_create. See BOL topic below: http://msdn2.microsoft.com/en-us/library/ms190362.aspx Also, if you double-click on the error message in SSMS you should be positioned on the call that faile ...Show All
.NET Development Why the difference between Access Query Configuration and Tableadapter Query Configuration Wizard
I have found that I can run a query using Access query builder works fine but the same query does not work in the "TableAdapter Query Configuration Wizard". Why is this Example: SELECT * from Rental_Agreement WHERE DateSerial(year(end_date), month(end_date) , day(end_date) - 5) = Date() This works in Acess 2003 but not in the "TableAdapter Query Configuration Wizard". OK, I see what you mean. I suppose it's my tendency to avoid the GUI tools since I always seem to find limitations, so I typically either manually code the SQL or use the Access QBE to generate the SQL. It looks to me as if the Query Builder doesn't really adequately support the same features as the Acces ...Show All
Windows Forms DataGridView
How i can select combobox row(or index) in datagridview Note: ( for example i have a datagridview with combo box column) plz help me !!! ...Show All
SQL Server Reporting Services
Dear All, Developed a report using Reporting services (2005)integrating Chart FX .The report is built successfully but raises an error on deployment. Error: Could not connect to the report server. To resolve the error in the properties of the project i had given the target server url= Http://localhost/webfoldername (installed webservices on the local server) but still i am getting the same error. How to resolve the error. Regards Mohd Sufian Dear AIMDBA, First go to the properties of the project. Provide the URLSource as HTTP://Computername having the webservices installed/webfolder/ Run the report . Now connect to the Management studion and connect to SSIS. Import the report u developed r ...Show All
Visual Studio Help collection integration
Hi All, This is for plugging in one help collection to another one, Let me explain the requirement: We have two VSIP packages, say Product-1 and Product-2, and both have their on help collections. Let the root node in TOC of the first collection be HelpProduct-1 and the second- HelpProduct--2. These packages will be installed in separately, and the requirement is to show in help contents, these two collections as children of a common rootnode, say, 'MyCompanyProducts'. So if I install product-1 first, the help contents should display- MyCompanyProducts HelpProduct-1 node-1 node-2 ...Show All
Windows Forms how to make valdation to my input data
my application should have full validation on data... but I do not know how to make validations ... for example ... the name should be no more than 50 chars .. date should be yyyymmdd gender should be 4 chars or 6 chars ( male or female ) and so on ... hot o make validation on text numbers dates help me or give me a source to learn but before that I hope to write me exaples here thanks in advance try the following code. private void textBox1_KeyPress( object sender, System.Windows.Forms.KeyPressEventArgs e) { count++; if(condition based on number of keypress) { e.Handled = true ; } } your condition should be depend on count(number ...Show All
SharePoint Products and Technologies Index Server combo box greyed out
Hi I am trying to create 'New Shared Services Provider' on newly installed sharepoint 2007, but combo box is greyed out. How do I assign index server role. I to am having the same problem :( I have tried going to operations" and "services on server" but I cant even see "index" Is there something else I need to turn on Thanks ...Show All
SQL Server Retrieve the version of SQL Server from within a user defined function
EXEC master . dbo . xp_msver ProductVersion can be used to return the server version in a resultset. I need this to do some conditional coding between varchar and varchar(max) in a UDF, so size of the text I return must be different between the SQL2000 and SQL2005. I cant call an xp_ that returns a resultset within a UDF can I, so how can I get the SQL version You can use @@Version within a user defined function. I tested the following code in both SQL 2000 and SQL 2005. Hope this helps. Alter Function dbo . VersionNumber () Returns int As Begin Declare @Temp VarChar ( 1000 ) Declare @Output Int Select @Temp = @@Version Set @Temp = Replace (Left( @Temp , Cha ...Show All
