gudel's Q&A profile
Visual Studio 2008 (Pre-release) Is there any type of context available at time of IAuthorizationPolicy evaluation?
I've been doing some work with adding custom context to our WCF web services. I've successfully added context to the operation and instance context, but now I'm doing some work at the IAuthorizationPolicy level and finding out that the contexts that I've hooked so far (i.e. operation context and instance context) are not available yet at this point. First, is there a context that flows all the way through all these layers of a WCF request Second, I cannot find any good documentation on what the life cycle of a request looks. If I could find that I would probably be able to figure the rest out on my own. TIA, Drew Actually, now that I really READ your posts, the solution is to increase your scope unt ...Show All
Visual Studio Error installing SP1 for VS2005
I've downloaded the SP1, tried to install it. The installation hung up, and the error I've found in the log file is - Item ID: VS80sp1-KB926601-X86-ENU.msp to "<path>" ERROR [16389] ERROR [16389] - Extracting package item to file ERROR [16389] ERROR [16389] When execution started, the publisher was unidentifed, rather than Microsoft. Tried to download the file half a dozen times, clearing the cache, rebooting the computer, and to no avail. Using XP SP2 English, and downloaded the English SP1 for VS2005. i have got this error, im using a dialup line and its not possible for me to download 431mb of this *** everyday cause it took 3 days to complete (*** ...Show All
Visual Studio Express Editions Append Table to Access MDB
I try the followin code to add a new table to a Access Mdb, but the last line (when i append the table to the catolog) indicate a error saying that the type is invalid. What do i wrong Dim cn As New ADODB.Connection Dim cat As New ADOX.Catalog Dim tbl As New ADOX.Table Dim col As New ADOX.Column Dim oKey As ADOX.Key cn.Open( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\CSysTmp\NewMDB.mdb" ) cat.ActiveConnection = cn tbl.Name = "Test" tbl.ParentCatalog = cat col = New ADOX.Column col.Name = "Id" col.Type = ADOX.DataTypeEnum.adInteger tbl.Columns.Append(col) col = New ADOX.Column col.Name = "Name" col.Type = ADOX.DataTypeEnum.adVarChar col. ...Show All
Windows Forms mdichild datagrid rows backcolor problem
i ve mdichild form and it includes datagridview1, datagridview1 has some special rows and i m setting their back color red; However when i open it shows all datagridview rows color white. as default if i open it without mdichild just like a new form which is not mdi form, it is working correct Form2 a = new Form2(); a.mdiParent = this; with this not showing rows backcolor a.show(); Form2 a = new Form2(); a.show(); with this it show rows backcolor what i set How can i set these rows backcolor red with mdi calling method ...Show All
Visual Studio Express Editions how to: how to fill a list in a combobox based on the selectedvalue of another combobox?
hi, im really new to programming and i was hoping if someone could help me out how to fill the contents of combobox2 based on the selected value of combobox1 any help is greatly appreciated, thanks.. There's probably an easier way to do it but here goes...Try this: If ComboBox1.SelectedValue = "x" Then ComboBox2.Items.Add( "a" ) ComboBox2.Items.Add( "b" ) ComboBox2.Items.Add( "c" ) ComboBox2.Items.Add( "d" ) ElseIf ComboBox1.SelectedValue = "y" Then ComboBox2.Items.Add( "e" ) ComboBox2.Items.Add( "f" ) ComboBox2.Items.Add( "g" ) ComboBox2.Items.Add( "h" ) ElseIf ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Project type is not supported by this installation?
If I start a new c# project using any of the xna templates, I just get a "The project type is not supported by this installation." error. Suggestions welcome :) Yes I have trying un-installing and re-installing XNA. Same error both times. As far as my machine is a 3ghz Pentium41gb Ram and Ati Radion X600 256mb. I have Visual Studio 2005 Standard installed on it. I was told that is should be ok to have full VS2005 while running XNA. Before you ask Yes I also have Visual C# Express installed as well. Hope this helps let me know if you need any other information. ...Show All
Visual FoxPro view
Hi gurus I have the following and every time I run the second view It tells me that my first view created does not exist. first view create sql view RV_company_Find_Prefetch remote connection preauth as;select distinct fkCompany from security_User where fkUser= lcfkUserName and deleted=o order by 1 second view Cretae sql View RV_carrier_find remote connection Preauth as;select Name,address1,city,state,pkcarrier; from carier c;inner join preauth! RV_Company_find_prefetch pf; on c.pkcarrier=pf.fkComp The error says that it can not find the first view Can you gurus help me here. Thanks After you create the first view, what does AERROR() tell you It looks to me as though the vi ...Show All
.NET Development Element restriction question?
Hi, Apologies in advance if this question is a bit basic... but I could not find the answer anywhere. Is it possible to define a restriction on 2 child elements that either one of them must exist or both can exist <Parent> <A> </Parent> <Parent> <B> </Parent> <Parent> <A> <B> </Parent> So that all the above are valid and the following is invalid <Parent /> Thanks Donal It is possible like this: <xs:element name="root"> <xs:complexType> <xs:sequence> <xs:element name="Parent" maxOccurs="unbounded"> <xs:complexType> <xs: ...Show All
Visual Studio Express Editions How to Diable Mouse Right Click Button in windows application using C#
Hi I am developing Graphics Application using C#.Net. I have a small requirement within my application i have to handle my mouse click funtion manualy. If i want to block the right click button. i have to handle in my own coding. So give me the solution how can i block the Mouse right click button using C# or VB / VB.NET. Looking for your favourable result. Thanks & Regards S.Manikandan Hi Thanks a lot for your response. Actually i am not using ASP.Net Just developing window Application using C#. Just i placed two buttons in my Form One is "Disable Right Click Event" and another one is "Enable Right click Events" When i press "Disable Right Click Event" ...Show All
Software Development for Windows Vista Where to get July CTP of .NET Framework 3.0 and Windows Workflow Foundation (WF) RC4
The relevant links for the July CTP of .NET Framework 3.0 and the associated VS Extensions for Window Workflow Foundation (WF) RC4 are below: .NET Framework 3.0 July CTP from here . VS Extensions for WF RC4 from here . Windows SDK for July CTP from here . If you are just starting with WF you should install this build. There are no new features or API changes between RC2 and RC4, only some bug fixes. Before you ask, I don’t have a list. i have a problem... i installed everything in this post... but i still can't find the extension visual studio... i dont know how to create a new workflow is there something i did wrong i first installed .net 3.0, then the sdk then i tried installing the extension b ...Show All
.NET Development Are CLR's backward compatible with earlier frameworks?
In udder words, if I have a .NET dll that was written with framework 1.0 or 1.1, can I include that dll in a project using the 2.0 framework and 2.0 CLR and have it work properly Tanks, Israeli ones. ahmedilyas wrote: I think though you still should have .NET 1.1 installed (or the earlier framework version of that dll which it was created in) otherwise perhaps it may not run - try it and see what happens. I'm 75% that you would probably need the other framework installed along with it to make sure it runs. No you don't need the older version installed. There can only be one version loaded anyway in a process, and that will be 2.0 (or later) if the startup executable requires it. ...Show All
Visual C# Forms In C#
I know there is a way say if i have 4 Forms Form A Form B Form C Form D I want to put an order on how my forms load when i build the application like I want to load Form C first the Form D then Form A and the Form B....Is there a way i can order my forms like that in VS.Net....Also say if I wanted a splash screen when a form with a picture opens and it just loads for about 4 seconds the loads the next form....anyone know how to get this done hi, to order you forms load, use Form.ShowDialog() method. for example; private void MainForm_Load(object......) { FormC c = new ...Show All
Windows Forms apply WinXp visual style to winforms
hi all. i'v tried the code from the msdn site,regarding " How to add Visual Styles (the Windows XP look and feel) to your C# ", but when i build my project i get an error msg saing: "could not find the "Microsoft.Windows.Common-Controls, Version=6.0.0.0,Culture=*, PublicKeyToken= 6595b64144ccf1df,processorArchitecture="X86",Type=win32" **i'm using WinXp and VS 2005. That implies that you haven't actually removed the manifest file. It's the manifest file you added that's trying to reference the thing that can't be found. Is it still lurking around somewhere You need to remove it. ...Show All
Community Chat your computer is ready to compute
as many know when you don't have the latest CPU you'll have to wait when your computer is ready to compute. also many handicapped persons, which area doesn't matter, are waiting when their pc is ready to compute. all other persons watch the LED of their HD, when it goes out. and watch the mousepointer becomes to standstill. whatever, the case is, you'll have to WAIT..... why don't you make a neat little program that can be implemented in any MS OS, Vista included, that tells you by sound and vision: YOUR COMPUTER IS READY TO COMPUTE. the idea is seen on Startrek serials which were made by the fabulous Gene Roddenberry. the computer on board of the Enterprise told their crew members that "she" was "rea ...Show All
Visual Basic Program help please!!!
I'm working on a program that converts something in a metric unit of length (meters, centimeters, etc.) to something in another metric unit of length (meters, centimeters, etc.) Whenever I type in a number, check something in the first checkedlistbox, then check something in the second checked list box, and hit a button, all i get is zero in both boxes. Can someone help me with my code It's just a multiplication error, but I need some help on determining what it is. Thanks. Public Class Form1 Dim dblMultiplier As Double Dim newdblMultiplier As Double Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load CheckedListBox1.Items.Add("Yottameter(Ym)") CheckedListBox1.Items.Add("Zettameter( ...Show All
