Markus Fischer's Q&A profile
Visual Studio Modifying fonts in the code view
Hello, I am currently about to start a study of fisheye view visualization of source code. For this, in a developed add-in for VS2005, I need to be able to change the fonts of individual lines in the code view of VS2005 - is there any way to achieve this I.e. I need to be able to set font size individually for each line. As far as I can see from the documentation this is not possible - only changing the colors and styles can be done - is this correct If so - is it possible to take advantage of VS2005's code model (i.e. the TextSelections, points, CodeElements, etc.) in a custom build code view Best regards, Thomas Rene Sidor University of Copenhagen, Denmark Hi Thomas, Unfortunately, this is not po ...Show All
Visual Studio Express Editions DHTML controls
how do i get the copy, cut and paste controls to work with the DHTML box jenx222, What is the copy, cut and paste control in your project Are they list in VB Express Edition toolbox Please make your problem specific and just tell me what is your DHTML box In order to implement the above function you mentioned, you can write some certain javascript code for each of the functions. However, I don't think you need the javascript code in this question. One more thing, could you tell me something about your project, or what do you really want to do in VB Express Edition Waiting for your reply :-) ...Show All
Visual Studio In-Place drill downs
Hi, Is there any way to do in-place drill downs By in-place i mean the detail section dropping down after the drill down column is clicked on the same tab. I don't want the on-demand drill down that opens in an new tab. it seems as though we can't do this through the designer. is there any way to do this programmatically Maybe capture the Ondrilldown event then show only the detail for that record that was clicked any ideas would be great. Thanks John ...Show All
Windows Forms Having an issue with printing a picturebox control runtime image. Please help.
Hi, I am trying to copy PictureBox1.Image to PictureBox2.Image because I am streaming a webcam video. The webcam video is displayed on PictureBox1. In order to show the webcam video on other computer, I may copy the webcam video from PictureBox1. However, it can't be simplily achevied by making a button like private void button1_Click(object sender, EventArgs e) { pictureBox1.Image = picCapture.Image; } How can I copy the pictureBox1.Image to other pictureBox You could download my application at: http://www.yousendit.com/transfer.php action=download&ufid=CB1D2DAC74B050A3 Not sure if this will help: http://msdn.microsoft.com/coding4fun/someassemblyrequired/babie ...Show All
SQL Server Database Normalization Question.
Hi, I'm designing a database to represent items in a restaurant menu. An item has the following information associated with it. Item- Name, Price, Catagory, Ingredients(many), and Options(many) Ingredients- Name, and Price Catagory- Name Options- Name and Price. This is how I have it set up so far. ------------------------------------- Table Item -ItemID as Primary Key -Name -Price ------------------------------------- Table Ingredients -IngID as Primary Key -Name -ItemID as relationship to Table Item ------------------------------------- Table Catagory -CatID as Primary key -Name -Item ID as relationship to Table Item ------------------------------------- Tab ...Show All
SQL Server Cant's shrink tempdb in sql2k5
Hi, tried to shrink 190gb tempdb but got following message: DBCC SHRINKFILE: Page 1:24027896 could not be moved because it is a work table page. Anyone know why The tempdb is almost empty, just doesn't release free space. first we need to know why SQL Server is consuming tempdb so alarmingly ... is there any database set as Snapshot issolation level or rowversioning... is there excessive use of Tempdb/tablevariable.. or else just run SQL Profiler and find out the reason behind the growth first http://www.microsoft.com/technet/prodtechnol/sql/2005/workingwithtempdb.mspx Madhu ...Show All
Visual Studio 2008 (Pre-release) Change Tracking Aervice And Garbage Collector
I have a question about interaction between change tracking service and garbage collector. If I Select some entities into application Modify them am not going to call SubmitChanges Forget links to the objects What should I do to allow garbage collector to take the objects ...Show All
Visual C# Copy and paste data between 2 notepads in C#
Hi All, I need to open 2 notepads programatically. If I copy data from one notepad, and try to paste it in the next notepad, it should not get pasted. Can anyone suggest me a solution for carrying out the above one. I'm working in an e-publishing concern. Here we process a lot of 3b2 files. When we start a 3B2 application, scripts are generated. These scripts generate data. This data is copied from one file to another file. But the data should be unique for each file. Since people are copying and pasting this data, we encounter certain problems. So to overcome this problem, we need to find a solution. Can u suggest some other solution for this problem Thanks! ...Show All
SharePoint Products and Technologies make a dropdownlist column in add new list item form postaback to serv
Is it possible that when a user is trying to create a new list item in the add new list item form. Whenever he selects a different value in the content type column, I need to post back to the server. The purpose of this is that I need to modify the value field programmatically according to what value the user selects in the content type column. Thank you. I'm not sure which 'description field' you mean, but I believe one possible way to do this is to create a custom edit form for each content type you are interested in. There is a concept of a default template for rendering fields and you can extend this, by adding field controls for existing fields, which will override the defaults. Therefore, you should be able to eith ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Question about 'EffectParameter' class
Given that the EffectParameter class is sealed I need to ask: any chance for future versions to take advantage of generics for methods like SetValue and GetValue I 'm not meaning to create a new 'EffectParameter<T>' class (what'd make it difficult for the 'EffectParameterCollection' class), but something like: GetValue<T>() or GetValue<T>(T dummy) -the latter to avoid the use of the static <T> when calling the method, instead of GetValueVector3() and so on (ditto for the methods that return an array). SetValue<T>(T value) , instead of overloading SetValue(...). That way it could be easier -for us- to implement a sort of "fx parameter mapping" technique as well as an 'EffectParameterHan ...Show All
Windows Forms Error Code: 0x80070643
I have tried to install Windows and Office updates utilizing the Automatic installation tool; but, the initialization takes place and none of the updates are intalled. I ran WinDoctor and I am told that I am missing file "ORUN32.exe" and it cannot access "learn32.dll" and "pctree32.dll". I have searched my computer and found the orun32 and pctree32 files but not the learn32 file. I don't know how it got deleted and not sure how to get it back in place to use the automatic update. What do I do to get my Automatic updates to run again Please help me! I have attempted every 'fix' written about this problem, and all my parameters meet the specs. I cannot install the Junk Mail Filter to MS Office ...Show All
Visual Studio Team System VSS Migration Errors - TF60096
I just attempted to migrate a larger source control project from VSS to VSTF and am getting the following types of errors: TF60096: Unable to migrate due to Team Foundation Error: The item $/ECAT/Databases/MEDECAT/ddl/Packages/Web/p_web_shoppingcart.sql could not be found in your workspace. This file in VSS has 228 versions, but after the migration it only shows up as one version in VSTF: 4725 add hr90117 7/7/2006 7:39 AM Tip Version match Checkin---- DO NOT MODIFY. VSSConverter comment. Verification complete ---- Why aren't the other 227 versions of this file being migrated to VSTF source control Thank you for your assistance. I have sent you the VSSConverter.log to the MSN email address listed above. I will be workin ...Show All
SQL Server how can i create 6digits unique number?
i want to assign a unique 6digits numbers for every inserted record.. Can you make use an identity field That ought to be the most direct route. If you need to know the identity of the last inserted record you can take advantage of the SCOPE_IDENTITY function. ...Show All
.NET Development DateTime compare difference
Hi Everyone. I have two middle tiers that use their DateTime.UtcNow to update a synchronization object in memory and in a db. Even if the machines are a bit off in their internal times, i need to make sure that i'm comparing consistent datetimes. Seems to me that: (1) i need to fetch one consistent UTC time from somewhere that is machine time agnostic (2) when i compare the times, that i compare with a tolerance, of say 3 minutes (allowing the machines to be 3 minutes apart, either way...earlier or later). How could i do #1 and #2 For #2, i was doing this: if ( DateTime.Compare( memory.LastModifiedTime, database.LastModifiedTime) < 0 ) How do i do this with a tolerance of 3 minutes (1) You should e ...Show All
Visual C# 1 second delay
how can i add 1 second delay like: // i have some code here // my code // is here i want to add 1 second delay here // rest of // my code how can i do that please help me.. Peca55 wrote: Hmm.. checked sleep time and found that independent of sleep time the real sleep time is 64 micro seconds shorter! This should be take account, if comparing time values. This is what should be assured by Microsoft. We the programmers suppose that if we put 1000 milli seconds as Parameter it must work the same way. Second thing if there is a difference of 64 Micro Seconds then in many situations it should not Mater but it depends on the sitation where you need Precision or you have some cushion. Cheers ;-) ...Show All
