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

Software Development Network >> Jonathon Bell's Q&A profile

Jonathon Bell

Member List

Daniel Reib
Rick Kauwen
Litoplan
Bogdan Bratosin
askmehow
MrSnipey
aodeng
BrBut
lorenzo polintanjr
peancor
iam_RAms
Rick B.
Guy_B
filbert
RoviWil
JamesDawson
Michael-Thomson
simonmarg
108bones
Sahildagar
Only Title

Jonathon Bell's Q&A profile

  • Windows Forms How do you format a datagridviewcell after it has been edited

    When I enter new data or edit data into a datagridviewcell and move to the next cell I would like the data in that cell to be formatted. I would like to enter a format by column. For example, if I enter 1458.259 in a cell for column "cost" I would like it to be displayed as 1,458.26. If I entered 4589.3589 in another cell tied to column "boxes" I would like it to display 4,589.4. And finally if I entered 05/06/2006 in a cell for column "date" I would like it to display 5/6/06. I have tried to use the defaultcellstyle.format with "C2", "N1", etc. when I first initialize the datagridview. Th ...Show All

  • Windows Forms Need help with .Net Remoting

    Hi I need some help. I am trying to get a .Net remoting app to work.  Heres the story  <Server -------------------------------------------------------------------------> 1. I have created an empty web project in ISS named RemoteObjects.  2. Then created a Remotable class called Remote1. 3. Then added a web config file and registered the object on the server.   4. Then&nb ...Show All

  • SQL Server Oracle connection fail with Microsoft OLEDB provider for Oracle MSDAORA.1

    Hello, On my dev server I have working ssis packages that use connections Microsoft OLEDB provider for Oracle MSDAORA.1 and Oracle provider for oledb and OracleClient data provider. I use one or the other according to my needs. In anticipation and to prepare for the build of a new production server, I have build a test server from scratch and deployed to it the entire dev. Almost everything works except Microsoft OLEDB provider for Oracle. ssis packages on the test machine will return an error Error at Pull Calendar from One [OLE DB Source [1]]: The AcquireConnection method call to the connection manager "one.oledb&qu ...Show All

  • .NET Development Is It Necessary To Use Primary Key With Access Database --> How To Prevent Displaying Default Primary Key

    I had to create a default primary key (numbered from 1 to N) column with my Access database in order for my application to work. Is there an easy way to make my table visible without displaying the primary key How do I do this Please give me information by posting the exact sequence of button clicks, things to type, etc that I must perform My component tray has a BindingNavigator, TableAdapter, Binding Source, and a DataSet.   Hi! Goto Dataset Design view, right click the tableadapter you want to edit and then select "configure". This will start the cofiguration wizard. Type in the query for the columns you ...Show All

  • SQL Server My Declarations are just not working ...

    Hello all, I am frustrated! I have tried to get this script to run 8 ways from Sunday and I am not having any luck. Below are the two iterations I have attempted. In both cases the error: Must declare the scalar variable "@BAK_PATH" appears. The key to this is that I need to run the backup on the DB directly because the Database must be backed up by name for the next step to work. DECLARE @PAR1 VARCHAR ( 256 ), @BAK_PATH VARCHAR ( 256 ); DECLARE DB_PAR CURSOR FOR SELECT NAME FROM SYS.DATABASES WHERE NAME LIKE '%HRN%TEST' ; BEGIN OPEN DB_PAR FETCH DB_PAR INTO @PAR1 ; PRINT @PAR1 EXECUTE ( ' USE [' + @PAR1 + ...Show All

  • .NET Development ReadOnly List<>?

    Is there a way to get a ReadOnly List<> We could do that with ArrayList with: public class EmptyArrayList : ArrayList { public override bool IsReadOnly{ get { return true ; } } public override bool IsFixedSize{ get { return true ; } } private void OnPopulate() { Console .WriteLine( "Warning: Attempted to populate a static empty ArrayList" ); Console .WriteLine( new System.Diagnostics. StackTrace () ); } public override int Add( object value ) { OnPopulate(); return -1; } public override void AddRange( ICollection c ) { OnPopulate(); ...Show All

  • Software Development for Windows Vista Registry Access in Managed Form Application

    Hi, I'm developing a C# .Net 2.0 application that requires read/write access to the registry. I'm using the following code: using Microsoft.Win32; ... regkey = Registry.CurrentUser.OpenSubKey(@"SOFTWARE", true); regkey = regkey.CreateSubKey("MyCompany"); On Vista the new permissions lock down, I get the registry access denied exception. How do I elevate the permissions level so that the user at least is prompted to allow access Thanks, Mike Well I've worked out that I need a manifest file to let Vista know that the application requires elevated permission ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX Bug

    Hey! In all samples I install using DirectX 9.0 as API, may it be from DirectX SDK or NVidia SDK, the following bug is present: The ui controls, such as drop down box, slider bars, check boxes etc all appears normal at first. But whenever I try to interact with them they disapear for good never to come back. The samples are still running as they should. My machine is uses a dual core amd athlon x64 cpu, it has about 2 gigs of ram, nvidia GeForce 6600 is the graphics card and the OS is Windows XP x64. How can I by the way report bugs and enhancement proposals for the Managed DirectX team We'll be glad to investigate the problem, but we ...Show All

  • .NET Development When does the garbage collection get run

    The garbage collector is run on a low priority thread and called when any of the required generations on the heap are full. If I call a method that runs a loop creating objects on generation 0 of the heap, and the total amount of memory required to create all my objects is greater than the size of generation 0, then will the garbage collection thread force garbage collection before the loop has finished If not, then will an outofmemory exception be called based solely on the fact that generation 0 is full or do the new objects get allocated on generation 1 Sunil http://msdn.microsoft.com/msdnm ...Show All

  • Visual FoxPro Grid Resizing

    Hello All, I have a query to do with resizing forms and grids in VFP. I have a grid on a form with 8 columns. In the resize event of the form I have put code to resize the grid at the same time so it matches the Width and Height of the form. However, I have come across a problem with resizing the columns within the grid. Ideally, I would like to adjust each columns width as the grid is being resized. (I.E. Columns will grow when the grid is made larger and shrink as the grid is made smaller.) Has anyone every handled this situation Cheers, Todd As with the resizing of any object, you need to know w ...Show All

  • Windows Forms Icons and images

    Hi all, I was hoping that someone might be able to point me toward a website/product that sells a bunch of icons/images for me to plug into my app (and also my website). I have come across some but they are slightly too expensive and not comprehensive enough. I appreciate anyones help, thanks. I don't know what you consider too expensive b ...Show All

  • Smart Device Development What will be target binary CPU?

    Hi All, Created default MFC smart device application and checked its target cpu model using depends.exe. It shows THUMB. Then I removed MACHINE:THUMB from linker command options. I still got the same CPU type as THUMB. Does the linker considers default CPU type as THUMB for any WM 5.0 application created What changes do I need to make if I want CPU type to be ARM for WM5.0 applications -Seemit   Yes, for any MFC Smart Device application targetting WM 5.0, the default CPU target is THUMB. You can, however, override this by removing "/MACHINE:THUMB" from the linker command line option ...Show All

  • Visual Basic Read delimited text file

    Hi, Is there a way that I can read from certain lines, say, from line 3000 to line 3500 rather than reading from the beginning of the file or by using ReadToEnd Thanks. There is no way to find out where a line is without reading it. So, any API that could have been exposed to jump to a line was just going to read up to it anyhow. ...Show All

  • Visual Basic Dropdown item crashes VB2005 Express

    Hi! I just installed the Visual Studio 2005 Express edition on my XP Home. If i try to add a dropdown to a form, Visual Basic freezes. In the Task Manager i can see that it use the 95% of my cpu, but i can't do anything in the IDE. Is it a documented bug so... i'm really the one with that kind of problem Please guys, let me know! I just reinstalled my PC but i got the same crash... ...Show All

  • Smart Device Development A problem about the menus in Smartphone 2003

    I created a new MFC Smart Device Application Project for Smartphone 2003 using VS2005.  And then I found the menu didn't work right.  So I searched the solution here and found the article: http://blogs.msdn.com/johnkenn/archive/2005/08/22/454858.aspx I followed the all instructions in the artcile but I still have a little trouble. Here is a part of the Test03sp.rc: IDR_MAINFRAME MENU BEGIN     MENUITEM "OK",                          IDOK     POPUP "Option" &nbs ...Show All

©2008 Software Development Network