romeo123's Q&A profile
Visual Studio Team System Is there a way to add in a timer ?
Hi There I am firuing off a couple or requests and all is working nicely however I need to hadd a request and have it wait 15 seconds before it attempts to send the request. How would I accomplish the wait Thanks Gregor Hi Gregor, If i understand you correctly then we can achieve this by adding think time as 15 sec in the previous request. So once you add the new request, after completing the previous request, it will wait for 15 sec and they trigger the new request. You can set the think time by select the request Right Click on it Click on property modify the think time (sec ...Show All
Visual Studio Could not load type 'Microsoft.VisualStudio.Shell.Interop.SVsSmartOpenScope'
Hi Everyone, I have just installed the "Visual Web Developer 2005 Beta 2" on my XP Professional machine. After I create a .aspx page, when I click on "Design" button I am not able to see any control on "Design" mode, but simply a blank page (I have added few controls in "HTML" mode) and get following warning... ------------------------------------------------------------------ Warning 1 Could not load type 'Microsoft.VisualStudio.Shell.Interop.SVsSmartOpenScope' from assembly 'Microsoft.VisualStudio.Shell.Interop.8.0, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. 0 0 ------ ...Show All
SQL Server Dynamic Page Breaks
Hi everyone, This is my first thread. I have been working with Reporting Services and love the way I can change the Groupings and Sortings on the fly. I need to be able to dynamically change which Groupings have a Page Break either before or after as well. There is no expression to enter for the Page break attributes however! Does anyone know of a way to dynamically change the Page break attributes at run time Thanks, Randy is there any alternative fang Like having two groups for the same field with one page break and one with no page break and hiding or changing the expres ...Show All
Visual Studio 2008 (Pre-release) this cute propertyChangedCallback is fired more than needed
Hi, here is some problem to be handled : check out the registratio of an attached property: public static readonly DependencyProperty AnimationStartSourceProperty = DependencyProperty .RegisterAttached( "AnimationStartSource" , typeof ( object ), typeof ( AnimationPanel ), new PropertyMetadata ( AnimationEnabledCallback ) ); I am tracking all the changes to this property through AnimationEnabledCallback. But when the application is loading and the values are read from xaml, this method is called twice(by the way, with the same pairs of e.NewValue and e.OldValue). And since I'm working with handlers in t ...Show All
Smart Device Development Compiling and including a DLL
Hi there. I'd like to write a class and compile it to a dll so I can include it in a number of different applications. However, I am having trouble getting any dll that I've compiled to add successfully to my test application that imports the dll. To test, I did the following: - Started a new project in C++, and under 'Smart Device' chose 'MFC Smart Device DLL' as my chosen template. - Then clicked "Next" through to select the Windows Mobile 5.0 Pocket PC SDK to be added to my project. - At 'Application Settings' I left this as the default selected to 'Regular DLL with MFC statically linked'. I don't really know what ...Show All
.NET Development how to show string of data in text box using parmeter query
I am tryin to input an ID number and retrieve all the information from that particualr ID Private Sub btnSubmit_Click(Byval sender As System.Object By val e As System.EventArgs)Handles Button1.Click connClass.Open() Dim cmdStudents As New OleDb.Command Dim sStudents As String = Select Student Name, Information From ClassName Where Student ID = cmdStudents.CommandText = sStudents daStudents.SelectCommand = cmdStudents Dim cbStudents AS New OleDb.CommandBuilder() cbStudents.DataAdapter = daStudents Here is where i run into the problem Dim ol As New olet2() 'This is my other form with a textbox1 If textbox1.Tex ...Show All
SQL Server Report Model in VM environment
What are the limitation when creating report models in VM environment Not certain what you mean by "VM environment" but if you are referring to Virtual Machine/Server, yes report models are supported. Hope that helps. Thanks, Jon ...Show All
Visual Studio Team System Item has already been added. Key in dictionary: 'path' Key being added: 'path'
If I run the application by clicking on the exe then no errors, but if I run it within VS2005. it throws me this exception which I have no idea why its doing. Interestingly this only happens on my Windows 2000 professional machine, same code if I run on Windows XP Professional, it works like a charm. Exception: Item has already been added. Key in dictionary: 'path' Key being added: 'path' Please update with a work around. Syed Hussain Thanks Jason, Actually I have declared the Environment Variables at two places.First under system variables and second under the "Environment Variables" sect ...Show All
Visual Basic Get system uptime without GetTickCounter
Hey! How do i get the system uptime for Windows, without using GetTickCounter I'm running Windows XP and Visual Studio 2005. Would be nice if anyone could help me with this! - TankVB Could you tell me where to find some information about this counter I have this code, but i don't know the category: Dim UptimeCount As PerformanceCounter UptimeCount = New PerformanceCounter( "SomeCategory" , "System Up Time" ) ...Show All
SQL Server Poorly written assembly and CLR
As the CLR is hosted in the SQL OS. How will the SQL OS handle a situation wherein I have a badly written .net assembly which is chewing up lot of memory and other system resources of the server. 1. Won’t it directly affect the SQL OS and the overall performance of the server 2. The bad assembly is also hosted in the same app domain as other assemblies;As all assemblies owned by same user are hosted in the same app domain; will this approach not affect other .net assemblies running in the same Appdomain Thanks! 1. Whether it will affect the overall per ...Show All
Visual Basic Use string value as variable name
How do I use a value of a string as a public variable name/object that I can then change.... dim var1 as integer dim var2 as integer dim var3 as integer...ect... Dim vroot as string = "var" Dim i as integer = 1 Do var + i.tostring 'this returns "var1" 'now how do i use this var1 returned value to act like a variable i=i+1 loop until i = 15 Also how would i do this with objects....say i had a series of labels named label1, labe2, label3...ect... to call these through a "label + i.tostring + .text" script also...... Catch my drift....is this possible Thanks! For the issue with variable names, here is ...Show All
Smart Device Development How to connect smartphone application to target?
Hi Thanks in advance. I am developing smartphone application using Visual studio 2005. it is working fine on smartphone Emulator. Am not able to understand how to establish a connection directly from VS 2005 to target. I'm not sure if I understood your question clearly. Are you trying to deploy directly to a device If yes, then first connect the device. Make sure you have ActiveSync installed and that AS detects your device. Now from VS2005, choose Build->Deploy and deploy your application to the device which shows in the list. ...Show All
Windows Forms Global Variables in VB.NET
Hello, Is there any way in VB.NET to declare a global variable in one form and be able to access it through other forms Thank you. If you're using a module then yes, you'll have to declare it at the namespace level. You can do this simply by adding a new item of type Module to your Visual Studio project. -Paul ...Show All
.NET Development DataGrid Problem
I have few problems, 1. I am using datagrid with readonly textboxes, i am assigning the null, i could see that null text in datagrid, but when i insert the records through this it is updating null values for the hidden textboxes. 2. How to update the relations created in dataset to the database. 3. I am develping a banking application, in that on of those pages contain datagrid, two users opened the same page with same records at single instance , one user updated balance, when another user try to update the same. It should genarate the exception how to handle this. sorry to ask too many question at single instance. Thanks In ...Show All
Visual Studio Express Editions Serial communications outputting and receiving one byte of data.....
Okay, I am on deadline here.... 3 days... and for the last 2 weeks I have been trying to find the answer. Apparently there is no easy way to use a serial ports in VB2005 express... Most of the code I have found is for the .net version. It really doesn't port well. I have gone through and for the most part changed what needed to be changed. No Luck.... With the code written below that was copied and I duplicated the form to match the text, combo boxes and everything else it just doesn't want to work correctly. I am trying to write one byte of data to a processor and a few milliseconds later receive the response. the outgoing is the addres ...Show All
