NewbiePhil's Q&A profile
SQL Server Memory configuration for SQL 2005 x64 bits
Hi I understand that I do not need to use /PAE on Windows Server 2003 x64bits as it is not supported. I also do not need to use awe enable under SQL Server 2005x64 bits because 64bit SQL doesn't need to use the AWE api to address the larger memory space. When I do a sp_configure, AWE indicates that it is disabled but is that OK Do I still need to set a max and a min memory for SQL Server Is there any pro/cons if I do that Please advise. Thanks. Also when you use multiple instances on a 64bit cluster or on one node, please make use of the min and max memory setting, otherwise it can be that ...Show All
Visual Basic Why don't Visual Basic programs run on all Windows computers?
My pretty little program only runs on two out of four computers. The others display this ugly error message: Run time error '339" Component 'COMDLG32.OCX ' or one of it's dependencies not correctly registered: a file is missing or invalid. There is no HINT of how to fix this problem anywhere. I've searched the Visual Studio help, these forums and the Microsoft site. Do VB programmers just live with this problem or is there a solution There is similar problem that I faced. You can open your code in notepad and check the various components its referring to. Check them in Windows\System32 fo ...Show All
Windows Forms Transparent Bitmaps needed?
Hi, Can anyone tell me where to get bitmaps suitable for use with the TreeView control and also on some transparent images for use on buttons I want to use the standard 'Folder' icons for my Treeview control. Also are there any other creative downloadable options available before I put my questionable artistic skills to the test I'm also porting an application from Borland's C++Builder and unfortunately the transparent bitmap format it uses doesn't work in Visual Studio and the images look all double and googly on my buttons. Which is what they look like in any JPG editor too, so it's no Visual Studio's fault. But obviously the fo ...Show All
Visual Studio 2008 (Pre-release) Why should I care about WS-ReliableMessaging?
I've been trying to understand exactly why I should care about reliable service calls via MSMQ. Now I understand that TCP/IP and HTTP are not 100% reliable methods for transport but would it be safe to say that when considering an intranet solution that ReliableMessaging is almost never really worth the effort I will admit to being somewhat ignorant to the drop rates of typical web service / http calls so if someone could either quickly educate me or point me to some good reading materials I would be very appreciative. Another factor in this discussion is the idea that simply building in re-try logic for your web service call might handle ...Show All
Visual Studio 2008 (Pre-release) DLinq and null values and defaults
Is there any way to specify how DLinq handles null values - for example: [Table] public class Thing { string name; [Column] public string Name { get { return name; } set { name = value; } } } CREATE TABLE Thing ( Name NVARCHAR(120) NOT NULL CONSTRAINT DF_Thing_Name DEFAULT(N'No Name') ) ... results in an INSERT command that specifies NULL for [Name] when it would be helpful to indicate DEFAULT. Using stored procedures will handle it, but something like [Column(NullValueUpdate = NullValueUpdate.SetDefault)] would be handy... Thanks. Looking a bit further, it appears that ...Show All
Windows Forms Closing Parent & Child Form Simultaneously.
There are two forms(fmain & fchild). fmain is parent form while fchild is child form. In fmain there is button1, which opens fchild. The code in fmain is the following: Public WithEvents f2 As New fchild() Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click f2.Show() &nbs ...Show All
SQL Server dataflow and expressions
Greetings! I am attempting to implement the following case statement BEFORE getting the data in to my destination table but I don't know how to create an expression for it. In the mapping section of my OLE DB destination component I can only do mapping but I can't actually manipulate the data before it gets to the destination table. What do I have to do to implement : case when SOPD.PRICE_TOP_NUMBER is NULL then -8 else SOPD.PRICE_TOP_NUMBER end AS price_top_number, before it goes to the destination column ! Thanks for your help in advance. It looks like you wish to manipulate the value of t ...Show All
Visual Studio Express Editions Installation problems for Platform SDK into VC++ Express
I have downloaded and installed both Platform SDK and VC++, i followed all the steps from http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ and was still unable to get the windows applications. i am able to run VC++ and when i try and create a Win app project i get these errors The following error has occurred during XML parsing: File: C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults\CoreWin_Express.vsprops Line: 9 Column: 1 Error Message: Illegal qualified name character. The file 'C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults\CoreWin_Express.vsprops' has failed to load. Failed t ...Show All
Windows Forms Build Solution
Hey, I was making a print functiojn in my program and I used this page to know how to do it: http://support.microsoft.com/kb/811401/EN-US/ But on one of the steps to make a dll apear I had to finaly goto the build menu and clikc on Build Solution, but there is no option that says that.... CTRL-B will do the same thing. It's just a build command, but I don't think Express supports solutions ( multi projects at once ). ...Show All
Software Development for Windows Vista Sound does not play when windows vista starts or is shut down
I installed the beta 1. I do have a sound card which is working fine. However, when I start windows or shut down, the sounds associated with these events do not play. Has anyone else faced this issue Ashok Sorry, I typo'd the link; please try it again now. The newsgroup is microsoft.public.longhornhelp . ...Show All
.NET Development Reports deployment in MS Reporting Services
Hi, When a report is deployed to MS reporting services, where is the physical storage done for the respective report(rdl) Anyone please clear my doubt. Hiral When deploying .rdl in reporting services it will go to DB. The reporting services will serialize the rdl and put in the corresponding report server database. ...Show All
.NET Development Possibility to query the CLR execution engine ?
Hi, anyone out there who knows if (and if so, how) it is possible in the .NET framework to obtain the list of objects which are actually managed in a running application Thanks. Sure. Use Assembly.GetTypes() method: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpref/html/frlrfSystemReflectionAssemblyClassGetTypesTopic.asp ...Show All
.NET Development Exporting design-time tabcontrol functionality in a usercontrol that contains a tabcontrol
Hi, I'm creating a usercontrol that contains a tabcontrol, along with some other controls. But when I drag my usercontrol onto a form, I cannot edit the tabcontrol (add/remove tabs, edit the tabpages content, etc.). I'm wondering how I could do this. Any suggestions thanks, Phil http://www.codeproject.com/csharp/start_an_external_app.asp ...Show All
Visual Basic vb.NET2005 frustration .....'Unable to copy file "obj\Debug\....." to "bin\Release\......"'
Recently, but not immediately, I started to get the above error message almost every time I rebuilt my vb.NET application. The only way I know how to proceed is to rename all the \bin\Release\ files. I'm sure this isn't the normal expectation but why do I get it and how can I avoid it Urgent help required please! Geoff what other programs are running at the time, you dont have a second instance of vs with that project open and running or are running the executable at the same time as trying to recompile the application. Its normally that something is still open or in use and the system will not allow it to ...Show All
Smart Device Development how to subclass??
I need to intercept some messages sent to my VB form and I learned that subclassing was the solution to this. I also heard that it is much easier to subclass in VB.NET because you can simply override WndProc. does this work in Smart Device VB because there appears to be no "Message" type... how can I subclass my form should I use the old VB6 way or can I do it the "pure .NET way" as shown in this tutorial Thank you, please help. Does information in this artcile on Handling Windows Messages help http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/messagewindow.asp ...Show All
