Christian Hassa's Q&A profile
SQL Server Tips on using the SQL Server Security forum
I am collecting here a few tips on using this forum. The tips are actually pretty general, they're not really specific to SQL Server or to this particular SQL Server Security forum. 1. Verify that you are posting to the right forum. Check the list from http://forums.microsoft.com/MSDN/default.aspx SiteID=1 to see whether there is a more appropriate forum for your discussion topic. By posting to the appropriate forum, you will be able to get a ...Show All
Visual Studio Express Editions Problem with Excel since loading VS express
I have a spreadsheet that I have been using for over a year that has a lot of coding behind it using VB. Since I loaded Visual Studio Express the spread sheet throws errors in funny places. For instance now I get an error when I try to add a date to the spread sheet using the Calendar control. The line that throws the error follows: Me.Calendar1.Value = Date (It doesnt like Date) another line that errors is a simple line of code vRow ...Show All
.NET Development SqlDataReader problem while showing data in <td>rdr.getvalue(2)</td>
hi. i am having a problem while showing my data through sqldatareader in C# asp.net web application. the Problem is the sqldatareader object doesnt shows data on the newline. let say the data in sql table is "hi my name is measum" now when i show this data through <td>rdr.getvalue(0)</td> it will show like "hi my name is measum" (c no line break) however when i put this data into the textbox(multiline ...Show All
Software Development for Windows Vista Using XPS on non-Vista platforms
Hi I was reading the MSDN article about XPS, and I'm quite intrigued. I'd like to have a go at using XPS for a document creation system on our internal Intranet. I suppose there are 2 main questions.. 1) I've got VS2005 - can I write XPS documents now Or do I need some other SDKs (eg WPF). Would I be able to view/print them ! 2) When does v1.0 come out, or a go-live license ! Cheers Dan ...Show All
Visual C++ split delegate in to array and using each element...
delegate void myDelegate( int i); ref class funcs{ public : static void func1( int i){Console::WriteLine( "func1 printing value: {0}" ,i);} static void func2( int i){Console::WriteLine( "func2 printing value: {0}" ,i);} static void func3( int i){Console::WriteLine( "func3 printing value: {0}" ,i);} }; myDelegate^ myDel = gcnew myDelegate(funcs::func1); myDel += gcnew myD ...Show All
SQL Server Generate scripts only for stored procedures and views?
Hello, I have two environments, testing and developing, sometimes on developing environment I make chagnes to views or stored procedures, the first time I copied the whole database, but when the tester began to test the second cycle I made the same and he losed the changes, the tables wont change, but the views and sps may change, so I need an easy way to change those objects without having to copy all the database I tried but the generat ...Show All
SQL Server SQL RS Service Pack 2 can't install.
Hi Guys, I tried to install SQL RS Service Pack 2 in my Windows Server 2003 with SQL Server Standard installed. I got this error message during half way of installation "SQL Setup failed to connect to the database service for server configuration".... then failed to install. How to resolve this so that I can install SQL RS Service Pack 2 SP2 does not do a full install of Repor ...Show All
Visual Studio Express Editions database saga
I am at my wits end. I am trying to create a program that will add users to a database. I have read the various posts regarding the output file and have changed the Copy To Output File to Copy Never. I have also tried Copy If Newer. The database still does not retain my changes/additions. The code I have used is shown below. Code Here... Private Sub AddUser_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AddUser ...Show All
Visual FoxPro DHTML Edit Control for IE5
I am trying to use this OLE for simple viewing some files, primarily text files, C++ header files, etc. It works well, although the text appears to be unformatted in the window. The characters are just jammed, no paragraphs or indentations preserved. It may be fine with me for this task. My question is how to implement sting search in the control. Is it possible If it is not possible, I can do it in the source file and take the coordinate ...Show All
Smart Device Development Show() and ShowDialog() problem
Hi all, I have a problem with my application. This application sends all the files which are in a directory. the application checks if there are files to send every 30s. I use a timer to do that. But in fact, I want to see the form just if there are files. So to hide the form at the begenning, I use this.Hide(). But if the application find files to send, How can I show the form if i use this.Show(), only few items are shown, and only the i ...Show All
Visual Studio Team System Add Data Source for Test Data Using MDF File
Hi, I am trying to add a data source for data driven web testing using an MDF file rather than a database server specicifically. This is important so that others can run the test on their computer. Unfortunately, "SQL Provider using File" is not listed as an OLEDB provider. How do I specify the data source as and MDF file rather than specific server connection I know this was possible in Beta 2 but I can't seem to get it ...Show All
Visual Studio Express Editions Re-Registering
I registered VB 2005 Express and i dont get a key or anything to put the key into. Now after a couple of days I get a balloon popup in my taskbar asking about registering it. I registered again. After starting it again it does it again. What do i do about it I got the same problem with VC# 2005 Express, I read a couple of threads and most of them say it will always happen until I time, I guess this is an annoyin ...Show All
Visual Basic MDI application
Hi I want my MDI application to have it's menu in tree view form at the left of my main form. When i pick a menu option in the tree viewon the left, I want it's child form to open on the right. My problem is that when i maximize my child form, it fills the entire parent form, instead of the portion of parent form that is to the right of my tree view menu. I have tried using a split container, but I cannot set the child's MDI Parent ...Show All
Visual Basic Prevent Hex Editing!
i even somewhat hard coded the word Me.Text = "BLAH" If Me.Text <> Chr(66) & Chr(76) & Chr(65) & Chr(72) Then 'That all means BLAH in character form Call MsgBox("This program has been altered from it's original content and will now close!", MsgBoxStyle.OkOnly + MsgBoxStyle.Critical, "BLAH ERROR") End End If i downloaded hex workshop, edited BLAH to something like MAIL, and it still works. but ...Show All
Visual Studio Does collatation param in ReportDocument.PrintToPrinter() work (VS.NET 2005 RC)?
Hi all, I'm currently using VS.NET 2005 RC and am attempting to print collated reports with the version of Crystal Reports that comes with it. The following code snippet is an example of what I am attempting: reportDocument.PrintToPrinter(2, true , 0, 0); Our printer supports collation (I've tested this using MS Word) -- however via the PrintToPrinter method, the printer keeps printing the reports without ...Show All
