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

Software Development Network >> DJ Pandamonium's Q&A profile

DJ Pandamonium

Member List

lfnovo
xpding
Swal
Alessandro Camargo
Chuck Cobb
kangalert
SQLServer2050
rbedard
Rapper
Michael Morrissey
koldFUSiON
NemanjaTheLost
georgeob
fafnir
MaggieChan
Gordopolis
JeffK_
Josh Unger
Raba21
Rups11
Only Title

DJ Pandamonium's Q&A profile

  • Visual Basic using NonSerializedAttribute class with Visual Basic events

    I am having a problem serializing an object, in that it has events, which are handled by event handler methods in an instance of UserControl. Thus, when the object is serialized, those events are serialized, along with references to their handlers, which makes it try to serialize the UserControl instance, which cannot be serialized (even if it could I wouldn't want to). Apparently you can't just use <NonSerialized()> on an event. I saw the following example in C# on http://msdn2.microsoft.com/en-us/library/system.nonserializedattribute.aspx: "To apply the NonSerializedAttribute class to an event, set the attribute location to field, as shown in the following C# code. [field:NonSerializedAttribute()] public event ChangedEventHand ...Show All

  • Windows Forms Different size on ToolstripMenuItems

    Is it possible to mix toolstripmenuitems of different heights in a toolstripmenu Now, if I have a menuitem with text on 3 rows, the other items with only one row will try to align the text relative to the center of the 3-row-height. I've tried everything but nothing works. Look at this picture: http://erik.er.funpic.org/temp/strangetoolstrip.png Here i have an item with a picture that resizes the height of the item to about 100px. The second item will get 100px height automaticly and also centers the text verticaly ( even if i've changed text-align to top-left! is this a bug or does text-alignment do something else ). On the third item i've manually changed autosize to false and height to 20px. But there is no text there, i ...Show All

  • Windows Forms Format MessageBox Text

    Using VS.Net 2003 Yes, haven't upgraded here at home yet, only at work... cost $ :P But, not sure if this is possible. A MessageBox: string message = "Delete " + lblTitle.Text.ToString() + " "; MessageBox.Show( this , message,.............); Is if possible to format the lblTitle.Text above Bold, underline, color, or anything will do. Thanks, Zath Thanks for the info. It's been a while since I did a winform or rather needed to adjust a msgbox. You just reminded me of a time I did just that. A seperate form and pass the answer back to it's parent. (goes hunting for an old 2002 form :D ) Thanks! Zath ...Show All

  • SQL Server Default values of columns not transferred in SSIS Transfer Objects Task

    I am working on a project that is creating a new application, my area of the project being the migration of data from the old application database, transforming it, and populating the new database. The transformations to the old data are done in a staging database. At the end of the process, the staging database ends up with a lot of new applications tables, populated with the migrated legacy data. We need to move these tables from the staging database to (initially) our test databases, but ultimately what will be the live database. We have tried using the "Transfer SQL Server Objects Task" in SSIS, but have ran into a problem that a lot of the database tables have default values for columns. These default values a ...Show All

  • .NET Development Used memory in task manager after restoring from minimization

    Hi all, If one windows applications written in C# consumes 200 MB memory (shown in task manager), we minimize this application, then restore it, the memory this applicaiton consumes will reduce to around 10 MB. But if we check the available physical memory (shown in task manager as well), there is no such a big memory release. Any comments/hint on this Is the memory release of minimization-restoring a REAL release Thanks, Yifei That's a great explaination Michael. For further reading, check out http://getdotnetco.web119.discountasp.net/GdncStore/free/Articles/The%20Memory%20Mystery.htm -Chris ...Show All

  • Visual Studio Team System Build question

    First let me state that I am not asking HOW, but rather if the following can be done, the how question may come a few weeks down the road when I actually start using the build process. We have a site which is almost all content, and as such we have a non-developer doing the updating of the site. Also the site is not pre-compiled thus giving us the ability to update just a single page. Is it possible in the TFS build process to detect just a single file that needs copy and just deploy the page Thanks Wayne We are using the Web Application Project now, and are doing the single page update model. Now I'm not a 100% sure how our consultant accomplished this I'll have to ask when I get ba ...Show All

  • .NET Development setting XML attribute

    I'm trying to set a XML attribute whenever someone presses a radio button for example: before radio button click <row type=""> after radiobutton click <row type="header"> i can select the row and change the value however i am having problems writing the change back to the file. if i use the xmltextwriter it seems to clear the file the code im using to get to the button currently is XmlNodeList nodelst = _doc.GetElementsByTagName("row"); foreach (XmlNode node in nodelst) { XmlAttribute attr = node.Attributes["type"]; attr.Value = "header"; } can anyone help at all Colin Gemmell that part works fine and ...Show All

  • .NET Development How to maintain responsive UI while doing thread-safe calls to controls?

    The program that I'm currently working on is supposed to download several files from a server and to display the name of the currently downloading file with a label, aswell as the overall progress of the batch download and the progress of the current file in form of two progress bars. At the moment, I'm doing the downloading in a background thread using the BackgroundWorker component. To update the progress bars and the label, I use the ReportProgress method and the ProgressChanged event of the BackgroundWorker component. Therefore, I pass a custom structure to the ReportProgress method which I evaluate in the PrgressChanged event handler to determine what the UI should do (for example, do one step on ProgressBar1). As far as I know ...Show All

  • Visual Studio Tools for Office Creating a new store in outlook

    I want to create a store in outlook, but I would like it to be 'virtual' - ie with no pst file. An example of such a folder is the Microsoft CRM plugin - this which creates a Store with no pst file behind it. The folder\store I want to add will not ontain any items, rather it's home page will be somewhere I specify and it will show it by default. Can anyone help All I can find is a call to CreateStore() and CreateStoreEx() both of which create a pst file. You mean AddStore() and AddStoreEx(), I think. Last time I looked at CRM (which was a couple versions back), it did use a .pst file. It just doesn't store any data there. It just uses the folder hierarchy to show a folder home ...Show All

  • Visual C# How do i run other c# projects from my present C# project

    Hi, I want to compile and run other c# projects from my present c# project. Could you send a sample for this Expect quick response. Thanks, Ramesh. you first add second project like a .dll file 1.from second project you chose Project menu / project property and set output type as Windows library then build this second one 2. you add this yhis second.dll to main project by click on Refferrence to add on right Solution Exploer 3. from main form you call second.funtionfromsecond hope that helps you dongmt Vietnam ...Show All

  • Visual Studio Tools for Office VSTO SE Interior.Color property issue

    I have an application developed using VSTO 2005; it works fine in Office 2003. now I downloaded the VSTO SE 2005 Beta runtime version and I ran the application on 2007 Microsoft Office System (on Win Vista) at first look it was great, it works; but I having an issue with one API property's Interior.Color (nameRange.Interior.Color), it fails when it is set from a other thread (not the main thread) e.g. start a thread to paint some cells while the application is showing a window with a progress bar. Any idea, comment to fix this issue/limitation/bug will be very welcome. Thanks, jr I'm not sure if it is blocked from my side but the given link doesnt seem to be working. I managed to pull of my color stunt ...Show All

  • Commerce Server CSF and OrderDiscount

    Are CSF and OrderDiscount related or do they work together i.e. If CSF selects discounts then does OrderDiscount use this discounts only or OrderDiscount again fetches all discounts and evlaute them to apply Is there anyway where pipeline component before OrderDiscount selects the discounts to be applied and OrderDiscount only applies them Also, OrderDiscount documentation specifies about item_product* property. If component needs to modify or set some item_product* property then how should one go about it how is collection of item_* properties stored in Order dictionary CSF is used for targeting of ads and discounts. The Advertising and Discount pipelines are both of type CSFPipeline. OrderDiscount ...Show All

  • Visual Studio 2008 (Pre-release) Text aliasing behavior on ScaleTransform

    Hello, I'm writing an app that allows the user to place arbitrary elements on a document surface and to zoom that surface to some arbitrary zoom level using a scrollbar. I figured WPF would be perfect for this, but I'm running into a few issues. First, some background: I've bound the Value of a Slider control to a property on my document view object. That property's setter takes the log of the slider value and sets the ScaleX and ScaleY values of a ScaleTransform which I've set as the RenderTransform for my document view. My document view is subclassed from Canvas. One of the stranger issues I'm having is the behavior of text anti-aliasing: when the user changes the zoom level by moving the slider the document view zooms appropriately. Ho ...Show All

  • Visual Basic Fill bound combo

    Still havent fiqured this one out yet. Say if you have a combobox that is bound, and you want the drop down to contain data from another tables column. How do you do that Davids Learning To add new items, you would need to add them to the datasource that the control is being bound to and not the combobox directly. So if you are binding to a datatable - then add the items to the datatable and they will appear in the bound control. Binding to a datatable/dataset is not a problem as this is a local copy of what may be a retrieved from a database, as long as you dont run an tableadapter update method with this dataset these addition wont be persisted back to the database. ...Show All

  • SQL Server error when backup transaction log

    hi guys, I'm using sql 2000 and I got this error when I run backup transaction log in maintenence plan. "The job failed. The Job was invoked by Schedule 38 (Schedule 1). The last step to run was step 1 (Step 1)." but even it return an error the backup file is created. please advice. thanks There has to be a more detailed error, if you did not choose to log the job execution, try to do this, as this. Otherwiese you will only get this common exception which does not really help very much. HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

©2008 Software Development Network