AmpLiF1eD's Q&A profile
Visual Studio Express Editions Increasing Form Transparency from 0 to 100
Hello every1 How can I Increase my form transparency from 0 to 100 I have wrote the code bellow in the tick event of my timer1. and I`ve set the timer1.Interval =1 , and it is working, But it is very very very slower than 1 mili second. I know there must be a little delay for running the code of tick event, but it is so slower than the interval as 1 second . ohhhhhhh pls help me on this. Am I supposed to use the "user32.dll" If Yes how can I use that What is the differences between setting the form transparency by using "user32.dll" and my way at all Private Sub Timer1_Tick( ByVal sender As Object , ByVal e As System.EventArgs) Handles Timer1.Tick Me .Opacity = i ' variab ...Show All
SharePoint Products and Technologies Cache duration not support for sharepoint sites?
cache profile duration set to 180sec but it will show only 60 second cache happen on site cllection , site and page layout level then how will set it or have any option to know this problems ...Show All
Visual Studio 2008 (Pre-release) MouseMove event handler delay
Hi there, how do I increase ‘sensivity’ of the MouseMove event handler if possible At the moment when the user makes a sharp large mouse move the actual event handler doesn't get fired immediately. If you are quick enough you can move your mouse quite substantially before the handler will be executed. We examined VS2005 IDE, and in there when you drop a button onto the form and move it by the mouse, the former changes its position immediately, no matter how big and quick was that move. The first idea was that they dynamically replace the mouse cursor, which we can't do on our side unfortunately. Could anyone suggest if it's doable in WPF at all Thanks. P.S. we do realise, that it's not exactly WPF is ...Show All
Visual Basic if somthing exists
How would I check if something exists on a web page that is displayed in my app. Private Function DocContains ( ByVal Criteria As String ) As Boolean Dim wb As New WebBrowser wb . Navigate ( "http://www.google.com" ) Dim HTMLContent As String = wb . DocumentText If HTMLContent . Contains ( Criteria ) Then Return True Else Return False End If End Function ...Show All
Visual Studio Team System Buggy Windows XP service pack2 Shipped to Me
I was shipped a faulty copy of Windows XP service Pack 2 CD. It installs, but it keeps hitting places where I get a can't read this..." and am given the choice of aborting the process or skipping it and continuing. I'm pretty tenacious, but after 10 attempts, and then seeing a friends XP running on hardware way older than mine, it6;s the Disk. It'll install and do most things. But it won't pay my sound card with it's XP drivers,,,there's an issue with a file dtreamcli...It won't install ANY version of SQL. I just want a working copy of XP Pro, especially since you're kicking the pins out from under Win2K. In the meantime, I can't do the work I need to for my classes. Can anyone suggest som help I think you want to check over on ...Show All
Visual Studio 2008 (Pre-release) Encryption and Signature in message mode.
Hi How do I set Encryption and Signature when using message mode I saw in the trace viewer that the default behavior for any binding was not to encrypt anything - Is that correct Can I encrypt / Sign only part on the message manu manukahn:> We are speaking about WCF Not WSE3.0 !!! Yes, I know and I am speaking of WCF as well. I am just saying that we used to be able to Encrypt and Sign MessageParts in WSE2.0, not anymore, not even in WCF ... And I am speaking of WCF out-of-the-box. That said, I believe you may be able to do so if you implement it yourself via the various ways you can grok into the message. ...Show All
Visual Basic populating textbox using datetime picker
I am using VB 2005 for developing a winform application I want to display a datetime picker ( or a calendar) to choose date when a user click on the textbox very similar to www.expedia.com on the textbox click event I am using the following code to display datetime picker's calendar GUI Private Sub TextBox1_Click( ByVal sender As Object , ByVal e As System.EventArgs) Handles TextBox1.Click DateTimePicker1.Select() SendKeys.Send( "%{DOWN}" ) End Sub is there any easy to remove the combobox out of the Datetime picker so when a user click on the textbox datetime picker's calendar Gui will displayed and a user selects a date that populates the textbox ...Show All
Software Development for Windows Vista Detecting User Privileges
I have an application that needs to detect if it's a standard user or an admin user, how can I do this Before, it worked fine to try writing to the registry in certain areas, but this is no longer the case on Vista it seems. My installer gets elevated and the write operation succeeds, even on a standard user account. Are there new functions for detecting this, or do I need a more robust solution, or maybe it's just not possible As a note about the reason behind this, I am finding an error when run as a standard user, but it works fine for admin users. This is even after typing in the password and allowing on the UAC dialog that appears. I wanted to simply limit this operation to admin users, sinc ...Show All
.NET Development How to do a programmatic update of table
Assume a table called Test with three columns and n rows: ID integer identity primary key UpperLimit integer V1 integer Test is part of a SQL Server 2000 database on a server. I want to read and update the table using the following algorithm for i = 0 to n-2 test(i).V1 = (test(i).UpperLimit + test(i+1).UpperLimit) / 2 next test(n-1).V1 = (test(0).UpperLimit + test(n-1).UpperLimit) / 2 How would I do this in a .NET 2 web site or VB application. It would be OK, but not necessary to use a datagrid to display the results. The main thing is just to read the table, modify each row, and update the database. I've tried all sorts of things, but I have not been able to get th ...Show All
Visual Studio Express Editions Display URL in Textbox
I have a tabbed browser. That when I open a new tab it opens a new browser. key to that is: Dim tx as new webbrowser How would I display the URL of this new webbrowser in a URL, for viewing purposes I dont want to be able to input a url just display the current URL. I found my own answer to this, so I'm posting that others can see. I know I'd learned about StringBuilder before, but had no need to use it. Private Sub Browser1_DocumentCompleted( ByVal sender As Object , ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles Browser1.DocumentCompleted Dim URL_String As New System.Text.StringBuilder() URL_String.Append(e.Url) Label1.Text = URL_ ...Show All
Visual C# Destination for Build output?
Hi there, I need some help with where the output of my build goes. How do I send my build output to a different folder than where the source code resides Is there anything special I have to do to support this TIA, JackStri. ...Show All
SQL Server Questions about "Dimension Processing Destination" & "Analysis Services processing Task"
First I will thanks for any friends open this one. My questions is: 1.What's the diffrent between Processing a dimension by "Dimension Processing Destination" or just by "Analysis Services processing Task" I found that I could do the same work by both, and the MSDN tell nothing about the diffrence. 2.Why the Process Option in the "Dimension Processing Destination" is diffrent to the Process Option in the "Analysis Services processing Task" to deal with a dimension In the "Analysis Services processing Task",the Option is the same with the MSDN, without the "incremental" option. But in the "Dimension Processing Destination",there is the "incremental&qu ...Show All
Software Development for Windows Vista DLL registration fails on Windows vista
Hi, i am in process of upgrading a DLL application from VS 2003(Windows 2003) to VS 2005 on Windows vista platform. There is a post build event for registering the DLL. This fails with error code "0x80070005". When i try to register this DLL through command prompt, it fails with the same error code. With reference to all forum discussions, i disabled UAC on vista and tried registering the DLL through command prompt. This time it fails with the error code "0x800703f2". There is absolutely no way i can find out about this new error code on the net. Can somebody help me resolve this P.S. : i am running VS 2K5 as an administrator and also i have administrative privileges for my login. Thanks in ...Show All
Visual Studio Express Editions creating .exe program
i have created a software in VB but when i publish it in my desktop to get the setup file its in application-manifest format and not exe how can i make the program a exe program So a solution is a project and a project is a solution . In my world we have always started a project and later come up with a solution; but I know that Microsoft has pointed at the MAC OS and said: "Make that!", and this has become the Vista project Besides, as far as I know, the setup project is only supported in the full version, and they have hidden the click-one option very well in the express edition - at least I have not found it yet. ...Show All
Visual Studio 2008 (Pre-release) Assigning Filter from XAML
Hello, Is there a way to assign a filter to an ItemsControl.ItemsSource from XAML I know how to do it from code using the CollectionViewSource.GetDefaultView. In an attempt to decouple the xaml from code behind, I'd like to assign the filter in XAML. I guess I could use an attached dependency property, I'm just wondering if there is a straight forward way. Thanks Houman OK, so one way to do this is by defining a CollectionViewSource in XAML and setting the Filter attribute there. However what I have found is that if the criteria for the filter changes the view doesn't refresh automatically. Is this a defect or Am I doing something wrong I got around it by accessing the myCollectio ...Show All
