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

Software Development Network >> Shailesh Saini's Q&A profile

Shailesh Saini

Member List

D.P.
blackpenny15
Hawkins
wbartussek
Jose Garcia
Ahmed Ismaiel
Jester
Olin
MichaelD!
everguess
stupidimg
SeanDL
insanepickle
Andrzej Stencel
Intrepid00
DrRickS
Chakra V
KBC
Márlon
korn
Only Title

Shailesh Saini's Q&A profile

  • Visual Basic Launching a Precess from Ram

    Starting a process requires a file path to a disk location.  I would prefer to not create temporary files on client computers for a number of reasons.  Can love or money buy a way to start a process from memory with the data file represented as a byte array or a memorystream.   Thanks, Fred Herring No, a ram disk is out.  If I don't want to write to a clients disk space, I definitely don't want to steal his/her memory.  I would like to leave the thread open for other comments.  It seems like such an obvious capability for launching a process.  I know of two third party component makers (Farpoint ...Show All

  • Visual Studio Team System Project creation fails

    Hi, I'm getting the following error when creating a new project in TFS: Event Description: Task "Currituck.WITs" failed Exception Type: System.Web.Services.Protocols.SoapException Exception Message: Server was unable to process request. ---> Violation of UNIQUE KEY constraint 'UQ_ADObjects__DomainName_SamAccountName'. Cannot insert duplicate key in object 'dbo.ADObjects'. SoapException Detail: <soap:Detail xmlns:soap="http://www.w3.org/2003/05/soap-envelope" /> SoapException Full Info: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Violation of UNIQUE KEY constraint 'UQ_ADObjects__DomainN ...Show All

  • Visual Studio Tools for Office Unable to uninstall

    I'd like to cry T_T. One function it was asked for my project was to make an Installer/Uninstaller that could uninstall the previuos version and install the new one...and I found out that modifying the Version in the setup was the solution, until I passed to VSTO... This is the second time it happens to me: I've already deployed a version...I made a new version, modified the Version...I changed the Product code (THAT must be error...should I have kept it But it kept telling me it's better to change it)...it did get installed... But then I wanted to do another modifications...tried to install...what Again ! ! It cannot get uinstalled ! ! So, ...Show All

  • SQL Server An error occurred during the execution of the SQL file 'InstallCommon.sql'.

    Hi, I'm using Microsoft Visual Studio 2005 Beta 2. I have created Personal Site using Project Template. 1st it started giving me error related to " Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance. The connection will be closed. " Then i made changes in web.config under configuration "User Instance=True" to " User Instance=False ". Now it started giving me error as follows: An error occurred during the execution of the SQL file 'InstallCommon.sql'. The SQL error number is 262 and the SqlException message is: CREATE DATABASE permission denied in database 'master'. Creating the C__ ...Show All

  • Windows Forms Can't choose label size

    Can't choose label size On some forms I was able to draw the size of a label as I wanted.  For example, typically in autoincrementing ID fields I'd draw it to the size of textboxes. On the Authors form the IDLabel's size is 121, 23 Lately, however the width of a label is sufficient to show the text, and the height is 13. Is there any way I can draw the labels to the size I choose dennist David, Thank you very much.  That was an easy one.  I don't ever remember changing that property in the past, however. dennist ...Show All

  • Visual J# Problem with first program.

    Im working on J# Express. Made first program. There is a button, the text label and the text box. When im writing in text box, label shows "writing", when i press the button, text box i cleared and the label shows Click x (where x is how many times i pushed the button). All working, but after cliking, text box is clear, x is increasing value, but the label still shows "writing". After second clicking it changes. The button code: private void button1_Click( Object sender, System.EventArgs e) { label1.set_Text( "Click " + x); x++; textBox1.set_Text( "" ); } As im very new to J# and Java, ...Show All

  • Visual Studio Tools for Office Long Time to Open an Xml WordML

    I've got a WordML document that is very big (60.000 Kb: about 600 pages). If i open this document, Word take a very long time to open it. If i save this open document in Word format (".DOC") and re-open it, the opening is faster. Do you know why Is it possible to set some property o Word Application to reduce this time thaks in advace! Paolo Hi Paolo, This question is not related to VSTO. You might trying posting your question in a Word newsgroup. Here's a link to word.application.errors http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.word.application.er ...Show All

  • .NET Development Table name alias

    I wrote this Sql Select command: SELECT * FROM tblUser as 'MyNewTableName' But this code: myDataTable.TableName gives me only : "Table" Why is that I assume it's because the table alias is kinda "local" to the query. For example, if you run another query using that alias (unless it's explicitly re-defined in the 2nd query), even if it's in the same batch, you'll get an error: Server: Msg 107, Level 16, State 2, Line 1 The column prefix 's' does not match with a table name or alias name used in the query. use Northwind go select * from Suppliers as s where s.S ...Show All

  • .NET Development VS 2003 project template

    Hello Few day ago I discovered a wonderfull word of creating my own project templates in VS and now I see that VS has a lot more additional functionality then it appear on the beggining. Anyway, I've tried to created my first project template and faild in one point: I have problem with adding additional DLL librarys by the script which add files to new created projects. Of course I was digging thru net but so far didn't found anythink. If any one could help me with that I'll really appreciate it. In few simple words I show where I'm am. 1. I have created complete project template which after choising my project from the project wizard l ...Show All

  • Windows Forms Control Overlap (weird!)

    Hi, (I can upload a file to demonstrate this if necessary.) I'm having a pretty simple problem, but very odd. I have a label describing the contents of a listbox. (This label is at 12,9 with a width and height of 57,13) Now, when I have a listbox that starts at 15,25, you should see no overlap. (9+13=22, which is three pixels away from the listbox.) These were created the default way in visual studio (dragging, so they definitely align to the grid.) Now here's the odd part. In the designer, everything looks fine. However, when I start the application, the label overlaps the listbox. Any ideas I haven't done anything differen ...Show All

  • Visual Studio Team System Visio for Enterprise Architects 2005 does not like Bold?

    I have an issue with Visio for Enterprise Architects 2005 where it takes all of my non-null fields and changes them to non-bold text and only bolds the first primary key. Anyone have any ideas to fix this This behavior is intentional as it allows users to see which columns are required and which can be null just by looking at the diagram, without referring to the Database Properties tool window. I haven't worked on this code but I don't believe there is a way to disable the functionality. Ian Software Development Engineer Visual Studio Team Edition for Software Architects ...Show All

  • Visual Studio Team System Urgent please help

    My client is using Team Foundation for about 8 months (when beta 2 was released), but they only used one source control branch and only one workspace per developer. He would like to create a process where they can have different branches, for example having a main development branch, a test branch, a version 1.0 branch, etc. Therefore he would like have a workshop to cover the following areas: How to set permissions for branch How to identify the branch when creating new work items How to use different workspaces pointing to different branches How to create customized check-in pol ...Show All

  • Windows Forms FTP/Wininet issue...Help!

    I'm using the Wininet.dll to download images from a ftp server.  Everything seems to be working fine until my app just hangs after a while when using the FtpGetFile method.  Does anyone know of any way to set a timeout property   I've looked everywhere and haven't found anything to help me out.   Is there another way to FTP files that&nb ...Show All

  • .NET Development Aborting a shutdown using a Windows Service

    Hi, I'm trying to write a Windows Service that is capable of detecting when the PC is being shut down, and then cancelling the shutdown. I've managed to get this to work fine in a windows application, using SystemEvents.SessionEnding to detect the shutdown, and then using the "cancel" property to cancel it, but for whatever reason I can't get this to work in my service. I hook it up in the usual way (AddHandler SystemEvents.SessionEnding, AddressOf MySubName), but the code I put in the associated subroutine never gets run. I can only assume I'm setting the event handler up wrong for a service, or adding it in the wrong pla ...Show All

  • SQL Server Hotfix for "Cannot apply value null to property Login" error available?

    It appears that Microsoft has fixed the "Cannot apply value null to property Login" bug in SSIS, according to this web page: Click here for bug details Question: is there a hotfix available for download ...Show All

©2008 Software Development Network