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

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

mAcD

Member List

unknowndeveloper
Big5824
afel
Dennis Mayores
jptorres
Andrea43086
SUN999
maxim4o
neil walker
MFred
GrahamWade
murpheux
Grwilhelm
Jumpercables
hollander67
Gee_Coder
Buda56
JasonFollas
GuyRoch
MrLunch
Only Title

mAcD's Q&A profile

  • .NET Development Add record with null value to typed dataset

    Hi, Using the typed dataset functionallity, I encountered the following problem. I created a new dataset, added a table "Keyword" to it with the designer and let Visual Studio generate the typed dataset. In this table is a column "ParentID" which has these properties: AllowDBNull : true DataType : System.Int32 When I tried to add a new record to this dataset I noticed that I have a method dataset.Keyword.AddKeywordRow (string Name, int ParentID) (Name is just another column in the table) How I'm I supposed to get a null value into the ParentID field of the new record Or isn't that possible Kind regards, Christian Mol ...Show All

  • Visual C# Getting color code

    I want to read the color code of a specific pixel as integer (if possible) that is loaded on a PictureBox and is in *.gif format in Visual Studio .NET 2003 in C#. Is there a way to perform such a task Bitmap bmp = new Bitmap(pictureBox1.Image); Color color = bmp.GetPixel(xPos, yPos); I should warn that this is a very slow operation.  If you want faster bitmap reads, lookup LockBits.   ...Show All

  • Visual Studio Express Editions v# deployment

    Using Visual C# Express to build and deploy an application. It publishes just fine. Installing from the published deployment works on the pc that the application was developed on. Install on another PC, first the pre-req are installed (.NET Framework V 2.0) but the actuall application then generates an error which MS captues and offers to send the report to MS. The application is visible in the Start-All Programs Menu. Running it dies immediately. I have tried deploying to a UNC, URL (IIS with FP Server Ext installed). Any suggestions please The problem was resolved by adding a try{}catch{} aro ...Show All

  • Smart Device Development Debugging Multiple COM dll's

    I have a large CE workspace that I migrated from CE 4.0 to CE 5.0 using the built in conversion tool in VS 2005.  When I try to debug the code (running on a PPC 2003 device) I can not hit a break point in any of the lower level dll's.  Visual Studio disables them and I get the following message: "The break point will not currently be hit.  No executable code is currently loaded at this position." Is there something I need to do in the solution to get debugging of the lower level dll's to work Srinivas, Thanks so much.  The fact that you needed to set the path to the PDB combined with the ...Show All

  • Visual Studio Tools for Office VSTO and Microsoft Office

    I am having trouble getting VSTO to work. When I go into Visual Studio to create the project I get a cryptic error telling me to check for disabled items in Excel (I have none) and then it instructs me to reinstall VSTO. A classmate suggested that it is because the University edition of Office (Microsoft Office Professional Enterprise Edition 2003) is crippled. Can anyone confirm if this is so Thanks, Michael According to the Office Web site, that edition will work with VSTO (if it is an academic-license edition): http://www.microsoft.com/office/editions/howtobuy/compare.mspx What version of ...Show All

  • Visual C# Creating a random number of linklabels inside a groupbox

    Hey, I need to create a random number of linklabels inside a groupbox, random meaning as many "clients" there are in the database, but that's another story.. I'm using the following code to create the linklabels inside the form: public void clientList_Click(object sender, EventArgs e) { dbConnect(); myDataTable = myDataSet.Tables["Client"]; currentRow = 0; totalRows = myDataTable.Rows.Count; clientsLinkLabels = new ArrayList(); for (currentRow = 0; currentRow < totalRows; currentRow++) { int posy = (70 + (30 * currentRow)); clientX = new LinkLabel(); clientX.AutoSize = true; clientX.Location = new ...Show All

  • Smart Device Development Returns the ordinal value of an ordinal-type expression

    In Delphi there is a function for Returns the ordinal value of an ordinal-type expression. function Ord(X); Description X is a Delphi ordinal-type expression. The result is the ordinal position of X; its type is the smallest standard integer type that can hold all values of X's type. Is There a function in C# Can you help me As far is i know there is nu such thing in C#, why don't you use a normal value like a Int64/long or something. You can use a object type, but you need to cast this anyway. ...Show All

  • Visual C# XML Deserialization

    Hi, I am having a bit of trouble with XML Deserialization. I am fine with the usual stuff but arrays are being a pain. I have the following XML file (pardon the lengthy post): [code] < xml version="1.0" encoding="utf-8" > <schema>     <info>         <title>PHP</title>         <author>Aditya Gaddam</author>         <version>1.0</version>         <extensions>.php</extensions>     </info>     <definitions ...Show All

  • SQL Server SSMS with VS2005 on the same machine?

    All, Is it possible to install SSMS on a machine once VS2005 has been installed on it Thx, jonp PS Another question, how do I turn off double spacing in this forum when I am posting questions ...Show All

  • Software Development for Windows Vista RuleConditionDialog and intellisense

    Hello, in my custom designer I can insert/edit condition rules througth RuleConditionDialog. In order to see the dropped activities I set the TypeProvider with all referenced assemblies and the code compile unit of the current workflow (code beside). Unfortunately I don't see the current workflow components (typing "this.myWorkflow1.") even if the code compile unit contains all activities (fields) declarations. How can I solve the problem Thanks, Pierre Pierre , There was a similar issue with code separated workflows (XOML) and the workaround was to some how cause an application idle event to fire, which ca ...Show All

  • Visual C++ How to compile C++ function to be used by C# ?

    I want to write a native C++ function that I can later access from C#. Please keep in mind I do not have much experience developing on windows, (mostly unix) and that my only windows compiler is VS2005. I tried creating a MFC DLL. I am able to access this from a C++ .net program, but not from a C# program using P/Invoke. It seems that a plain MFC DLL is not "good enough" for use with DllImport. Is this correct It seems that I have two options: 1) compile the C++ function as a COM DLL (not sure how to do this from VS2005 - I don't see an option for that). I see an option for an ActiveX DLL...I hope I don't need to do th ...Show All

  • Windows Forms Making child controls of UserControl editable

    I have a UserControl subclass, CompanyInfo, with various controls (Labels and Textboxes) on it. When I'm designing this class, I can edit the controls, move them around etc., which is fine. However, when I build CompanyInfo into a DLL, then add it to the Toolbox and drop it onto a form in the Designer, I can no longer edit and move the various controls that CompanyInfo encapsulates. I have tried setting these controls to public access, but that hasn't helped. I'm using C# in VS .NET 2003. Is there any way to get these child controls to be editable when my subclass is placed on a form If you have ANY solution to this problem, I'd be ha ...Show All

  • Visual Studio Team System Error in Customising a existing report

    Can any tell me what is problem in the above case I am customising the exiting report i.e work item When i done the required modification and instead of uploading the same report to reports server for the project directory say "XYZ" ,it uploaded it to project sub directory i.e "XYZ/ABC" .in this Case it is giving following error An error has occurred during report processing. (rsProcessingAborted) Query execution failed for data set 'IterationParam'. (rsErrorExecutingCommand) Incorrect syntax near 'Measures'. But if i upload the same to the project root i.e "XYZ" directo ...Show All

  • Software Development for Windows Vista Delay Activity and ASP.NET

    I have a workflow that contains two HandleExternalEvent activities and a Delay activity all within a Listen activity. Obviously, when the Listen activity is hit, the workflow instance goes into an idle state. My intent is that if either event is not raised to the workflow within the specified timespan on the delay, an alternate path should be taken. The workflow never comes out of idle after the elapsed delay has passed. When I fire an event to the same workflow, the workflow instance is deserialized from the persistence store and starts up at the appropriate HandleExternalEvent activity without any problem. The workflow instance is hoste ...Show All

  • SQL Server SRS 2005 and SQL Server 2000

    Can I create a report using the VS 2005 that is installed with SQL Server 2005 that I can publish to SRS 2000 Failing that, can I convert my SRS 2000 to SRS 2005 and create reports with SRS 2005 that use SQL Server 2000 data sources You cannot publish 2005 reports to a 2000 server. You can create reports for SRS 2005 that use SQL Server 2000 as a data source though. You should be able to upgrade either at install time of SRS 2005 or via the Configuration Tool after you have installed (there is an option to convert an existing SRS 2000 catalog to a 2005 catalog). ...Show All

©2008 Software Development Network