JavaKid's Q&A profile
SQL Server Cannot create a connection to data source !!!! SSRS 2005
I cannot get this error resolve either for myself or any users, and I'm actually part of the Admin group! Furthermore, a user with whom I'm tring allow to view this report keeps getting prompted for their windows username and password. I thought that since this datasource was set to Windows Authentification that it would just pass it through I'm pulling my hair out at this point: Screen Shots: http://www.webfound.net/datasource_connection.jpg http://www.webfound.net/datasource_connection2.jpg http://www.webfound.net/datasource_connection3.jpg Also As far as I know, I've ...Show All
Visual Studio 2008 (Pre-release) Exception of type 'System.Web.HttpParseException' was thrown in Service.svc
Hi, I used the WinFX service template to create a WinFX web service. I didn't modify the generated code and now when i try to build this project it throws the "Exception of type 'System.Web.HttpParseException' was thrown." in Service.svc file. I have no clue why this error is getting thrown. This error means,something wrong in .svc file .svc format should be like this <% @ServiceHost Language=C# Debug="true" Service="MyService" CodeBehind="~/App_Code/Service.cs" %> if possible,can you please share your .svc file info (just copy all the info in .svc fil ...Show All
Visual Studio Team System Inheritence and UnitTests
Hello. I have a question about writing UnitTests. We use csUnit with VS2003, and now going to use VS2005 with internal unit test tool. We wrote testing code with abstact test classes which realize something like these: public abstact class MyTestBase { public MyTestBase(string sConfigFileName) { // initialize test enviroment } [Test] public void Test1() {} } [TestFixture] public class MyTestOnMSSQL: MyTestBase { public MyTestOnMSSQL() : base("config-mssql.xml") {} } [TestFixture] public class MyTestOnOracle: MyTestBase { public MyTestOnOracle() : base("config-oracle.xml") {} } A analogue for TestFix ...Show All
Visual C++ Localization using C++ and Visual Studio 2003
I am attempting to localize a small application which has a default language of English. I started by using the "Insert Copy" feature to create a French Canada copy of the String Table. I added a "Release (French Canada)" configuration to compile to that locale which has the Culture set to "French (Canada)(0xc0c). When I compile using this configuration, the application always compiles in English. At one point it compiled in French, but after making French copies of some of the dialog boxes it reverted back to English. I have not been able to get it to compile in French ever since. Does anyone have any ideas on ho ...Show All
Visual Basic Loading images from context menu link
Thank you for stopping to read this message. I'm using Visual Basic 05 Express Edition (Beta 2) to write an image conversion program. I have sucessfully achieved the basics - and after browsing your harddrive you can convert an image, BUT if i added a registery file which adds 'convert' to the context menu of BMP or JPG images, how could I load the location of the image automatically to a textbox Try checking the command line arguements of the program when it starts up. You'll need to start with Sub Main instead of a form and it should have a signature like this: Shared Sub Main(args() As Strin ...Show All
Windows Forms Multi-part question in regards to functionality
I downloaded the component and got the sample to work fine. Excellent component!!! I do have a few questions, though... 1) Suppose I'm using an N-tiered solution and update some of the DLL's in my middle tier. When I recompile my executable on the top tier, will the component copy over all the updated DLL's that are referenced by the executable as well ...Show All
Visual Basic HOW TERMINATE CLASS INSTANCE
lets say i have 2 winforms A and B on A i have a button that pops B like Private Sub btnPoP_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPoP.Click Dim aFrmAlertPopUp As New B(SomeUniqueID) aFrmAlertPopUp.display(messages) End Sub it will pop a instance of B, it will pass a number id value to the property SomeUniqueID of B. lets say i click the button 3 times and pass the values Dim aFrmAlertPopUp As New B(123) Dim aFrmAlertPopUp As New B(456) Dim aFrmAlertPopUp As New B(789) then I want to terminate only instance '456' if I cal ...Show All
Visual Studio Express Editions Programming Graphics
Hello, I am mostly interested in writing programs to explore fractals. I find no help in any tutorial I have found to assist me. even worse, I cannot seem to get the procedure right for creating the simples program. In visual basic 4 or 6 for example I could write : Public Sub Main() '......... Lorenz Attractor according to Roger 'Stevens Fractal Programming in C Cls ScaleMode = 3 AutoRedraw = False ' Do Cls Randomize Timer xangle = Rnd * 360 yangle = Rnd * 360 zangle = Rnd * 360 txtX.Text = " x=" + Str$(xangle) txtY.Text = " y=" + Str$(yangle) txtZ.Text = " z=" + Str$(zangle) pi = 4 * Atn(1) / 180 ...Show All
Windows Forms (partially) formatting radiobutton/checkbox text in vb.net
Hi all, I've been searching for this for hours and start to wonder if it is possible: I need some basic text formatting (bold/italic) on the text of radiobuttons and checkboxes. Of course I know I can set the font property for the whole text, but how can I format just a part of the text I guess I need I to create a custom/inherited control using rich text, but I really can't find any relevant starting point. Any help would be appreciated! regards chaosvg 1: Derive your own class from the RadioButton and CheckBox control classes and override the OnPaint method. 2: Create a dedicated text painting ...Show All
Visual Studio Team System Lock Computer and Check-out
Hi there! A few minutes ago a co-worker of mine showed me a curious thing. He had 3 forms open. One that he was developing and the other two for layout (copy) reasons. Of course he had his form checked out, but not the other 2. He had to go for a walk and locked his computer. Guess what! When he returned he had all 3 forms checked out form edit to him. We tryied several times and it allways acted this way. We're using VS 2005 and TFS Beta 3 refresh. Best regards, Rui Dias Open Visual Studio 2005 (Only Team Explorer as add-in). It shouldn't be relevant, but our forms are using external t ...Show All
Visual C++ setting/getting the rounding mode for fp arithmetic
Hello, how can I change the rounding mode for floating point arithmetic For g++, the headerfile fenv.h provides the function fegetround. What is the equivalent for VC8. For VC7 we used __asm fldcw to do it in assembler, but this doesn't work with VC8 for the target architecture: XP64/Turion. Thanks in advance, Andreas see _controlfp_s --the safe version of ANSI _controlfp (specifcally see the _MCW_RC mask) or numeric_limits::round_style , if you're using STL. ...Show All
Smart Device Development copy and paste function
can someone provide me code for copy n paste method (in vb.net) i hv check on msdn but i cannot understand! Hi Albert_Khor, The following code snippet shows the copying and pasting of a string to and from the clipboard using NETCF V2: Private Sub Button1_Click( ByVal sender As System. Object , ByVal e As System.EventArgs) Handles Button1.Click Dim str As String Dim iDataObj As IDataObject str = "" Clipboard.SetDataObject( "Hello" ) iDataObj = Clipboard.GetDataObject() Str = iDataObj.GetData(Str. GetType ()) MessageBox.Show(Str) End Sub Cheers, Anthony ...Show All
Windows Forms ideas for composite control (is this possible?)
hiya, I have a winform that contains 2x userCtrls: <layout> userCtrlJOB (displays the values of the "job" biz object) userCtrlPERSON (displays the values of the "person" biz object) <\layout> Instead of including a "NEW" button within each userCtrl..I was hoping that I could create a single "NEW"button, that when clicked would recognise the current ...Show All
Microsoft ISV Community Center Forums Personal.xls
I have an Access application that opens Excel with GetObject if Excel is closed. On all but one machine in the office things work OK. One of my colleagues has done some development on one machine last week. Since then Excel opens and shows Personal.xls on this machine when called from Getobject. I think this book is supposed to be hidden. Does anyone know how to stop this book loading I have stopped the above by hiding the window and saving. Does anyone know what the file does, what it can be used for, and how my colleague managed to unhide it ...Show All
Visual Studio Open From Source Control problem
When I do this with the MSSCCI provider I am developing I get this error ... "The source control bindings for this project do not match the bindings reported by your source control provider. This solution, or part of it, may have been forked or branched. To update the projects source control bindings use the Change Source Control on the Source Control menu." If I click OK, and let VS reload, everything is fine. But I can't figure out where this is coming from. I've even diffed all the files before and after this warning. The only difference is the .suo, which isn't under source control. What is the mech ...Show All
