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

Software Development Network >> Mac Jamb's Q&A profile

Mac Jamb

Member List

CCL
Ricardo Rivera
Namviet
Ben Gum
Tom Tilque
Smallp Tsai
c# newbie
Arpit Arora
Uncle Sam
KumarSingh
Namialus Dauf
Sevak006
Jayender
kmeyer
fan2005
bhavu
Dan Dieckmann
UllaH
zach24
Maria.
Only Title

Mac Jamb's Q&A profile

  • .NET Development Proxy class using Dataset instead of the complex type

    I've setup a web service with several methods that utilize a specific complex type. Each method either has an array of the complex type as an argument or a return value. The information looks fine when I view the results in the browser from the webservice (obviously I can only view the one that returns the complex type). But, when I add a web reference to a different library the arguments and return types are replaced by DataSet[]. I would appreciate any help you can provide. This is really strange behavior: the only way you get DataSet in the proxy, it is if your schema for the parameters looks like a DataSet schema. The type ...Show All

  • SQL Server Thread was being aborted

    I receive the following errors while browsing the http://server/reports page.Please help me to resolve the issue. Error1. Thread was being aborted. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Threading.ThreadAbortException: Thread was being aborted. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace ...Show All

  • Visual C# Repeating Sequence

    You how you put Console.WriteLine("Press Enter to continue"); and then you put Console.ReadLine(); Now i want it to say would you like another entry Y or N if they enter Y how do i repeat the process of going back to the excution of the program....basically how do i start it over... I know it seems i am asking very basic question...but i started programming very differently than most developers... Hi, Yep, you got it right... . Your input logic must be placed in the do statement so that it would be included in the loop... cheers, Paul June A. Domag ...Show All

  • Visual C# Where is the C# API?

    I can't for the life of me find the C# API. Does it exist I'm looking for something like the Java API at: http://java.sun.com/j2se/1.5.0/docs/api/index.html Any help would be appreciated! Thanks. ok, there's no list of ALL classes, you can get only hierechy of packages with classes. You can find a specific class only through a search mask. There's also an offline version of MSDN library (not for free), where you can do quick searches without a problem. About other browsers - I think it's not the impossibility of MS to do that. It goes more to the politics of company... After all I think it's ...Show All

  • Visual Studio Tools for Office Rewriting the My.Blogs in C#

    I'm attempting to rewrite the code in My.Blogs that handles the commandbars for multiple open explorer windows. I'm adding some functionality like the ability to store the state of the commandbar and use a custom bitmap. I'm new to C# and I'm stumped. The code works fine for the initial Explorer window opened, but subsequently, when it fires and is picked up by the Explorer.Activate event handler, the Explorer parameter that is passed in doesn't have a CommandBars collection. It generates the following error: '((Microsoft.Office.Interop.Outlook.ExplorerClass)(explorer)).CommandBars' threw an exception of type 'System.Runtime.InteropSer ...Show All

  • Visual Basic VB 2005 - Combo Box DropDown doesn't appear in Data Sources

    On creating a new database connection in either SQL Server 2000 or SQL Server 2005, firstly the database object does not immediately show in Data Sources, although the .xsd file is shown in Solution Explorer. Secondly, when I am able to get it to display, the expected ComboBox dropdown does not appear on selecting a table/field, so that I can't choose between TextBox / DataGridView &c. Thirdly, I can't drag and drop any item onto my form. This has happened on previous occasions, though has eventually corrected itself. I notice that in Jay Schmelzer's recent talk in Moscone West on 29 Jan - 2 Feb, 2006, he seemed to have a ...Show All

  • SQL Server Using Teradata .NET data provider as data source

    Recently I installed the .NET data provider for Teradata. In a regular C# application I can add the namespace, " using Teradata.Client.Provider; " to connect to this data provider directly without going though ODBC or OLD DB so I know it works. However, when I open Reporting Services (new project -> Business Intelligence Projects) I do not see how to add the Teradata .NET provider. I only see the same standard data types as before. I have searched and I do not see how to add the Teradata .NET provider to the available "Type" list when you click “Add New Data Source” to your report. Thanks! ...Show All

  • Visual C++ Framework and related question

    Hi I have an old Console App program that compiles without problem in VS 6. I can get it to compile with VS 2005 express beta 2, it is about 20 modules compiled as unmaged C, Win32 console App.. The program runs ok on the Dev. PC but when the exe is run on another PC I get a configuration error. To cure that I have to install the version 2 latest framework. My question is why does it need the 23 meg framework just for a small Console program Any compile properties I can change to make it run standalone The one thing I was wondering about was that the linker needed  UUID.LIB linking in to make it work, could that be the reason it ...Show All

  • Visual Studio Relationship representation

    Hi, I have another doubt :P I have a Process entity and a port entity. A port cannot exist without a process so i i embedded a port class in the process class. Since i have embedded a port in a process i have to use compartment shapes. Is there any way i can enforce the rule that a port cannot exist without a process, without having to embed a port class into a process class Thanks, Hi Suraj. If you can move to the June CTP, you could also use PortShapes to directly represent your embedded Port objects on the diagram. ...Show All

  • Windows Forms Treeview question: does node have children? (VB.Net)

    I have a Treeview control on my form and in the MouseDown event I am getting the node selected (tvwClass is my treeview): <CODE> If e.Button = MouseButtons.Right Then Dim thisNode As TreeNode = tvwClass.GetNodeAt(e.X, e.Y) If thisNode.Tag="Value" Then If thisNode.<PUT IN CODE TO FIND OUT IF NODE HAS CHILD NODE> Then 'disable menu </CODE> But I am stuck on this: I need to find out if thisNode has any child nodes because if it does then I will disable the context menu so that the user cannot delete "thisNode" and leave the child nodes stranded without any pop ...Show All

  • Visual Studio 2008 (Pre-release) OperationContextFlow

    Hi, I am passing some additional data for a call using MessageHeaders: Client side: Guid g = Guid .NewGuid(); MessageHeader < Guid > mhg = new MessageHeader < Guid >(g); MessageHeader untyped = mhg.GetUntypedHeader( "session" , "ns" ); using ( OperationContextScope scope = new OperationContextScope (...)) { OperationContext .Current.OutgoingMessageHeaders.Add(untyped); call the service method } Service side: Guid g = OperationContext .Current.IncomingMessageHeaders.GetHeader< Guid >( "session" , "ns" ); It works fine. My question is: Is OperationContext is created f ...Show All

  • Visual Studio How to emulate "Get Recursive" on source safe to see what files are changed

    I really hope this is possible, because it seems to basic. I would like to know all the files that have been updated since the last time I synced with my source safe database. If I do "Get Recursive" on my top level project it simply updates the files, and doesn't even tell me which ones. Is there some output or log I can look at every time I do Get Recursive so that I can go and see what changes have been made Thanks, Kevin The command (tf.exe) is in ...\Program Files\Microsoft Visual Studio 8\Common7\IDE This is the main command line utility for TFS version control; you can do everything from here you can ...Show All

  • Visual Studio Express Editions Error adding reference .dll

    I'm trying to add a .dll that I wrote in C to a VB.NET program.  I get the message that the reference could not be added... make sure file... is a valid assembly or COM component.  How do I make it a COM component   Thanks. It's not even a type library, though I just read how I can add a "type library resource" to the DLL.  Should I try that Thanks. ...Show All

  • SQL Server IDENTITY fields

    I have a table with an IDENTITY column for a pkey. I'd like to insert one record into this table and use the generated identity value to insert ~100,000 rows in a second table. I'm sure this is a common scenario. I don't want to pre-generate identity values or anything like that - it seems like this should be a simple task and I'm missing something. I've tried OLE-DB Command tasks with INSERT INTO ....; SELECT SCOPE_IDENTITY() - but there doesn't appear to be a way to retrieve a resultset from the OLE-DB command task. I've also tried a data flow with a lookup for the identity, and then tried to merge the one  ...Show All

  • Visual C# Handling currency in C#

    Dear all, Thx for your helps in previous message posted. I would like to ask when handling data related to currency and money, is there any recommendations from Microsoft Is data type 'decimal' the best way to handle currency Best, Gabriel A normal approuch is to use the Decimal struct to store currency values. But this only stores the numeric of a currency. When you want a full string to display on you user interface you can use the Decimal.ToString( IFormatProvider ) or use the Decimal.ToString( String ) overload: Decimal myDecimal = 15.25M; textBox.Text = myDecimal.ToString( "C" ...Show All

©2008 Software Development Network