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

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

webm0nk3y

Member List

Elif Onalan
mfeigin
gauz09
singersoll
otakung
Guy Mahieu
Markus Zywitza
billmac3
samnospam
Mickey J. Malone
navisoft
mat_carbon
gkochanowsky
aminoplacid
yaaaar
ellenf
Jesse Auerbach
Zachmo
tianyuan
Dmitry Makhno
Only Title

webm0nk3y's Q&A profile

  • Windows Forms minimize event?

    I need to know if a form is going to minimize.  Is there a way to know this Thanks, Devin Hi Devin, You can look at the Form.WindowState enum during the Layout event of the form to determine when a form becomes minimized. private void Form1_Layout( object sender, LayoutEventArgs e) { System.Diagnostics. Trace .WriteLine( "layout changed: " + this .WindowState.ToString()); }   ...Show All

  • Visual C++ Converting byte counted strings to null-terminated strings

    Does anyone know an easy way to convert byte-counted strings to null-terminated strings I'm trying to pass a filename as an argument in a custom made worksheet function defined in an xll created in C++ 2005 express. I think the problem I'm encountering is that excel is passing a byte-counted string and the function in C++ needs a null-terminated string. So it comes down to finding an easy way to convert byte counted to null-terminated in my C++ code. Any ideas are appreciated. Thanks. One approach is to first extract the byte count, then traverve to the first element in the string. Kuphryn ...Show All

  • Visual Studio Team System Source Control Settings

    When and why one should use the check-in, check-out policies in Source Control Settings Please explain by example Thanks Are you talking about the options for "Select lock type" when you do a "Check-out for Edit" When you check out a file for edit in TFS, you are actually telling the server that you are going to edit a particular version of a particular file that you have in your local workspace. At that point, you can optionally select one of three lock types:- "none", "check-out" or "check-in" Lock "None" . T ...Show All

  • Visual C++ Why is strdup() deprecated in VS 2005?

      < hyslopc@discussions.microsoft.com > wrote in message news:9a93850c-505b-48c3-bd60-44625db8bbc6_WBRev2_@discussions..microsoft.com ... This post has been edited either by the author or a moderator in the Microsoft Forums: http://forums.microsoft.com You may not care about it, but I do.  I don't want to disable the warning because I think the concerns with most of the deprecated functions are very valid, and only wished Microsoft had done this a long time ago.  As such, I have taken the opportunity to change a lot of my code to use the new functions.  The problem ...Show All

  • Visual Basic adventure works and 101 Sample files

    hi All i have downloaded both of the above but can't seem to get any of the sample files to run in VB express 2005 which need the adventureworks_data db. does anyone know if it should work at all I succeded running the CreatingMasterDetails sample doing the next: 1) Using the DataBase Explorer (Open Table Definition), I have added the next two columns to Employee table: DepartmentID   smallints    Allownulls=true BaseRate         money      Allownulls=true      2) Using the DataBase Explorer upadate the colu ...Show All

  • Windows Forms visibility

    hey everyone, i have a custom control in my form, in the control there are smaller controls like textboxes etc...now in my form, i want to click a button so the visibility of the smaller controls can't be seen...call my custom control ControlA (the one in the form) i did ControlA.Visibile = false; now that hides the whole control...but what i want is o ...Show All

  • SQL Server Error with for..next loop variable

    I'm setting a variable called ConnectionString_vc in a for..next loop.  The connectionstring property of one of my connections is then set to @[User::ConnectionString_vc] via an expression.  When running the package in a SQL agent job I'm getting the following error in my logs.  I've received this sporadically when running it in debug mode in BIS, but it happens consistently in Agent.  The variable "User::ConnectionString_vc" is already on the read list. A variable may only be added once to either the read lock list or the write lock list. Are you using that variable anywhere else Perhap ...Show All

  • .NET Development How proxy client can store a GUID within SOAP message header or body?

    Hi, I need to send a GUID within the soap message header( or body). How can I have the client proxy store the GUID within the soap message header or body How can I read the value at the server side   Any help would be appreciated, Alan Hi James, Thanks for that... I ended up using the XmlReflectionImporter, which I feel is the official way to import schemas (correct me when there's a better way!). I have one teething problem left with merging schemas, we definitely need support from one of the XML gurus over at Microsoft (see post I just posted: http://forums.microsoft.com/MSDN/ShowPost.aspx Pos ...Show All

  • Visual Studio Team System FXCOP dictionary-spelling

    How do I change spelling language in FxCop Language (Slovenian) is installed in Microsoft Proofing Tools as required, but it doesnt appeard in FxCop 1.35 Spelling Options (Dictionary Locale). I am otherwise satisfied with this product. Thanks. Try this: set your spelling locale to something other than English. Open the project file and manually correct the locale to Slovenian. <RuleExceptionsThreshold>10</RuleExceptionsThreshold> <Spelling Locale="fi" /> <VersionAware>False</VersionAware> We'll get this issue fixed in our next significant upd ...Show All

  • Windows Forms DesignSurface MemoryLeak

    Seems that DesignSurface has a memory leak. This can be observed by running the program bellow and push several times the <ShowDialog> and <CallGC> buttons and observe that the heap memory increase each time <ShowDialog> button is pushed. The leak can be also observed by running the CLR Profiler for Whidbey. Details from CLR Profiler are at the end of the message. CLRProfiler for Whidbey final can be downloaded from http://www.microsoft.com/downloads/details.aspx familyid=a362781c-3870-43be-8926-862b40aa0cd0 I would like to know the cause and also get an workaround. (please) Here the source-code //---------------- ...Show All

  • SQL Server Stored proc concatenation problem

    I have a stored proc that looks like this CREATE PROCEDURE InvByRange03 InvNum int = NULL, AS DECLARE @vcWhere nvarchar(1000) DECLARE @vcSelect nvarchar(1000) SELECT @vcSelect='SELECT InvNum, Company, StatementDate, TotCharged, Paid FROM Invoices WHERE' Select @vcWhere='' IF Not @InvNum IS NULL SELECT @vcWhere=@vcWhere + AND InvNum = ' + @InvNum When I compile this sp it compiles alright, but then I execute it I get an error message of "Conversion failed when converting the nvarchar value ' AND InvNum = ' to data type int" Can someone see what the problem is and tell me what the proper syntax is for glueing an n ...Show All

  • Visual Studio Team System Availability of Visio for Enterprise Architects 2005

    I have been reading up on the different versions of VS2005, and I can't find where VEA 2005 fits in.  How can I get it in a cost effective manner, when the majority of my work is DB design   Or, is Visio 2005 (not VEA) going to have the same database round-trip features Thanks, Kevin Nechodom I understand, however I have no control over what ships as part of the eval versions of software. You may want to contact sales team to see if there is anything they can do. If you are near a sales office they may be able to do an on-site demo for you. http://www.microsoft.com/mscorp/info/usaoffices/def ...Show All

  • SQL Server killing sqlservr.exe from sqlclr code

    I keep getting different answers from different people on regarding if you can or cannot kill the hosting sql server process with an unsafe assembly. Can you do this If so could you please attach a sample demonstrating this Thanks, Derek Uhh, delicate question. Sure Microsoft did everything to prevent this. I know that in beta this was sort of unstable, but right now I have no clue how to do this. If someone has an example to do this, this should be reported as a bug to Microsoft in order to prevent this. But I would assume that the CLR hosting process is quite stable right now. HTH, Jens Suessmeye ...Show All

  • Visual Studio Express Editions HELP - Win32 wont let me run my c++ :(

    i have recently been bought a book on c++ programming (learn c++ in 24 hours) and have been trying to make it work on serveral compilers no with no success. The compiler that came with the book is BorlandC++BuilderX and that seemed to work fine until i tryed to run the .exe. The Win32 (DOS) window flashed briefly and then closed again. i read up on this on several forums and decided to try Microsoft Visual C++ Express 2005, as this was meant for windows, and a couple of people seemed to think that my pc being an XP had something to do with it not working. I created a new project in Visual C++ and just used the basic 'Hello World' pro ...Show All

  • .NET Development can not add COM component (evalcom2.dll) to a visual studio 2005 project

    On http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/msi/setup/validation_automation.asp is described how to use the Evalcom2.dll. I need these functions for an application I'm developing. Because the webpage states that evalcom2.dll is a COM component I want to link this file to a (visual Basic and C#/C++) Project in Visual studio 2005 as described on 1) http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/Com/html/7e78853a-b134-46d7-a230-3ee8d80d05c0.asp or 2) http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/Com/html/635 ...Show All

©2008 Software Development Network