Tarik Soulami's Q&A profile
SQL Server SQL 2005 64bit
Can a 32bit installation of SQL 2005 be upgraded to 64bit installation. OS is already installed for 64bit support, but he wrong version of SQL was installed It *could* be that your app performs better on SQL2000 than SQL2005. Also I suppose possible but even less likely is that it performs better on the old 32 bit hardware than the new 64 bit hardware. But the upgrade process itself won't have anything to do wi ...Show All
SQL Server Generate Scripts missing option in Management Studio
I was hoping this would be fixed in SP1, but it is still missing. Particularly in a development environment, I find it very useful to have scripts DROP first, then do a CREATE for tables. There is an option called Script Behavior that is supposed to allow this, according to the help text. There are supposed to be 3 options, DROP only, CREATE only and DROP + CREATE. This third option (the one I need) is missing. It does not show up on the drop do ...Show All
Visual Basic Controlling input to an input box
Im a beginner to VB and I would like to know how or if I can allow the user to only enter the numbers 0 to 10 in an input box. This is for VB.Net btw. I've attached the code if that helps Thanks alot Private Sub uiCalcButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles uiCalcButton.Click 'calculates and keeps track of average score and number of scores entered &nb ...Show All
Windows Forms how to define a global parameter to use in all forms?
hi in web forms we can define variants ,in global.asax file and use them in all forms. but in windows forms, there is no global file. how can i define such parameter like: dim sss as integer and use "sss" in all my windows forms. thank u for your attention befor Hi, a static constant or readonly variable is what you are looking for I think: http://msdn.microsoft.com/library/default.asp url=/librar ...Show All
Visual C# DataBase Location
Ok. Basically, I would like by database to be accessed from my server. Can someone how to tell me how to put the database location property to my server address If you need more clerification please reply and say so. Thank you. Make it a multi-tier application (3-tier is preferred). The function thats responsible for calling, reading or updating database, should be called from server side only. From server side you call this specific functi ...Show All
Smart Device Development SQLCe Parameters and SqlserverCE getDate
hey there, how do you use the SQLServerCE GetDate( ) method when using Parameters in the SqlCeCommand. I want to insert a date using GetDate function NOT USING vb.net DATETIME EG: Dim l_sql As String = "INSERT INTO mytable (testDate) VALUES ( )" Dim l_cmd As SqlCeCommand = myConn.CreateCommand( ) l_cmd.CommandType = CommandType.Text l_cmd.CommandText = l_sql l_cmd.Parameters.Add("testDate", "GetDate()") l_cmd.Execut ...Show All
Visual Studio Express Editions C# Visual Studio Express and databases (DB2)
As I understand, Express editions of VS are limited to SQL Server Express - but is this limitation only in developer's interface (i.e. data set wizard) or it's also built in the compiler so that I cannot connet to remote / other data base that SQL Server Express even if I am writing proper code myself, without any wizards I ask this question because I will have to connect and operate with IBM DB2 database and before deciding on fully VS I' ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using keyboard modifiers with Microsoft.Samples.DirectX.UtilityToolkit
I want to use keyboard modifiers in my game but have been unable to clearly capture/identify them. The standard callbacks used with Windows.Forms work well but I've been hacking at code (Tom Miller's 3D Game Programming) that uses Microsoft.Samples.DirectX.UtilityTookit which provides the delegate KeyboardCallback. However, it only provides a parameter that identifies the state of the Alt key, not the Shift or Control keys. Even if I modify the ...Show All
Visual Basic How to write QUOTES to a text file?
Hello! I am attemping to write a text file utilizing My .Computer.FileSystem.WriteAllText( In Visual Basic 2005. However when I try to write a line like: varname = "value" With the quotes my string breaks up and creates a new instance. I happen to be attempting to write a VBS page for a website that needs to generate from a VB program, thus the " " are not optional. Anyone happen to know how to make writeall ...Show All
SQL Server New installation https issue
Hello, I had some problems with an upgrade that added in RS to a default upgrade of sql2k to sql2k5. I then went into RS configuration and recreated everything. I am now able to get onto the site with no problems except when I have it checked to require ssl connections. I get the follow message when I have ssl checked using any of the three options "The request failed with HTTP status 401: Unauthorized." The certificate matches the url I am t ...Show All
Windows Forms how to: refresh a treeview and expand it to a particular node
Hi, I'm struggling with the treeview control... I got on treeview filled from a database's data. Then when the user enters new data via a form, the tree should be updated. I rebuild it but then I dont' know how to expand it to the new node added. Please help ! thx You can use Expand(hNode, TVE_EXPAND);ps maybe you need to exapand from TVI_ROOT to your new node; ...Show All
Visual C# Copy folder
Hi, I need to copy folder. In vb6 I had fso. C# nada. anyone Yep. Been there. I build static method, and put it in a general assembly (together with my DateDiff method and more). ...Show All
Visual Basic MultiColumn ComboBox????? - Open for Discussion.
Hi all; Maybe I am missing something, but given the follow example taken from msdn: ' Declare comboBox1 as a ComboBox. Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox ' This method initializes the combo box, adding a large string ' array but limiting the drop-down size to six rows so the combo box ' doesn't cover other controls when it ex ...Show All
Visual Studio Team System TF26212 Work item type definition problem
Heya, we just upgraded from Beta 3 Refresh to RC. I also upgraded our project using TfsBuildUpgrade.exe and downloading the new process template and importing the work items using: C:\Program Files\Microsoft Visual Studio 8\Common7\IDE>witimport /f "C:\MSF for Agile Software Development - v4.0\WorkItem Tracking\TypeDefinitions\task.xml" /t teamsystem /p Project1 When I try to add a new task I get the following error: TF2621 ...Show All
Visual Studio GAT is VS Solution Centric
How would you suggest one approaches the following scenarios : 1) A developer has created a non-GAT based solution. The developer requires an extra project to be created and added to their solution with via a GAT package. [the need for the project was not predicted at the time of the solution creation] 2) A developer requires a solution to contain 2 or more projects which are to be created from separate GAT packages. ...Show All
