Software Development Network Logo
  • SQL Server
  • VS Team System
  • .NET Development
  • IE Development
  • Audio and Video
  • Visual Studio
  • Smart Devicet
  • Windows Vista
  • Windows Forms
  • Game Technologies
  • Microsoft ISV
  • SharePoint Products
  • Visual C++
  • Visual C#
  • Visual FoxPro

Software Development Network >> N0v3m83r's Q&A profile

N0v3m83r

Member List

Dustpan Dave
sic0198
tasleemarif
steveylevi
sapaplanus
Charles Lewis
chaza
hohsen
No-spam Sam
Audrey Won
Are Haugsdal
Brecht Yperman
guilhermecvm94558
Sailu
susiekay
GreatDane
d72e4d
wesky
robinjam
R.Tutus
Only Title

N0v3m83r's Q&A profile

  • SQL Server Install SQLServerExpress Advanced Service with Visual Studio Express

    hello, i’d like to work with (first learn ) all features of the SQL Server Express Advanced Service and Visual Basic 2005 (incl. Connect SQL Server databases from Visual Studio/ VB2005). Before I’ll make a mistake with the install (the numerous versions make me confused) I’d like to ask you which is the correct way to install both : 1) Should I first install SQLServer Express Advanced Service and then Visual Studio (Visual Basic without SQLServerExpress - if it’s possible switch off this compound) or 2) Install Visual Studio Express (I’ve got the DVD from Microsoft) with (or without ) the SQLServerExpress Edition and then upgrade to the SQLServer Express Advanced Service by starting the SSE Advanced-Service setup-file thank you very much ...Show All

  • Visual C++ Arrays of Strings

    Hi folks, I'm writing a .NET Winforms project in Managed C++ using Visual Studio 2003 and I'm wondering how I go about having multi-dimensional arrays for String objects I'm vaguely aware of the Array Class, but I'm not sure if this needs to be part of my solution. I've tried a few experiments using the classic C++ method of creating multidimensional arrays, but (of course) this does not work owing to the managed restrictions of the language. In any case, I just need a little direction here - do I need the Array class or is the syntax for this a bit different than what you might expect -Zero Hi again everyone, I managed to figure it out after I realized I was being a complete dunce - if I ha ...Show All

  • Visual Studio Team System Code Analysis: FxCopCmd - Is it possible to set/override Message Level in FxCop project

    We expect to use FxCopCmd execute Code Analysis as part of our Build process for code validation checks. As part of this implementation, we will author a FxCop project file to indicate which rules to include in the analysis. From the FxCop project file we would like to indicate the rule's Message Level, reflective of the Status set in the assembly project file. Is there way to set the rule's Message Level from the FxCop project such as an attribute on the Rule Name tag that indicates Message Level It's not literally possible to alter the FxCop message level using project files and FxCopCmd.exe. There is a mechanism built into VS2005 for elevating a specific FxCop rule to constitute a build-b ...Show All

  • Visual Studio Team System Rule to prevent Cross Site Scripting

    hi,I would like to write some custom rules. First I want to prevent input by validating userinput by using reg ex. Second, I want to use HTMLencode/URLencode every time it is needed.can you give me some informations thx Unfortunately, this kind of rule would be very complex to write and without writing some sort of data flow analysis engine, it won't be possible. However, if you know what methods need to call HtmlEncode and UrlEncode, you could walk over the instructions and simply see if the method actually calls them. However, be aware it won't be able to detect if it is being called on the right user input. Tell me if you are interested and I will give you a few pointers. Regards David ...Show All

  • Visual Studio 2008 (Pre-release) Simple 3D triangle not showing up

    Hi i'm playing around with 3D. I'm pretty new in this area. I made a little example and have a problem. This first peace of xaml displays a little triangle, everything's fine: <Viewport3D Name="viewport"> <Viewport3D.Camera> <PerspectiveCamera FarPlaneDistance="50" NearPlaneDistance="0" LookDirection="0,-1,0" UpDirection="0,0,-1" Position="3,5,0" FieldOfView="80" /> </Viewport3D.Camera> <ModelVisual3D> <ModelVisual3D.Content> <DirectionalLight Color="White" Direction="0,-2,2" /> </ModelVisual3D.Content> </ModelVisual3D> <ModelVisual3D> <ModelVisual3D.Content> <GeometryModel ...Show All

  • Visual Studio VS .Net Crystal Reports and Excel Export

    Hi, I'm a CR novice and I was wondering if it's possible to create a Crystal Report in VS .Net 2003 that allows me to embed code in the .rpt file that would create a file export and ask the user to save to an Excel file. I'd like to know if this can be done and what if any are some sample codes. Thanks. Novice Hi Shei, Sorry I was away and not able to get back to you sooner. I'm using CR in VB .net 2003. I created a report and in the report's stored procedure I have: alter procedure dbo.rptname @FromDate datetime=null @ToDate datetime=null /* ( @parameter1 datatype = default value, @parameter2 datatype OUTPUT ) */ AS if @FromDate is not null and @To ...Show All

  • .NET Development Exception: DataTable internal index is corrupted: '5'. on ...

    Hi, I have a problem with bindingsource component in framework 2.0. I have a combobox bound to a bindingsource which is also bound to a dataset with 2 related tables and a datagridview bound to the same bindingsource. What I want to do is : When the selectedindex property of my combobox changes, the corresponding cell value must be changed in the datagridview. But although the value in bindingsource changes, datagridview does not display the new value. That value is displayed after I move the mouse over that cell and make it invalidate its region manually. Another error I caught is the one that you can see as the subject of my post. I do not know why i have that message when I try to change the property of ((DataRowView)mybindi ...Show All

  • SQL Server SQL + ASP.NET connections

    Are several connections (opned then closed) good or bad practice when running SQL queries I have an ASP.NET web application which uses the "using" command to open a new connection, run a query then close the connection when it's finshed. In any page load this can add up to 20 or so connections being opned then closed per page load; as this is in multiple threads/methods, I cant see another logical way of doing it. Is this a bad thing Yep, you might want to tweak it manually by setting Pooling=False; or Pooling=True; int he connection string. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Visual Studio Express Editions Have we helped?

    I am trying out the background worker object to run time consuming procedures in the background. If, however, these procedures instantiate new windows forms these forms seem to "hang" and dont respond at all. I dont have experience in multi thread programming, and would like to know how to solve the problem or approach it in another way. Thanx that is correct what OmegaMan had said, thanks for that. To update the UI from another thread, as OmegaMan had stated, you need to do some invoking. Check this out for an example: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=564275&SiteID=1   http://msdn2.microsoft.com/en-us/library/zyzhdc6b.aspx http://msdn2.microsoft.com/en-us/library/a1hetckb. ...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

  • Software Development for Windows Vista Custom Composite Activity & ActivityBind

    Hi there, I'm trying to build a custom composite activity that allows to execute it's child activities in any order. It should be possible to run a child activity more than once (e.g. the flow "Activity1 -> Activity2 -> Activity1 -> Finished" should be possible. I've tried to build such a composite activity based on the GraphActivity sample ( http://blogs.msdn.com/vkalra/archive/2006/08/12/696132.aspx ) which works great, except when i try to bind properties (DependencyProperty) between activities: If I bind a property of type 'System.String', all works fine: the property is set before the activity executes. If I try to bind a property of a custom type (e.g. List<Order>), the property is null when the acti ...Show All

  • Visual C++ How do I link a C++ library file into my C project?

    Hi, I'm currently using visual studio .net 2003 and am struggling to link a library file to my project continuing a main() that I’ve writing in C. I have been given a .LIB file that has been written in C++ as well as a .H file which contains the structures that I need to populate as well as functions to call. The structure definitions in addition to the function prototypes (which are all prefixed with the keyword __declspace) within the .h file are all encapsulated within an extern “C” modifier. When I compile the project without the library file I receive nine LNK2019 errors indicating that visual studio can’t resolve the functions within the .H file, which call from within my (C) source code. One error for each instance that ...Show All

  • .NET Development Deserialization bug on x64?

    Hey folks! We are developing an application with a client server architecture where the server sends a binary stream to the client using BinaryFormatter(). On the client side, the cient tries to Deserialize(incommingdata). Notable is that the server is running on .NET 2.0 and the client on .NET 3.0. The deserialization works fine on a 32-bit runtime, however, when trying to do the same on a 64-bit runtime we get exceptions, seemingly randomly. The exceptions are: OutOfMemoryException() SerializationException() Message="Invalid read type request '250'." System.Text.DecoderFallbackException Message="Unable to translate bytes [CC] at index 17 from specified code page to Unicode." System.Runtime.Serialization.SerializationE ...Show All

  • Visual C# Make an login windows in app.

    Hello. I am making an application that has restricted access. It is just simple. I have an main form that where everything happens. So i just need user to type in the password to get in. I thought just to make an window with masked textbox and button. And behind button this code: if (maskedbutton.text == "password") { mainform.show(); } else system.close(); It does not need to be any more difficult then that. But this does not work so i need help. I cant get to my mainform from my login window and I need help with my code to close my form if password is wrong. I have done this before and this code worked....but now now. Do you have any suggestions hi., ...Show All

  • Windows Forms Filtering data source for a combo box in a datagridview

    I have a form containing a datagridview in which I want to display a subset of the data table on which it is based. I have achieved this by using the Filter method of the bindingsource. In one of the columns of the datagridview I have a combobox which uses the same binding source but the filter is not being applied. How do I get around this or what am I doing wrong Thanks the filter is applied only on one field at a time and previous filters discarded. so if filtered once on example age = 24 , applying height > 10 returns all height > 10 with any age. ...Show All

©2008 Software Development Network