Software Development Network Logo
  • VS Team System
  • SQL Server
  • Visual Studio
  • Visual FoxPro
  • Game Technologies
  • Microsoft ISV
  • IE Development
  • Windows Forms
  • Visual Basic
  • .NET Development
  • Visual C#
  • SharePoint Products
  • Visual C++
  • Windows Vista
  • Audio and Video

Software Development Network >> Thomas Greenleaf's Q&A profile

Thomas Greenleaf

Member List

Samer Selo
Scionwest
jimgong
DSA_Dietmar
Dharmendra Singh Baghel
Gaurav G
mertkan65
Smartpatrol
JackHsueh
Matt75
Grimal
Anwarul Haq
alex121
hoque
enric vives
Tranquillo
Bandile
Manojit Paul
BrentHecht
lucerias
Only Title

Thomas Greenleaf's Q&A profile

  • Windows Forms Preserve offset of vertical scrollbar

    Hi (This is about the DataGridView control). I have a DataSet with two different DataTable s. The tables are: "Groups", groupID (PK), name. "Users", userID (PK), groupID (FK), fullname, age. I then create a DataTable , T , having the merged information of the two tables above. For instance: "George", 22, "Administrator" (<fullname>, <age>, <Groups.name>) instead of "George", 22, 1 (<fullname>, <age>, <groupID>) Now I set T as the DataSource of the DataGridView . The scenario: 1. User scrolls down the vertical scrollbar. 2. User creates a row (by adding information to the User table). 3. The DataSource is then updated. ( T is recreated) How can I pr ...Show All

  • Smart Device Development question about smart device application

    Hello! I'm developing a smart device application (written with Visual Basic Language) for a device who has Win Ce.NET 4.2 Operating System. This application: 1. runs well on the emulator of Visual Studio 2003 2. take data from a database installed on sql Server 2000 (infact I frequently use function of System.Data.SqlClient namespace like connect , command ,etc ) when I connect the device to my pc and I try to launch the debug , this fails. I have copied the .exe on device and when I launch it it gives me the following message : "Could not find resource assembly" Note : I have yet installed on device .Net Compact Framework. Please help me because On this application I'm doing my degree thesis !!! I'm so ...Show All

  • Windows Live Developer Forums Tile overlays in V4 3D using GetTilePath

    Is anyone successfully overlaying tiles using the dynamic "GetTilePath" property on the VETileSourceSpecification in V4 3D ...our V3 2D application when switched over to V4 3D no longer works :-( - it does work in V4 2D. Yes, you've hit a known bug. Using % for the parameters was a poor choice because it's common to see them in URI's. The workaround is to not have URL's with HTML encoded characters in them (like %20 or %2c). The zoom level and tile LOD listed in the manifest are the same. There is no schedule for 2D supporting the full set of parameters yet. ...Show All

  • Visual Studio Vista Compatability problem with VSIP package

    I implemented VSIP package which works under VS2003/2005 with WinXP/W2K. Inside our package, there is a functionality which writes different messages to the log file. After migrating to Vista, that functionality did not work because of "Access to the path 'XXXX' is denied.". After reviewing some Vista Compatability articles, I found that we need requestedExecutionLevel = highestAvailable which should be in app manifest. But our app is "devenv" and we cannot change its manifest. Is there a solution to run VSIP package with highestAvailable execution level Yes, you are right, when the devenv.exe run with Administrator credentials everything works well. But we cannot suggest users t ...Show All

  • Windows Forms Register Eventhander with MethodInfo

    hallo, i want to implement some dynamic ObserverEvent Pattern. For this reason i have some Methods in a OForm attributet with a Custom "ObserverAttribute". During loading of this OForm i reflect over the methods which are attributet with this "ObserverAttribute" and rember the "MehtodInfo" of the attributet Method. I have an "EventManager" (EM). In this EM i want to initiate an EventHander dynamically... like ----------------------------------------------------------------------- public void RegisterObserver(MethodInfo mi, EventMode eventMode) { switch (eventMode) { case EventMode.FilterChanged: FilterChanged += new FilterChangedEventHandler("Here i want to get ...Show All

  • Visual Studio How to add a reference node in a custom project

    In our VSTS SKU (VSTS for Database professionals), we have sql server projects which contain sql code and generate .sql file on being built. At present there is no reference node appearing inside the project node. Wonder what exactly is needed to have it there. I expect to add other database projects references to a database project. Thanks Sachin Kumar (MSFT VSTS-Data) Hi Sachin Kumar, Take a look to open source project WiX http://wix.sourceforge.net/ . It includes Votive (Visual Studio package - WiX project integration). Votive uses custom references. So you can find the sample of custom references implementation. Good luck! ...Show All

  • .NET Development accessing AppDomains form parent process only

    Hello! I'm building plug-in framework consisting of main application domain and some AppDomains, which host plug-ins. I need the plugins' AppDomains to be accessible only from my application process, not network, nor even other processes on the same machine. How to achieve this Could you provide me some guidelines Thanks in advance, ukasz This looks like a reasonable introduction for the topic: http://www.ddj.com/184405853 ...Show All

  • Visual Basic Data Searching/Copying

    Hi, I am currently doing a project that entails me searching directories for particular data, which will then return information to the user, the user selects the data needed then copies it to a certain directory. For example just say I wanted the info: A12345, I want a search to be performed, after clicking the search button, but the code tailored to all possibilities of files in these folders, i.e. B45678 and so on. Two directories have to be searched for this information. After that I want the file information for the specific file to be displayed on screen to the user, who can then select the information they need. Then finally I want that file information copied from one of the previous directories th ...Show All

  • .NET Development Object must implement IConvertible

    I am using remoting to pass data from a server to a client (or clients). It has worked really well until we had some DNS problems yesterday. Now I am getting an InvalidCastException with the message "Object must implement IConvertible". The strange thing is that I'm only getting this message on one machine -- I haven't tested it on every machine but out of 5 machines, it's only happening on one. The error occurs when the server tries to call a client method, one of the parameters is a class which has the [Serializable] attribute set. The really strange thing is that it says it can't convert [ClassName] to [ClassName] where ClassName is the name of my class. Both machines (the machine hosting the client and the machine hosti ...Show All

  • Visual Studio 2008 (Pre-release) Image hyperlink and template application

    I am using an image hyperlink in an xbap using a controltemplate. < ControlTemplate TargetType = " ContentControl " x:Key = " Hyperlink " > < TextBlock Text = "" TextWrapping = " Wrap " > < Hyperlink x:Name = " hp " TextDecorations = "" TargetName = " _parent " > < Image x:Name = " im " Source = " images/xxx.gif " > </ Image > </ Hyperlink > </ TextBlock > </ ControlTemplate > <ContentControl x:Name="hl" Width="Auto" Height="40" Template="{StaticResource Hyperlink}" > I need to create the NavigateUri pr ...Show All

  • SQL Server deploying SSIS

    Hi We are storing our packages in File System. Process: BIDS->Right Click on soln file ->properties->Deployment Utility->DeploymentOutputPath--Bin\Deployment So it creates a folder with the project name and all the packages in C:\Program Files\Microsoft SQL Server\90\DTS\Packages\Project While executing the package on Server what should be thesource of the Package I mean should it refer to the solution file->..dtsx or Bin\Deployment->packages or C:\Program Files\Microsoft SQL Server\90\DTS\Packages\Project Paarul wrote: Hi We are storing our packages in File System. Process: BIDS->Right Click on soln file ->properties->Deployment Uti ...Show All

  • SQL Server How to check out cluster state remotely?

    Hi everyone, Primary platform on client is XP Pro sp2 and on server Win2003 Ad.Server 64-bit We're looking for any snippet or link related with Clustering instantiating. We need to call our remote cluster from an ASP 3.0 page and check out if one of our Active Resource is up (in this case is a .net service) . We suppose that it should be done for each node. It's an Active-Passive cluster. Thanks for your time, ...Show All

  • Visual Studio Express Editions MicrosoftR Visual C#R 2005 Express Edition: Build a Program Now!

    When I access the Registration Benefits Portal, I see many products I can download, but MicrosoftR Visual C#R 2005 Express Edition: Build a Program Now! is not on the list. How do I download it Thanks, Barry hi, Register you C# IDE (in help menu ) and follow the steps, after you finish registering wait a day or 2 and the book will be available for you in the page that you talk about hope this helps ...Show All

  • SQL Server Poor performance querying view from sproc

    We are using SQL SERVER 2005. We have been experiencing horrible performance running select queries from sprocs against views that do outer joins, despite having optimized all of the indexes. Our solution in these cases (and arguably not the best) has been to first select the views into a temp table and then query the temp table for the desired result set. This has greatly improved the speed of which our sprocs run, but we are looking for a better solution. Has anybody else experienced this problem Thanks in advance. Hi Eric. Would it be possible for you to post some sample code that includes some of the view definitions, table structures, and sample data scripts It's quite tough to try and g ...Show All

  • Gadgets DOM and select object

    hi everybody, I have a lot of difficulties with the select option, to write all the option features in the drop-down list. In standart html, it works well : http://albidochon.free.fr/jeu3/test.html but can't resolve the dom code in js, it shows the select drop-down list, but it is empty. i found a lot of code to do this, but not in the dom way, and nothing in the msdn documentation. the problem seems to be in the js function : function tri(){ for (i=0; i< jeu(0).options.length; i++) fill and write the options fields......i miss this } I don't want to do iframe gadget or js innerhtml, so, so.... The js and css files are here http://albidochon.free.fr/jeu3/gadget.xml thank you for the he ...Show All

©2008 Software Development Network