banksdenise's Q&A profile
Visual Studio Team System Virtual User Synchronization Point
Is there a way to have virtual users wait at a given line of code until a certain number of users are doing so and then let all waiting user continue I want to test multiple users performing the same action at the same time with an application under load. Thanks, John Hi Ayman. Yes, that would do it. However, I would like to keep it a little more controlled than that. I need to go 6 pages deep into my site before I get to the page I want synchronous requests to occur on. Page response time could "desynchronize" the requests. I would rather not play the numbers game and dump a bunch of users on it ...Show All
.NET Development Simple WebMethod() question
Hi, my problem is when i use this WebMethod: <WebMethod(Description:= "Sets the name of the product to register." )> _ Public Sub SetProductName( ByVal value As String ) strProductName = value End Sub to set strProductName to the specified value. the declaration goes in the general part of the class: Protected strProductName As String the problem is that the variable doesn't seem to persist when the value is gotten (using GetProductName() web method). however, a non-null value is returned when strProductName is set in the constructor of the class i.e. a non web-method place. could someone please tell me how t ...Show All
Visual C++ C and C++, how do they differ from each other?
Hi there, One of my friends is NOW asking me to explain the difference between C and C++. Let's assume that we have a code below; #include <stdio.h> int main() { printf("Hello World!"); int i; int j; int k; return 0; } This code can be built as C++. However, it cannot be done so as C. I tried it with Visual C++ 2005 Express Edition. This tool is very famous for its most advanced compiler. Is this true Does the tool support the C99 spec If not, plz let me know the difference between C ...Show All
Windows Forms Backcolor of the textbox of datetimepicker
Hi, I want to change the backcolor of the Datetimepicker's textbox Datetimepicker.MontheBackgroundCOlor Not works for changing color of the textbox of datetimeker control. Plz help urgently Thanks in advance Apparently you cant. From the documentation of the DateTimePicker.BackColor property: Setting the BackColor has no effect on the appearance of the DateTimePicker . To set the background color for the drop-down calendar of the DateTimePicker , see the CalendarMonthBackground property. I have no idea why this is the case, but it is. ...Show All
Smart Device Development Activesync fails to sync after installing vers. 4.0
Hello to all, I have upgrade activesync from version 3.7.1 to 4.0 in order to deploy my application in VS2005 beta2 to the device. After doing that, activesync stops to work: although the AS icon show connection (green) when the PDA is in the cradle, is is not possible to get the main screen of activesync ; and, when trying to explore the device, I get the following error window: " Critical communications services have failed to start . Try resetting the mobile device, and then connect again". To get worse, I have uninstalled AS 4.0 and went back to version 3.7.1. The problem still is there! In fact, I have tried (wi ...Show All
Visual C# DirectX in a Window form with controls!!!
Hi, I need to create a software allowing to check welding spot of a robot. I need to draw real-time charts of current, woltage, ultrsonic... I try to draw using GDI+ in visual studio C#. The matter is it is too slow, even on a good computer!! I would like to know if it is possible to use directX on a widow form, which allows to use the controls (buttons, text...) available. If yes, could you give some hints or a reference Another point is that my chart does not need to be in 3 dimensions and I heared that DirectDraw is not being used anymore. Do I have to use Direct3D Thank you for your response... Eric H ...Show All
Windows Forms Moving user controls on a panel has strange consequences...
Hello and thank you in advance to anyone that reads this who may be able to shed some light on the problem. Now onto the problem: I have a panel (let's call it panelA) on my Windows form, and I am programmatically adding my own user controls (let's call the user control class myUC) at run-time to panelA's Controls collection. I am doing this in the event handler for a button's Click event. Let's call the button btnAdd. So each time btnAdd is clicked, I do the following in its event handler: 1) add a new myUC() to panelA's Controls collection 2) call a helper method to set the Locations of all the myUC's on panelA (the only controls on ...Show All
Visual Basic include DLL widthout make reference....
Hi everyone. I use an external DLL and I want inlay the DLL into my exe program. (I don't want copy the exe program and the dll file, just 1 file!) How can I do that and I can call the dll file in the code Hello! I would recommend embedding the external dll into your assembly and then using reflection to locate and load it. That would allow you to compile it all as one file. There are some fancy linkers on the market that allow you to do this but your scenario is pretty straightforward. I hope this points you in the right direction. Christopher ...Show All
SQL Server Suppress email subscription for blank reports?
Anyone know how to suppress a report server email delivery subscription if the report is blank / contains no records Can't seem to find this option anywhere and currently my subscribers are getting blank reports in their emails.... Obviously I'd like to suppress the email message from ever being sent if the report contains no data. Thanks in advanace!! Use a data driven subscription, this one will sort the empty reports out. HTH, jens Suessmeyer. ...Show All
Windows Forms Vertical Positioning in a RichTextBox
I have an app (written in C#) with a RichTextBox control. Programmatically, I search for and select a chunk of text with the following code: rtbEdit.SelectionStart = rtbEdit.Find("u#10"); rtbEdit.SelectionLength = intUtteranceTextLength; This works fine except that the selected text is at the bottom edge of the box. I would like the selected text to be in the center of the box, or best of all, allow me to determine where the selected text was positioned before the search, then restore the selected text to the same vertical position. Is there any way to detect and control the vertical position of the selected text Tha ...Show All
SQL Server sp_helplogins
I tryning to program (in VB.net) sp_helplogins, assuming this is the correct sp to use to determine who is currently logged onto the database. Ive already programmed, in VB.net, the execution of sp_helpuser and get correct results, but don't seem to be able to program sp_helplogins. Any help would be appreciated. Thanks, /jerry What error are you receiving Does this have to do with the fact that it has multiple result sets If so you might want to go to the VB.net forum (and we could move your post there if you want.) ...Show All
Smart Device Development Error on creating a winCE 5.0 project
Hello At creating a new project for a wince5 project I get the next error: Unable to cast COM object of type 'Microsoft.VisualStudio.DeviceConnectivity.interop.ConManClass' to interface type 'Microsoft.VisualStudio.DeviceConnectivity.interop.ICcServer' This operation failed because the Queryface call on the com component for the interface with IID '{EA537AF4-226-4D26-BBC0-9CF3A82749A5}' failed with HRESULT: 0X800004002 (interface wordt niet ondersteund ( exception from HRESULT: 0X80004002 (E_NOINTERFACE))). I had beta 1 installed and before installation I removed beta 1. I also used the removal_tool_2005_beta1. Does someone has any ideas ...Show All
.NET Development FtpWebRequest method=Create Directory problem with "#" in the directory name.
When i try to create a directory on a server with FTPWEBREQUEST with a # character in the directory name it only creates the directory name up until the # character. For example if i try to create the directory "C# Express" only "C" gets created on the server. I if send "C++ Express" it creates "C++ Express" on the server. I'm going to check into other characters that are valid for a directory name but don't get created with FTPWEBREQUEST. lushdog I'll try that but my directory names are coming in through a dialog box so i'll have to rewrite some code to f ...Show All
SQL Server Is anyone using C# and the SSIS Objects to Develop/Modify Packages?
Anyone out there developing or modifying packages w/ C# and the SSIS objects that I can compare notes with Thanks! Hi, I tried to create SSIS package programatically,I successfully added OLE DB source & destination but got problem in adding lookup transformation. How can I get reference table column output.& how can I set join column property for specific column plz help. ...Show All
Windows Forms Checking for dirty controls
Is there a simple way to check if a control is dirty or has been modified within Visual Basic. I am developing a windows forms based help desk system and I wanted to check if the user has modified the field before prompting to save. I have done quite a bit of research and so far found that the only way of accomplishing this is ...Show All
