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

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

aryasheel

Member List

Chris Donnelly
Peter of Mountsorrel
steve64
mmaas
Johan Ahlen
Serzh
tomer70
vjFlexx
tytus
colin c
meFox
Dpowers
tps100
KoMas
808
rallydriver
Sindy
Aadi1
MetaMeta
DSull
Only Title

aryasheel's Q&A profile

  • Windows Forms Obsolete properties from forms designer

    Just installed Beta 2 of VB Express, having been using beta 1. Now getting warning messages about obsolete property AutoScaleBaseSize. But this is in the Designer part of the VB - which (in theory) I shouldn't mess about with. How can I get it to put in the correct property (which the error message says is AutoScaleDimensions) The code inserted is: Me .AutoScaleBaseSize = New System.Drawing.Size(5, 13) Is source control available in VB Express I can't find it in the help system. Peter ...Show All

  • Windows Forms designer can't load form. Where is 'more information'?

    after going from beta2 to rc1, the designer all of a sudden cannot load my forms anymore. instead, i get the infamous window with the red top that says some errors may go away building the project, while other need code changes. needles to say: the file compiles fine, the form could be opened with the beta2 and vs2003 designers and obviously doing a rebuild doesn't help at all. now what the additional error message says; Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. ok - great. now how do i retrieve the loader exception property. how can i fix this where can i find more info ...Show All

  • .NET Development How can I know that a driver is unavailable?

    When I launch the sentence below string[] a1=Directory.GetDirectories("A:\") I get a error because I don't put a floppy disk in driver A: How can I know that a driver is unavailable Do I need to write the sentences below Is there a better way try { string[] a1=Directory.GetDirectories("A:\") } catch { MessageBox.Show("A driver is unavailable!"); } Hello CUE WEI, I recommend catching the most limited set of exceptions possible (e.g. only DirectoryNotFoundException ). There are a number of exceptions that can be thrown in code, and narrowing your error paths and recovery logic will be better for your code maintenance. On a related not ...Show All

  • SQL Server Failed to access IIS metabase???

    Please help! All of sudden, I cannot connect to the reporting services through MS SQL Server management studio. error message is "Failed to access IIS metabase". As I checked the system: 1. reporting services is working properly (status is "started") 2. cannot access http://localhost/ReportServer$SQL2005  , the same error 3. Run:"C:\>cscript metaacl.vbs IIS://localhost/w3svc", it shows: Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. XP\ASPNET     Access: R   E BUILTIN\Administrators     Access: RWSUED Ever ...Show All

  • Windows Forms Application Specific File Extentsions

    A lot of applications I use create file extensions that are application specific.  That is, other programs cannot access the file.  How would I go about creating my own application specific file extensions. Thanks in advance. B Rad Hey, thanks a lot for the help.  That was exactly what I was looking for. ...Show All

  • Windows Forms How to sort a simple bound column in a DataGridView?

    Hi folks. i have a new DataGridView in a simple windows form. I've set the DataSource property to my ArrayList or List<> instance. The content of the collection is a struct i made which has some exposed public strings or longs. The data does show up correctly in the DGV btw. When ever i try to click on the column headers nothing happens! i can move the columns left or right, but i just can't sort the columns. Secondly, there is not 'direction' glyph either. Is there a special way to sort a DGV column each columntype are all DataGridViewTextBoxColumn types. SortMode for each column type is set to 'automatic'. Please help :) ...Show All

  • Windows Forms How to Dock a control in a custom ContainerControl without hiding its custom draw caption at the top?

    Hi all! I developed a custom control that acts as a Control Container (such as a Panel, Groupbox...). This control is simply draw a nice caption at the top using GDI+. I wonder how can I Dock controls to it (to Top, Bottom etc...), without hiding the caption  Or is there any way to set the custom caption as a non-client area Here is my code  ...Show All

  • .NET Development remoting?..networking? am lost

    hi all, after spending some great deal of time on the internet searching...i surrender. i am an ASP.NET developer who has moved recently to work on WinForms application. i have to create this application which is composed of client/server sides. client and server share some datatables between. which need to be synchronized from time to time. and since am illitrate in anything of networking and remoting !! i ask help....where should i start...do i need remoting for this application or only networking how to move records and do synchroniztion between each !! damn i started to miss asp.net already! :) any help is highly highly appreciated ...Show All

  • Visual Basic Microsoft Office Document Image

    I am trying to perform some pretty simple operations with MODI control.  Everything is pretty straightforward with the control but I am running into issues letting go of the reference to the control.  The basic concept of the application is that the user opens up a .tif file and views it with the control.  Once they get the info they need, they delete the .tif file.  This is the problem, I am using the file system object to delete the control and I get an "Access Denied" error.  Below is an extremely scaled down version of my code but it shows the error that I am getting. cd is the OpenFileDialog control iv is the&nb ...Show All

  • Visual Studio Insert code

    Hi, I am writing an addin that will generate some code on the fly and insert it into the active document, but I'm having trouble inserting the code. I got it to work by copying the code to the clipboard then using applicationObject.ExecuteCommand("Edit.Paste",  string .Empty);    but there must be a better way to do it. Any Ideas Thanks, Martin. Thanks for the link, there are some nice samples in there. I still can't figure out how to use application configuration files with add-ins though, I added the app.config file as usual in Visual Studio and access it as usual using Configura ...Show All

  • Visual Studio Express Editions Checking if application is already running

    I have added a context menu item to my application. The problem is that, if it is already running and I right click a file, another instance of the program opens up. How can I check if the program is already running, and if it is, how can I pass control to the existing instance Thanks in advance. Thanks to everybody who replied. I now have a lot to read, but I'm sure I will find answers there/ ...Show All

  • Visual Studio Express Editions Returning icon handle to VCSharp

    I have written a DLL using VC++ Express, in it I export the following function: [ DllImport ( "apihooks.dll" , CharSet = CharSet .Auto, CallingConvention = CallingConvention .StdCall)] public static extern IntPtr GetWindowIcon( IntPtr hwnd, IntPtr hicon); ...Show All

  • Visual Studio Tools for Office Extracting text and checkbox from a table - help with checkbox needed C# or even VB

    I have sucessfully extracted text from a table and cell. But now I have a little problem trying to extract the checked state of a box within a cell. The windows form opens the word document mydocument.doc. Then pressing a button on the form will get the text requied from the cells, and hopefully the checkbox. in a nutshell something like this... public partial class frmMaster : Form { Object oMissing = System.Reflection.Missing.Value; Object oFileName = @"C:\MYDOC.DOC"; Word._Application oWord; Word.Document oDocument; Word.Table oTable; Word.CheckBox oCheckBox; public frmMaster() { Initia ...Show All

  • SQL Server Can not Subscribe a Report

    Hi, I just create a report using Whidbey and deploy it to the Project reportserver. And I can access that report correctly, but I can not subscribe that report, what's going on Additional, I create that report using Shared Data Source (connected to Analysis Service of my TFS DT) which I created in Whidbey. The exception info is below: The current action cannot be completed because the user data source credentials that are required to execute this report are not stored in the report server database. (rsInvalidDataSourceCredentialSetting) Thanks. The report is set up for Integrated Security. This doesn't wor ...Show All

  • Visual Studio Express Editions Hi where i can download Express online help documentation(eg SQL Server, Web dev, VB etc)

    Hi where i can download Express online help documentation (eg SQL Server, Web dev, VB etc) One of the quickest ways is to press "F1", this will bring up the document explorer, from here you can search and research what you want. An Added function here is that you can also configure it through the options to read your local help file first then connect online, you can also add help favorites to the explorer. ...Show All

©2008 Software Development Network