antcasq's Q&A profile
Visual Studio Express Editions Change rich text box color vb2005
hi How can i changed selected line background color on rich text box Thanks Shady, Looks like you are building a RTB editor. You might want to download my RTB editor (not perfect, but lots of bells and whistles to look at.) It's code shows how to do most of the questions you have posted. http://users.adelphia.net/~gcumbia/printrtfnow.zip (See, I even have a typo in the project name I gave it. should have been 'PrintRTBnow'. But I left the name alone because changing the top level folder name in a project sometimes messes things up.) ...Show All
Visual Studio Team System editing Process Template file
I started out with the MSF for Agile Software Development, and I am trying to customize it. I am looking for information on how the permissions section works (I am using the Process Template Editor by Imaginet). There is a table in the Group and Permissions tab that displays the following:Permission PROJECT CSS_NODE NAMESPACE EVENT_SUBSCRIPTIONGENERIC_READGENERIC_WRITEWORK_ITEM_READPUBLISH_TEST_RESULTSWORK_ITEM_WRITESTART_BUILDUPDATE_BUILD...UNSUBSCRIBEDoes anyone know what the columns mean PROJECT, CSS_NODE, NAMESPACE, EVENT_SUBSCRIPTION I am unable to find any help on this - thanks for your help. The fields PROJECT, CSS_NODE, NAMESPACE and EVENT_SUBSCRIPTION define the scope of the permission- ...Show All
SQL Server Alter View Hangs - Merge Replication SQL 2005
Background - I have a publication that propigates schema changes. I have a view in which I want to remove a column. Error - Going by what the BOL says, I use Alter View and delete the column from my select statement. I issue the alter view command against the Publication database and it just "churns". I do not get any locking errors or any other type of error, but the statement never completes execution. I watched it run for 10 minutes and cancelled the query. Executing the same statement against a copy of the database that is not being published executes in 1, 2 seconds. Here is what I am doing: Old View: Select table1.record_number, table1.record_date, table1.status_code, table2.status_desc, table2.txt_sort_ord ...Show All
Software Development for Windows Vista Help, Persistence not working!
I have an ASP.Net web service that uses workflow. I followed the examples to use SqlWorkflowPersistenceService so my workflow instances would be saved in a SQL database I created for this purpose (running the SQL scripts in C:\WINDOWS\Microsoft.NET\Framework\v3.0\Windows Workflow Foundation\SQL\EN). Here's my problem: my workflow instances are not being saved to the database! I can see my workflows going idle, but when I check the database I see no records in InstanceState. Am I missing something Could someone help me debug this, it's driving me nuts! Here's some of my configuration and relevant code: < add type = " System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService, System.Workflow.Runtime, Version=3.0.0.0, ...Show All
Windows Forms Trying to access another process from my Win Form
Hi, I am trying to access another process from my application. The problem is I am not able to activate this process and give tab sequences in it. This is the code I have written. What to do after this Please give suggestions. private void Form1_Load( object sender, System. EventArgs e) { Process myProc = Process .Start( "IExplore.exe" , "http://kshop/kshop/default.asp" ); int id = myProc.Id; Process .LeaveDebugMode(); Process p = Process .GetProcessById(id); // After this, how do I activate this process //SendKeys.SendWait("{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}"); //this command is not working } Oooh, trying to make a multi gmail account notifier ...Show All
.NET Development Break code changes from net 1.1 to net 2.0
I hope this is the place to put this question, I apologize if not. I was reading an interesting article about Gedcom and XML conversion ( http://msdn.microsoft.com/msdnmag/issues/04/05/XMLFiles/ ) XML Data Migration Case Study: Gedcom (MSDN Magazine, May 2004). The code is clear but it only works under Net 1.1. Under Net 2.0 I have no errors, but the code doesn't work. I just can't figure out what is going on, because everything seems to work ok, except that the XML is not generated. There were some changes under System.Xml that affect the code's behavior, but I couldn't find any documentation about it. I sent mail to xmlfiles@microsoft.com but not answer. Anybody has a clue what is going on or can explain what are the ...Show All
Visual Basic Button_Click Events
How does one going about Knowing when a event has happened from another method ie button_click event... basicly im trying to create a login form that will go to the main form if the values from user and pass are correct. Though I also have another method that is an event for the form disposing to close the program. I hope the code below explains what i mean... basicly need an if statement to know if im disposing the main form or not depending on a button click from the logon button. This is only a test program for me to learn VB.net, so basicly i could be going way out here. Seprate question to main question I've come accross so many logical problems so far and i'll have plenty more, if i get this basic program working to a stan ...Show All
Visual Studio Express Editions Clipboard Help
Hello all, good morning :) need some help with this one please: I have 6 textboxes on my form. I need to assign each textbox with a shorcut key (eg. alt + 1, atl+2 etc..) and then copy the contents to the clipboard. I take it that I would have to put the code in a timer event & would the shorcut keys still work even if the form is not displayed on the screen Thanks, Stuart ReneeC, is it poss you could explain some of what the code means aswell I just didn't want to copy you code without understanding a few things. Whats the "D" after the keys mean and come from (eg. Keys.D1) Tb=sender.text And I take the e stands for Event which is declared in the sub Thank you, ...Show All
SQL Server Count & LastNonEmpty
Is there any way to make Count work properly on a measure group where aggregation for every single measure is set to LastNonEmpty Basically it's a fact table that contains periodic snapshots of data & so count only makes sense within the slice based on insertion time. Thanks! Here's an example: Product Amount ImportDate a 1 Jan 2007 b ...Show All
Visual Studio Team System Installation of RTM destroys my Visual Studio installation
I am using Vistual Studio Team Suite english version on on german Windows XP Proffessional. I installed the trial of Datadude, which would as Gerd Drapers posted in hit blog would be a full version if I had the Team Suite (which I have). Now since Visual Studio and DataDude are both english versions, I would expect an english Visual Studio after the install. But instead I now got half the menus in german and the other half in english. This really can't be. It did not happen with the CTPs and now that. It is simply bad. What must I do to get my english Visual Studio again Hallo, I can not confirm your findings. See my thread RTM Download for Team Suite Subscribers All menus, submenus, etc. are in e ...Show All
Visual Studio report is being generated never goes away.
I am using a reportviewer for a windows forms project that query's an access database. 75% of the time the report stays with the message that the report is being generated, but never does. 25% of the time it works. I have had it not work - make no changes, hit the start debugging button and have it work. I can see no pattern here whatsoever. What is going on I have made separate programs and still have the same problem. No it is not resolved and I have replicated it several times. I am suspicious it is a bug related to access and report viewer. Are you using a sql server database or an access database ...Show All
Visual Studio Express Editions Container control?
Hi. I'm trying to make a control that can contain other controls. I make a UserControl, but I can't get it to work. I can't drop another control on it. Sorry for the newbie question, but in VB6 I only had to set a property to make it a container control. I'm really a bit confused. Any help Thanks. Oh my god! I'm feeling like a nOOb. All of your answers worked. The problem I had was that I put a panel into the control, so the other controls couldn't show up. Thanks to all who helped. ...Show All
Windows Forms How to do tracing logs ??
Hi, How can I add tracing log in my application Is there any .net specialized class or some property that logs tracing data automatically or would I have to manually do it by writing strings to a file using System.IO.FileStream and StreamWriter Thanks, EventLog class will log message in system's event viewer with some additional information such as timestamp, event id, event source, etc. http://msdn2.microsoft.com/en-us/library/system.diagnostics.eventlog.aspx ...Show All
Visual Studio 2008 (Pre-release) Memory Leak problem when using bitmap image as tooltip?
My code: Image img = new Image(); BitmapImage bi = new BitmapImage(); bi.BeginInit(); bi.UriSource = new Uri(@"C:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Water lilies.jpg"); bi.EndInit(); img.Source = bi; btn1.ToolTip = img; //btn1 is a Button Symptom: Every time when the tooltip of "btn1" shows, some memory is consumed and will not be released later. So, is it the problem of my code or the winfx Thanks a lot. I don't think that's a WinFX problem. I believe that, as long as the btn1 element exists, its property value (in this case, the bitmap image) is stored in memory. So, if you really want it gone, set btn1.too ...Show All
Visual Basic How to convert Coordinates to image?
Hi, I want draw a image using X,Y coordinates.(Ex- (88,50)(86,49),(87,48)) Can some body give me idea how to draw a bit map using co-cordinates. Thx & best rgrds Roopesh Hi Donny, Am trying to do like this on the Web forms Dim oBT As Bitmap = New Bitmap(300, 100) oBT.SetPixel(28, 31, System.Drawing.Color.Red) oBT.SetPixel(24, 51, System.Drawing.Color.Red) oBT.SetPixel(28, 63, System.Drawing.Color.Red) oBT.SetPixel(28, 55, System.Drawing.Color.Red) oBT.SetPixel(28, 47, System.Drawing.Color.Red) oBT.SetPixel(28, 27, System.Drawing.Color.Red) oBT.SetPixel(28, 15, System.Drawing.Color.Red) oBT.SetPixel(28, 7, System.Drawing.Color.Red) oBT.SetPixel(32, 0, System.Drawing.C ...Show All
