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

Software Development Network >> Jared Edis's Q&A profile

Jared Edis

Member List

wilsilvermite
nzMatt
Joe M.
BBesser
Chris Mayo - MSFT
rev3nant
Derek Moffett
rsknowles
Kulwant Dhaliwal
David Clavey
James Lyvers
jp01uk
Paul Pleasant
EricVanRoy
ShaunP1989
A Sedorian
doublep03
meher666
carb
Hari Krishna Dara
Only Title

Jared Edis's Q&A profile

  • Windows Forms Getting selected rows from IList binded DataGrid

    I have binded a datagrid to a list of objects. This list implemenst the IList interface.  I would like to create a function that returns a list of these objects that are currently selected in the Datagrid. Something that can be trivialy done in Fx 2.0 as shown here . However, I am using v1.1 for now. I can return the currently selected item like this: public static MyObject Current(DataGrid theGrid)  { CurrencyManager cm = (CurrencyManager)theGrid.BindingContext[theGrid.DataSource, theGrid.DataMember]; MyObject to = null ; //MessageBox.Show(cm.Current.GetType().ToString()); to=(MyObject)cm.Current; retu ...Show All

  • Visual Studio Problem printing report

    I have a crystal report on a ASP.NET web page. In the report file (.rpt) file, i have set the printer setting to 'No printer'. Without that, the report was rendering in a bizarre manner. After i changed the setting, the report on the page is rendered properly but the printing doesnt work. The margin is towards the right most end of the page. What should i do to print the report as i view on the web page I have very little knowledge about crystal report. Am i doing something wrong here Any help would be greatly appreciated. Thank you. Hello, Here are a couple of white papers than can help you: http://support.businessobjects.com/commun ...Show All

  • Windows Forms Treeview Bug

    It is not possible to make a single node bold without the end of the node text being clipped.  The work around this problem, I tried setting all nodes to bold and then setting all but one to regular.  The problem now is that the selection box when selecting a non-bold node is too big! This is quite a major problem as it means . ...Show All

  • Visual C# DLL Files

    You can create an DLL so that you can easy deploy this with more projects. There are no performance penalties, when a DLL is needed it will be loaded and it stays loaded untill the application ends. For your development it can be handy to have multiple projects (DLL's) and for the update process it can be usefull to. The user doesn't have to download a very large .EXE file when you only updated one class for example. You can sepperate them by namespace, just as the .NET Framework does. MyApp.Data < MyApp.Data.dll > MyApp.Data.Gateway MyApp.Data.Gateway.Mssql MyApp.Data.Gateway.Access MyApp.Data.Gateway.Webservice MyApp.Net ...Show All

  • Windows Forms TaskVision XPanderControl: Convert IComparer implementation from VB.NET to C#

    Hello, I got the XPanderControl written in C# except for the IComparer implementation ini XPanderComparer. I'm getting an invalid cast exception with C# code like: public int Compare( object x, object y) { XpanderControl xpander1 = (XpanderControl)x; XpanderControl xpander2 = (XpanderControl)y; int result = 0; if ( xpander1.Top < xpander2.Top ) result = -1; if ( xpander1.Top > xpander2.Top ) result = 1; return result; } This mirrors the VB.NET implementation as close as I can get it. When debugging, I can't get the VB.NET code to break at the Compare method. In C#, the Com ...Show All

  • Visual C# how to implement command line switches with command line arguments

    i want to develop console application which is taking arguments in command line and switches for example myapplication /s /s somefile.txt servername just like that...okay so how can i implements this is some switch is missing or arguments than give me some error.... I didn't understand what you want to do. Is it something like this : static void Main(String[] args) { for each(String str in args) if(str == @"\s") System.Console.WriteLine("Do something"); } ...Show All

  • Visual Studio 2008 (Pre-release) DLINQ vs ADO.NET vNext

    recently there has been some "information drop" about ADO.NET vNext (http://msdn.microsoft.com/data/default.aspx pull=/library/en-us/dnadonet/html/adonetv3.asp and http://msdn.microsoft.com/data/default.aspx pull=/library/en-us/dnadonet/html/nexgenda.asp) in ADO.NET vNext we have sort of object-relational mapping based on enity concept. in general enity view over db gives formal represention of enities and relations. there is a tool that generates c# source files based on enity xml description. as those source files contains partial classes, enities can be extanded to be full-blown object metaphor (and of course db is linq qurable ...Show All

  • Visual Studio Tools for Office DLL VB express 2005 in Excel

    Have searche dthe site extensively but i cannot find information on how to created DLL in VB express 2005 for use in Excel 2000. I basically write Financial Functions in VB and want to use them in Excel. Any help would be appreciated. regards, S If you want to use your financial functions from VBA, you simply have to make your class COM-visible and register a typelib for it. The general steps are described in this article: http://msdn2.microsoft.com/en-us/library/x66s8zcd(en-US,VS.80).aspx If you want to call your functions from Excel cells, in other words, you're building a library of UDFs (user defined ...Show All

  • Smart Device Development CameraCaptureDialog Issues

    I've been having some issues using the CameraCaptureDialog class on an HTC Apache device (rebranded as the UTstarcom 6700): 1. After exiting my application, the device's camera capture screen comes into focus. This happens whether I dispose of the class instance or not, and the Close() method is protected, so I can't call that. Any ideas on getting rid of this lingering capture screen 2. On a seemingly random, intermittent basis, an InvalidOperationException will be thrown from within the ShowDialog() method. Sometimes this will happen after taking 4 or 5 photos, but other times it will work fine for 40 or 50 photos before I give up trying ...Show All

  • Visual Studio Tools for Office VSTO 2005 Beta2 Publish

    When attempting to "Publish ..." a Word document VSTO project I am getting a warning stating:  C:\Program Files\MSBuild\Microsoft.VisualStudio.OfficeTools.targets : warning MSB3110: Assembly 'WordDocTest.dll.manifest' has mismatched identity 'WordDocTest.manifest', expected filename: 'WordDocTest.manifest.manifest'. I can get the Publish to work for WinForms projects in the same fashion so my IIS seems to be setup properly.  I get a 403 Forbidden error when trying to access the webpage even on the localhost. There are two problems you're experiencing here and both were fixed in the latest builds.& ...Show All

  • SQL Server Using data from XML column as basis for LEFT JOIN...

    I have a primary key in table1 in a single column of type int. I have another table "table2" that has an XML column. This XML column has values from the primary key in table1. I would like to return rows from table1 where the primary key in table1 matches data inside the XML column in table2 (the primary key). I have worked with CROSS APPLY, but cannot seem to use it to replace the LEFT OUTER JOIN syntax. I know the following syntax is wrong, but I posted it so you can get a feel for what I'm trying to do. SELECT table1 . ProductID FROM table1 LEFT OUTER JOIN ( CROSS APPLY table2 . ScdHash . nodes ( '//type0' ) ...Show All

  • Windows Forms MDI child controlbox (minimize,maximize,close)

    hi every one....... just a simple question here. i've set my child form to maximize in its parent form. how do i want to make the child control box (minimize, maximize and close button) to be hidden. thank you qinxutongz...... it works but still with a little problem.... on the first load it still display the controlbox.... when i click the minimize ...Show All

  • Visual Basic Distributing a Macro across an organization - how to delete existing .bas files within a .dot file

    VBA question -  I have been maintaining a large macro within my workplace.  It is basically a find and replace macro that let's the users easily create client documents.  It is housed within the Normal.dot template and contains a "MyName" module and "AcctMgr" module.  I have just completed an upgrade and I simply want to replace the "AcctMgr" module with a new one.  Replacing the whole Normal.dot file just causes too much pain for the person to have to go into the module and then re-update their name in the "MyName" code.. I can successfully import the module, but it does not overlay the existing "AcctMgr" module as ...Show All

  • Visual Studio Tools for Office saving a range?

    Hello. Is there a way to save a range and be able to go back to it. I'll explain why. I'm currently selecting text and then hitting a button (homemade) that takes that texts and creates a page break and puts it onto the next page. But after that I want the cursor to come back up to where I started. That is the part I can't figure out. Here is my current code: Private Sub btnExhibit_Click( ByVal Ctrl As CommandBarButton, ByRef CancelDefault As Boolean ) Dim rng As Range = Me .Application.Selection.Range If rng.Start < rng.End Then Dim xebit As New Exhibit If xebit.ShowDialog() = DialogResult.OK T ...Show All

  • .NET Development What .Net Framework to use???

    Hi, I'm building a windows forms application to be downloaded from the Internet and allow the users to connect to a server and exchange information using Sockets. My dilemma is what version of .Net to use. I wanted to use 2.0 but I'm afraid that users will quit the download if they have to get a 20MB .Net install file. I know I can have an application stub and do all the downloading after user runs setup.exe but still it takes about 12min in a DSL to download the framework. At the other hand I don't want to stay back with .Net 1.1, which has a greater penetration in desktops; Visual Studio 2005 and .Net 2.0 have some great features. ...Show All

©2008 Software Development Network