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

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

TWReynol

Member List

Joe Buys
tyler000
CyberEeyor
Jessica Alba
luca82
CodeScribler
Rich A
Prabagarane
QuantumMischief
Uggywuggy
Kyle_W
James Mayer
cisco0407
mugile
MarcoB
ParthP
VbArch
chris441962
GoBlue!
xlordt
Only Title

TWReynol's Q&A profile

  • SQL Server Analysis Services Step by Step - connection problem

    On page 56 of SQL Server 2005 Analysis Services Step by Step, I tried to DEPLOY the project, and it failed with this msg: Error 1 The project could not be deployed to the 'localhost' server because of the following connectivity problems : A connection cannot be made. Ensure that the server is running. To verify or update the name of the target server, right-click on the project in Solution Explorer, select Project Properties, click on the Deployment tab, and then enter the name of the server. I downloaded the trial version from MS and installed in om my laptop from where im running my tutorial - what could be wrong (Im a newbie to SQL so I have no clue) Edward Melomed wrote: You need to make sure Analysis Serve ...Show All

  • Windows Forms Getting a handle to a control on a form

    Hi I'm new to the C# development area. I've got different forms with different controls on it, the forms are either mdi parent or child forms. What i would like to know is the following. 1)How do i get a handle to a control on a form. The control was added earlier in another class, now in this class how do i get a handle/control of it. 2)To do step 1 do you need to inherit from the class that created the handle on the form 3) Sample would be great. Thanks in advance :) Hi Rizwan Excellent, this works great. This is a great example showing how you can do it with multiple forms. I will find this very handy to use. You have solved my problem already.    What i would like to know in addition to the abo ...Show All

  • Visual Studio Express Editions Hover popup?

    I'm wondering is it possible to create a thing where you have say a picture box and when someone hovers their mouse cursor over it a small window pops up and displays some information. Im not talking about a message box but rather like a proper looking kinda window. See my reply at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1192670&SiteID=1 It may be what you are looking for. ...Show All

  • Visual Studio Team System WorkItemFormControl hanging on .Item assignment

    Hello All, I am seeing the WorkItemFormControl form hanging while I initialize it with the following code: m_wifc = new WorkItemFormControl (); m_wifc.Item = paramWI; m_wifc.Dock = DockStyle .Fill; m_wifc.Name = "WIFC" ; When the .Item property is assigned, the control seems to hang and never return. Here is the callstack from the debugger: [Managed to Native Transition] Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.dll!<Module>.CLocker.Enter() + 0x19 bytes Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.dll!Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.FieldClass.IsReadOnly.get() + 0x69 bytes Microsoft.TeamFoundation.WorkItemTracking.Client.dll!Microsoft.Tea ...Show All

  • Visual Studio Express Editions Can't download from microsoft also

    I ve been having a similar challenge. I can not download from microsoft. I have comcast and have spoke with them they say they are not blocking my modem and that it is a microsoft problem. I have three PC's in my home and none of them can download from microsoft. They all have valid windows XP installed. I am able to get auto updates, and when XP is reinstalled onto my pc its goes through the validation just fine. I get a can not display the webpage every time i try and download something. I am not able to even open the validation link pages to run the validation checker tool. I have XP pro and Explorer 7 which i have made sure that all the active X options are enablesd and that the enable third party extentions in the ad ...Show All

  • Visual Basic Threading Race

    I've got a multithreaded app that I'm working on. The code below is the shell of it. "DoABunchOfWork" is a function that needs to go out and get info from any number of SOAP webservices(this code is stripped for simplicity). I need to create an instance of an object that actually does the communication and run a method on the object. That code is easy as well. The problem that I'm having is with making each of those methods execute asynchronously. I have a race condition where it appears that System.Threading.WaitHandle.WaitAll() is returning before all of the callback finish, thus causing my return value to skew. Anyone lend a hand as to how modify this code so that I don't have that issue. Public Class ActionLayer Private De ...Show All

  • Visual C# Picking at random, with varied probabilities

    One part of a program that I'm writing requires me to pick an object at random out of a collection. Each object has a different weight (probability), currently stored as a Double, associated with it, and the number of objects varies. The total probability, 1.0, is equal to the sum of the weights of all the objects in the collection. Is there a commonly used, efficient algorithm for picking random objects in this situation Currently, the only one I can think of (and this is pretty tedious): Load the keys and weights of the collection's objects into structures inside an ArrayList. Sort the ArrayList in ascending order, by weight. Add on another value (CumulativeWeight) to each structure that represents the sum of all the weights up to and ...Show All

  • Visual Studio Team System checkin question

    Hi all, I need advice, imagine the following scenario: I have a project that is already checked in in TFS (this project is a VS2003 project and was stored in source safe before). Now we ported this project to .NET2.0. The required changes were applied in a local folder that was NOT under TFS control. So now I should check in all changes of the ported project into TFS. Now I'm looking for a reasonable way to do this. In SourceSafe I would simply start a search on the root folder for files that are different on my local machine. When all these files are found I would check all of them out with the option "don't get local copy". Once they are checked out I could simply check them in and that's it, all changes are in SourceSafe So fa ...Show All

  • .NET Development override the toString()-method from my Webservice's business objects

    Hello, I am using self-defined business-objects in my webservice which are posted to the client (Windows Forms application). These objects are defined in the namespace of the service, which is also used by the client application. All works well. If I overwrite the toString() method of my server-side/service's business objects which are posted back, it has no effect on the client's side; I guess, such method definitions can't be expressed in XML, so that the client application doesn't know anything from the overridden Method. Is there any way to let the client know Is it possible to overwrite the toString() method of the received objects later on the client side during runtime It would help me very much, because I want to put t ...Show All

  • Software Development for Windows Vista .net 2.0 can't delete files on VISTA

    When attempting to run a .net 2.0 application on VISTA Ultimate Edition, the program contains the following logic: if ( Directory .Exists(currentDrive + Utility .FOLDER_APPLICATION_OLD)) { di = new DirectoryInfo (currentDrive + Utility .FOLDER_APPLICATION_OLD); foreach ( FileInfo fileDelete in di.GetFiles()) { try { fileDelete.Delete(); } catch ( Exception exCantDelete) { } } } It is always indicated in VISTA that the application can't seem to delete files of type *.exe, *.dll, etc. Is there a restriction that VISTA won't allow this to occur I am logged in as administrator when I run this program. The exception is ...Show All

  • Visual Studio 2008 (Pre-release) WCF Client blues (MSDN Subscriber)

    Hello.  I have been trying to write a WCF client to consume a java-based web service secured by Apache WSS4J but have not been successful.  The web service requirements are: 1. Must be accessed via https (i.e. SSL). 2. Request must use SOAP 1.1 format. 3. The SOAP Body in the request must be signed, with the BinarySecurityToken (X509 certificate) embedded in the headers, per WS-Security 1.0 spec. 4. However, the web service itself does NOT sign the responses.  So, the client must NOT expect the response to have any WS-Security headers in it. First off, how would you implement your WCF client given the above requirements   If only someone can answer this question, I'd be in heaven.  ...Show All

  • Visual Studio Team System Checkin other users change from another workspace

    There is a special situation with SCC I am facing , One user X checked out file $\project\code\user_x_file.cs and left for the day in USA . now in India another user Y has to work on that file and multiple checkout is disabled . The update are in user X laptop which he take home with him and it is no longer connected to any network. User X also has not shelve the file . If I don't want to wakeup the user X what could be solution I have following options 1) UNDO user X change I tried TF undo command to get this message The workspace USER_X_WS;USERX is not on this computer. Run get (get all if edits were undone) on the computer hosting that workspace to update it with the changes that have been made on the server. 2) Chec ...Show All

  • SQL Server I can't seem to find exactly what my problem is in the following

    I have trying to figure out where the error is exactly. The error message shows a '/' and there isn't one of these in my stored procedure at all The error is: Msg 102, Level 15, State 1, Line 5 Incorrect syntax near '/'. Here is the rather lengthy code. set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER PROCEDURE [dbo] . [TEST] @StartDate DateTime , @EndDate DateTime AS BEGIN SET NOCOUNT ON ; DECLARE @sql varchar ( 8000 ), @select_clause varchar ( 8000 ), @from_clause varchar ( 8000 ), @gift_clause varchar ( 5000 ), @is_welcome bit , @pckg varchar ( 100 ) declare @bk_id int , @it_id int , @qty int , @desc varchar ( 100 ), ...Show All

  • SQL Server Error when using 'LIKE'

    I am running the following query using Query Analyzer against an MSDE version. The query seems like a textbook use of 'LIKE', so the error makes to sense to me. Thanks for any help. SELECT _FAX FROM _IRISH_BNB_DETAILS WHERE _FAX LIKE "[A-Z]%" Error: Server: Msg 207, Level 16, State 3, Line 1 Invalid column name '[A-Z]%'. Sorry, my answer is too short. Try this: SET QUOTED_IDENTIFIER OFF SELECT _FAX FROM _IRISH_BNB_DETAILS WHERE _FAX LIKE "[A-Z]%" SET QUOTED_IDENTIFIER ON and then try this: SELECT _FAX FROM _IRISH_BNB_DETAILS WHERE _FAX LIKE '[A-Z]%' You are really better changing your literal, that is "[A-Z]%" into a singl ...Show All

  • Visual C# StructLayout, Marshalling

    I send and receive packetized data over a serial port connection. The data is strictly defined, so the memory layout of the interface defintion has to be implemeted in C#. The type of packets I am sending/receiving look something like this: // Temperature Packet Id=5 int PacketId; int PacketLen; int32 CurrentTemp; int16 CurrentPressure; Bool IsHeaterOn; Bool IsHeaterEnabled; byte LastErrorLimit; // UserPacket Packet Id=12 int PacketId; int PacketLen; char [64] CurrentUserName; int32 LastLoginTime; So I will be setting/reading bits, bytes, words and strings in multiple packets. I have discovered the StructLayout attribute and think this could be the best way to implement this ( ! ). I am using C# and want to use manage ...Show All

©2008 Software Development Network