BBuff's Q&A profile
SQL Server Communications to the remote server instance failed before database mirroring was fully started
command in principal server ALTER DATABASE database name SET PARTNER = 'TCP://<mirror_server_name>:5022' return: Msg 1413, Level 16, State 1, Line 1 Communications to the remote server instance 'TCP://<mirror_server_neme>:5022' failed before database mirroring was fully started. The ALTER DATABASE command failed. Retry the command when the remote database is started. This problem is only in production dat ...Show All
.NET Development SqlDataSource/DataField Bug in 2.0 ?
I've come across an odd situation. If someone has a table where a column name contains a space, and you generate a SqlDataSource on that column, some interesting things happen if you try to bind them. When I tried to bind, (in a GridView), the column name First Name via DataField="[First Name]", it gave a runtime error stating that [First Name] cannot be found in the sqlDataSource. Oddly enough, I took the brackets out and just sent i ...Show All
SQL Server How do I insert data from a flat file or .csv file into an existing SQL database???
How do I insert data from a flat file or .csv file into an existing SQL database Here what I've come up with thus far and I but it doesn't work. Can someone please help Let me know if there is a better way to do this... Idealy I'd like to write straight to the sql database and skip the datset all together... strSvr = "vkrerftg" StrDb = "Test_DB" 'connection String strCon = "Server=" & str ...Show All
SQL Server Serious limitation in SQL server installation
I am trying to install the server in a non-system drive. I have to install the server in a diffferent folder like (E:) instead of the default C: due to existing partition that I have to continue to have (due to reasons that include security). Even though I selected this drive and every thing else (Program Files etc) the same, the install program still asks for over 2 GB on C drive. I checked each of the install options and ...Show All
Visual C++ I'm stuck and cunfused. ARR U C++!
ok. i made a small ...small SMALL msdos program with Visual C++ express (yep a newbie) and all it was, was a whats ur name age and if u like this kind of music or game. now i figured out the whole press one if u like this or press 2 for no. but i want to make it a says YES FOR YES! and so on. get it good. here's my code. im really stuck #include <iostream> using namespace std; int main() { int number; /* This de ...Show All
Windows Forms CallBack in GridView
Hello: I am in the process of extending GridView and adding some functionalities. For example, I added a single row click to postback and handle the event. I would like now to be able to do a CallBack instead of PostBack. Do you know if there is a whitepaper on how that CallBack functionality is added to the Grid currently through sorting and paging I believe it is better to follow the same technique used. I have been trying for some ...Show All
Visual Basic Reading Registry Key
I am working on a VB.NET application that can take a computer name and connect to that computer over the server and check several of the local security policies and create a log of what policies are incorrectly set. In a nutshell, it is an automated way of going through a security checklist rather than manually looking at each policy at each computer. I am currently trying to read the "Audit Policies" such as "Audit Policy Chang ...Show All
Visual Studio Package didn't get reload when openning an existing project.
I have a package that privdes my own project type and some commands. I need to query the status and enable my commands accordingly when the package gets loaded. I did it by following VS documentation to create OleMenuCommandService in Initialize function. It works when I create a new project. But when I open an existing one, the package doesn't get loaded until you do something, then my commands didn't get enabled when it should be. I don't wan ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Oct 2005 Sample Framework FirstPersonCamera problems.
I've been having trouble implementing the FirstPersonCamera in the new DirectX Oct 2005 sample framework. I can get the Camera to view the scene, but, with the removal of the Mouse & Keyboard callbacks, have been unable to get the framework to recognize input from either the mouse or keyboard in order to move/rotate/etc. the camera. Could you please show a C# sample implementation of the FirstPersonCamera with ...Show All
Visual C# Why must I cast on the way out of an emumeration?
Hello, It's hardly a major issue, but I do occasionally get irritated when the compiler tells me that something like Logger.Log("portfolio selected", Developers.carlos); doesn't work, because I haven't casted Developers.carlos as an int (which I never think to do, as I have explicitly defined the Developers enumeration as being of type int ( public enum Developers : int )). Just wondered if there was a good reason behind this. Obviou ...Show All
Visual Studio Tools for Office ReadingPane - button
When the user selects a mailItem in Outlook, the mail is previewed in the readingPane. Is it possible to add a button to this readingPane I would like to add a button in the right upper corner of the readingPane. (It would be nice) If not, then I have a another question: Is it possible to add a toolbar to the readingPane TIA, Isabel Isabel, It is not possible to add special controls and toolbars ...Show All
SQL Server The syntax of the SQL the DataSet Design Surface generates
I'd like to design my dataset's in VS2005 in such a way that I develop at design-time using SQL2005, however I'll have the option of replacing the connection, sqladapter and command objects in the generated source code with another database's (like mysql, etc.) Since the schemas are identical across the different database kinds, the key here is making sure that the generated SQL is ANSI compliant. Right off the bat the square brackets arou ...Show All
Visual Basic third-party installer for choice and security
Does vb.net express offer a way for the developer or user to decide where an app would be installed or is a third-party installer necessary If so, any recommendations McWhirter wrote: Thats good to know I was just whining to myself yesterday that the product comparison listed clickonce for the Basic Edition. I didn't wanna have to fork out the money for Pro. Now i might be happy :) Yes, I w ...Show All
Windows Forms Setup.ini
I'm trying to set an installer property value in a setup and deployment project from an external file (maybe a setup.ini). I can't seem to be able to get that to work. I'm using a visual studio 2005 setup and deployment project. I'm wondering if you mean at deployment time dynamically or something else and whether this setup.ini file is one you already have or one that might be on the system at install time. ...Show All
Visual Studio How do I Integrate Visio 2003?
I have a copy of Visual Studio 2005 Pro from the UK launch and as a MS partner with an existing licence for Visio 2003 I wish to integrate it but have so far failed. Can anyone help point me in the right direction, or must I have the MSDN subscription to do this Hi ha1o, I have a similar requirement and while searching for a solution, I came across your post. As this post is old, you would hav ...Show All
