Drake1500's Q&A profile
Visual Studio Team System VST Database Pro in conjunction with DAL generator?
We're planning to use a 3rd party app (DeKlarit) to generate our data access layer. But, we want to also fully embrace VST Database Pro. Is it an either/or, or can these products work together Also, are there other DAL generators out there that would be more recommended I.e. is there a list of the top few Thanks, Ron rcook349 wrote: We're planning to use a 3rd party app (DeKlarit) to generate our data access layer. But, we want to also fully embrace VST Database Pro. Is it an either/or, or can these products work together Assuming you mean that the data structures (tables, views, etc.) in the DB are to be created with your tool, you can use schema compare (source is DB - target is project) to import th ...Show All
SQL Server ExecutionLog duration - is it settable?
Please forgive the stupidity of this question - it should be something very easy and I'm just not seeing it. I am trying to set the duration of the ExecutionLog table. Currently it is ~ 1 week, and I would like to up the lifetime of the records - say, to 1 year. I would think this is as easy as changing a .config file value, but am unable to find something for this. I found the entry for the log files, but nothing for the execution log. In the past I have tinkered with the Execution History DTS package, which would need to be scheduled to run and pull over only the newest records - is there anything else besides this (just let them sit in the table ) Thanks in advance, John I do apologize abo ...Show All
Visual Studio Team System Permissions, Users, and Scripts Oh My!
I reversed one of my 2000 databases into a project and deleted most of the users from the project. When I tried to deploy to a new database I got an error. The deployment script still included those users and it failed when trying to run sp_grantdbaccess. I played around with editing the script but it would rebuild it each time and recreate those statements. Looked at the VS work database created on my local instance and the users are there, Closed the project. I am currently attempting to open the project again but VS appears to have lost its brains about this project, which is sad because I have been editing the project for several hours correcting other issues that VS didn't handle well. I am crossing my fingers it will come back b ...Show All
.NET Development Dispose() or not to Dispose()
I constantly contemplate the issue of whether to dispose an object when I’m done with it in a method call. For example if i am using a SqlCommand object within say a SelectCustomers method, in the finally portion of the try catch block should i Dispose() the command object or just let it be flagged for garbage collection and destroyed at that point I thought the whole meaning of Managed Code which .NET is is so you don't have to be as concerned these days with manually destroying objects as long as you aren’t using or consuming unmanaged objects in your apps. Thanks for any input you can give on this dilemma. nobugz wrote: I just dislike "using" because it forces me to violate my self ...Show All
Visual C++ Problems with CBitmap and CDC
Hello, I am trying to use a CBitmap that is quite a bit larger than the DC on the Windows Mobile device I am using. As a test, I am blitting this CBitmap black and then copying it to the buffer DC using an intermediary DC. However, it is not working. I cannot for the life of me figure out what is going on! Here is the code (all the calculations are correct going into the BitBlts): RECT screen; GetClientRect(&screen); int bufferWidth = screen.right*Minotour::Constants::BUFFER_SIZEFACTOR; int bufferHeight = screen.bottom*Minotour::Constants::BUFFER_SIZEFACTOR; CDC* tempDC = new CDC(); tempDC->CreateCompatibleDC(readyBuffer); CBitmap* test = new CBitmap(); test->CreateCompatibleBitma ...Show All
Game Technologies: DirectX, XNA, XACT, etc. installer is not recognizing that I have C# express 2005
OK, I installed C# express 2005 last night. I have visual studio 2005 team edition for software developers installed before this for many months. I can open studio 2005 team edition, I can even open the C# express 2005 and build things. When I try and run the installer for game studio express I am told that it requires C# studio express 2005....which I installed last night. Ideas that was the solution. To be exact however I installed the c++ and just noticed it was c++ not c#. I feel like an idiot. I plead late night with the kids last night as an excuse. ...Show All
Visual Basic Printing screen through code
Is there code to print screen through VB Dim theScreenShotBitmap As New Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height, Imaging.PixelFormat.Format24bppRgb) Dim theGraphics As Graphics = Graphics.FromImage(theScreenShotBitmap) theGraphics.CopyFromScreen(Screen.PrimaryScreen.Bounds.X, Screen.PrimaryScreen.Bounds.Y, 0, 0, Screen.PrimaryScreen.Bounds.Size, CopyPixelOperation.SourceCopy) ' theScreenShotBitmap.Save("C:\raj.bmp", System.Drawing.Imaging.ImageFormat.Bmp) My .Computer.Clipboard.SetImage(theScreenShotBitmap) rtb.Paste() the above code will get u the execat screen shot of the screen and it is purely dependent on frame wo ...Show All
Visual C# Graph Class
Hi is there a graph class ( vertices & edges ) in C# What exactly would you like to achieve Have you looked at the System.Drawing and System.Drawing.Drawing2D namespaces ...Show All
Microsoft ISV Community Center Forums filter doesn't seem to be working
Hi. I have a pivot table that works on all the records in a table. I want to apply a filter through VBA code as follows: DoCmd.OpenForm "fpvtAxisI", acFormPivotTable, , "[Part]='1a'" The filter doesn't seem to be working because all the records got displayed just as if there's no filter. I tested by putting the filter "[Part]='1a'" directly in the Filter property of the form. It didn't work neither. I have the same problem applying a filter to a report. What am I doing wrong thanks kevin ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Rotate camera about a point
Currently, I have an object in my scene which I'm rotating. What I want to do is keep this object stationary and rotate the camera around it because I'm planning to add a few other objects and a sky box. Is there any way I can do this riemerg wrote: You can use the Vector3.Transform method to rotate you camerapos vector I have written a chapter on this with some examples, which I will put on my site tomorrow. Cool. Could you post the link on here once it's up ...Show All
Visual C# [newbie] Thread.Sleep and Button's color change
Hello! I've got the problem: I want to change BackColor of Button only for few seconds. I try do it: button.BackColor = Color.Red; Thread.Sleep(1000); And effect is that program wait 1 sec. and then change the color of button. I don't understand it. I thought that Color should be changed first and then program should wait 1 sec. Yes, that has happened to me as well, and it may be because .NET runs lines of code at the same time... Maybe adding Application.DoEvents() above the Thread.Sleep(1000) would make it work (wild guess).. ...Show All
Visual Studio sdkvars.bat could not be opened for write..
Hi all, I tried installing VS 2005. And i got the error "sdkvars.bat could not be opened for write"... I have uninstalled all that has to be done for this. Disabled antivirus software I did went through this forum and referred the previous threads. I followed this thread.. Step 1: Go to My Computer Step 2: Move your cursur(mouse) to the File Edit View Favorites Tools Help shown on the top of address bar and the back button. Step 3: Go to Tools and click Folder Options... Step 4: Go to the View tab / Advance Settings: Step 5: Go to the very bottom and you would see Use simple file sharing (Recommended) Uncheck it. Click OK Step 6: Go to your Microsoft Visual Studio 8 Folder in Program Files St ...Show All
Smart Device Development How to check whether my PDA is connected through GPRS using .NET Cf code?
Hi, In my application, i want to check whether my PDA is connected through GPRS How do i check this Are there any registry entries for this Hi Do you want to check whether the PDA has an active GPRS connection If you do so, and you are using Windows Mobile 5.0 then try the following State and Notification Broker properties: SystemState.ConnectionsCellularCount - gives you the number of open cell connection (GPRS/UMTS...) SystemState.ConnectionsCellularDescriptions - name of the open connection ...Show All
Windows Forms TabControl question
Is it possible to put the in bold the text of ONE of the tabs when i try to set the font property to bold on the tabcontrol.... all the tabs are in bold. But i only want a specified tabpage to be in bold. when i set the font property of the tabpage to Bold... it doesn't do anything on the title of the tabpage. Thanks, You'll have to ownerdraw the tabcontrol for that. See the tips on my site: http://www.dotnetrix.co.uk/tabcontrols.html ...Show All
.NET Development Is it possible to remote an event
I've developed a service which processes files on our server. The one thing the service is missing is a control panel. For example there's no way to tell how many files are queued up and awating to be processed by the service, there's also no way to manually add files or remove files from the service's queue. So I'd like to create a control panel type application that would provide those features. I did some research that lead me to remoting as a way for the control panel to communicate with the service. I've never done any remoting but I don't believe serializing objects and getting the simple remoting tasks completed will be a problem. What I'm concerned about though is whether or not I can serialize/remote the event the serv ...Show All
