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

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

jones6

Member List

ZardoS42
Sayor
loopool
Will Merydith
Martin Klopp Jensen
zoomCrypt
JohnTMSDN
Jarod.Net
billg51
freewind
Can-Ann
pappascd
hrubesh
Deuce BOI
StephenWild
pinoyz
Orange_Oli
Leandro Rodrigues
kangalert
nadasurf2
Only Title

jones6's Q&A profile

  • Windows Forms How to open Windows Forms in the same window?

    Hi all, i am using VS.NET2003 .NET framework 1.1 to new a window application. Isit possible to click the 'new' button that i have created on form1 and the form1 will change screen to form2 instead of poping up form2 Thanks You have a choice, 1) Use form 2 as Dialog form. So that when you exit form2 you catch a dialog result box and then close the main form1 box. 2) Create a class that manages and registers your forms opening and closing. That way you can make sure you are closing forms correctly. If you are just using a simple one page setup then ShowDialog might just meet you needs. James ...Show All

  • Windows Forms VS.net 2005 Installer: Not enough storage is available to complete this operation

    Hi All, I have created a VS Deployment project in VS.NET 2005. I added 75 files. Some of which a re large (>600megs). The total project size is anticpated to to be 2.2 gigs for the setup file. Upon building the project, i get the "Not enough storage is available to complete this operation" error. I have 30 gigs of space on my computer and 1 gig of ram and the install will not come close this. I have checked through the other forums and didn't find anything other then an MS expert saying is a known bug with files over 400megs. That post is 3 years old. I am hoping there is a resolution to this problem. Anybody Thanks, Steve Sinclair Do you have any partition in the hard d ...Show All

  • Smart Device Development Bluetooth File Transfer (Working OBEX Solution Posted ;-)

    Are there any good samples or blogs available that show how to transfer files via Bluetooth on NETCF from one phone to the next programmatically I’ve searched the forums but all I can find is many suggestions and some desktop samples but no mobile samples that simply transfer a file from one phone to the next. Your help would really be appreciated ;-) thanks First of all thanks Brendan for your response.. Though sadly that’s the sort of answer you find on Google and spend hour trying to figure out how to use.. Since I finally got it working, here’s the detailed answer I was hoping for, hope it helps others.. 1) Download Brecham OBEX library Beta 1 from this url: http://3 ...Show All

  • Windows Forms Prevent highlight on nodes with TreeView?

    I'm trying to surpress the node text highlight on a TreeView control. Setting FullRowSelect = False and HideSelection = True doesn't accomplish this -- is the only way to prevent the selection highlight from happening to override the draw mode using DrawMode = OwnerDrawAll If so, could I get some sample code that will just basically prevent highlighting of a row/node Thanks, Rob. Excellent that did the trick, thank you. Key is to make sure e.Graphics.FillRectangle(New SolidBrush(myTreeView.BackColor), e.Bounds) is done before .DrawString and selecting the same current backColor. Rob. ...Show All

  • Visual Studio 2008 (Pre-release) Bind to current object (this)

    Hi, Is there a syntax available to bind to the current object Something like: <Label Text="{Binding Name, RelativeSource={x:Static RelativeSource.Self}"/> I want to display the contents of the Name property in the current object (ie. the class in which this code resides). In other words, I want to avoid setting DataContext = this in my constructor. Thanks, Kent A couple of options: If the current object (I assume you mean the root) is a Window , since there is only one Window in the tree of elements, you can use the RelativeSource/FindAncestor mode. <TextBlock Text="{Binding Path=Name, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type Window}} ...Show All

  • SQL Server Another Mysterious issue in SQL 2005 & SSIS

    Explain this: Package runs successfully from BIDS It runs successfully in SSIS store It runs successfully when I manually execute the Job JOB FAILS EVERY FREAKING NIGHT It'd be easier to explain if you provided more information. Such as an error message. I would imagine this is something to do with the user that SQL Agent is running under. I also can't recommend this article highly enough: Scheduled Packages http://wiki.sqlis.com/default.aspx/SQLISWiki/ScheduledPackages.html -Jamie ...Show All

  • Visual Studio Team System Documentation bug (I think)

    I've just spotted the following in the .chm file in a page entitled "An Overview of Database Build and Deployment": MSBuild /target:Deploy /property:TargetDatabase=UpdatedTargetDatabase;ConnectionString="Data Source=(local)\SQLEXPRESS;Integrated Security=True;Pooling=False" MyProjectName.dbproj This example demonstrates how to build and deploy the database project, overriding the target database name and connection string. I may be wrong but is that the correct target I thought it was "SQLDeploy"/ Thanks Jamie Jamie, thank you. The msbuild line is incorrect, the options now are TargetConnectionString, not connection string, etc. We logged a bug to fix documentation for thi ...Show All

  • Visual C# Async Sockets

    I have developed a packet relay kind of program its is like a proxy kind of stuff The main objective is It will listen to a specific Port async way and sends and recieves the data in async way. Once the client connects to that port it send the ip of the remote machine to connect to. This proxy/socket manager will relay the packets sent to and from the both the ends. For each client I am creating a async socket with BeginReceive and . EndReceive And there will be max of 10 -15 clients connects to this proxy. So thery will be 10-15 async sockets waiting for reading data or sending data. Is this the proper way of coding or we can achieve this in any other way Here why i dint use threads is becos i do ...Show All

  • Visual Studio Show All Files button in Solution Explorer doesn't work.

    Hi there, I need to show files in solution explorer. These are not in project exactly but they exist on hard drive (like bin and obj directories in C# projects) . In MPF sources (I mean ProjectNode.cs) we can see that code: /// <summary> /// Handles the shows all objects command. /// </summary> /// <returns></returns> internal protected virtual int ShowAllFiles() { return (int)OleConstants.OLECMDERR_E_NOTSUPPORTED; } /// <summary> /// Unloads the project. /// </summary> /// <returns></returns> internal protected virtual int UnloadProject() { return (int)OleConstants.OLECMDERR_E_NOTSUPPORTED; } That is interesting fact - methods UnloadProject() and ShowAllFiles() are the ...Show All

  • Visual Studio Express Editions How to use sendinput()?

    I have been looking into simulating mouse movements and clicks for a while and sendinput seems to be the best choice. I can't find any examples of it working and I'm not experienced enough to work it out without any help so I was wondering if you guys could give me a hand. Could you just give me an example of a program moving and clicking the mouse Also, would this work outside the application Thanks in advance Matt. Thankyou! I decided to use mouse_event() which was on that page. How come when I do this (below), it slowly moves the mouse upwards, rather than move in a box Main.cpp: #include "stdafx.h" #include <windows.h> LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPA ...Show All

  • Smart Device Development context menu does not popup on datagrid

    Hi, I am developing a .net cf 2.0 application on a windows ce 4.2 machine. I am using visual studio 2005 and created my project as "Windows CE 5.0" project. Everything went fine except debugging, but yesterday i have came across a problem, tried to solve, searched the forums but could not find any thing... I have a datagrid (System.Windows.Forms.DataGrid) named "grdDetail" and a context menu (System.Windows.Forms.ContextMenu) named "pop" on form. I have choose "pop" on "grdDetail"s ContextMenu Property. I have built the solution and copied the executable to WinCE4.2 machine. "pop" did not popped up when i long clicked the "grdDetail". When i debug the application o ...Show All

  • .NET Development Selecting from multiple versions of .NET..

    Good day, On an existing TFS box I have .NET 2.0 installed and I just successfully installed .NET 3.0 on the same box - I know that the two versions can coexist on one machine but how do I verify which version of the framework is being used for any given solution And how (if possible) do I change which version is being used Any/all advice and information is appreciated. Thank you! I appreciate your response - but I have an issue to clarify. In essence there is no way to 'select' which version of .NET I will be using when I develop and build a solution - as long as I have both .NET 2 and .NET 3 installed there are no options to differentiate between the two, the code will work just the ...Show All

  • Visual Studio Express Editions Dynamic assignment of data type within a structure...?

    I'm wondering if there is a way to assign a datatype to a variable within a structure dynamically at runtime.  For example: Structure test Dim a as Integer End Structure Is there a way to make variable "a" dynamic at runtime, so that it could be "as Single", or "as Byte" based on conditions at runtime   Meaning, each instance of the structure may have variable "a", but representing a different data type...  If not, any suggestions on a way to implement something like this     I'd like to expand on my question, if I might. Lets suppose I needed to manage a dynamic array of that same structure throughout the course of my application.  How would I assigned different types i ...Show All

  • Visual Studio Team System How to add custom fields that works like iterations or areas?

    Is there a way to add custom fields that allow project administrator to add values For example, I really need a "Clients" field that works like the Iterations or Areas, which let user add values as they go. Just to let you know, these are client bit changes and can be uninstalled when SP1 releases, so it is not *that* dangerous, however if it is for larger deployment I agree it does sound dangerous. ...Show All

  • Visual C# Console Application WriteLine()

    Ok. In my console application I write a line saying "Connect to :", and then when I start the application the "typing cursor" always ends up under the line of text. What I want is for it to start next to the text saying "Connect to :". Can someone help me ...Show All

©2008 Software Development Network