archcorsair's Q&A profile
SQL Server Started with Express, but installed Developer and don't see Developer instance...
I can't tell if the SQL Developer install upgraded the service, but left the SqlExpress version information, or if I'm still really only using SqlExpress. Also, my intended target is SQL Enterprise, so if I am using SQL Express am I asking for trouble when I go to move the database over Are the database formats compatible I've poked around trying to search for this answer for a while and haven't turned anything up. Maybe I'm searching on the wr ...Show All
.NET Development How to get "Everyone" account name string culture indenpendantly
Hello, I'm trying to give permissions to a message queue with this code line: logQueue.SetPermissions( "Everyone" , MessageQueueAccessRights .FullControl); This works fine on a english Windows XP, but the problem is that when I try to run this code on a portuguese Windows XP it fails because the "Everyone" account does not exist, it is called "Todos". How do I get the "Everyone" account name stri ...Show All
Visual C++ Registering Hotkey
Hello, I'm working on a Visual C++ 2005 Windows Forms Application using managed and native code. First of all, I wanted to register my hotkey, so I did the following: RegisterHotKey(hWnd,112,NULL,'p'); ***hWnd is my form's HWND. I think this works fine however to test if it really does I want to capture Windows Messages and check if they are WM_HOTKEY. To do this I think I need to use IWindowTarget::OnMessage method. Since I did ...Show All
SQL Server SqlDependency.Start works for local but not for remote SQL 2005
I know I must be missing something dumb and simple. Simple Windows app that works when SQL Server 2005 instance is local, but not when remote: SqlDependency.Start( "Integrated Security=True;data source=gdsilaptop99;initial catalog=NAWDP2Dev;Connection Timeout=120" ) SqlDependency.Stop( "Integrated Security=True;data source=gdsilaptop99;initial catalog=NAWDP2Dev;Connection Timeout=120" ) MessageBox.Show( "Don ...Show All
SQL Server Hardware-assisted crypto?
I've been experimenting with the new column-level encryption features in SQL2005. While it's been very handy, I'm somewhat concerned about its performance impact -- particularly when there are many columns involved. Is there any known method for SQL2005 to use a hardware crypto accelerator (i.e. IBM 4758 or equivalent) You can probably write an application that uses a hardware crypto card with SQL Server 2005, but ...Show All
Windows Forms Special Characters
Where can I find a composite list of special characters that I can use when printing out info on a windows form For instance, if I wanted to tab over, what would I use What about a carriage return/single-line break >but ...Show All
Visual Studio Team System Why there is need of 3 diff users for TFSSetUp, TFSService,TFSReports accounts
Hi there, Why there is need of 3 diff users for TFSSetUp, TFSService,TFSReports account in Beta3 Can it be avoided and have just same account for all 3 same as beta2. In my company i'm the one responsible for installing and admistrating and mantaining everything related to VSTS as our bug tracking software. Now having 3 diffirent users for all these 3 account is tough to have other people being responsible for ...Show All
.NET Development How do I temporary override .NET system security configuration?
I have an application installed on my local disk. This application runs with FullTrust privileges. I'm trying to load an assembly giving it FullTrust (same privileges of the loader assembly). My assembly to load is located on a network share. I'm actually using this code but I get a security exception: An exception of type 'System.IO.FileLoadException' occurred in mscorlib.dll and wasn't handled in the appdomain it was thrown from Additional ...Show All
Visual C# Help to column cell width?
Hello Here is a piece of my code in Visual C# 2003. private void listBox2_SelectedIndexChanged(object sender, System.EventArgs e) { foreach(Object o in listBox2.SelectedItems) { //My conn string works but is not here in the example string navn = listBox2.GetItemText(o); string query = "SELECT a_navn AS Navn FROM ansat WHERE a_navn LIKE '"+navn+"'"; MySqlDataAdapter adapter = new MySqlDataAdapter(query,conn); DataSe ...Show All
Visual Studio Express Editions VB6 to 2005 Control Arrays
Can someone please tell me a little bit more about Control Arrays after upgrading VB6 to 2005 There are 7 images which use the same click sequence, and they are all named Card. The following is a sample of the code: VB6: Private Sub Card_Click(Index As Integer) If Card(Index).Picture = Image2.Picture Then Safenum = Safenum + 100 Card(Index).Picture = Pile(1).Picture Call Nextmove Call Enemymove Exit Sub End If End Sub VB 2005 ...Show All
SQL Server Security with URL Posts
hi, I'm just looking at implementing reporting services 2000 and am worried about security. I want my web site to request reports via a post from a form, with all the parameter values passed via hidden fields. No problems there. But I'm worried about people changing the parameter values in the hidden fields. I've decided to pass a pair of parameters which I can then check in some custom code to make sure they haven't been tampered with. No pr ...Show All
SQL Server intallation of "MSSQL 2000 virtual server" on Windows Server2003
Hello, i am trying to install mssql 2000 virtual server for failover clustering on windows server 2003. i have downloaded the evalution edition for mssql 2000. "the problem i am facing during installation that when i start installation, the virtual server option is disabled for computer name (on what computer mssql server is to install, as i want to install it on virtual ip)." could you someone help in this matter, "h ...Show All
Visual Basic Compare objects
Which function should I override to compare objects I'm solving the following problem. I'm creating a dictionary object using an object as the key, like ItemDictionary(Of ItemKey, String). The itemKey is a simple object like the following. class ItemKey _id _name ... other definition is not shown here. end class The problem is when I try to use the ItemKey object as a key. The dictionary object will report the specific instance is no ...Show All
Visual C# Help me, please !
Hy ! Please help me ! When i try to execute a command such as tasm.exe on the command window in VC#, the messeges that have been created by this command aren't printed in to the filename that Tools.LogCommandWindowOutput had created, onlz the syzstem messeges are. Can I print the messages into the file .log Yupi, io, uraaa, heheehe, thank's, thank's, thank's, thank's, thank's ! It's working ! Thank's ...Show All
.NET Development Data type mismatch in criteria expression
Hi there, I am trying to edit and update a chosen database record, the edit part is working properly but the update isn’t. I get the following error: “OleDbException (0x80040e07): Data type mismatch in criteria expression. System.Data.OleDb.OleDbCommand.ExecuteReader (CommandBehavior behavior). All fields In my database are type Text. Should my update statement include everything in the database even if I am not read everything ...Show All
