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

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

Chort

Member List

SaloS
Neeraj Jain
Maheswari
Randy Galliano
georgeob
FixingTheHoleInTheOcean
enric vives
LeanneDinh
Andrea Pagliano
CurtisDeHaven
mandrijasevic
Najwa
Atanu Maity
Ed Warren
BlueBeetle
johndog
T Pedersen
just david
Leon Mayne
Ken Elmy
Only Title

Chort's Q&A profile

  • Visual Studio filtering reference dropdowns in the propertygrid

    I have a basic model, where I have a Table class, a Key class, a Field class, and a FieldReference class. The idea is that this can be used to model a database structure. Tables may have multiple Fields, and Tables may also reference multiple Keys. Each Key may contain multiple FieldReferences, and a FieldReference can have 1, and only 1 Field selected from a dropdown in the propertygrid. My problem, is that the dropdown for the Field component of the FieldReference lists ALL Field instances in the entire diagram, I need it to be filtered to show just the set of Fields that belong to the Key classes owning Table class. This is becuase its not possible for a tables PrimaryKey to contain columns from a different table... An ...Show All

  • .NET Development System.Net.Socket disconnect problems

    Hi, I've done some searching but haven't managed to find an answer - hopefully this is the correct place to post. A group of us are writing an internet chat protocol with associated server and client. The server is written in VC++, and goes through a specific chain of events if the OnClose() function of one of the CAsyncSockets is called. For one of the clients in development (realbasic on mac OS X) this works fine - they close the connection at their end, and the server picks it up. However, for the VB.NET version of the client we are having problems. No matter how we disconnect, the server doesn't realise that the client has gone. I can only assume this is a .NET related issue as the other client does work. Has anyone got ...Show All

  • Visual Studio Express Editions VS Express and .NET Framework 3.0, WPF, WCF, WWF

    Does VS Express 2005 will be compatible with .NET Framework 3.0, WPF, WCF, Windows Workflow Foundation and their extensions Always for free For example here (WWF Candidate 5) http://www.microsoft.com/downloads/details.aspx FamilyID=e8232f93-48f0-4e74-b09d-b51f1d4231a4&DisplayLang=en I read: "The Express Edition of Visual Studio 2005 is not compatible with this download." Thank you Toni Thank you for answer. I wanna be sure to understand right (excuse me for my bad english): we can install these extension only on Visual Studio 2005 Standard Edition (or higher version), but not on Visual Studio 2005 Express Edition And about Expression tools Thank you for your patience ...Show All

  • SQL Server OleDBException Overflow

    Im getting the following error : System.Data.OleDb.OleDbException was unhandled ErrorCode=-2147217833 Message="Overflow" Source="Microsoft JET Database Engine" StackTrace: at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteNonQue ...Show All

  • Visual Basic VB computing wrong value during execution

    I am receiving the wrong result when I perform the following computation using VB.NET 2005. MM = CDbl (LoCursr - 1) / CDbl (HiCursr) LoCursr and HiCursr are both dimensioned as Integers and have values of 85 and 87 and are passed into this subroutine as ByRef values. MM is a local variable declared as a double. If I execute this statement in the immediate window, I get the correct result of 0.96551724137931039 However, when this statement executes normally, I receive a result of 0.96551722288131714 which I also get if I execute Cdbl(Csng(84/87)) in the immediate Window. I've tried storing the LowCursr and HiCursor values in Doubles prior to doing the computation, but that did not correct the problem. Is there a se ...Show All

  • Visual Basic excel document

    I have no problems making my document and populating it. my problem now is the small task of making it printable for some people. how can I do the following via the code File-->Page Setup--> Scaling : Fit To [num pages] page(s) wide by [num pages] tall currently I was trying oSheet.PageSetup.FitToPagesWide = 1 oSheet.PageSetup.FitToPagesTall = 1 but that doesn't seem to work since the radio button doesn't change. so if someone either knows that the radio button won't change until certain conditions are met by the document content then please let me know :) otherwise does someone know how to do this thanks. well I don't want to print it while I'm running the report, I want to ready i ...Show All

  • Visual Studio Adding commands to the context menu in the editor

    Hi. I have developed a language service for a custom language using the MPF, and now im trying to add som extra choices to the context menu in the editor-window. I know i can make my own context menus by using a custom editor instead of the core editor, but if im not mistaken, then I would lose all support for syntax coloring, squigles, outlining, highlighting etc. which is utilized in my language service (please correct me if im wrong) Is there some way of accessing the core editors context menu, and add commands to it It would be nice to be able to remove commands aswell. Or is there some way of extending the core editor and replace its context menu Any help on the subject would be appreciated Frank. ...Show All

  • Visual Studio Use VS 2005 Professional Trial Edition in company

    May I know whether VS 2005 Professional Trial Edition can use in company(For business purpose) or not Is there any license require Please provide information to me. Thank you! good question. you should be ok but its a trial, remember that! And make sure you don't resell it. To be on the safe side, I would contact Microsoft licensing about this to confirm. try perhaps requesting an MS PSS to forward you to the licensing people: http://support.microsoft.com ...Show All

  • SQL Server Cannot show the editor for this task. Specified cast is not valid

    This error is pretty persistent. I re-installed VS 2005 and SQL Server 2005 but did not help. Every time I try to open a Script Task editor it gives me the same error regardless of the project or package. DO I NEED TO REBUILD MY SYSTEM =================================== Cannot show the editor for this task. (Microsoft Visual Studio) =================================== Specified cast is not valid. (Microsoft.VisualBasic.Vsa.DT) ------------------------------ Program Location:    at Microsoft.VisualBasic.Vsa.Dt.VsaIDE.get_ExtensibilityObject()    at Microsoft.SqlServer.VSAHosting.DesignTime.get_ExtensibilityObject()    at Microsoft.SqlServer.Dts.Tasks.ScriptTask.ScriptTaskUI.Dispose()  & ...Show All

  • SQL Server Changing the "From" line in e-mail deliveries

    I am wondering if there is a way to change the "From" line in e-mails when sending out e-mails via subscriptions (using Reporting Services 2005) As an example, in the rsreportserver.config file I have an e-mail account specified within the <From> tag that all mails are sent from. Let's say that the address I have specified is cookie.monster@sesamstreet.com , then all e-mails that are sent out via subscriptions are sent from "cookie.monster". If I want like "Reporting Services delivery" in the From line, how should I do Is it possible Thanks! /Stefan ...Show All

  • Visual C# Auto launch setup file when CD is inserted?

    Hi, I have created a setup installer package with my application using Inno Setup Compiler 5.1.9. Is there a way to automatically lauch my setup when the CD is inserted, possibly using an AUTORUN.INF file I know this is not really C# related, but someone may know. Thanks again, Please see the following article on the MSDN Library: Creating an AutoRun-Enabled Application ...Show All

  • SQL Server My questions

    I'm new for ssas and I'm studying NS samples,i found all the subscribers and subscriptions are created manully,my app have millions of subscribers and many different kinds of subscriptions,so how to create those objects through reading data from tables Much appreciate for your reply In SSNS 2000, subscribers, devices, and subscriptions have to be created using the SSNS API using a programming language like C#, VB.NET, or VBScript. In SSNS 2005, we know have some views that can be used to create those rows in the database. Here are a couple of links that may help. http://sqlns.blogspot.com/2005/10/creating-subscribers-in-2005.html http://sqlns.blogspot.com/2005/09/creating-subscribers-in-v20.ht ...Show All

  • Visual C# Class constructor with null Date parameter

    I am trying to figure out the best work around for the following senario. I have an application that accesses a SQLServer DB. I have a "Job" class that represents a Job our company is working on. The constructor for a Job looks like... public Job(string JobName, int CustomerID, DateTime DueDate); There is a "Due Date" field in the Jobs table in the DB that allows nulls (not all jobs have a due date). When I pull a record from the DB and create a Job object with the record, I get an error is the DueDate field is null. Obviously you can't convert null to a DateTime value type. Now, the only solution I can think of is to pass a date like "1/1/1900" into the db if the user leaves the DueDate blank, and display th ...Show All

  • Visual C++ std::map link error

    hi, every body, i created a standard c++ project in vc 6.0, and i must checked "Ignore all default libraries" in projects-->settings-->link, when i use std::map<int, int> and compile it, occured follow errors: dump.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Lockit::_Lockit(void)" ( __imp_ 0_Lockit@std@@QAE@XZ ) VisionMedia.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Lockit::_Lockit(void)" ( __imp_ 0_Lockit@std@@QAE@XZ ) tell me which library must be imported, i've not found it in MSDN. thanks very much MSVCPRTD.LIB (debug) or MSVCPRT.LIB (release). However, checkig " ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Setting Effect.Parameters on the fly?

    I am looking to setup the ability to set values of parameters in an Effect on the fly. Right now I have a dictionary of type <string, object> which is setup similar to how Effect Parameters are. Effect.Parameter[string].SetValue(...) doesn't take type object though. Maybe I am missing something but is there a way I can do this SetValue has a load of overloads so it does not have to cast it to the correct type, which makes a lot of sense. What is preventing you from setting them on the fly using the normal way ...Show All

©2008 Software Development Network