MARCO RIBEIRO's Q&A profile
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 Studio Express Editions ActiveForm question
Ok, I know that the ActiveForm object returns the, well, active form. But what about the active form's controls I can't access those because they don't appear as one of the ActiveForm's objects, and when I try to compile like that it says that the property doesn't exist. So how can I access the controls of the active form Please help! The ActiveForm property returns a Form reference because it can be any type of form. You need to cast that reference to the appropriate type to be able to access the members of that type. If the ActiveForm may be any of several types then you're going to need to test what type it ...Show All
Visual C++ Need to use DIA SDK 7.1 to get local variable names from PDB files
Anyone have any experience, or ideally, code samples to query a PDB file for local variable names We can get the method's IDiaSymbol via the metadata token, but the symbols contained by that IDiaSymbol don't have documented interfaces for variables. We do see some data-type symbols that have strings that corresponds to variable names, but we're shooting in the dark regarding slot numbers, liveness ranges, and associated goodies. I'd love to move to the next release of the DIA SDK, which presents all this as API calls, but I am not able to do so due to other release constraints. Are there any examples of doing this type of work usin ...Show All
Windows Forms Maximum Zoom
I am using .NET 2.0 and C#. The app I am working on allows the user to zoom an image. I do this by re-sizing the PictureBox the image is in. This works fine, along with the scroll bars on the UserControl the PictureBox is in. The problem is that depending on the size of the image there is a zoom level above which the app raises exceptions in Main(). (Presumably due to not enough memory but the exceptions are generic) Ex: zoom 12MB tiff to 750% on machine with 2GB RAM and it breaks. For a 23KB jpeg it doesn't break until 5000%. Our users may have images as large as 50 MB, so this is a concern. How can I deal with ...Show All
SQL Server Another SSIS Package Validation Question
We are going to be running a package repeatedly 24/7. The same package against the same data store, filtered using a "stageFlag" so as not to read rows previously processed. We have various timing statistics and have yet to fine tune; but on the surface it appears that it takes approximately three minutes to validate and another three minutes to run. If we have no additional data on the second run it still takes three minutes to complete - to do nothing but skip rows already processed. Is it possible to set this up to run repeatedly without the validation on each iteration Any ideas as to how this would be accomplished would ...Show All
Visual Studio Team System Suggestion: add rule/warning for use of weak security algorithms?
It might be worth adding a rule which checks for the System.Security.Cryptography namespace use of MD5 and weaker, and maybe SHA1 hashes (HashAlgorithm), and DES, TripleDES and weaker encryption (SymmetricAlgorithm), with a recommendation to use SHA256, or higher, and Rijndael [AES] instead. See the following article, which apparently reports on Microsoft internal guidelines. http://www.eweek.com/article2/0,1759,1859751,00.asp Of course, this rule would be best for new systems, where you get to choose the encryption level. The doco should have a clear exclusion point -- where you need to interoperate with a ...Show All
Visual C# datagridview / cells and rows
hi, i need help, how can i get the value from a particular dgvcell if i'll select the entire dgvrow and how to auto-select a row oh yeah. . . if your grid is bound to a binding source which is inturn bound to an IList, at any given time, BindingSource.Position will return the index of the currently selected item in your IList BindingSource.Current gives the actual selected item though you will have to cast it to the particular item. if your ilist is a Dataable, you will need to cast it to a DataTableRow ...Show All
SQL Server Deploying with sql server express
I have developed a windows mobile 5.0 application that is currently syncing with sql server 2005. I want to deploy the application with sql server express for the client. What do I need to do to make this work Thank you. It depends on how you're syncing. If you're using manual implementation via SQL Client on device, that would work with properly configured SQL 2005 Express as well. If you using SQL Mobile RDA or replication, you would have to implement manual sync using SQL Client as Express offers no RDA/Replication support. ...Show All
Software Development for Windows Vista Interop Problem with COM IDataObject and TOM Paste
I have been trying to access the text object model (TOM) using the RichEdit control in NET. So far I have successfully implemented most methods of the ITextDocument and ITextRange interfaces. I am now trying to implement the Paste method of the ITextRange interface which is defined as follows: STDMETHODIMP Paste(VARIANT *pVar, long Format); Where pVar is a pointer to the IDataObject to paste, but the contents of the clipboard are used if any of the following are true: pVar is null pVar punkVal is null pVar is not VT_UNKNOWN pVar punkVal does not return an IDataObject when queried for one I’ve translated this in my ITextRange in VB.Net as ...Show All
Visual Studio Team System Web test relative paths
With unit tests I can use relative paths (even go so far as to adding them to the config file) Can I do something simular with webtests Since a web test is simply an XML file I assume I could open the web test and edit it, but would like to hear if there is an easier way. Thanks, TomK Sorry about the poor documentation. (It made sense to me, I knew what I wanted) My web test is data driven. With Unit tests if they are data driven it is easy to change the data source to be relative. It appears that if I edit the web test file I can make it relative fairly easily, but I want to know if there is a sugges ...Show All
Visual C# Showing Image from Memory in axWebBrowser
hi everybody, I have a Image stream in memory and would like to show it in the webbrowser control. how can I do this, wihtout persisting the Image to disk .. is there any solution to my problem..please help me.. with my best regards.. Bassam Basamad not sure if you could look at mime embedding the image element which would take a lot more coding than simply persisting the image to disk and adding a element with reference to the htmldoc. ...Show All
Visual Studio Express Editions Progress Bar Trouble (Beginner)
Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click My .Computer.FileSystem.CopyDirectory( "\\server\proj\stds" , "C:\dwgs\stds" , True ) End Sub Private Sub CopyWithProgress( ByVal ParamArray filenames As String ()) ProgressBar1.Visible = True ProgressBar1.Minimum = 1 ProgressBar1.Maximum = filenames.Length ProgressBar1.Value = 1 ProgressBar1.Step = 1 Dim x As Integer For x = 1 To filenames.Length - 1 If CopyDirectory (filenames(x - 1)) = True ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Theory: Multiple SDK/DirectX Installations and the C3635/C3377 problems
First off this is what I have installed in regards to .NET, DirectX and Programming Software - all in their own directories. DirectX - October 2005 Edition DirectX - December 2005 Edition DirectX - February 2006 Edition Visual Studio 2005 Express (C#, C++ etc) - Net SDK 2.0, DX Feb2006 Visual Studio 2003 C++ - Net SDK 1.1, DX Oct/Dec and Feb (separately) Visual Studio 6 C++ (Not used since 2003 installed last year) Net SDK 1.1 Net SDK 2.0 Both before and after installing Feb 2006 DirectX I have found I could not compile a simple program in 2003 C++, just creating a device without receiving 3 or so error messag ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How do I develop games for the XBox 360?
The starting point to learn how to build games for the XBox 360 is here . In a nutshell though, building games on your PC using the DirectX SDK is the best starting point for building games for the XBox 360. You can't get an XDK for xbox or xbox360 unless you are a registered developer and for now this means you are a big company with lots of $$$$ All the public information is here: http://www.xbox.com/en-US/dev ...Show All
Smart Device Development UserControl in .Net Compact Framework v1.1
All who can help, i'm making a small .net application for a windows Ce .NET device, but i was wondering, is there any change to make a custom control or use usercontrol and add them at design time to one of my forms So 2 questions: 1. Usercontrols are not supported in v1.1, do they in v2.0 If not can i use something else The reason i ask is that, i wrote an multi-panel application (One form which is always updating his panels (with usercontrols), depending on what data was received). But if i can't use usercontrols i'm in big trouble... 2. I made a custom button which add's an image to it, but can i add this custom control to the to ...Show All
