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

Software Development Network >> MikeTomkies's Q&A profile

MikeTomkies

Member List

LORDTEK
johnsonp
Sarosh79
Noogard
Yelnik
Kostas Pantos
ROLIVIER
Chester R
Grant Holliday
TedViste
jaegd
sea2006
igor1960
Superobotz
Liu Hua
Mr Switch
Dave Fackler
Yongjun.Wu
Dietz
Hassano21436
Only Title

MikeTomkies's Q&A profile

  • Windows Forms Windows Installer XML (Wix) Toolset

    Anybody use Wix for setup and deployment I can't remove the COM+ object when I uninstall the application so that it fails to re-install the application when it checks that the COM+ object already exists. Anybody could show me how to deal with COM+ object using Wix There's a Wix mailing list at Sourceforge.net you could post this to, wix-users. http://sourceforge.net/mail/ group_id=105970 ...Show All

  • Visual Studio Team System Code checked-in everyday

    HEllo! Is there a way to enforce policies on developers to checkin\shelve files checked-out by them at the end of the day ONce this is accomplished, I want to run a report that shows the developer against their checked-in files. Thanks! Hello, There is tf command-line client command status ; you may write a script to be run every day to give you a list of pending changes. Alternatively, you may use Status Sidekick ; it was developed in order to provide UI for checked out files display (filtered by project, owner or date range) and allow administrator to unlock/undo changes. Yours truly, Eugene ...Show All

  • .NET Development How do you check for null values in a dataset column

    I have tried a large number of options to check for DBNull for a column returned in a dataset and I can't seem to figure it out. What I basically want is Dim ds As ADMDS.PGListDataTable Dim ta As New ADMDSTableAdapters.PGListTableAdapter ds = ta.GetDataByPropertyGroupID(propertyGroup) if (ds(i).prop_description is not null) then ... do something How do I correctly check for DBNull Everything I try gives me the same error. "The value for column 'prop_description' in table 'PGList' is DBNull." Option 1: l_tooltip = CType (ds(i).prop_description, SqlTypes.SqlString) If (l_tooltip.IsNull = False ) Then Options 2: if (ds(i).prop_description.isnullorempty = true) Option 3: if ...Show All

  • SQL Server howto open tunnel connection

    Hi, I'm connected to a remote server via a ssh tunnel. On the server there is an SQL Server running. The remote SQLServer TCP port 1433 is forwarded to local computer to port 8966. So I have to connect to localhost:8966 instead of remote:1433. In the connect dialog I can specify only protocol but no ip address neither tcp port number How can I specify the localhost:8966 in the SQL Server Management Studio Express as the endpoint to connect to you havent understood me I dont want to reconfigure the sql server. I'd only want to tell the management console where it should look for the particular server 1. There is a sql server somewhere in net 2. It listens on default port 1433 3. The port is blocked by firewall 4. Instead there is an s ...Show All

  • SQL Server SQL Server Agent Properties - History

    When you select 'Automatically remove agent history' with the parameters 2 months, it actually removed all but 2 DAYS ! This ruined 3 of my production server job histories. It also does not retain the parameter settings on this History page, not that i want to use this screen anymore until this parameter item is fixed. Everything is in sync, server and tools at RTM, no SP's. Thanks everyone for looking into this. I have confirmed with someone in Redmond that this is actually a bug. The code has reversed Months and Days. They will try to include a correction in either SP2 or SP3. ...Show All

  • SQL Server Can I Use Non-empty Behavior for These Calculated Members?

    I still find myself extremely confused about using the non-empty behavior for calculated members. We have a series of calculated members that we refer to as "Velocity", such as "Velocity Sales". The basic definition for these velocity measures is to get the total from the previous 63 business days and then annualize that total (i.e. multiply by 4), with the 63rd business day belonging to the previous month. For example, Velocity Sales for any day in September 2006 would be totaling the sales $ for the business days in the range of 06/05/2006 through 08/31/2006, and then multiplying it by 4. Perhaps not surprisingly, these measures result in extremely poor performance. Since I'm confused on the non-empty behavior, this p ...Show All

  • Software Development for Windows Vista How pull filter and push filter works?

    I am reading the MS SDK documents but still don't understand how the filter receiving and sending the stream data. The current problem is I inherited a set of filters from previous developer and the graph got lock-up after a minute of receive stream data. The MS a-sync sample was use as source filter and the CTee was use as transform filter (lockup at this point). I am very new to Direct Show. How I am going to debug this lock-up problem. Would you give me some hints Which function in filter would allow negotiation pins connection Thank you, I'm moving this thread over to the DirectShow forum, in case anyone on that forum has some ideas. Please see: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=959699& ...Show All

  • Visual Basic Unable to cast object of type 'System.TimeSpan' ...

    Here's my code: Dim ts As New TimeSpan ts = TimeSpan.Parse("1:02:03") MsgBox(Format(ts, "HH:mm:ss")) I get this error message at the MsgBox line: Unable to cast object of type 'System.TimeSpan' to type 'System.IConvertible'. What's happening here I am running Visual Basic Express 2005. Version info: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft.NET(Framework) Version 2.0.50727 Microsoft Visual Basic 2005 76541-000-0000011-00124 Hi, You could just use toString as in >> ts = TimeSpan.Parse( "01:02:03" ) MsgBox(ts.ToString) See also the differences with time on setting the CultureInfo ( if ...Show All

  • Visual Studio 2008 (Pre-release) WPF App Disassembler

    How do I disassemble a WPF app executable That is not just see its IL (using Reflector) but actually see XAML too My proof-of-concept is able to decompile Xaml from smaller WPF apps, but for more complicated ones (Expression, Max - the ones you actually probably want to decompile) it's having problems with (and for that reason I won't post it yet). Even for the simpler ones the approach I outlined in my earlier post (create object graph from baml using BamlReader or XamlReader) and then serialize (with XamlWriter) does not seem to serialize some things (like binding expressions). I still think by reflecting on how WPF constructs its object graphs and using the XamlWriter you could make a reasonable Baml -> Xaml decompiler. Sorry f ...Show All

  • Visual C# problem getting a 2nd event to fire

    I have 2 objects, each with events. One, a Timer object, fires its event and the other, a Connection object I created, will not fire its event. The Code for the Connection object is below: using System; using System.Timers; namespace Ch12N01 { //make this protected or virtual so child classes could use it public delegate void MessageHandler ( object source, EventArgs e); public class Connection { public event MessageHandler MessageArrived; private string name; public string Name { get { return name; } set { name = value ; } } private Timer pollTimer; public Connection() { pollTimer = new Timer(100); pollTimer.Elapsed += new ElapsedEventHandler(TimerElapsedEvent); } ...Show All

  • SQL Server report

    i need example of report, for some busines solution, do you know where i can to find it. Try www.microsoft.com/downloads/ - there are plenty report packs there. Also search for Project Real. cheers, Andrew ...Show All

  • Windows Live Developer Forums Offline messages

    I wonder why Microsoft doesn't make a possibility for MSN to send offline msgs It's much more convinient to send them just into your MSN, but not via email!! The same like ICQ does have. Why don't you make it :) indeed, WLM does support offline messages and as also stated, these are the incorrect forums. The place to ask technical support questions would be either the communities for Live Messenger: www.microsoft.com/communities or contact the technical support guys: http://support.live.com ...Show All

  • Visual C++ Error: Stack corruption around the variable 'tm'

    Hi, I have a win32 based application written in VC6. However, when I port it to VC2005 express edition, i get runtime check errors in the following way. Run-Time Check Failure #2 - Stack around the variable 'tm' was corrupted Run-Time Check Failure #2 - Stack around the variable 'lpText' was corrupted. The application works perfectly in VC6. As this has been tested using profiling tools such as Numega Bounds checker. Only on .NET versions 2003 and 2005, i get above such error. I use the following settings for my project: /D "WIN32" /D "_DEBUG" /D "_LIB" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /FD /EHsc /MTd /Zp1 /Fp".\Debug/mmi.pch" /Fo".\Debug/" /Fd".\Deb ...Show All

  • Visual Studio Team System FxCop Microsoft.Design and Generic outputs

    Working on a deserialization loader mechanism, I started out with a public method signature which looked like this: public static T Load<T>( string filename) FxCop suggests: CA1004 : Microsoft.Design : Consider a design where YamlLoader.Load(String):T doesn't require an explicit type parameter in any call to it. I what it's suggesting is that invoking this method with code like this may be hard to understand because of the part in the angle-brackets below. Foo temp = YamlLoader.Load<Foo>( "temp.yaml" ); The only alternate design that seems obvious to me would be: public static void Load<T>( string filename, out T output) with calls looking like this: Foo ...Show All

  • Visual Studio Express Editions An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll

    Here is the error that popups when i debug my windows application. An unhandled exception of type 'System.Data.SqlClient.SqlException' occurred in system.data.dll Additional information: System error. I am a c# programmer. here is the code: - int MemberID=Int32.Parse(textBox1.Text); string FirstName="textBox2.Text"; string LastName="textBox3.Text"; string LoginName="textBox5.Text"; string Occupation="textBox5.Text"; string myConnectString = "Persist Security Info=False;Integrated Security=SSPI;database=firstdatabase;server=RAHUL;Connect Timeout=30"; SqlConnection con = new SqlConnection(myConnectString); con.Open(); SqlCommand cmd= new S ...Show All

©2008 Software Development Network