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

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

SMOwais

Member List

Augusto Ruiz
DineshMurali
picoSam
DamonH
A. Jason
MINA7343
Dan7el
Tycotrix
Steve Thornton
Whizzo
SHARANU
DanUp
Rafael Nami
tawm
AndreBa
AshishM
sjcrichton
Klaus Pruckl
Flyrod
MJAIN
Only Title

SMOwais's Q&A profile

  • .NET Development Deploying a Web Service (VS 2005 Beta 2) Problem

    Hello, I am having the most difficult time trying to deploy a web service created with Visual Studio 2005, Beta 2.  I'm hoping that I'm just missing one small detail and that someone can point it out to me. I have stripped this down to the most basic "Hello World" web service.  In fact, all I did for this was create a new web site, ASP.NET web service and left everything as is.  Here are the steps to reproduce: 1) In Visual Studio 2005 beta 2, create a new web site, ASP.NET web service and leave everything as is.  The HelloWorld web method will work fine. 2) Compile the application/Build the website.  Right clic ...Show All

  • Visual Studio 2008 (Pre-release) Connecting lines in hierarchical diagram

    How can I connect two TextBlocks with straight line or polyline TextBlocks are possitioned using StackPanels and they should be connected to make a tree. Should I use somehow data binding to ActualHeight Should I use Grid to allow layering of content Or am I forced to do layout myself without StackPanels Thanks Vojta Here is very simplified XAML for illustration: <StackPanel xmlns=" http://schemas.microsoft.com/winfx/avalon/2005 ">   <StackPanel Orientation="Horizontal">     <Border >       <TextBlock Text="text"/>     </Border>     < ...Show All

  • Visual Studio Rmt9x.mst not found error VS 2005 setup

    I'm trying to install Visual Studio 2005 on windows vista (december beta). When the installer tries to copy the temporary files to start the installation, I get an error that says that the \vs\Setup\Rmt9x.mst file cannot be copied. I have already installed this copy of Visual Studio in Windows XP and it worked perfectly. I've just switched back to windows xp. I reinstalled Visual Studio 2005 without getting any error. The \vs\Setup\Rmt9x.mst file is in the Vs2005 DVD and nothing seems to be wrong with it. I just don't understand why I can't install Vs2005 on windows vista. ...Show All

  • Windows Forms How to receive mouse hover events from objects in multipe MDI child windows?

    Hi, I am prototyping a map application that must have the ability for the user to have multiple maps open at any given time, all fully visible. My problem is that the user needs to get mouse hover feedbacks from objects in all the windows without clicking in that window first. Is this possible, and what is the best approach to try this out ...Show All

  • Visual Studio Express Editions vb 2005 express + c# 2005 express

    I just installed C# 2005 Express. Is it really necessary to now uninstall Microsoft .NET Framework 2.0 (which was just installed along with C# 2005 Express) before installing VB 2005 Express Thanks They really need to update the read me to give it more detail :), The read me says that you need to remove any previous versions of the framework, they actually mean to remove and Beta or CTP versions of the framework. If you have downloaded and installed any version after the November 2005 date you do not have to remove them. ...Show All

  • Windows Forms A Windows Forms Portal

    We are currently writing a front-end into all of our in-house systems as well as purchased applications. Management is wanting a portal view into each of these systems as well as a means to navigate to each one, etc. I have developed a quick prototype using Windows Forms of what it would look like and it is pretty cool. We find developing Windows Forms applications much quicker than ASP.NET apps and so that is our technology of choice. In our portal the user can add "portlets" (using panels), resize them, move them around, etc. They can choose what portlets appear on their home page. But here is the area I haven't a clue in: O ...Show All

  • SQL Server how to pass a VARIANT data to SQL Server ?

    when passing data to server, many data-types require explicitly set the dwxxxLength field, do VARIANT requires and how can i set it's length as it's variant the data store in server is NUMERIC(4,1) and SMALLDATETIME, for convenience, i convert it to VARIANT in my app. my problem is how to pass it back to the server can i simply use m_dwxxxLength = sizeof(VARIANT) ...Show All

  • Visual Studio Emailing a report

    I have a locally hosted report in an ASP .Net application.  I am rendering this report to a text stream so that I can send it via email, but I think there is probably a better way to do this. What is the best way to programatically email a locally hosted report Emailing reports is not a scenario directly supported by the local processing mode of ReportViewer. Report Server supports this feature directly, so upgrading to Report Server is recommended. ...Show All

  • .NET Development Freezing TCP SocketListener

    I'm writing my first local network TCP/IP Client/Server Windows Forms workstation application functionality code in VB 2005 Express. The internet may be connected by the user, but it is playing no role in the Client/Server part of the application. The objective is to write a simple listener and a simple client not demanding anything but the Listener being able to pick up transactions sent on a specific port and up to six Clients  being able to send transactions on this port. The first part of a transaction text makes it possible to identify this transaction. The Listener should just run, picking up transactions when created ...Show All

  • .NET Development System.Threading.Monitor.Enter (under the hood)

    What do the threads that are locked out do when they are locked out And does the Sleep call help get { if(dsUsers == null) { if(IsdsUsersLocked) System.Threading.Thread.Sleep(50); lock(UsersPadlock) { if(dsUsers == null) { IsdsUsersLocked = true; dsUsers = (3 sec call to the database server accross heavy network traffic); IsdsUsersLocked = false; } } } return dsUsers; } The sleep call appears to help when dealing with 100 or more threads but i don't know what really happends to the thread that are locked out. According to some thread states they say they are [sleepwaitjoin] when the sleep is on and [running] when t ...Show All

  • Visual Studio Team System The location of the file or directory xxx is not trusted.

    When running unit tests i get a return code of Abort and an error message of: Failed to Queue Test Run xxx : Microsoft.VisualStudio.TestTools.TestManagement.ExecutionException: Test Run deployment issue: The location of the file or directory 'W:\assemblies\xxx' is not trusted. I have seen other posts where the answer is using the caspol tool to set the permission to trusted. I tried that and it did not work. I also tried adding the assemblies that the test project references to the GAC and still no luck. After each try I closed then reopenned the VS2005 IDE. When running the caspol -m -list statement it does show those assemblies as being ...Show All

  • Visual C# Finding Object types and Properties at runtime

    I've declared a class Shape with 4 Properties all of type String and named them FirstSide, SecondSide, ThirdSide, and FourthSide. I also have a static helper class with a method: Public static void Populate(Object inputObject) This method can take different classes as arguments at runtime and then set each of the Properties of the underlying class. So I pass: Shape myShape = New Shape; Helper.Populate(myShape); Within the Helper class I want to do: console.writeline(inputObject.Type); //correct inputObject.FirstSide = "Longest"; //how do I do this bit inputObject.SecodnSide = "Shortest"; ...e ...Show All

  • .NET Development BackgroundWorker problems

    Ok.....I have a while loop that executes an increment on a counter for a couple thousand times. I want to be able to show the progress on the counter using a progressbar. Now, I am executing the while loop in the DoWork method of the background worker and updating the progressbar in the ProgressChanged method and when i call RunWorkerAsync then things go wrong. My problem is that the progressBar updates properly and the count increments...however my form's UI is unresponsive...it registers click events on the cancel button but it waits until the backgroundworker completes before it actually does what it has to do. If i introduce a Thread.Sle ...Show All

  • Windows Forms Simple Databinding in WinForm, but not using a DataGridView

    I have a WinForm with some standard controls on the surface.  I'm using a strongly typed DataSet as a return value from a Web Service.  I'm using a BindingSource to "connect" the columns in the DataSet with the controls. Using the above, I can populate the controls just fine.  My problem lies in getting changes back to the database.  Now, I realize that I will be using a Web Service for this, and I know I've got to provide a Web Service that will understand/use a strongly typed dataset.  My confusion/lack of understanding comes just before where the "update" is called.  I cannot seem to figure out where/how the ...Show All

  • Windows Forms Double Click between Datagrid Columns to Expand Column

    How does the datagrid know to expand the width of the column to the length of the content (text) in the column.  I would like to programmatically mimic this behavior.  My app allows the user to select the column that they would like to see and save the names of the columns as a custom view.  I use the column list to hide a ...Show All

©2008 Software Development Network