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

Software Development Network >> Adriaan W's Q&A profile

Adriaan W

Member List

werner m.
Geokri
grnr_r
Marlin7
Michael Ruminer
Polina159216
supersonic1976
MovieFan
Bhupathi Venkatesh
Jamie Clayton
Jerry Ou
Jason Stangroome
RossWalkerContractor
ukalyan
sathish_indian
Leomath
PawanSingh
yzhu
David_Steele
DavidFG
Only Title

Adriaan W's Q&A profile

  • .NET Development RSA Key Container stored on hard drive?

    I have a question about RSA key containers. In the following code, a key container is created and passed to the RSA CSP. Every time the RSA CSP is initialized, a new key is created. MyCp = New CspParameters MyCp.KeyContainerName = "My Key Container" MyCp.KeyNumber = 1 'new key created here MyRSA = New RSACryptoServiceProvider(1024, MyCp) Is the key stored on the hard drive somewhere Can I close the app and restart it and access the key which was maybe stored on the hard drive. So far I have been unable to use a key container once the app has been closed. I suspect the key container is stored only in memory so it disappears once the app has been closed. Is this correct In the event the key container ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 360 Boat game with source

    Hello I was playing about again the last 4 days and come up with a little boat game for the 360. The source code is very untidy but there might be something of use in there for some people. It was written for use on the 360, it might work ok for the PC. You can have 1 to 4 players and it uses some ai for the others. There's only 1 track at the moment - I may get around to fixing it all up into a proper game if there's enough interest or if an artist wants to help out. It plays a different sound effect when you cross the line and beat your own best score. My best lap is 8.07 (no down to a 7.96) seconds.   Best to use a 360 pad but here's some keys if you feel the need.   Q and E change the number of players ...Show All

  • .NET Development how to solve this connection problem

    hello... when i open my connection(sql connection ) am geting this problem... can any one tell how to solve this An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) am using sql server 2000 for my database am getting this error how to solve this.. plz help me Try forcing it to use TCP in stead of Named Pipes You can do that by adding "Network Library=dbmssocn" to your connection string. ...Show All

  • Visual Basic Sum of an Array

    Another newbie question. I am using VB express. I have an array of intergers. what is the best way to find the sum of the array Thanks in advance Scott Code Snippet Dim arryint() As Integer 'assuming values have been added to arryint Dim cnt As Integer = 0 For Each i As Integer In arryint i += arryint(cnt) cnt += 1 Next ...Show All

  • SQL Server System.Data.ConstraintException Visual Basic 2005 Express / SQL 2005 Express

    This problem only occurs after deployment, not when debugging. In the table I am having a problem with I have an ID field designated as the primary key with the identity increment set to 1 and the identity seed set to 1. There is no data in the table when deployed. I can add records to the datagridview control but when I try updating the dataset I get this error indicating that the ID field already has a value of 1 present. If I close the application and re-start it, the exception no longer occurrs when I update the dataset. I am including the code to update the tables incase something is wrong there. Any suggestions Private Sub UpdateMemberTable() Me .Validate() Me .TblMembersBindingSource.EndEdit() Me .TblMembersTable ...Show All

  • Software Development for Windows Vista Directshow Base Class Library in windows mobile 5.0 smartphone application

    Hi All, I want to make direct show filter(Trasnform filter) for windows mobile 5.0. I am trying directshow filter samples for this purpose. But I can't build them for windows mobile 5.0 smart phone platform. I am using Visual Studio 2005, DX9SDK and trying c++ samples. I am not sure wheather I have to build strmbasd.lib for windows mobile 5.0 smart phone platform. It will be great if any body send me informations abut how to build directshow filter samples for windows mobile 5.0 smart phone platform . Thanking you in advance. Regards Arindam Biswas Hi Samuel , Thanks a lot for replying my questions. Now I have an impression that I can make directshow filters for Windows Mobile ...Show All

  • Visual Basic creating file name with date

    I'm using excel 2003 with VB 6.3 I am writing a macro to move some data around and do some subtotalling; I would the macro to save the file as nameispecify with the current date lpantos02012007.xls without me specifiying the date is there a way to do this Thanks! lpantos, Thank you for your question. I found an article titled Embedding the Assembly Date and Time in a MASM 6.0 Object and hope it can help you with you problem: http://support.microsoft.com/default.aspx/kb/79844/ Actually as is shown on the top of this forum, we don't support VB6 any more. I suggest you to post this quesion in the following queues in order that you can get your satisfied answer: Visual Basic Interop and Upgra ...Show All

  • SQL Server Copy production SSAS database and process with AMO

    Hi guys, I'm trying to copy the production database to a new database, and then process the "new" database, drop the production database and then rename the "new" database to be the new production. I'm cloning the database object in AMO, but when I update the server, the database does not contain any of it's child objects (dimensions, cubes etc). What is the best way to do this Cheers See if your problem is because you calling Update method on your database without option ExpandFull. For instance like in this thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=409826&SiteID=1 Edward. -- This posting is provided "AS IS" with no warranties, and confers no r ...Show All

  • Windows Forms How to bubble down a mouse event

    I got a panel that has one control A inside it. I need to catch the MouseEnter event while i am in the panel and over A. Anyone knows how to do that I am sorry I didn't follow, if you didn't succeed why should I I will try to rephrase: I got a panel and inside of it there is a button I want when ever a user enter this panel area it will change it background and when it leaves the color return to it's original color. the problem is : when I enter the panel the color is changing but when I continue and enter the button area the mouse_leave event is raised and it colors the panel with it's original color. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Numeric performance on 360

    A question for the framework/VM guys... I have ported one of my simpler benchmarks to the 360, and find that the numeric performance is running 5x slower than my 2.8GHz P4 desktop. Now I was expecting a drop in performance on the 360, allowing for the difference in CPU implementation (in order execution / branch prediction etc), but nothing like this magnitude! The benchmark simply transforms a source array of Vector4s to a destination array of Vector4s, using a 4x4 matrix. Have you guys done any benchmarking of pure numeric perf, and if so is this in line with what you get Andy. Okay, some hard numbers from my game. Basically, I'm decoding some data, creating meshes from some previously-loade ...Show All

  • Visual Studio Express Editions Disabling the vertical scrollbar from a listbox

    Any suggestions on how to would be greatly appreciated! Yep, do it like this; it works both in the designer and at run-time: Public Class MyListBox Inherits ListBox Private mShowScroll As Boolean Protected Overrides ReadOnly Property CreateParams() As System.Windows.Forms.CreateParams Get Dim cp As CreateParams = MyBase.CreateParams If Not mShowScroll Then cp.Style = cp.Style And Not &H200000 Return cp End Get End Property Public Property ShowScrollbar() As Boolean Get Return mShowScroll End Get Set(ByVal value As Boolean) If value = mShowScroll Then Exit Property mShowScroll = value If Handle <> IntPtr.Zero Then RecreateHandle() End Set End Property End ...Show All

  • Windows Forms DataGridViewImageColumn new row image

    I have a DataGridView - the first column is an unbound DataGridViewImageColumn.  The purpose of the image is to allow the user to click the Image - go to "lookup" form - select data - come back - and it programatically fills out (most of) the new row - based on what was selected in the "lookup" form.  I s there a way to replace the 'null image' (box with an 'x') with my image for "lookup" (binoculars in this case) in the row being added     An easier way you can do this is specify it to be null on the RowsAdded event as specified here http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridviewimagecolumn.aspx ...Show All

  • Visual Studio Team System BVT's without Team System Tester Edition - Possible?

    I'm trying to create a Team Build that will run all my unit tests as part of the build. The problem is though, when going through the wizard it allows me to select the vsmdi file, but there is no test lists available in the drop-down (and since I don't have team tester edition I don't think I can create new test lists). We can still run the tests in our Team Software Dev Edition, is there a way to make a Team Build that will also run all the tests as part of the build process without purchasing Team Tester Edition Can somebody provide some details about how we specify a .testrunconfig file if we are no longer using a vsmdi Do we still need to use a vsmdi file in a <MetaDataFile> element in addition ...Show All

  • SQL Server Server options are not being executed from local programatically code??

    Dear all, For example, executing a DTSX stored in a server, execution is fine and successfully but the log file attached to that DTSX is not created at all after the execution. Otherwise if I'm going to execute from the server everything is fine: log file is created and gathering the usual information. Let me know if exists any option for to enable this from the own DTSX. If I run local packages log files are created without problems. Thanks in advance, No. What is the path to the file I'm trying to determine if its a UNC: \\MyServer\Myfilelocation\Myfile.log or a local path: c:\Myfilelocation\Myfile.log -Jamie ...Show All

  • SQL Server SSIS Excel export with 64-bit version

    I have a problem, and I'm fairly sure I know what the answer is going to be, but I'll ask it anyhow. I have a database which I switched over to SQL 2005 last year, and in the process converted all the DTS packages I had to import the data over to SSIS. We have several reports that we generate to Excel files, and I attempted to migrate these over also, but they would never run in production. Worked fine in when I developed the packages, but nothing I did would make them run in production, so I droped back and punted by modifying the DTS packages to point to the new database. Everything works fine that way, but we want to retire the old SQL box. When I started digging into the problem by running the package from the dev platform on the ...Show All

©2008 Software Development Network