Software Development Network Logo
  • VS Team System
  • Visual J#
  • Microsoft ISV
  • Windows Forms
  • .NET Development
  • Visual Studio
  • VS Express Editions
  • SQL Server
  • Visual C#
  • Visual Basic
  • Visual FoxPro
  • Windows Live
  • Windows Vista
  • Architecture
  • Visual C++

Software Development Network >> roozbeh's Q&A profile

roozbeh

Member List

DKR2006
DaveEngineer
enchiw
choon
MikaelN
A Lundin
Jose Fco Castano
NagySaNa
Abhay Lakkad
Patrick Baker -MSFT-
MilwaukeeCharlie
Patrickk
Pradnya - MSFT
Andy Wilkinson
Yunusov Bulat
Jim Wooley
Francisco Fagas
Pat Carden
Mark Seddon
nusstu
Only Title

roozbeh's Q&A profile

  • Visual Studio Team System Anyone familiar with the web test in team systems?

    Joined the Vancovuer Launch Event 2005, the guy demoed web test, to create a user then use validator to check the result is correct or not. How about this scenario In the web test demo of team system, how can we get the failed information automatically if the user was created twice If we test this manually, obviously we human can read the error message "This account has been exist!" and if it's not exist, "Your account is created successfully". The best way to accomplish this is to add one of the built in validation rules to the request.  You could add the Validate Text rule which searches for text in the response and if it fi ...Show All

  • Visual Basic How connect to parallel port using VB.net

    Hi, i'm new to pragramming, i want know how to connect to parallel port using VB.net. Thanks. http://209.171.52.99/csharp/csppleds.asp This article explains doing what you want in C#. The core thing is to get inpout.dll, you can then copy the rest in VB.NET. I used this article for info when I wrote a C# jukebox program, which uses the parallel port for custom input devices. It worked great. ...Show All

  • Windows Forms Date Time Picker

    Hi, Anyone know how to format the Date Time Picker in C# to shows MONTHS only Hi, Sorry, please allow me to ask more, can you guide me more details on how to traverse the list view items and create the loop Thanks. ...Show All

  • Visual Studio 2008 (Pre-release) Transacted MSMQ Binding Sample in IIS

    I am trying to learn how to use message queuing in WCF and I have been looking at the transacted msmq binding sample in the SDK. This example uses a self hosted service and I am wanting to learn how to do this hosted in IIS. If anybody has an example of this hosted in IIS it would be greatly appreciated! I am a little confused on how the service knows what queue to read for both self-hosted and IIS hosting Also, I am not understanding the use of the base address in the config file Thanks, Russell M. Ok, its a monday and I am a goofball! I found the answer, net.msmq is only supported in the ...Show All

  • Visual Studio 2008 (Pre-release) CRUD like operations in LINQ

    Linq is wonderful for my integer programming application. It has eliminated the need for a backend DB, reduced tremendously the amount of code, and the execution time has been cut in half.   I am wondering if there is a simpler way of doing CRUD like operations in Linq, especially Updates and Deletes on a list (Shifts in this case) like we do in SQL   Delete From Shifts Where ShiftID IN 1,2,3 Update Shifts Set NumPeople=10 Where ShiftD=21   I am accomplishing this currently by iterating through the list.   Anders Hejlsberg wrote: List<T> (the new generic list ...Show All

  • Visual Basic Visual Basic.Net toolbars

    The image editor toolbar is not active. I would like to draw lines and shapes on a form. What should I do Tom ...Show All

  • Visual Basic COM object deployment from VB.NET

    Hi I would like to deploy a  User control from VB.NET in the form of an Active X control, however I could not find some example or describtion how to do it. I dont understand the C# or VC syntax. Please give me some hints in Vb.NET. Thank you Levi Hi, This is an unsupported scenarios for Windows Form User Control. But you can try this blog with several other links to this scenario. http://blogs.msdn.com/johnrdurant/archive/2005/08/10/net_to_activex.aspx Best regards, ...Show All

  • Windows Forms Combobox Usage VS2003 -> VS2005

    I need to populate a C# Combobox with potentially several thousand items. I know this is not recommended but this is after horiz data splitting so it's the best I can do. In VS2003, I tried binding to a dataset but this was way too slow so I started loading the Itemlist from a datareader and it worked great. No more than 2 seconds to load several thousand items and memory usage stayed well within reasonable limits. I tried the same code compiled under VS2005 hoping to use Autocomplete and it worked well for very small lists but was many times slower for the normal lists I use. Several minutes compared to a couple of seconds. Additionally, th ...Show All

  • Smart Device Development Dynamically display controls onto window with Scrolling Effects SmartPhone5.0

        Hi ,     I Placed a ListBox control on a window dervied from CScrollView . I am unable to caputure the click on ListBox . i e selection of an item in the listbox.   I need to scroll the listbox to left or right to the wnd on clicking of the right and left arrow keys. Pls send me code for this in VC++ 2005  using MFC.  Regards Kactic Hi, I placed the listbox in a wizard generated SDI with scrollview, and was able to received the LBS_SELCHANGE message in the scrollview by specifying  LBS_NOTIFY style in listbox creation process, i th ...Show All

  • Visual Studio Team System Code Coverage not worknig properly during a team build

    Hello I have a problem with the team builds. In my proj file I have specified to build my solution, to run tests without specifying any test list. All my tests run correctly. I have a web site referencing four other DLLs. As I want to enable code coverage for my DLLs, I have edited the testrunconfig file to enable code coverage. So I select my four DLLs (in release mode) in the CodeCoverage tab of the editor. When I launch my builds, I see results only for two DLLs out of the 4. (Note that one of the 4 DLLs is empty so I can understant not to receive any result for it, but one missing has some code in it and some tests using it ...Show All

  • Visual Studio Team System Team Build Problem

    I have a solution that has three projects in it. Two Class libraries and one windows application. Everything builds find on my local machine. When I first tried to do a team build it gave me a ton of assembly reference errors (mostly from infragistics references) so I rebuilt my solution and included the "bin" directory for all 3 projects in source control. Now when it builds those errors are gone but in my Windows App i get these errors: Solution: SPMS-SilverAnvil.sln, Project: SPMSWin.csproj, Compilation errors and warnings ActionForms\frmActionEdit.cs(8,7): error CS0246: The type or namespace name 'SilverAnvil' could not be found (are ...Show All

  • Visual Basic How do you Encrypt and Decrypt a file?

    Sample files to Encrypt and Decrypt: 1.) .exe    - possible 2.) .dll      - possible 3.) .rpt      - possible 4.) .txt      - possible By the way, can u also provide a sample code, on how to do this Thanks for your help. where do i look for it search where any link ...Show All

  • SQL Server Importing from Oracle 10g

    I am trying to import a variety of data from an Oracle 10g database. When I import the data using the OLE DB it takes a long time (100K records an hour). How can I improve the throughput of my import Is there a better driver I could be using Any input will be appreciated. db55 Please create a ADO.NET Connection manager and use Data Reader Source..there will be a sure Improvement, over oledb. Is the Data transferred over the Congested network. This might also reduce the performance. Please let me know the increase of the performnce, once you use Ado.net Connection manager. ...Show All

  • Visual Studio Express Editions Problem with reading (*.doc, *.rtf and *.txt) Files

    Hello, I have a problem with reading files the problem is : I`m using IO history to read *.txt files in textbox but it cannot read some languages like Arabic I`m using this code to read StreamReader files = new StreamReader (openFileDialog1.FileName); tmpbox.Text = files.ReadToEnd(); files.Close(); it reads all files correctly but not Arabic files ================================= Second part with RichTextBox: I`m reading files with this code RTBox1.LoadFile(openFileDialog1.FileName); this will read only the files that I`m creating by RTBox1.SaveFile(openFileDialog1.FileName); or that *.doc files ...Show All

  • SQL Server How to Backup remote Database

    hi all, I have a remote(online) database of my web portal. I want to take backup of that remote(online) database. This is SQL Server 2000 database. Please tell me how I take backup of my database Thanks in advance. Not sure if it is what you asked for. You can use any client tool, such as osql, sqlcmd, SQL Server Management Studio, or Enterprise Manager to connect to that remote SQL Server 2000, then backup your database.  Ex. Osql -Uxx -Pxx -S<Remote Server> -Q"backup database XXX to ..." -Yunjing  ...Show All

©2008 Software Development Network