Stanislav Yudin's Q&A profile
.NET Development datagrid related
Hello all, Plz help to rectify my code, its urgent public class Form1 ///// class 1 { form2.getProjectedtable(); } public class Form2 //// class 2 { getProjectedtable() { -------------- display a table in datagrid ---- } Public class Form3 //// class 3 { writing query like select * from table where abc>100 retrieves a row no ...Show All
Visual C# Strange prolem with Culture settings
Hi, We are writing the .net application that should always work in en-US culture, regardless of the control panel settings. I was able to force the GUI culture to be en-US by the following code Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-CA", true); Thread.CurrentThread.CurrentCulture = new CultureInfo("en-CA", true); After that the DateTimePicker components are always displayed in en-US cultu ...Show All
Visual Basic Wrong Processor Targeted
Getting a weird warning. I have three projects in a solution. All three of them reference the same ChilkatDotNet.dll and use the same general features of that component. All three projects have the same setting regarding the processor they target. However one of the three projects gives me this warning that I cannot seem to get to go away: Warning 1 Referenced assembly 'C:\Program Files\Chilkat Software Inc\Chilkat.NET\Chil ...Show All
Visual Basic Clear the data in all the Controls in a single Form
Hai, I am new to Vb.net.My Problem is when i click the Button the datas in all the Controls should be cleared for new Entry. Not like this way: combo1.text="" i want to send a form as a argument to as function like cleardata(me) Public Sub Cleardata(byval frm as windows.forms.form) dim newControl as frm.ControlCollection for each newcontrol in Frm TextBox: Newcontrol.text="" Combo: NewControl.te ...Show All
Visual C++ IntelliSense and class view performance problems (slow continuous unbuffered writes)
If I bring up File Monitor (filemon.exe) from www.sysinternals.com (a fantastic tool, by the way), it appears that the writing to the NCB file is done in very small chunks. If you watch it, it continuously writes 2 and 4 byte blocks (yes BYTES, not K). Can you not use some sort of buffered write routines instead of direct WriteFiles of very small amounts of bytes Also, is it normal for Updating Intellisense on the status bar to run ...Show All
Software Development for Windows Vista Sql script files
Where do I get the sql script files from Tracking and Persistence The ones in HAL seam to differ from those required for the SDK. Mikael Hakansson Hello Mikael, You could try searching for directory c:\WINDOWS\WinFX\v3.0\Windows Workflow Foundation\SQL\EN\ Edmundas ...Show All
.NET Development Active Directory Syntax
I am doing Active Directory Integration in C#, and facing a small issue: Returned properties of an users such as "memberof", "telephone",... are not recognized as singularly-valued attributes so normal syntax like "memberof=MyUserGroup" will not work. If anyone has come accross this problem, or can refer me to another forum to get help,please give me your insights. Thanks. PS: I could filter the returned objects ...Show All
Visual Studio Team System Install Done, what's next?!
Hi everyone, I installed Team Foundation Server on my windows 2003 standard server and everything went well .. but now what There is nothing in the Start Menu talking about it, no icon on the desktop, nothing! I mean, how can I add new project to it create portal for each project where can I read about all that Thanks TFSSERVICE user looks like it won't have the permission (by default) to edit server-level information. However, if you have ...Show All
.NET Development DataLayer.Primitives Public Version Released!!!
Hi, It is my best post in my blog. DataLayer.Primitives is very useful code block oriented to DataLayer in .NET Applications. http://guydotnetxmlwebservices.blogspot.com/2004/11/datalayerprimitives-and.html Download source code!!! ;) Javier Luna http://guydotnetxmlwebservices.blogspot.com/ Hi, Those visitors of this post who dont speak spanish I reach the following link to them. DataLayer.Primitives - Readme! http:/ ...Show All
SQL Server ADO.NET Please Help ??
ADO.NET is great But I have a problem I using Stored Procedures and UDFs to Insert and retrieve my data I can recieve a variable Only from UDF or Stored Procedure Put when the returned value is a set of records Whats the matter then and very especially: I need to know How to navigate through this set of records Next,Previous,First and Last Programmatically without Binding to Controls One of my Friends challenge me and Say :&quo ...Show All
Visual Studio Team System Web Test - Any way to compare an Extracted value (Context Variable) against an expected result?
Hi, Is there any way to compare an Extracted value against another expected value without using coded Web Tests Thanks The extracted value can be compared without using coded Web Test. It can be done by combination of Extraction rule and Validation rule. The "Context Parameter Name" entered in extraction rule can be used in the validation rule as expected value. It has to be taken care that the context parameter name should b ...Show All
Visual Studio DSL Support For Reverse Engineering, Object Persistence and ASP.NET
Can someone from the MS DSL Team answer the following general questions 1. Can a DSL provide support for object persistence For example, in Joachim Seemann's 200 level video presentation "Creating Graphical Designers with Domain Specific Language Tools", he shows how to build and generate code for a Wizard. If we want save (persist) the data entered while running the wizard to say, a relational database, how is the DSL tool used to ...Show All
Visual Studio Dynamically determining link type
I'm just getting started with what may become a fairly complex DSL. Assume I have a bunch of elements in my domain model, with a variety of link types. In the designer, I'd like to be able to drag a "generic" link between two shapes, then have it dynamically turn into the appropriate link type (assuming there is a valid link). If there's no valid link type between the two shapes, there should be a visual indication during the d ...Show All
.NET Development Event handling in .net Remoting client using IIS hosted remotable object
Currently i am trying to add an event in a remotable object i have hosted it by IIS and adds an event handler in the client but when i am trying to run the client program it throws an exception "Type System.DelegateSerializationHolder and the types derived from it are not permitted to be deserialized at this security level" My code for the remotable object that i have hosted in IIS as Public Class HelloServer :Inherits Ma ...Show All
.NET Development XPathNavigator Null Xml Bug?
If this is a way to represant a null xml entries: <name/>, then XPathNavigator doesn't like that cause it can't determine the value of a node properly with those scattered through the document...Here's code that should show you what i mean... the output is this: Expected: 0 1 2 3 4 5 Actual : 01 2 3 45 Press any key to continue . . . using System; using System.Collections.Generic; using System.Text; using System.Xml.XPath; using ...Show All
