marabu's Q&A profile
SQL Server what is june what is april?
maybe i am really dumb, but how do i know hat is june and what is a april CTP i recieved a DVD package, called Visual Studio 2005 Beta 2, with Sql 2005, VSTFS and VSTFC 2005, usually i would take it a they should work together, well but i am really and truly not sure anymore... if this sql server version works with this teamfoundation server version.... let me know...had already about 20 trials of installs on different machines, member server and domain controller.... let me know where i can see which version is it, please... Irie Mikky eyoo cathal, thanks a lot for your fast and informative answer.... well i read the the june ctp pf v ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Possible Culling Problem
Coding4Fun posted code called "BattleTank 2005", it gives a great example for simple camera movement and importing of Xfiles. The Xfiles are all white because no lighting is provided in the prog. I added these lines to allow for lighting taken from http://www.gotdotnet.com/team/directx/learn/tutorials/helloteapot.aspx device.RenderState.ZBufferEnable = true ; // enable lighting device.RenderState.Lighting = true ; ...Show All
Visual Studio Express Editions Disable MDI menu items from child form?... Help me please
i have 2 forms in form1 i have set this mdiparent property to true. i have menus items in mdi form and these sub Public Sub disableMenu() MenuItem2.Enabled = False End Sub Public Sub enableMenu() MenuItem2.Enabled = True End Sub in mdi load i called disableMenu(). so its working but if i call enableMenu() from child form its not working... Dim f As New Form1 f.disableMenu() Me .Close() eventhough i have set menu modifiers property to Public its not working u please help me Thanks You are creating a new Form1 and enabling the menus on it. Try this i ...Show All
.NET Development Overriding SettingsProvider
Have anyone successfully created a custom SettingsProvider, or does it exist an example of how to do it I've got several problems regarding my custom SettingsProvider: 1) If I inherit directly from System.Configuration.SettingsProvider, and pass that class to an settings class using the SettingsProviderAttribute, I get an ArgumentNullException when i access the settings properties. It should also be noted that the GetPropertyValues method of my settings provider is never called 2) If i instead inherit from LocalFileSettingsProvider, and override the Get/SetPropertyValues, everything seems to be working fine, except th ...Show All
Visual Basic Weird Change in Form's Height
Hello ... I've a Project where all my forms are set to 1024*768 (FormBorderStyle= 0-None) when i run the program I see that it doesn't cover all the screen when i check the height i see that it's 753 even when i end the Program and get back to the visual basic i findout that it had been resetted to 753 ! Now I've searched the Web if there is a Limit to the height when using 1024 as an example ... but i didn't find any clue I can fix this by setting it at runtime but the Problem is that some controls MOVE when i change the height... so that's not the Optimal way the right way is to know the cause of this. Thanx in Advance ! ...Show All
Visual Studio Express Editions extract an image from the internet
Hi there is a web page only containing one imge. The image is updated very 5 minutes. I want to extract this image every 5 minutes and save it on disk. How to do this in C# Thanks Yuelin Have a look at the following piece of code it should do what you are asking. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Net; namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } priva ...Show All
SQL Server Error in SQL Server Management Studio Express when Attach DB
Hello When I try to attach a Database in SSMSEE, I always receive the same error. After clicking on the "ADD"-Button in the "Attach Databases"-Window, the following error occurs: TITLE: Locate Database Files - ORION\SQLEXPRESS ------------------------------ C:\Programme\Microsoft SQL Server\MSSQL.1\MSSQL\DATA Cannot access the specified path or file on the server. Verify that you have the necessary security privileges and that the path or file exists. If you know that the service account can access a specific file, type in the full path for the file in the File Name control in the Locate dialog box. OK - Butto ...Show All
Visual C++ Migration from VC 6.0 to VC 7.1
I am porting from VC 6.0 to VC.NET 2003 and I am getting the following issue:- error C2143: syntax error : missing '}' before 'constant'. Plus any document or help on migration from VC 6.0 to VC 7.1 Best Regards, Just another try. So you include MSXML4 with an import. The ShObjIdl.h needs the DOm pointer definition. So using namespace MSXML2 will over this definition for the heaer file. Try to place: #import "msxml4.dll" using namespace MSXML2 ; in front of the #include of ShObjIdl.h Or use #import with the no_namespace option. ...Show All
SQL Server .NET Remoting or Direct Connection to SQL Server 2005 Express
Hi, I'm currently designing an application that I want to be able to connect to a SQL Server 2005 Express either locally, over the LAN or through the internet. What is the best way to go about this:- 1. Should I allow the client application to connect directly to the SQL Server 2005 Express database whether the database be on the local machine, over the LAN or through the internet. 2. Should I use .NET Remoting by use of a server application to allow connection to the SQL Server 2005 Express database whether they be local, over the LAN or through the internet. 3. Should I architect the client application to connect to t ...Show All
Software Development for Windows Vista Change state from host when workflow calls External Method?
Hi, I have a state which calls an ExternalMethod in its StateInitialization. I need to call EventA or EventB inside ExternalMethod - LookUpPatient StateA StateInit : call ExternalMethod LookUpPatient EventA => I need to trigger this from Host during LookUpPatient call EventB What I am doing now is to call back to host from LookUpPatient and then forward the request to the UI thread (using this.dispatcher.beginvoke) and triggers event from there. The problem with this solution is that in the host thread, I need to wait until the StateInit finished before I call EventA otherwise I will get an exception when I ca ...Show All
Visual Studio Tools for Office Manged outlook add-in issue
So I am having an issue with some code, that checks the mailitem.sendername and then moves it to a folder and then flags it. Just something simple, am using a switch statement to do the job... the code is as following: void ThisApplication_NewMail() { Outlook.MAPIFolder _inbox = this .GetNamespace("MAPI").GetDefaultFolder(Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderInbox); Outlook.Items unread = _inbox.Items.Restrict("[Unread]= true "); &nb ...Show All
SQL Server Capturing and reporting execution errors
We have a report subscription that emails an excel file every morning at 11am. For the past two mornings the subscription fails due to one of the parameters being null. This was caused by another programmer changing a stored procedure used in the report. What I'd like to know is how can I capture and report that the report failed to be produced. I have loaded the Execution Log sample reports and the relevant DTS package to load the logs is run every 5 mins. However, this error does not show up in the reports. The entries in the Report Server log file are as follows, ReportingServicesService!dbpolling!25a4!17/08/2005-11:00:12:: EventPol ...Show All
.NET Development safe conection between web services
Hi! I'm working with two web services. They are in different servers. I need to change information between them, but for this i must implement a safe data traffic canal through SSL Protocol. An important detail is my necessity to use certificate of machine. In the following code examples, i'm trying to do this. Server One: //--------------------------------------------------------------------------------- //intance of the other web service... CertServiceWse ws = new CertServiceWse(); X509CertificateStore store = null ; store = X509CertificateStore.LocalMachineStore(X509CertificateStore.MyStore); store.OpenRea ...Show All
Visual Studio Determing language in Web project
How do you determine the language (C#, VB, etc.) of a VS 2005 web project through automation I have tried Project.Kind (prjKind), but that only works for non-web projects. Also, there doesn't appear to be anything useful in VSWebSite to resolve for this problem. Thanks! Brian, Yes, it would be helpful to explain how to determine the default language. Please tell me how. Thanks! ...Show All
.NET Development catching an exception from an unmanged DLL
Hi, within one of my DLL (using unmanged C++) I throw an exception of a user defined type (altenatively std::string - this caused the same result). In my .net solution that uses this DLL I've put everything into a try-catch block. The exception seems to be thrown correctly by the DLL, but the only thing my .net application receives is an exception of type System::Runtime::InteropServices::SEHException, accompanied by the message: "External component has thrown an exception." Does anyone know how this is done right Will it work at all Thanks, these blogs were really interessting - I think I should have a loo ...Show All
