Teymur Hajiyev's Q&A profile
Visual C# A way to make easy the ACTIVE-X REGISTRATION for Excel Automation Add-Ins ? (ADD-INS with NO REGISTRY RIGHTS IS IT POSSIBLE?!?!)
31 - OCT - 2006. Dear Friends from Microsoft, I have an ActiveX function (sample: TESTFUNCTION in simpleclass). If I compile the code below in visual studio 2005, and select REGISTER TO COM. The class will be visible in Excel 2003 and I will be able to use the class without further problems. BUT, when I don't have access to the registry (ie. not with Administrator rights) I cannot use the Excel Automation Add-in, because the class is not registered in the registry. Is there a way that I could use this "AUTOMATION ADD-IN" (that is nothing more then an ACTIVE-X OBJECT) without the need of being administrator I just wanted to used like in the past with the XLL, just open and it will run, wi ...Show All
Software Development for Windows Vista possible bug in Workflow designer?
I created another property on my custom activity. This time it was a List<Step> Step being a custom type. declared as follows public static DependencyProperty ResetStepsProperty = DependencyProperty .Register( "ResetSteps" , typeof ( List < Step >), typeof ( RejectApprove )); public List < Step > ResetSteps { get { return ( List < Step >)GetValue(ResetStepsProperty); } set { SetValue(ResetStepsProperty, value ); } } when setting the properties in the ui it has the ellipses. which launches the collection editor but after I add a couple and close the dialog the xoml file shows an asterik but my collection is null. ResetSteps = " {x:Null} ...Show All
Visual Studio 2008 (Pre-release) Showing a control on a popup twice blows up
Hi everyone, I'm trying to show a popup over and over that reuses a child control but I get this exception on the second time of displaying the popup: "Must disconnect specified child from current parent Visual before attaching to new parent Visual." XAML is this in a Window: < Button Click = " button_Click " > Click me </ Button > Codebehind is this: --- private Button popupButton; private void button_Click(object sender, RoutedEventArgs e) { if (popupButton == null) { popupButton = new Button(); popupButton.Content = "This button on a popup"; } Popup popup = new Popup(); popup.Child = popupButton; popup.PlacementTarget = this; popup.PlacementRectangle = new Rect(0, ...Show All
Internet Explorer Development ThreadAbortException thrown in Vertical Toolbar?
I can't seem to catch it... ...Show All
SQL Server move database from development to production
What's the best way to move database from development to production environment SSIS usage of databases or databases in general If you want databases in general the Database Engine is a better forums for this question. Thanks, Ovidiu Burlacu ...Show All
.NET Development Help running SQL Transaction in 2005 vb expess
I may have this in the wrong forum but, here goes... I need to run a SQL transaction against an SQL database in my vb2005 express application to remove duplicate records. I am really in need of some direction. Now here are the problems: I saved the transaction as a procedure in the database. (A sproc I believe). If I open SQL Server Manager Studio and execute it, it runs like a clock. There is a warning message about it not supporting the OVER command, but it works ok. So Here is the Btn_click to run the procedure; Private Sub Btn_sql_deletedups_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btn_sql_deletedups.Click Dim MyCmd As New OleDb.OleDbCommand Dim Cnxn As New OleDb.OleDbConnection("Data S ...Show All
Windows Live Developer Forums More points in routeItinerary?
Hello people, i ' d really appreciate if someone can help me with this one. I need to get more intermmediate points in a routeItinerary object after querying directions with getRoute() method. Sometimes, when there is a long way on the same route, one step could be several hundreds long. I need to get steps like 25 miles long. Is there any possibility to do this with this control, or work around, or even if not, do you know of some other way to do it Any other service Thanks very much Dario MWS is free as long as you stick to your evaluation account. As for actually modifying the intinerary, VE gets its itinerary from Mappoint Web Service and it comes from whatever datas in there wh ...Show All
.NET Development Retreive information from registry...
I need to retreive some information from the registry. 1) How do I open a registry key 2) How do I check/read the value 3) How can I copy that value into a label Thank you very much, BTW: Is it possible to retreive system memory information from the registry Hi, here is an article that details how you can do the tasks you have asked: http://www.codeproject.com/cs/system/modifyregistry.asp Mark. ...Show All
Smart Device Development RightAlignment in DataGrid in compact framework
hi , how can i right align the value displayed in a datagrid.... i have to right align the TotalAmount Column of the datagrid which is of type double is that possible in compact framework thanks Vijayaditya.Kakarlapudi You can do that starting NETCF V2 SP1 by overriding cell painting: http://blogs.msdn.com/netcfteam/archive/2006/04/25/583542.aspx ...Show All
Visual Studio Project.Build (string[] targetNames, IDictionary targetOutputs)
This code isn't working as I expected. Actually it doesn't write anything. This test is simple form of full test. In full test I used my own task that had [Output] attribute on property used for output. It didn't change anything. Engine engine; Project project; IDictionary hashtable = new Hashtable (); string documentString = @" <Project xmlns='http://schemas.microsoft.com/developer/msbuild/2003'> <Target Name='Main'> <Message Text='Text' > <Output ItemName='Item' TaskParameter='Text' /> </Message> </Target> </Project> "; engine = new Engine (Consts.BinPath); project = engine.Cr ...Show All
Visual Basic Online Tutorials & Books for Networking in VB.NET ?
Hello I am looking for tutorials online on networking in VB.net and Books for same Any help would be great. When you say networking in VB.Net. If you talking about writing applications that communicate over a network. Then I would search on VB.Net and .Net Remoting or web services which should give you a lot of informationand numerous articles. Communications technologies such as these tend to be language agnostic meaning that they work in C#, VB or whatever language you wish to use them from. So when you look search on the underlying networking technologies you will almost certainly find a wealth of information, articles and examples on them. They a ...Show All
Microsoft ISV Community Center Forums Find Method - enter value on one worksheet and search in another
I'm a newbie trying to set-up an Invoice form on Excel -- my set up is: A combo box for selection of Customers cboCustomer RowSource=AddRange (in worksheet Add) ControlSource=Customer (in worksheet Job) Now I need to find whatever value/string returned to Worksheets("Job").Range("Customer") in Worksheet("Add").Range("AddRange"). So I can copy the 3 cells beside that value/string. (Initially I thought this could be accomplished in combo box alone but turns out it doesn't support multicolumn...) I am also having problem with the Find Method because most examples I seen it only works with pre-determined value I've spent the past few hours trying to figure this out... Any help is grea ...Show All
SQL Server Replication performance degrade in unidirectional Direction (Update are high than inserts)
We recently implemented merge replication.We were expereincing. The replication is between 2 SQL Servers (2005) over same network box, and since we have introduced the replication, the performance has degraded considerably on subscriber end. 1) One thing that should be mention is that its a "unidirectional Direction" flow of changes is from publisher towards subscriber (only one publisher and distributor as well and one subscriber ). 2) Updates are high than inserts and only one article let say "Article1" ave update up to 2000 per day and i am experiecing that dbo.MSmerge_upd_sp_Article1_GUID taking more cpu time.what should be do.. on subscriber database response time ...Show All
Visual C# hide or visible=false do not work
hi to all; i have created a C# applicaiton Windows Forms app and i dont want it to show the Form itself.. to do this. i used in Form Load method this.Visible=false; it didnt work i used this.Hide(); again it didnt work.. then i used these codes in Initialize component method but unfortunately again didnt work.. how will i prevent my form to be seen.. hi, Form Load event is occured when form is being loaded. After form load event is completed , the form is shown. Even you hide the form in the Form_load event. after the event, it will show again. The hide method and visibility is worked properly. To test this, add a button to your form and in the button click event, just call hide method ...Show All
Visual Studio Express Editions textbox_keypress does not handle both backspace and write the key event
I'm developing a simple text editor (in C# by use of textbox) designed to use alphabeth that doesn't have independent vowels. I need the cursor to move back and change the last character (consonant) when a vowel key is pressed. textbox_keypress seem not handle both backspace and write the event simultaneously. Can any one tell me how to solve this You can directly modify the Text property of the textbox in the KeyPress event. For example: private void textBox1_KeyPress(object sender, KeyPressEventArgs e) { switch (e.KeyChar.ToString().ToUpper()) { case "A": FixConsonant("B"); break; case "E": FixConsonant("F"); break; // ...Show All
