kmorrill's Q&A profile
.NET Development Very Simple Reflection Question
Hi, The output i'd expect from the following code is false, false but it prints false, true. Can anyone explain Thanks, colin. using System; using System.Reflection; namespace TestReflection { public class MyClass { } class ReflectTest { static void Main( string [] args) { Type type = Type .GetType( "TestReflection.MyClass" ); Console .WriteLine(type.IsNotPublic); Console .WriteLine ...Show All
Visual Studio Team System System Health Check stops install because of processor
Any way around this Trying to build a VPC for education purposes. Laptop is 1.86GHZ with 2GB of memory. Giving 1+GB of memory to the VPC, but cant get past System Health Check. Is there any command line switch to turn this test off or any other way to get around this I tried setup.exe /no_bsln_check and the install wasnt bypassed Yup, you got it. We do generate the report dynamically in order to give you the big ...Show All
.NET Development query about MSMQ?
hi all I hve doubt abt MSMQ, how to create public queue in Remote system. plz send me the c#.net coding (in windows application). while creating public queue in remote server i got error like this "Object owner was invalid. For example, MQCreateQueue failed because the Queue Manager object is invalid." Plz anybody known, give me the solution above of my 2 queries. yours Aravinth k ...Show All
Visual Basic A Landscape Problem
Hi, I am having difficulty setting up a landscape print job programmatically. I am attempting to print a 5" x 8" index card in landscape. The document as seen in the PrintPreview is correct, but when I print it the document it is printed on the left side of the printer. My HP DeskJet feeds the paper on the right side. I can also print the document my using the PrinterDialog. I set the page size to 5" x 8" and set landscape ...Show All
Visual Basic ScreenSaver Preview Mode
Hi all, I'm making a screen saver app. All is well, aside from when drawing inside the preview window, how do we know when to stop the app from drawing here's a sample of my code. The Sub Main() is my startup sub. Public Sub main() Dim args As String = Command() If args = "" Then &n ...Show All
Visual Studio hotfix for visual studio .net 2003
Sure. I just purchased the academic software last week for a night school course. I installed it without errors. Problem 1) When I go to the tools > upgrade it cannot find the page of the upgrade. Problem 2) For the library problem. I decided to have a look around and read the help files. I had already installed the mdsn libraries. However, when I try to start up the help files, it opens what looks li ...Show All
Visual Studio Tools for Office EUROTOOL problem
Hi I have problems with eurotool in excel. I aprove all updates in my WSUS server. Now domain users have problems and even log report event Event Type: Error Event Source: .NET Runtime Event Category: None Event ID: 0 Date: 3/23/2006 Time: 1:55:39 PM User: N/A Computer: Description: The description for Event ID ( 0 ) in Source ( .NET Runtime ) could not be found. It contains the following insertion string(s): Unable to open shim database v ...Show All
Visual J# method to cast to/from ubyte[]/byte[]
Hi; I know I can copy a byte array to a ubyte array using System.Buffer.BlockCopy. But since the actual data is identical in both arrays, and I have some large arrays, is there a way to just case a byte[] to a ubyte[] thanks - dave This really is a great help! Thanks to everyone for the posts; all the explanations were very concise and informative! ...Show All
SQL Server How can I attach database files from outside the local server?
Hi,all here, I got a problem that I can only attach database files created on my local server, while database files from outside the local server cant be attached. So what is the problem then Thanks a lot in advance for any guidance and help. Which error do you get HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Visual Basic Creating Tables with sql express
I know this deals with ms sql express more so than vb.net but it correlates b/c I want to edit the database with vb.net express. On to my question... I'm trying to learn how to use ms sql express using the SQL Express Manager. However, I can't seem to figure out how to create tables. I'm reading http://msdn.microsoft.com/SQL/2005/getstarted/default.aspx pull=/msdnmag/issues/04/09/expresseditions/toc.asp but it seems outdated and I can't re ...Show All
Windows Forms DataGridView Image Columns
I have been pulling my hair out on this one and decided it was time to post it here after Googling for countless hours without finding an answer to my problem. I have a simple databound datagridview that I am trying to display an image on a cell by cell basis based on the cell value (stop, started, finished) etc.. The values are int values and so far I have been able to get it to work but I have noticed lots of flickering while using the grid ...Show All
Visual Studio Express Editions How to restrict character from textbox?
I have a program that use to input currency, but i really don't know how to restrict ascii character in the textbox, all i want is number are to be inputted in the textbox. Can u help me please:( You can use a masked textbox, or you can handle the key pressed event and write code like this: private void OnNumericKeyPress( object sender, KeyPressEventArgs e) { TextBox tb = sender as ...Show All
Windows Forms I don't think there is a problem with TaskVision ...
I realize that some folks seem to have a problem with it .. but I installed and ran it in late April and it ran great on 1.0 (in VSN2002) and .NET CE IPAQ (in VSN2003). Today I reinstalled it on another machine that has 1.0  ...Show All
SQL Server How Do I Start New SQL Server 2005 Database?
I just installed SQl Server 2005 on my Windows XP Pro system. But I can't figure out how to start the Database Engine. In the MS SQL Server Management Studio I see one Database Engine, but not SQL Servers. If I do "Update Local Server Registration" nothing happens. If I do right-click "New Server Registration" I get a databse icon with a white open circle. If I the try "right-click, Connect, Object Explorer" I get & ...Show All
.NET Development How to uninstall .NET 2.0 beta?
Hi, Since I have no clue where to post this, I'm taking a chance and post my question here. If this is not the right place, please tell me what is. It appears that the .NET 2.0 redistributable package is finally available here: http://www.microsoft.com/downloads/details.aspx FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&DisplayLang=en#related . When I try to install it, I get the message that I should uninstall the beta version first. Howev ...Show All
