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

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

Predator14567

Member List

John Paul Cook
kcchesnut
Rahul Saxena
matman13
BenTsui
IB00
Arun Narayan
MDS55
antidotcb
Yorker
Robert Davis
Duncan_
troy2
Vishalgiri
abc0918
CJW99
Chad - seripis
dindelus
stepsx12
Student_I
Only Title

Predator14567's Q&A profile

  • Visual C# Best Practice: Properties in the Constructor

    For some reason I remember reading that it is not considered best practice to set a Property within the constructor when there is a private variable associated with said property. It would be considered best practice to go ahead and set the private variable. Is this true for example: public class MasterItem : Item { internal MasterItem( int facilityId ) : base ( null ) { this .Facility= ( Facility )facilityId; } protected Facility facility; public Facility Facility { get { return facility; } set { .... facility = value .... } } } The issue is that I have more going on in my set method of the property that I need to be run when the facility is set via the constructor. Obvious ...Show All

  • SQL Server Blocked transaction problem

    Hello, I am trying to execute next query, but when doing it, TABLE1 locks and it does not finish. SERVER2 is a linked server. BEGIN TRAN INSERT INTO TABLE1 SELECT * FROM SERVER2.DATABASE2.DBO.TABLE2 WHERE TAB_F1 IS NULL COMMIT TRAN I have same configuration in other 2 computers and it works ok. What is the problem Thank you!! Hello, I can not see anything because the execution of the query never ends. I leave up to 30 minutes and it does not end. I can execute the query without a transaction and it finishes in a few miliseconds. So, it is posible to query other server. Could it be a problem with server names I mean, the name registered at SQL Server Enterprise Manager, the o ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA with 360 Remote

    I have a Xbox 360 wireless remote with the usb adapter I was wondering if I could use it for xna games on PC. If so how would I go about doing it thanks The Wireless 360 controller is not currently supported under Windows. There are a few posts about it on the forums with more detail, including that you would need an adapter for it (the plug in part is for charging purposes only and doesn't make the wireless controller communicate in a wired nature.) ...Show All

  • Visual Studio Tools for Office BMP for Licensing Add-Ins?

    If I am a VSTO solution developer, how do I ensure that my customers do not deploy more copies of the add-in I have sold to them Thanks, Tad Joe and Mike, Thanks for the replies. I will explore the shareware kit. Tad ...Show All

  • SQL Server Date Format Problem

    i have change my field like that format = format(Fields!TimeStart.Value, "dd -MMM- yyyy") Its working perfectly.Once i deployed my report this format is not working once deploy my report its showing that field fill dd -MMM- yyyy why there is no date in that field i dont understand can anybody know this one. From the description it sounds like the TimeStart field is of type DateTime when running in preview (running based on the cached data from the .rdl.data file), but of type string when running on the report server when running against live data. Are you running against the same data source in your design environment and the server Did you click the little green refresh icon in the preview toolbar ...Show All

  • SQL Server Visual C++ 2005 (C++/CLI) - Newbie with ADO

    Hi, I've been working for about 20 years now with databases on other platforms but am at my first step with ADO. I created an application which is drawing as requested different forms on screen using GDI+, eventually DirectX. Now I'm at the stage of saving several infos into a Database. For simplicity, I would like to use a database for which there is no need to install any other components. I thought of using Access Database but I realized that I'm unable to create it except from Microsoft Access which is not installed on my machine... When programming with Clarion (SoftVelocity), apart interfacing with Oracle, any other files (ex: TopSpeed files) could be designed from within application designer and then created from scratc ...Show All

  • Visual Basic escaping quotation mark - passed to vbs (tested on batch)

    Hi, I am trying to pass a quotation mark into a script. For example, the batch file a.bat, is (type a.bat): @echo off echo %1 The command line execution is : a.bat "a b" c" // the argument is: a b" c i would like the program to output: a b" c Can you help Thanks, Fredy Hi, Yes, this works when the argument is defined in the vbs script. But how can i run it in the command line I want to pass it as argument from the command line, e.g.: program.vbs "i quote "Hello world" text" ...Show All

  • Visual Studio Express Editions How do I (is it possible) to change the ListBox properties?

    Greetings, Is it possible to permanently change the properties setting for a ListBox What I would like to change is : Every time I start VB express (IDE) and I drag a ListBox from the Toolbar to a Form that the default property for the ListBox SelectionMode be set to "MultiExtended" and not "One" as is at current. I know this can be done manually each time and also changed in the code, but I want the change to occur each time I start VB 2005. Cheers Bakerboy60 You cannot modify the property defaults on the standard controls in VB.Net. The suggestion about creating you own user control based on the control - and setting its properties to you new defaults would be ...Show All

  • Windows Forms Coloring TabControl.

    As far as I can see TabControl object has no properties of either Back or ForeColor. Is it possible to assign these properties to this object Another question: TabPage object does have both properties but when you assign a color to it it does not cover the whole TabPage: the tab itself remains gray. Is it possible to give it colors Many thanks. Check this thread . ...Show All

  • Windows Forms <System.ComponentModel.LookupBindingProperties("DataSource", "DisplayMember", "ValueMember", "lookupMember")> _

    Public Property DataSource() As Object Get Return DataSource End Get Set ( ByVal value As Object ) DataSource = value End Set End Property return datasource is highlighted and says: variable datasource is used before it has been assigned a value. a null reference exception could result at run time. i wonder what should be done, my program is crashing for now if i try to go in design mode. and datasource = value is also highlighted and it says: recursive call ..   hrubesh wrote: Public Property DataSource() As Object Get Return DataSource End Get Set ( ByVal value As Object ) DataSource = value End Set End ...Show All

  • Visual Studio 2008 (Pre-release) Unable to install

    I have tried to install WCF but get the following errors in the log file: === Verbose logging started: 7/3/2006 14:45:03 Calling process: c:\WINDOWS\WinFX\v3.0\Windows Communication Foundation\ServiceModelReg.exe === ServiceModelReg [14:45:05:125]: Information: The ServiceModelReg tool will take the following actions: Adding configuration section system.serviceModel to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config. Adding configuration section system.runtime.serialization to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config. Adding configuration section system.serviceModel.activation to C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config. Adding configuration entry for BuildPro ...Show All

  • Software Development for Windows Vista Communication with external applications

    Hello, I've been trying the hands-on labs and now I'm developing a simple workflow myself, but I don't really know how to communicate between an external application and the local workflow. I know that lab05 deals with a similar topic but I've found that the communication was only between a LOCAL application and the workflow but not with an external application. Now I'm trying to follow the expense reporting application in lab01 (resources folder) and I try to see how it communicates with the workflow. I've seen it uses .NET Remoting to create an instance of the remote class, but I don't get to understand well what it does because the same project has together the remoteservices class and the localservices class. Please can someon ...Show All

  • .NET Development client server communication exchanging of wide char over TCP sockets??????

    hi , i have written a client server pgm . the functionlity of which is to download a file from another client via server. here im passing the file path of remote machine (the file name is in Chinese Char eg : C:\\使能 折.txt, this path i need to send it via socket send. how can i do it. i tried may ways :- --> converting the char to wide char using wcstombs etc etc but of no use. how can i do it it is very urgent .. Pls help me waiting .. Sandeep A variety of schemes would work You can take the unicode - convert to UTF8 and then convert it back to the UNICODE on the processing side. Encoding.Utf8 class would this for you You can send the UNICODE directly if you wish, the receiving end must know that the byt ...Show All

  • Windows Forms Detect ENTER and TAB keys

    How does one detect if the ENTER or TAB key has been pressed by the user in VB.NET I'm using VS2005. you can implement the keydown event I believe and then look at the KeyEventArgs being passed in. Now, which control is it you are wanting to detect the keypress a textbox or some other control ...Show All

  • Software Development for Windows Vista Webservice Multiple Methods

    I have a workflow that i have exposed as a service. Is it possible to have either multiple webservice inputs into my workflow I want to have a webservice with mutiple methods rather than having mutliple services each with one method. Thanks. You can - you have can mulitple webserviceinputs - but your clients have to support HTTP Sessions (cookies) - and they'll have to call the WebServiceInput that has Activitate set to true first. ...Show All

©2008 Software Development Network