lxl6428's Q&A profile
Windows Forms Security exceptions calling a web service from within a UserControl embedded in IE
Hi, We're getting a security exception on a asychronous callback from a web service. This exception only occurs when our control is embedded within an IE web page. The security exception does not occur when we elevate the trust for the "local intranet" group from it's default to full trust. We'd like to be able to deploy this application&n ...Show All
Visual Basic Oracle 9.2 and vb.Net
Using Visual Sutdio .Net 2003, I've been trying to do a paramertized insert into an oracle 9.2 database. When i use a string defined as a varchar it only inserts the first half of the string. example 'This is a test' gets stored as 'This is'. Also depending on how i defined the oracle parameters and add them i get a ORA-12571: TNS:packet writer failure . Here's the test code i've been trying: 'Dim conn As New OracleConnection(cs) OracleConnection1.Open() Dim insertcmd As New OracleCommand &n ...Show All
Visual C++ Framework and related question
Hi I have an old Console App program that compiles without problem in VS 6. I can get it to compile with VS 2005 express beta 2, it is about 20 modules compiled as unmaged C, Win32 console App.. The program runs ok on the Dev. PC but when the exe is run on another PC I get a configuration error. To cure that I have to install the version 2 latest framework. My question is why does it need the 23 meg framework just for a small Console program Any compile properties I can change to make it run standalone The one thing I was wondering about was that the linker needed UUID.LIB linking in to make it work, could that be the reason it ...Show All
SQL Server SSIS Tutorial Lesson 1: Debug Error
I have followed the instructions for SSIS Lesson 1 exactly but i get these 4 errors when I come to debug at the "Lookup Date Key" lookup transformation. Last step in the lesson. 1. [Lookup Date Key [66]] Error: Row yielded no match during lookup. 2. [Lookup Date Key [66]] Error: The "component "Lookup Date Key" (66)" failed because error code 0xC020901E occurred, and the error row disposition on "output "Lookup Output" (68)" specifies failure on error. An error occurred on the specified object of the specified component. 3. [DTS.Pipeline] Error: The ProcessInput method on component "Lookup Date Key" (66) failed with error code 0xC0209029. Th ...Show All
Visual Studio Tools for Office Excel ListObject Problems
I have a couple VSTO questions about the ListObject. Is there any way to remove or at least reformat the blue line that appears around a list object I understand the reason for it, and I think it will be OK if I could at least re-color it. Is there any way to get rid of the header row I doubt these two wishes are possible, is there any alternative I would really like to use databinding, as the alternative is to write tons of mapping code and as always time is short. Dave You may want to try the BorderAround function on the Range of the ListObject to set the color of the border. You cannot get rid of th ...Show All
Visual Studio Team System Data driven Load testing
I want to do run load testing, but make it data driven so that each instance uses a different 'user'. From what I see in defining web tests, you can make them data driven, but I don't see how to make each instance use a unique record from the data source. It appears to run for all records in the data source. Suggestions Thanks, Tom Here is the answer copied from out FAQ list. Q: How is load test execution affected by database access methods A: When you add data source to a Web test, you can choose from three different access options. 1) Sequential - If you set a data source to sequential, it u ...Show All
Visual Studio Registering guidance with the experimental hive
Can you give me any information or pointers on how to take a guidance package that is working in the normal hive of VS and apply it to the experimental hive Thank you. Brian. You can't change this on a per-package basis, as a GAT package isn't really a full VSIP package. What you can do is make your GAT package a full VSIP package by follwing what is described here: http://blogs.artinsoft.net/ocalvo/articles/1007.aspx HTH, -Victor. ...Show All
Visual C# Form Count
Is it possible to get a total count of all of the forms which are part of a VC# solution along with their respective object names. Thanx a million, exactly what i was lookin for ...Show All
Visual Studio Team System Project creation failing with error "The identity [Project Name]\Project Administrators is not a recognized identity. "
Error The identity [Test]\Project Administrators is not a recognized identity. Explanation The identity [Test]\Project Administrators is not a recognized identity. User Action Warning TF30144: The New Team Project Wizard attempted to roll back all of the steps taken to this point but was unsuccessful. Contact your Team Foundation Server administrator for further instructions. Here is what Team Project Creation log file says.... 10/20/2005 1:56:17 PM | Module: ELeadServiceMediator | Team Foundation Server proxy retrieved | Completion time: 0 seconds 10/20/2005 1:56:17 PM | Module: Wizard | Retrieved IAuthorizationSer ...Show All
Visual Studio Team System Modify ValidationRuleFindText to read values from DB
Modify ValidationRuleFindText to read values from DB I know how to bind for example radio button list to data base and then by choosing One run per data source row option can run web test multiple times! But i would also like to add validation rule that would read appropriate text parameter from db for each run! After doing some research i came to conclusion that this is imposible by means of tools e.g i think i must generate code and modify it or create custom validation rule for this purpose. Am i wrong on this Maybe i missed somethin and it is possible to bind "text to be found" property to db somehow If not then how do i cre ...Show All
SQL Server MCTS Exam 70-431 Database Administration Study Documementation and Samples ?
Hi, I am looking for good documentation and examples to use to 'study' for Microsoft exam 70-431. This has everything to do with nuts-and-bolts Database Administration of SQL Server 2005. The December BOL examples, do not cover enough topics. The topics that are covered are not in enough detail. The 70-431 exam requirements are very detailed. This seems to be a nuts-and-bolts test. I am looking for nuts-and-bolts study material. No books are published yet. Does anyone have any good ideas on where to find 'good' samples and tutorials meant for a person who is studying for the new Microsoft SQL Server 2005 Database Administrator ...Show All
Windows Forms update db from textbox
I have a textbox connected to a dataset and appropriate oleDBDataAdapter and oleDBConnection in C#. The textbox (databindings) text is connected to the dataset. The textbox gets filled with the data correctly. But when I want to save doing Update nothing get saved in the db. The right value is in the dataset I have checked. I've tried to debug and step into ...Show All
Visual Basic I have 512 ram and Semprom 2800 but Visual Web Developer run slow
that the VWD or VS 2005 run slow in 512 ram and semprom 2800 What is coming on Need at least 1gb ONLY for WinXp + VS2005. Period. (for Web, don't know if EXE is as heavy). Even a small project gets the PC running near 600mb of RAM Had several PCs with 512 and VS2003 was running smooth. We switched to VS2005 and sometimes it went fairly well, then it clogged, lagged, paused and whichever sluggish adjective you want to use. Added 512 and now works smoothly. Still seems VS 2003 was kinda faster, but the new features of VS 2005 surely make up for it. ...Show All
.NET Development Disappearing updates in local SQL Server Express database
Hi, I created a SQL Server Express database and added it to my project by using "Project|Add New Item" and selecting "SQL Database". I then added a single table to the database and added a single text column to the table. I dragged the table to an empty form which prompted the UI to automatically add a datagridview, a binding source and a dataset, configured and ready to go. When I run the program, I can add data to the dataset (apparently), but the next time I run the program, the data from the previous session is gone. I have tried all sorts of things including adding an "update" button to invoke the &qu ...Show All
Game Technologies: DirectX, XNA, XACT, etc. pixel shader computation: precision problem?
Hi, I do the following computation in a pixel shader: const float texel = 1.0 / 128.0; result = floor(In.texcoord.w / 16.0) / 64.0 + texel In.texcoord.w containes an integer value between 0 and 299, stored as a float, interpolated over the triangle, where each vertex stores the same value, so in practice there shouldn't be any interpolation happening. When I output result as a color, I notice distortions over the triangle and a flickering when I move the mouse, for some values of In.texcoord.w. But actually the result should be constant for each of the triangles pixels because the computation use ...Show All
