ishotjesus's Q&A profile
SQL Server SQL Server vs. XML Configurations
I have been experimenting with both XML and SQL Server Configurations. Management would really like to go with the SQL Server Configurations, but I seem to be having problems with them. The main goal is to be able to create a configuration for each connection and have every package refer to its specific configuration, therefore in the future we could change say our SA password and only have to update this in a few places rather than for every package. In order to experiment with the problem I am having I developed 2 identical packages, except one uses SQL Server Configurations and the other uses XML. The configurations save the exact same properties. With the XML package I can go into the configuration file and change say the passwor ...Show All
Software Development for Windows Vista Create "Custom SetState" activity
Hi Im am trying to create my own SetState activity. My goal is that the activity is to validate a property on the workflow and the go to 1 of 2 states defined on my CheckParameterAndGoToState Activity. I have look at the SetState with reflectot and have created my own version of the internal StateDropDownEditor which allows my new activity to have two TargetStateProperties. This works. But this does not draw the lines on the state machine since i am not using the originally SetState activity. How do i do that Should i implment my own ActivityDesigner for my activity If yes. Which one should "look at" eg. with reflector Thanks in regards Anders Are you using a custom CompositeActivity ...Show All
Visual Studio 2008 (Pre-release) Bug Fixes
Hi, Being a developer I know that writing software is a tedious business. I would just like to know how much time is spent by the WPF team going through bugs at the official bug logging site ( connect.microsoft.com) The reason why I am asking is because I logged a few bugs that are really critical for the application we are developing, and I would like a "timeline" as how long the whole process would take before the changes is added in a next CTP (which already to long to wait) or maybe a patch Thank you very much, Jaco Hi, https://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=178827&SiteID=212 https://connect.microsoft.com/feedback/ViewFeedback.aspx Feedbac ...Show All
Visual C# Confusing Error
I have an application that runs on PCs with VS installed but won't run on PCs without VS. Whenever I try to run it on PCs without VS it throws an error during startup. It won't even execute the first line. I find this eventlog in eventviewer: "Faulting application app.exe version 1.0.0.0 stamp xxxx faulting module kernel32.dll version 5.0.xxx.xxx fault address 0x0001eb33" Anybody know what this means Hi You have to installed (re-install if already installed) the .NET Framework 2.0 on target machine and then you can run ur application. You can download it from http://www.microsoft.com/downloads/details.aspx FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&DisplayLang=en ...Show All
Visual Studio Express Editions open text file
i need to open a txt file in a richtextbox using a openfiledialog... what would be the code for this It can be as easy as: Dim OpenFileDialog1 As New OpenFileDialog If OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then RichTextBox1.LoadFile(OpenFileDialog1.FileName) End If ...Show All
.NET Development AppDomain problem when starting a .NET 2.0 application using DDE
I am experiencing a strange problem and was wondering if anyone could give me insight. First of all, has anything changed in .NET 2.0 with respect to how the shell starts applications using DDE (on double clicking of a file) Basically (I could provide more details if needed), my problem is that when I start my application by double clicking on a file associated with it, some type information seems to not be shared between AppDomains. More specifically, code in app domain A calls a function foo() which creates a value of type MyType in app domain B, then the code in A casts the return value to MyType. app domain B MyType a = foo() as MyType; When I start the application by double clicking on a file, the value of 'a' after the cast is nu ...Show All
Visual Studio Express Editions Help Computed column
hi i need help regarding this problem i always see here in forums how to add or multiply diff columns and show result but my question how to get result in all the cells in 1 column and display result in a textbox . for example i have a table that has a column CodeID, Quantity, And Price i already have a solution in Quantity * price and show it to a textbox but how will i compute all the cells in 1 column like Price only btw im using vb express and sql as database and not using datagried view im using a deatails view. TheDataSet is a dataset control that you have created on your form. Tables(0), is the table that is in your dataset, index number 0 (so , i f you have 2 tables listed in the dat ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Will XNA work with .......?
hey everyone im new to this forums and i just had a quick question but if this question has been already asked then you may lock it. ok my question is i recently downloaded Microsoft Visual C# Express 2005 will this work with XNA / is that the only program i had to download for XNA.. or in other words are there any other software i need to download to use XNA on August 30th or will XNA come with the other programs Thank You very much.. Unlimited Destroye wrote: By the way what about v.b At the moment only C# is supported. They have stated other language may be supported later but nothing confirmed. ...Show All
Software Development for Windows Vista Can WWF can run with Framework 2.0 ?
My company's developping project using Visual Studio 2005 Professional (DotNET framework 2.0). My work's using WWF. Can I use WWF with this version of Framework How to install and use And if the answer is "Can't" and I have to install DotNET framework 3.0 and Visual Studio 2005 Extensions for Windows Workflow Foundation. May my project can work well with the others using framework 2.0. My project just is a part of my company's project. Please help me ! If you want your workflow or custom activity to have properties you just add a .NET property get/set that returns/sets the value to a .NET variable or a DependencyProperty. For examples of each take a look at this post. ...Show All
Visual Studio Tools for Office Interface Not Registered Interop.Outlook
I'm running into a problem trying to access an outlook inbox from vc#. On my machine I am receiving the error "Interface Not Registered" when trying to create a new recipient. I've tested this on another machine and do not get the error message. The following is where I recieve the error, Outlook. Application app = new Outlook. Application (); Outlook. _NameSpace ns = app.GetNamespace( "MAPI" ); Outlook. Recipient rec = ns.CreateRecipient( "somebody@somewhere.com" ); Outlook. MAPIFolder fldr = ns.GetDefaultFolder(Outlook. OlDefaultFolders .olFolderInbox); Outlook. MailItem mail; It is at the ns.CreateRecipient line that I receive the error, I am using the Outlook 11 object library. I'm as ...Show All
SQL Server problem with rank on freetexttable
Hello, I'm having a problem that I'm hoping one of the Sql Server guru's on this forum can help me with. This applies to SQL Server 2005. I'm working on an appliction that used the FTE index ranking feature. We're having a problem that all of the rank values start coming back as ZERO. If we rebuild the index for the effected table, the rank values start working, but eventually it stops working again. Recently, the rank values have been reverting to zero within a minute of the rebuild. For reference, below is the sql code that we are using to get our search results. select row_number () over ( order by RANK DESC ) as rowNumber , [KEY] , rank from freetexttable ( searchIndex , *, 'outlook' ) ...Show All
Visual Studio 2008 (Pre-release) Generic Expand/Collapse of TreeViewItem
Hi, I am trying to Expanding/Collapsing All nodes (i.e. generic Expand and Collapse) of a TreeView by clicking a menu item or button. The tree structure is generated dynamically using HierarchicalDataTemplate . I have created a class like public class Expander_class : INotifyPropertyChanged { public static bool _expand_flag; public Expander_function() { _expand_flag = false ; } public bool Expand_flag { get { return _expand_flag; } set { _expand_flag = value ; OnPropertyChanged( new PropertyChangedEventArgs ( "Expand_flag" )); } } public event PropertyChangedE ...Show All
Visual C# Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
Hi, I Am NewB To C# Actually Converted From Java To C# Because Of My Final Year Project Needs Am Developing An Application For Remote Sharing On A Wireless Network, Using VNC# Lib, On Da Server App Due To Da Application Needs Am Using Da Libs Interop.ServerX & AxInterop.ServerX ... Da Thing Is While Debugging The Code I Get This Error Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) I Ave Searched Da Refrences From Da Diffeerent Forums On Da Internet & Ave Done Wat Ever I Came Across But It Didnt Helped :( Can Sum One Help Me In This ERROR Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) Envoked By Da Code ...... this .Text = " ...Show All
Game Technologies: DirectX, XNA, XACT, etc. about dx?
i can't install 9.0c over 9.0b...win notefies me that it's done but nothing changes..enyone If you're running Windows XPSP2, you have DX 9.0c, regardless of what DXDiag reports (we fixed this reporting bug a couple months ago. run the web installer if you want that bug fixed...only takes a few seconds to patch). ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How can I directly stop drawing a pixel?
Maybe it's a very essential question but... Which is the statement in the pixel shader to stop drawing a pixel Stopping it that way would have any negative effect Thanks The HLSL clip function will discard a pixel if any component of its input is less than zero. This maps to the texkill instruction. Yes, texkill prevents all updates to the render target, and to the depth and stencil buffers. Note that the rest of the pixel shader still executes (except, maybe, on ps_3_0 targets where you have true conditional statements - someone will have to look this up though I'm not sure if this is the case); the only change is that its output isn't written to the frame buffer. ...Show All
