justindhas's Q&A profile
SQL Server datefirst in syslanguages
The accounting calandar for my project requires that weeks start on Saturday, not Sunday (which is the default for English). I want to set datefirst to 6 (Saturday) in syslanguages for English so that I don't have to set it for each date transaction. In SQL 2000 I hacked it by editing the British language to set datefirst to 6 and dateformat to mdy. Then I set all users of my database to use the British language. This has worked fine for years. In 2005 I don't know how to edit sys.syslanguages to make these changes and I don't know any other way to globally set the datefirst to 6 (for English preferrably). I am very frustrated with SQL Server 2005. Any help would be appreciated. Thanks, Sue ...Show All
SQL Server collapse all
Hello, I have a table in the report. the table contain group and details the details are hide by default and the groups have a toggled to collapse the details so in order to see all details for all group user need to open every group. is there any option to collapse all Also I have several tables in the reports that hide by default and user have a toggled to view the table. any option for one click to collapse all tables Thanks Idan Hi, no, there is no collapse all switch. You can use a report parameter and check this one in every hideable table / object. HTH, Jens K. Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Internet Explorer Development IE7 protected mode hWnd problem
hello, i'm trying to get the hWnd of a IWebBrowser2 control. if i'm working on xp, everything is ok. but with Vista - things different. hWnd returned is not valid. (IsWindow - fails) any ideas why It seems to me that because if you run iexplorer.exe in Protected mode, it runs ieuser.exe and it runs in its turn iexplorer.exe (with another Process ID). It seems that the hWnd is not of the second process... How can i solve this I know this article for a little while. It's not helping to solve this issue. I need someone from the IE7 developer team to answer that - it seems to me like a bug. ...Show All
SQL Server Cannot connect to oracle using SSIS on Windows 2003 Server with 64 bit
Hi There, I did everything whatever is mentioned in the below thread. I installed the ODP.Net to connect to oracle. For some reason, if I test the connection using the connection manager in the BI studio, I get connection succeded msg. But If I try to run it and see the progress of the package in SSIS dev environment, I see a 'Class not registered error' or 'Connection not open' error. Can anybody please suggest me any workaround for this This has been killing me for a number of days.. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=159581&SiteID=1 Thanks. ...Show All
Visual C# Active scripting and webservices
Hi all, I've been tasked with writing a c# application and finding a way to execute a script via a webservice using active scripting! i.e. we currently have script files (using javascript) that call custom functions found in a COM object. What we're looking to do is to do the same thing but instead of using a COM object, we'd like to use a WebService. Is this at all possible I suppose since everything in it's basic form is an object that it could be...but then I could be wrong! Any information, or recommendations would be greatly appreciated. Regards, Rowan. This article might help http://msdn2.microsoft.com/en-us/library/ms996450.aspx ...Show All
Internet Explorer Development IE7 Script Error
Hi, This problem has always been bugging me. When I sign into my user account and open up User Accounts in control panel I don't have any problems but when I go to any other user account and do this, no matter if they are computer admins or not, they encounter an IE script error with no description and this popup does not go away whether you click yes or no. It's not just the User Accounts menu in the control panel, it's other applications too. Is there a fix for this problem or any ideas I have already disabled script debugging in IE. I also disable the alerts for script errors in IE too. Hi, I am having the same problems, tried IE7 reset to no avail, I have also media player 11, ok on my login but screws things up in yahoo mail on ...Show All
.NET Development Interfacing Web Apps with Windows Apps
How can I get a .Net web forms application to interface and interact with a .Net windows forms application I ask because I am planning a web based application that will allow users to create custom .Net code to extend their site and compile it via a Win32 application that accesses the proper compiler and saves the DLL to the proper /bin folder, etc. Any advice on how to do this I'm sorry but I think I posted this in the wrong forum. I saw "Communication" and thought it would be the right place but after thinking about it for a minute I think I made a mistake. Would a moderator please move this to the correct forum if this isn't the correct one, please Thanks. ...Show All
Visual C++ I don't want to implement Operators Precedence
Hi everyone I've just wrote a bigNumbers class, implemented with string class of C++ (the private member of my class is an object of <string> class), but I have two problems: The fist one is not that important, I don't know yet how to implement the / operator cause this class uses a stirng and it is not possible to use the * operator because this class is for integer numbers only! floating points not supported The second one is very important, I want to implement a function that reads some numbers and operators (including parenthesizes) and operate them with the correct Operators Precedence but I don't want to write the Operators Precedence by myself and look for a way that send this operation to compiler and find a way that ...Show All
Windows Forms Refreshing Datagrid
Hi, I have a requriement in which I have to refresh the datagrid every second without clicking on Refresh button. How can I go about doing this in C# 2.0 Quick help would be appreciated. Regards, Pooja. Hi, This is the first time when I am doing Windows forms programming. I have a piece of code, private void BindDataGrid() { DataSet dsTest = GetData(); dgvGrid.DataSource = dsTest; } Values are there in the datatable but I am not able to see the data on the form while running the project. I am using .net 2.0 version. Please let me know what extra line of code I need to add to this code. Thanks. ...Show All
Visual Studio Express Editions Send Mail
Hello guys! I search the net for a code to send mail and I found this, but I can't make it work! It gives this error: http://www.ntinformatica.pt/files/erro.jpg The code is this: Dim x As New System.Net.Mail.MailMessage x.To.Add("estrela666 @gmail.com" ) x.Subject = "This is the subject" x.From = New System.Net.Mail.MailAddress( "zzzz@gmail.pt" ) x.Body = "Message Body" Dim smtp As New System.Net.Mail.SmtpClient( "smtp.mail.com" ) smtp.Credentials = New Net.NetworkCredential("username" , "password" ) Try smtp.Send(x) Catch ex As Exception MessageBox.Show(ex.ToString) End Try Help! Thanks! Hi there, Change this l ...Show All
Visual Studio Express Editions very simple calculator
Hi everyone, This will sound completely noobish ^_^" but i can't get it to work. The thing im tring to do is extremely simple but i can't find any info on it what so ever. Im still a C# beginner and i guess i got heaps to learn :D There are two textboxes and a button on my form on click it should collect the values from the two textboxes and add them together that's it. However, i keep getting a 'can't convert string into int' error. (when i try and pass the value as a string instead of a int it works without problems i.e. when i try to display my first and last name using the textboxes) Thank you for your responses :) or just change MessageBox .Show(intResult); to MessageBox .Show("Result: " + intResult ...Show All
SQL Server How to print a rdlc report in duplex
Is it possible to create a rdlc report and print it in duplex ...Show All
Visual Studio 2008 (Pre-release) DLinq Inheritance and Association
I'm having trouble with an association to a subtype It's pretty bad design, but ah well sometimes... Ex : A vehicle has an association to one of it's subtype, the car. Looks like DLinq can't manage this. <Table()> _ <InheritanceMapping(Code:= "V" , IsDefault:= True , Type:= GetType (Vehicle))> _ <InheritanceMapping(Code:= "C" , Type:= GetType (Car))> _ Public Class Vehicle Private _car As EntityRef( Of Car) <Column()> Public CarID As Integer <Column(IsDiscriminator:= True )> Private Type As String <Association(Storage:= "_car" , ThisKey:= "CarID" )> _ Public ReadOnly Property Car() As Car Get Ret ...Show All
Windows Forms Microsoft office Word!!
some time i write when i am using office word capital letter only while i want it with a small one.. i remember that i changed this by pressing some keys but unfortunatly i dont remeber what it was ... anyone know these keys Regards & Thanks Hi, These forums are meant for posting threads related to programming issues in Winforms.net. Thank you, Bhanu. ...Show All
Visual Studio Team System Is there a way to view all file changes under a directory?
I want to get the list of files changed under a directory hierarchy (not the changesets), I don't care about the other files changed outside of the directory hierarchy I want to look at (that would just be noise). Is there a way to get this information without digging into every changeset Thanks, This is a key way we find files that have changed in VSS. People what to see what changed under a particular area of code and are less interested in the other areas so the changeset files not in that hierarchy are noise. I think this one needs to get in soon, it's a natural workflow people have come to expect. ...Show All
