Charles Cooper's Q&A profile
Visual C# Do application settings work across cultures?
I’m using the Application Settings (via the project properties for a C# assembly) in order to store default values for the application, but I’m finding that the auto-generated code doesn’t work across different regional settings. For example, if I use it store a float value called “Increment” with a value of 0.5 when set to an English culture, then the following code is generated: [global::System.Configuration.UserScopedSettingAttr ...Show All
SQL Server Hiding a subreport - How to suppress the blank line ??
Hi, I have a main report with several subreports in a list. If I hide a subreport that contains no data by using the "visibility" attribute, there s always a blank line left in the list. Is there any way to suppress that blank line Minimize the size(width and height) of the sub report to the maximum extent. sincerely, Amde ...Show All
Visual C# Any good examples of how to use Applications settings
Hi, I'm trying to use Application settings to persist the size of a window between sessions in c# Express. I've tried following the help files but it's all way too complex - I can work up to comlpex once I've got something working! Does anyone know if there is a simple 'how to' anywhere, covering the basics What code do I need to add (to save ) What are the steps in the designer Many Thanks for any help Baffled ...Show All
Windows Forms Novice :)
I want to do something simple, but I'm from a long time ago and I am only familiar with Batch Files and Basic. All I want to do is make a nice interface application to copy a file from one location, a CD, to my Hard Drive. T ...Show All
Visual Basic Crash Course in ToolTip
Can someone give me a crash couse with tooltip I looked at one online and didn't get it. I have a tooltip added to the lower section and I want to specify tooltip text for button1 and button2. How and where do I add them Thanks. Crash Course..... To add tooltips to you form. Drop the tooltip control on the form. This extends the default properties for the controls on the form and you will ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 2d GUI questions
Hey all, Big post here, I'm in the process of creating a 2d gui in managed directx with c#, and I've run into some serious performance issues after a rather minimal interface with a few high res textures. Along the way I've wondered if I'm doing things right. I've also been really curious as to how a program like Picasa2 can do all of its rendering at lightning speeds, with pretty much zero load time no matter how big the images get, while it's ...Show All
SQL Server Custom Front-End Using Multi-Value Parameters on Reports
Hello, We have developed our own ASP.NET 2.0 (C#) front-end for Reporting Services (SQL Server 2005). The front-end is kind of "generic" in the sense that it looks at all the parameters for any report selected by the end-user and creates a display for the end-user to configure the parameter values. This all works fine, except for one report that has a multi-value parameter. On the report viewer through Report Manager, this multi-val ...Show All
Visual C++ VC2005 %50 Slower then VC2003
I just migrated a graphics application from VC2003 to VC2005. After building it, I ran a small benchmark & found that VC2005 code was about %50 slower. The Application does a great deal of floating point and integer calculations. It also converts doubles to int quite a bit (the VC2003 version used SSE to handle this). The VC2003 version used /G7 and /Ow (which are not available in VC2005) Compiler Switches Used: (vc2003)/arch ...Show All
Software Development for Windows Vista WorkflowPersistence question
I'm trying to write fullblown WF persistence service, and so far I was good. I had no problems with Instance save/load methods. But now I stuck with Load/Save CompletedActivity... How do I get ContextGuid of the completed activity, if all DependencyProperties are internal/private Documentation points to void pages How do I something like this in non-MS assembly: Guid contextId = (( ActivityExecutionContextInfo ) activity . Ge ...Show All
Visual Studio Team System Reports in Team Explorer : 403 error
Hello~ I'm able to create team project and view the report in the browser /Reports">http://<reportserver>/Reports and /ReportServer/ReportService.asmx">http://<reportserver>/ReportServer/ReportService.asmx . But, I couldn't view the report in the team explorer in the VS.NET 2005. -- 403 error happend -- Why does it happen How should I do to fix this problem Help me, please.. Thank you. ...Show All
Software Development for Windows Vista Bind parameters to dependant properties?
Curently you can bind dependant properties of one activity to a property of another. But I don't see a way to bind a dependant property to a parameter passed into the workflow. Is there a way to do this Could it be added Jared Hi Jared, There is an known bug in Beta1 where the workflow parameters do not show up in the Activity Reference dialog to bind. This is fixed now and should be available in Beta2 Thanks ...Show All
Visual Studio Express Editions C# networking help
Hi everybody... i just wanna your help with a piece of code.... client/server program, that the client wanna log in on a server ( send a username and a password) and the server verify if the username and the password match. if they math, the server sends to the client that the usernaem and password are correct. else, it sends that they are not correct. the suernames and passwords pairs are stored in an array or in a Hashtable in the ...Show All
Windows Forms webbrowser in vb2005
i have a runtime created webbrowser and i want to use it's ProgressChanged event and some others, too. how can i do this I used this code and it worked just fine... Private Sub WebBrowser1_NewWindow( ByVal sender As Object , ByVal e As System.ComponentModel.CancelEventArgs) Handles WebBrowser1.NewWindow Dim NewURL As String = CType (sender, WebBrowser).StatusText Dim TabPageTemp As New TabPage(NewURL) Dim ...Show All
SQL Server Using variable of type Object in expression
Hi I have some SSIS variables of type System.Object (they have to be this type because they are used to hold the results of a single row result set in an Execute SQL task which is querying an Oracle database. Although I know the Oracle table columns are Numeric, this was the only SSIS type that worked). My problem is that I want to use these variables in expressions, but can't - I get the error "The data type of variable &quo ...Show All
Visual Studio Express Editions how to prevent multiple instances of my program?
how to prevent multiple instances of my program please can someone give me a small example if is posible in C not C++ thanks! Thank YOU ...Show All
