Philipp Lamp's Q&A profile
SQL Server Best Practice For Moving Reports Between Servers
Is there a best practice to move a report from a development server to a production server Should the report be re-uploaded or can it be moved from behind Thanks, cj ...Show All
Windows Search Technologies Display and Filter Outlook Journal Entries in Windows Desktop Search
It would be great to show special icons for Outlook Journal entries in Windows Desktop Search. It would be even greater if I could filter on these. Thanks, that's better. As a suggestion for the next version, it would be great if you could add the Journal icon under Communications under the Other drop down menu. Loren Rex ...Show All
Visual Basic Implementing an Interface on Base class' signatures
Is it possible in vb.net to implement an interface using a base class' signatures I come from C# so this is something that c# can handle because it implements interfaces on the logical assumption that the signature and the signature name are the same so it is an implementation of the interface signature. Also, I do not have access to the base class so this must be done through a derived class. For example I have an interface Public Interface Property Data() End Interface Public MustInherit Class BaseClass Public Property Data() End Class So when I try to derive from this class and implement the interface the compiler blows up saying I haven't implemented it yet or it creates Data1() that implements the interf ...Show All
Visual Studio Team System Undoing a changeset?
How do you back out of a changeset I was experimenting with branches and merging and I made on a change on a branch when I intended the change for the trunk version. BTW, I can see this being a problem because the VS editor MDI tabs only give a filename (not directory) and so does the solution explorer. It would be nice if there were some visual cue to indicate that a solution you have loaded is not the "primary" version you work with but a branch instead. I'd like to second Buck's compliment. You've definitely picked out some of the most painful cuts we had to make. I believe some of them will be addressed with web releases of utilities but some need core code enhancements.&n ...Show All
.NET Development Detecting Network Connection
salam alikom i want to automatically detect the unplug/plug of my network cable and notify the user of this in my application and disable some network services in application...i found a sample code deals with this problem but it just tell me that the network changed and doesn't distinguish between network cable is pluged or unpluged i tried to debug the code in network cable plugged state and i added some code to get the clients from the network trying to know the state of the cable programitically but the network sometimes needs some time to get intialized and b ready to get the client machines in it...i thought to put a timer to delay the application....but i think there would b something more proffesional...so anyone can help me.... ...Show All
SQL Server Server Backup & Restore
Hi, Any help will be appreciated. What I’m doing wrong. I have the following code: Private Sub Button4_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click SaveFileDialog1.Title = "Database Backup" SaveFileDialog1.Filter = "Backup File (*.bak)|*.bak" SaveFileDialog1.FilterIndex = 1 If SaveFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then Dim conn As New ServerConn ...Show All
Visual Studio 2008 (Pre-release) ADO.NET Orcas March CTP: Uncle. :)
Alrighty... how does one create an ADO.NET Enities Framework Project with this new badboy I can't seem to find it as a project type when I Add New Project... The project template wsa probably their way of getting all the appropriate references in with previous CTPs. Now they get added when you add the item (well, I think not until you save it and build the actual class). You don't necessarily need a separate assembly for your CDM, though it's good architecture just like you would with any other data access layer. ...Show All
Windows Live Developer Forums Can't Sign in Either and the new profile didn't work
I have had all the same problems and did all the re-installs as well to no avail. I created a new account and tried various other things with no progress. This is the buggiest release of software I have seen in a while...anyone have any ideas to eradicate this problem This forum is dedicated to discussions about developing software with the Windows Live (or MSN) Search service. The best place to get help on consumer issues with Messenger is in the messenger newgroup at microsoft.public.msn.messenger. You can access this newsgroup through your Web browser here . ...Show All
Game Technologies: DirectX, XNA, XACT, etc. The Unofficial "Hooray I'm Done With my DBP Game" Thread
When you get done with you game and sumbit it, crow about it here. A little over 24 hours left until the deadline and I'm so amazed I'm done, so much better than college Thanks to ZMan for his help, good luck all. I'll post the source code for my submission once the deadline hits. Bill Well, I've just finished uploading Space Fortress - a remake of Space Zap! from the early 80's. I've still got a list of things I wanted to add, but that I ran out of time for. The quote about adding people to a late project will make it later is very true. I'd started with a team size of three - Me, my wife, and my 3.5 year old playtester, Katrina. Feb 27th we added a new team member - Naomi. I'm just happy my wif ...Show All
SQL Server Unexplained Table growth with reindex
Sorry if this is the wrong forum, please move post accordinly. I have a table that was just over 4Gb in size a couple weeks ago and after a couple weeks of the maintenace plan running it has grown to 7Gb. During that time there has been no inserts or updates to that table. The table has 4 indexes plus one PK clustered index all with 100% fill as the table is more for reading that writing. The only work the MP does to the database is rebuild the indexes weekly. The one solution I found that was able bring the tables back down to size was to drop and recreate the clustered index. I tested this on another table from a different database that had grown from 4Gb to 17Gb in a couple weeks as well. While I would like to do this on the table in qu ...Show All
Smart Device Development Can't find ActivateService
Hi guys, I've got the tiniest little Win32 Console App made so that I can simply Deregister and then Activate one of my services. It's so simple, I'll post the entire 10 lines of code. // UpdateProgram.cpp : Defines the entry point for the console application. #include "stdafx.h" #include <windows.h> #include <commctrl.h> #include <service.h> int _tmain( int argc, _TCHAR* argv[]) { DeregisterService(L "FUBAR" ,0); ActivateService(L "FUBAR" ,0); return 0; } So yeah, not much to it haha. But, it tells me that DeregisterService and ActivateService are both not found. To be exact: Error 1 error C3861: 'DeregisterService': identifier not found c:\..\ ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 2d sprite shrinks on x axis
how can i stop my sprite shrinking on the x axis when i rotate it It shouldn't be rotating unless you are also setting the width and height on it after rotation For a sprite that has zero at the top left you can use something like: float cosA = (float)Math.Cos(rotation); float sinA = (float)Math.Sin(rotation); float w = -halfWidth; // move to center float h = -halfHeight; float x1 = w * cosA - h * sinA; // rotate float y1 = h * cosA + w * sinA; drawRect.X = (int)(xPos + x1 + halfWidth); drawRect.Y = (int)(yPos + y1 + halfHeight); ... public override void Draw(SpriteBatch spriteBatch) { spriteBatch.Draw(spriteImage, drawRect, sourceRect, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA has it's own GamePad DeadZone?
I've been looking at the output of the thumbsticks, and it appears a value less than 24% (0.24) is ever returned. I know it's very important to implement deadzone in your programs, but why has it been done for us Someone may want to write a game that needs a smaller deadzone, but as far as I can tell it would be impossible given we don't have full access to the output right the way from 0 to 1. Is this behaviour intentional Many thanks, Adam Miles The actual bug lies in the fact that the horizontal deadzone is being reported when the vertical position is outside the vertical deadzone and visa versa. Lateral movement round the edges should not be subject to the deadzones. It sounds for example like the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Smooth movement
I did a "game" where a ball bounce around the screen. It's running at 60 fps but it isn't a smooth movement. It's an issue from XNA Framework Beta I am working with SpriteBatch class... In your Update method, you should use the elapsed variable with every moving game component you have: float playerX = 0f; float playerY = 0f; float playerXSpeed = 100f; float playerYSpeed = 30f; protected override void Update() { // The time since Update was called last float elapsed = (float)ElapsedTime.TotalSeconds; // TODO: Add your game logic here playerX += playerXSpeed * elapsed; playerY += playerYSpeed * elapsed; // Let the GameComponents update UpdateComponents(); } As you c ...Show All
.NET Development .NET Framework 3.0 and Kerio Firewall - Setup hangs.
The only way to install the previous versions without setup.exe hanging (and being unkillable) was to install from a Full version of the setup rather than the web version. Is there a full version to download as previously Has there been any correspondence with Sunbelt to try and fix the problem Will the log files produce a solution soon, I don't mind waiting but if its going to take some time I will just use the full download. Thanks Peter ...Show All
