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

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

rileyt

Member List

Ed Glas - MSFT
Sarfaraz Soomro
KamranAmin
PietPieter
AndyP
Jim Hart
Mac7
vgurgov
Christopher Lusardi
Kerad
Eze..
GrantV
Chompin
juliolefebvre
Kalpana Rajan
SNOMan
gmpdx
ojv
Jmarte
Jurney
Only Title

rileyt's Q&A profile

  • Visual Studio Running SQL scripts against multiple database backends

    I have to run a series of sql scripts from a specified directory against sql server, oracle, and access. The scripts need to be run in a particular order. I see that there is a Sql.Execute task in the SDC tasks but it looks specific to sql server I checked out the latest source from the svn repository for the community tasks project and the SqlExecute task is also sql specific. If i use either of these (just for sql server for now) they ...Show All

  • Visual Studio Express Editions Using an image file in my application

    Hi, I am developing a windows based application. I need to associate images with the nodes that I am adding to a tree. Currently I am hardcoding the path of the image while adding the image to the node. However because of this, the images are recognised on my machine only. How can I add the images to the nodes so that they will be accessible on other machines also Add an ImageList to your form and add the images to it. Next, set ...Show All

  • Windows Forms Cross-thread operation not valid...

    Hi all, I have one project that run well on Visual Studio 2003. When i using the same code in isual Studio 2005, this is: public void port_OnRead(string Data) { // Note! // To convert from string to byte[] use SerialNET.Port.StringToByteArray() if (Data == null) { // Timeout } else { byte[] myBytes = ConvertStringToByteArray(Data); hexString = BitConverter.ToString(myBytes); ...Show All

  • .NET Development How to get Dictionary<Tkey, TValue> entry information through reflection?

    I have been working on some code that probe through the entries of a generic dictionary Dictionary < TKey , TValue > , using reflection. Unlike working with Hashtable, it's not easy to find out the entries' key and value information. Here is the code depict the problem. Suppose I have a class hold two fields: public class MyClass { Dictionary < string , DateTime > m_dateTimeDictionary; ...Show All

  • Visual Basic Custom Action -EXE how to abort install

    Hi All, I am experimenting with deployment of a VB solution and specifically with a custom action in the deployment project.  The custom action EXE works with SSE 2005 databases and verify special encrypted files required by the solution.  Every thing works fine but I would like to be able to abort and reverse the installation from within the custom action EXE. I guess the question is simple but here it is : Can we abort ...Show All

  • Windows Forms DataGridView Prevent Leaving Cell with ObjectDataSource on Errors

    If I have a DataGridView with an ObjectDataSource and the ObjectDataSource sets an error for a property when a cell is edited (IDataErrorInfo).  How can I keep/place the cell with the error in the edit mode and prevent the user from leaving the erroring cell ...Show All

  • SQL Server Error detaching sql express database using SMO

    I am using SMO to provide a backup/restore feature. The restore code looks like this: try { // Initialise server object. Server server = new Server(serverName); server.ConnectionContext.ConnectionString = connectionString; // Check if database is current attached to sqlexpress. foreach (Database db in server.Databases) { if (String.Compare(db.Name, destinationPath, ...Show All

  • Windows Forms Assertion Failed! Handle has not been created.

    Hey,   I have recently been working on a tutorial application using C#, and between each "slide", I need to fade out the current slide's controls and fade in the next slide's controls. To do this, I created a new control, and added a FadeIn and a FadeOut command. I successfully added the fadeout command, and I escentially mirrored it to make a fadein command by copying the code and switching out the variables. Now, here is the problem tha ...Show All

  • Visual C++ App hogs CPU when mouse pointer moved over it

    My MFC app hogs CPU when the mouse pointer is moved around over it. I'm using task manager to monitor the CPU usage. No othe app seems to do this. If my app has a modal dialog box up then it doesn't happen. The app is built with Visual Studio 2005. My main window is only handling WM_CLOSE, WM_ERASEBKGND, WM_SIZE and WM_SYSCOMMAND (none of which get fired when you just move the mouse pointer around over it). If you get furious with the mouse p ...Show All

  • .NET Development Update SQL don't work

    Hi everybody, I want to update a field in a SQL table but i am unable to do this. Environment : Visual Studio & Visual Basic 2005 SQL Server 2000 Here is part of my code : Imports System Imports System.Data Imports System.Data.SqlClient Public Class Form1 Inherits System.Windows.Forms.Form Public conn As SqlConnection Public CmdS As SqlCommand Public da As SqlDataAdapter Public ds As New DataS ...Show All

  • Visual Studio Visual Studio 2005 and Visual SourceSafe 2005

    Hi all, Current Situation: - 5 Developers - VS 2005 Pro and VSS client plug-in installed on all 5 developer computers. - VSS installed on a development server. Already created a VSS Database with 2 projects/folders (let's call it A and B) Question: How do I use the shared VSS project from VS 2005 Pro Thanks in advance. Lucas Here is a good place to start: http://msdn.microsoft.com/library/default.asp url= ...Show All

  • Windows Forms MDI Child forms in VB.NET

    My MDI Child forms load as expected, but if you switch between a couple of the open forms, they start to cascade. Nowhere in my code does it ask them to do anything (though they are all specified to be maximized. I've tried setting the maximized property both programatically as well as in the designer. Thoughts/suggestions would be greatly appreciated! My child forms are being instantiated dynamically using refl ...Show All

  • Visual Studio How to move shapes within diagram programmatically???

    Hi, is there a possibility to change to position of a shape within the diagram by code. My intenion is, when i move a shape all its connected shaped should be moved as well. Is this possible Any hints or ideas Thanks, Benjamin Benjamin, You can change the position of a shape by setting its AbsoluteBounds property. You will need to do this in a transaction. You can detect when a shape has ...Show All

  • Microsoft ISV Community Center Forums ReadAll reading in first 254 characters only. Help

    I have been using this code for sometime under previous versions of MSWord. However, the ReadAll function does work properly in Word 2002 with VB 6.3. I try to read in all the text in a text file and it will only read in the first 254 characters. Any help will be greatly appreciated. The following is my code: Const ForReading = 1, TristateFalse = 0 Dim fs, f, ts ChangeFileOpenDirectory gTemp_Dir Set fs = CreateObject("Scripting.F ...Show All

  • SQL Server "(rsInternalError) Index was outside the bounds of the array" after upgrade to SRS SP2

    After upgrading to SQL Reporting Services SP2, we now get an error every time we try to run any of our reports. The error is "An unexpected error occurred in Report Processing. (rsInternalError) Index was outside the bounds of the array." Anyone have any suggestions I looked in the Report Server logs and see this error but there is no other information that points me to the problem. Thanks in advance. Can you ...Show All

©2008 Software Development Network

powered by phorum