Software Development Network Logo
  • Visual FoxPro
  • Visual Basic
  • VS Express Editions
  • VS Team System
  • .NET Development
  • Microsoft ISV
  • Windows Live
  • Architecture
  • Windows Forms
  • Windows Vista
  • Visual C#
  • Visual J#
  • Visual Studio
  • SQL Server
  • Visual C++

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

ricky816

Member List

frozenND
Telemachus
Lapostal
Daniel Thomas
Michael Ruminer
Jeff Lucovsky
vb2005
Mippy2
LucMorin
gbshahaq
AliSyed
uclimng
Dien Ba Quang
skbergam
Philip Neufeld
Pooneh
Mark.Sch
SDSU_Jim
benpleysier
scubagrig
Only Title

ricky816's Q&A profile

  • Software Development for Windows Vista How to unit test custom activities

    Hi all, I would like to create some custom activities but I'm not too sure about what approach to use to create unit tests for them (I normally use NUnit). Do you guys have any good suggestion Thanks! Hi Claudio, In order to thoroughly test an activity, here are some key items you want to cover: -Validation - property values, parent/child relationships, etc. -Runtime - normal execution scenarios, cancellation scenarios, faulting scenarios, compensation scenarios, dynamic update, load/unload (workflow persistence), behavior inside child contexts (your activity as a child of a WhileActivity for instance) ...Show All

  • Visual Studio Express Editions Express - Free for Commercial use?

    I see that Express is geared heavily toward hobbyists. I am considering looking into this for commercial use, but do not want to infringe on any copyright laws. Is Express free for commercial use Thanks for any help you can offer -M Dynes Thank you - I had searched for FAQ, and had found a number of insightful pages, but nothing with the answer I was looking for like this one. Thanks again. ...Show All

  • Visual Studio Express Editions How to execute SQL queries on VB.NET Datasets or XML file

      Hi This is my First time post here I hope Begginer Can Find Help Here   I have untyped dataset    and it's read and write from xml file i want to execute SQL queries on The Untyped  Datasets or XML File to return Single value   i want to use  SUM in my sql command thank you Sorry For my poor english ...Show All

  • Visual Studio ASP error at that URL

    The Sept CTP of the VS SDK is available on http://www.vsipdev.com/downloads. This is the 3rd release of the new SDK, major new features include:    4 new Managed Samples ( Package, Service, ToolWindow, MenusAndCommands )     2 new Native samples ( Package, MenusAndCommands ) and the beginnings of the Native ToolWindow sample.    updated docs with a new TOC    SDM SDK content integrated Also available are our sprint backlogs for each month, including the upcoming month. This allows you the community to see what we are working towards each month. We also post our sprint review me ...Show All

  • SQL Server MySQL to SQL Server migration

    Hi, I would liked to know the SQL Server equivalent for the below MySQL query : SELECT a.col1, a.col2, max(a.col1) FROM test a, test1 b WHERE a.col2 = b.col2 GROUP BY a.col1 Thanks, Smitha You can do it the same way except you can't just show a.col2. You use groupby, so it must belong to some logical output. You can do it like: SELECT a.col1, max(a.col2), --or other functions... max(a.col1) FROM test a, test1 b WHERE a.col2 = b.col2 GROUP BY a.col1 OR SELECT a.col1, a.col2, max(a.col1) FROM test a, test1 b WHERE a.col2 = b.col2 GROUP BY a.col1, a.col2 Hope it helps ...Show All

  • Windows Forms How do I get the MouseWheel on a usercontrol

    Hi, I have made a usercontrol that does pretty much what I need it to do, including some GDI+ drawing of elements on it. What I need now is to capture the MouseWheel event on this control so that I can use the mouse wheel to zoom in and out in this control. Does anybody have an idea about how I could capture the MouseWheel event her ...Show All

  • .NET Development creating Sockets

    Hi buddies, I wonder how easy to create a socket with out connecting to RemoteEndPoint in sockets My idea is to create a “dummy” socket of an existing socket. I wrote code like, System.Net.IPAddress ConnServerIP = IPAddress.Parse(s_myLinOldIP.Substring(0,s_myLinOldIP.IndexOf(":"))); int listenPort = int.Parse(s_myLinOldIP.Substring(s_myLinOldIP.IndexOf(":")+1,(s_myLinOldIP.Length - s_myLinOldIP.IndexOf(":"))-1)); Socket sk = new Socket(AddressFamily.InterNetwork,SocketType.Stream,ProtocolType.Tcp); IPEn ...Show All

  • Visual Basic DataAdapter Select Statement

    To all I'm VS2003, when I try and create a dataadapter with more than 100 fields (either through drag-n-drop or manually) I received "There were errors configuring the dataadapter". Since the table is in SQL 2000, I tried using: "Select * From inmast" which returns 143 columns and all rows from the table I even tried importing the table in MS Access 2003 with the same results. If I reduce the # of fields to 100 or below the dataadapter will work as normal Help David Davis Hi, Thanks for keeping us posted. So that's a limitation. Haven't even seen it in the documentation... Well, I guess you'll be forced to u ...Show All

  • Visual C++ error about"cannot be marshaled as an unmanaged structure"

    i got a struct like: --------------------- public ref struct OutPacket{ int m_replyIndex; List<MainInfo^>^ m_mainInfos; }; --------------------- when i pass it to another process, i have to transfer it to intptr : --------------------- IntPtr pnt = Marshal::AllocCoTaskMem(Marshal::SizeOf(outPacket)); Marshal::StructureToPtr(outPacket,pnt,true); return pnt; --------------------- then i got a message: ********* err = {"Type 'CProcess.OutPacket' cannot be marshaled as an unmanaged structure; no meaningful size or offset can be computed."} ********* i think the trouble is that i have to process a "List<>&q ...Show All

  • Visual Studio Express Editions CString Conversion problem

    Hey All - I am trying to convert CString to char *. But i am finding problems purticular to VS 2005. { ----- funct(L"6001");//function call.. _----- } int funct(CString str) { char *ch = str.GetBuffer(0); i = atoi(ch); return i; } it gives me a error saying cannot conver wchar_t to char *. I tried to type cast it like char *ch =(char *) str.GetBuffer(0); but after assigning ... ch has jus "6" and not "6001".. i tried GetBuffer() and GetBuffer(str.GetLength()).. same result Can any one help me out of this simple issue It is not necessary to transition to unicode until you have to worry about rel ...Show All

  • .NET Development connecting to SQL from serviced component

    HI Not sure if this the right fourm. I have written a Serviced Component with VS 2003 .NET 1.1 on XP Pro that creates a ditributed transaction between to SQL servers on the network. I have it working on my dev pc fine.. When I try to deploy on Win Server 2003 I get an error Target of an invocation etc etc When debugging it is falling over on a Open method of my connection object. I am  connecting to a SQL Server V7 db. The same code runs as Win forms app fine Is there any issue I should know about with Win 2003 and Serviced Components. I have tried Windows Authentication and SQL Server authentication no luc ...Show All

  • SQL Server Caching problem?

    If I create a view and then a mining structure run it everything works fine BUT if I then alter the view (e.g change a filter setting in a named query) or the actual contents of the database, the OLD contents persist. Using the view refresh says there are no changes (which is correct as I don't change any column names etc.). If I remove Keep Training Cases, this fixes it, but for Time Series, it then gives an error, so you have to go back and re-select it... is there a direct option to clear caches The dependency settings aren't sensitive to non-destructive changes in the DSV. You can simply do a Proce ...Show All

  • Visual Studio Team System TF30177: Team Project Creation Failed (Unable to connect to SQL Reporting Service)

    Hi, I've installed single server TFS RC succssfully. I installed sharepoint and sql server before tfs. But when I tried to create a team project. It failed. I have verified http://<tfs server>/default.aspx works and http://<tfs server>/ reports works as well (reporting services). I've also added the user to SQL Servier Reporting services as the Content Manager role and as well Adminstrator role for Sharepoint servies. Please help. When I try to create a team project I get the following error: Error Unable to connect to the specified SQL Server Reporting Services at <tfs server>. Explanati ...Show All

  • Visual Studio Multiple Pages Performance issue

    Hello, I am Using Crystall reports with ASP.Net, I am facing Prtformance issue, as I am using Mutiple page in crystal Reports it always load all pages on paging, i.e. when we have 10 pages and we change page from say 1 to 2 or so... every time it loads 10 pages... Do we have client side Paging in Crystal reports, or some other solution that load only one page at a time... Guide me with solution. Thanks. ...Show All

  • Windows Forms Icons in TreeView disappear in WinXP

    I uses icons in a TreeView. When the program runs in Windows 2003, it looks fine; but the icons disappear when the same program runs in windows xp. The program is built in Whidbey Beta2. In Beta1, this problem does not exist. If You have Application.EnableVisualStyles() in code remove it. It has helped me For more details look this: http://rungesrand.blogspot.com/2007/09/what-happened-to-treeview-icons.html ...Show All

©2008 Software Development Network