Software Development Network Logo
  • Smart Devicet
  • Visual C++
  • Visual FoxPro
  • Visual C#
  • Microsoft ISV
  • IE Development
  • Audio and Video
  • Windows Forms
  • Visual Studio
  • Windows Vista
  • Game Technologies
  • SharePoint Products
  • VS Team System
  • SQL Server
  • Visual Basic

Software Development Network >> Dr Crs's Q&A profile

Dr Crs

Member List

Joel Martinez
CJW99
reichard
David Hills
Tall Dude
Hemantkum
Can-Ann
dn8
MagnumOpus
Sunchaser
Chris Holland
PAULL
NetPochi
Johan Nordberg
huriye
David C Baldauff
Smrtital
GGardiner
Kenneth Gillen
RaimondB
Only Title

Dr Crs's Q&A profile

  • .NET Development How to Create XmlElement Proxies?

    Hi all, I have a collection of XML documents identified by ids. The documents contain elements that refer to other documents by their ids. In other words, the XML documents are like a graph of XML data. Various views are used to display different parts of that graph using XSLT. The views should pull the necessary XML from the corresponding documents. For that means, I would like to instantiated proxies for thoses XmlElements which refer to XML documents. The referred XML documents should be loaded only when the view actualy is interested in their content, i.e. pulls out their content. What methods and properties of XmlElement must be overridden in order to achive such a behaviour I guess that ChildNodes must be overridden. What else Has an ...Show All

  • SQL Server Long parameter list for stored procs

    Hi All, I've got a problem with increasingly long parameter lists for SProcs... Especially when one calls another SProc, and so on. Is there any way around this Like can you dynamically construct a string and pass that I'm just looking to see if more experienced players have found ways around this, or have just dealt with it by using well formed code. Thanks Chris To me it is a question of numbers. If you have a long list of parameters, but they are fixed in number, then I would certainly stick to just writing well formed queries, not putting stuff into arrays or any of that other stuff. That method should be considered mostly for unknown numbers of parameters, paticularly when you need to pass unknown numbers of values to ...Show All

  • .NET Development Help with TripleDES and RC2 cryptography.

    I have 2 questions - 1) I get the following Exception when I try to decrypt data using TripleDES. - "An unhandled exception of type 'System.Security.Cryptography.CryptographicException' occurred in mscorlib.dll Additional information: Specified initialization vector (IV) does not match the block size for this algorithm." How do I make things right The code is as follows - /* Provides TripleDES encryption and decryption using classes in the .net Framework 1.1 */ public class TripleDES_Cryptography { public static string Encrypt(string plaintext, string key, string IV) { TripleDES des3 = new TripleDESCryptoServiceProvider(); des3.Mode = CipherMode.CBC; byte[] by_plaintext = Encoding.ASCII.Ge ...Show All

  • Visual C# best way to read pipe delimited text file?

    I am trying to read in a pipe delimited file and do certain processing for each field. I was just wondering what the best way to strip out each field is - is there anything built in .Net that will easily allow me to do this Or do I just loop through and remove each field myself Also, would it be best to strip each field out into a dataset first, and then do the processing Or, do the processing while I am separating each field Or does it not matter Thanks! Saeed it really depends. You can split the entire lines read into a string[] array if you like: string[] theLines; StreamReader theReader = new StreamReader("file.txt"); theLines = theReader.ReadToEnd().Split(new char[] { '|' }, Strin ...Show All

  • SQL Server need advise of basic knowledge

    I dont know where to put this thread, I just wanna ask a question..actually what is happen when subscription synchronized the publications among IIS process.. (SQLMobile) could you guys give me a diagram/schema of it thanks before thanks for your reply Mahesh :) I also curious about, when subscriber do data update on SQLMobile, and then use sync process, what is happen with the data on publisher is it updated like the subscriber did or subscriber will change back the data to origin publisher's I'm using merge replication many many thanks.. ...Show All

  • Software Development for Windows Vista Removing Shortcut Arrows

    Removing Shortcut Arrows Submitted 3/28/99 An easy way to remove those irritating arrows from your desktop shortcut icons and not change their properties Right click the Desktop / Properties / Appearance tab Select Item Scroll for Icon The default size is 32 Change this to 30 Clicking Apply ...Show All

  • Software Development for Windows Vista Vista ultimate features list

    I have finally got my edition of Vista Ultimate and....wasn't Virtual PC Express supposed to ship with this edition Doesn't seem to be installed and it's not in the updates list, not even the ultimate extras. Unfortunately, this doesn't answer my question. Virtual PC express is supposed to allow the user to run a second instance of Vista without the need of an additional license. VPC requires a second license. A rather expensive difference....... ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Can not find the xna racer game starterkit in the new XNA framework.

    very disappointed. Jim Perry wrote: Spacewar was very nice for a "rushed" package. I'm waiting for the FPS starter kit. you get a fps starter kit from me at the date 31-12-2006-12:00 new year ...Show All

  • Visual C# Setting Font Size on Thumbnail Image

    Hi, Can anyone tell me why when I use the code below, the font size comes out a different size on each thumbnail image System.Drawing.Image theThumbnail= bmp.GetThumbnailImage(width, height, myCallBack, IntPtr.Zero); Graphics g= Graphics.FromImage(theThumbnail); g.DrawString("SOLD",new Font("Verdana",6, FontStyle.Bold), new SolidBrush(Color.FromArgb(100,255,255,255)),0,0); I got it set to the perfect size for my test image, then tried another image and it was too small. It's like it's relative to the original image size and not the thumbnail image size The font em-size is usually expressed in points, which is an absolute measurement unit (one point should be 1/72"). ...Show All

  • Smart Device Development process on cf 2.0 ???

    hi, i need make a listview with all the process running on a pocket, but i had read very much information about process, launch with process.start.....but i don’t know how to make a list of process on memory on cf, because the Diagnostics.Process.GetProcesses.GetEnumerator isn’t not to cf. i need list this process because i think select any to kill him, and win memory to my program On my aplicattion the user can launch some another programs, like wor, excel...but i need close and dispose of memory when the user "close" word or excel. any idea thanks. You can use this even though it's designed for NETCF V1: http://msdn.microsoft.com/library/default.asp url=/library/en- ...Show All

  • Windows Forms I need to change the DataGridView individual cell background

    Hi, I am developing in c# and am new to the .net framework. I am using the DataGridView to display information from a database (frequency per run number within a certain date range). For each row there is an identifier that is scanned in by a barcode scanner and stored in the database as the barcode id, after the id there are the number of runs and the frequency collected in that run as the columns. When a frequency is the highest per row I want to highlight the cell that the frequency occurs in in red, and the lowest in blue. I can find the highs and lows no proble, I just need to know how to change the individual cell backgrounds if it is in fact possible or not based on the indexs calculated in the program. HEre is the code I have to ...Show All

  • SQL Server Best Practice for Report Projects Related To Application Solutions

    Hello Reporting Services Gurus! I'm about to start on my first reporting services project, but before I mess it up, I'm looking for some guidance on how best to achieve my mission. Here's what I'm looking to achieve: I have a datacentric application (SQL Server 2005 Express w/ Advanced Services backend) in which I want to build about 50 "canned" reports for the end users. I want to build the reports utilizing server mode so I can take advantage of some of Reporting Services advanced features. I'm not sure what the best practice would be to build the reporting services project. Is it better to include the report project as another project within the application solution Or, should I build the report project independent of t ...Show All

  • SQL Server How to deploy ASP.Net 2.0 appliction..No bin folder and dll file

    Hi I am Jaison I have developed small ASP.Net applocation in visual web developer 2005 I dont find any bin folder and dll file So how do i deploy my appliction in remote server Hi Jaison, You should post your messages at http://forums.asp.net but just to answer your question, you have an option to deploy your ASP.NET 2.0 using VWD Express. Right-click on your ASP.NET project and select Publish Web Site. Then, you can select the location on which to publish your site. If you want it simple enough, you can first deploy it in your local IIS. This will generate the bin folder and the corresponding DLLs that you need to deploy your web application. ...Show All

  • Windows Forms set focus to next cell on press of ENTER key in datagrid in VB 2005

    In datagrid in VB 2005, how can i set focus to next cell on press of ENTER key. Right now, by default it work by pressing TAB key. A new row must auto insert after pressing enter on last column of that row. Alex There is a sample on the vb-tips website ...Show All

  • Visual Studio Team System TFS-WorkItem Tab-Customization

    Is there any way to hide /show OR enable/disable the "Tab Page"  in Tab Group  according to either the WorkItem Workflow or the State Is it possible to link images( ) along with the Field  and  display the detail help information when user click on the image Thanks- Binod   Here it is: http://blogs.msdn.com/narend/archive/2006/10/02/How-to-use-Custom-Controls-in-Work-Item-Form.aspx http://teamsystemrocks.com/blogs/mickey_gousset/archive/2006/10/20/1167.aspx ...Show All

©2008 Software Development Network