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

Software Development Network >> Darren Grove's Q&A profile

Darren Grove

Member List

sudharshansalvaji
W Wong
acemuzzy
Pablo Alvarez Jalon
Sgupta
dct-val
olap_user
Debboy
spkeller
Kim Carlsen
Stigern
TigerPhoenix
Shu Gao
bxchan
Philip Wolfe
Stonaltar
hazz
OniShiro
Troy Lundin
Alexander72
Only Title

Darren Grove's Q&A profile

  • Visual Studio Team System History font is ugly

    Hi Forum, does anybody know if its possible to change the font & size in the WorkItem->History tab, when showing the headings with the timestamp & initials, e.g use the same font size as the history details Cheers, You can change the formatting by using the formatting tools built into Visual Studio. The menu command to show the formatting toolbar is View; Toolbars; Formatting. Let me know if this helps. Jeff McKune ...Show All

  • .NET Development Still same problem

    Do you replace the e.KeyCode with e.KeyChar. I just tried that and it didn't work I still hadn't figured it out. Here is the error message Operator '<' cannot be applied to operands of type 'char' and 'System.Windows.Forms.Keys' private void textBox3_KeyPress( object sender, System.Windows.Forms.KeyPressEventArgs e) { if (e.KeyChar < Keys.D0 || e.KeyChar > Keys.D9) { TextBox3.Text = "_"; } } Try this int a = e.KeyChar; int b = Convert .ToInt32( Keys .D0); private void textBox3_KeyPress( object sender, System.Windows.Forms.KeyPressEventArgs e) { int a = e.KeyChar; int b = Convert .ToInt32( Keys .D0); int c = Convert .T ...Show All

  • .NET Development C# Regular Expressions confusion

    Hi everyone, I'm writing a client for the Cyan Chat protocol (http://cho.cyan.com/chat) and all of the usernames are sent to the client as: X[username]|^1Text The X prefixing the username is a colour code. Currently I can print out what users say in my richTextBox, but I need a regular expression to find and locate all usernames between brackets. I have the code to colour the names, I just need a regex to find them. I spent most of yesterday searching for Regex help, and testing it, but nothing that I've tried has seemed to work. I'm hoping someone here will have some expertise with Regular expressions and can tell me how to do this. Thanks in advance, Darryl Here is a regex to place the items into groups ...Show All

  • SQL Server sp_OACreate returns -2146232576

    Hi! Have some problems to create an instance of 'SqlMsmq.SqlMsmq' with sp_OACreate (it returns -2146232576) in SQL 2005. SqlMsmq is a dll that I have made in .net 1.1. In sql 2000 this dll works fine but not in 2005. I have tried to upgrade sqlmsmq.dll to .net 2 but with the same result. The dll is registered; If I remove the assembly registration the sp_OACreate returns ODSOLE Extended Procedure: Invalid class string See http://support.microsoft.com/kb/555070/en-us for explanation of what sqlmsmq.dll is. When the sp_OACreate return code != 0 the sp_OAGetErrorInfo is called for an error description. It returns “ODSOLE Extended Procedure” as source, but NULL as Description. Some tips Thanks!! Regards, John ...Show All

  • Commerce Server Displaying Discounts for Product

    Hi, I'm trying to figure out a way of displaying the discounts that apply to a product on the Product Page of our site. I don't seem to be able to find a direct way of doing it so I have created a couple of triggers on the CampaignItem & Expression tables and I'm in the process of writing a Windows Service to pick up the changes logged by the triggers and write them out to a "Promotion_Product" table where the relationships will be cached. This should give me a fairly efficient way of checking the product_discount & discount_product relationships. My problem is that I can't see a straighforward way of converting the xml expression body into a sql where clause. If I could use the xml expression in a catalog search ...Show All

  • Smart Device Development how to activate an application not a form?

    Hi, How do i activate my application I used GetForegroundWindow(), CreateProcess() , but nothing works fine. I'm only able to activate the current form. But not the application as a whole. To give in detail, my app contains multiple forms, like form1 creates form2, form2 inturn creates form3. Suppose now form3 is the current active form and my app goes background as i click on 'today' item from 'Start'. Now if CreateProcess() or GetForegroundWindow() is called, it displays form3. Its fine until that. But as i close form3(), this should show up form2. But it does'nt. It just shows today screen, no form. What i want exactly is when i activate a form in my app from settings->memory, it works just as fin ...Show All

  • Visual Studio 2008 (Pre-release) Unlimited LifeTime of WCF Services

    My client stops working if I leave it unattended for sometimes. I do not want this to happen. What is the way I can do I create a static field, and then create the field once and the use use for as many as I want. Here is the code: if (iCustomerInvoice == null ) { iCustomerInvoice = new ChannelFactory <Company.Common.Interfaces. ICustomerInvoiceSystem >( Binding, GetEndingAddress( "ICustomerInvoiceSystem" )).CreateChannel(); SetToken(iCustomerInvoice);//to set the token of the login for the customer! Is there a better way } I use iCustomerInvoice for the lifeTime. But this iCustomerInvoice stops working after a while. I am using PerSession. Set the ReceiveTimeout on your Binding to som ...Show All

  • SQL Server xp_sqlmaint maint plan jobs fail to run on named instance (sql2000)- Solution

    we have sql 2000 w/sp4 and 3 instances: (local), bkupexec, and FLA. maintenance plans for the (local) instance run okay. Maintenance plans for the FLA named instance 'hang' - as in the server agent starts the job, but the job never runs, never finishes, no errors, only thing to do is kill the process. The job step should run a backup of a single database. killing the server agent initiated process leaves a process in 'killed\rollback' state til restarting the server. running the job step command in query analyzer gives same result. running sql profiler when command run in query analyzer shows that it starts the cmd, starts the SP, there are some performance counter related commands logged (not sure if they are from the s ...Show All

  • Smart Device Development Automaticly deploy cabfiles

    Hello, I've developped a program with visual studio 2005 for pocket pc. When the battery is empty the pocket pc has to do a cold boot. I place the CAB files in a directory that installs the cab after a cold boot. However I always get the message to reIinstall the file. For other files like sql mobile I don't get the confirmation to overwrite. How can I made it so that a cold boot is done and the CF 2.0 is automaticly installed Thanks I wonder if your registry backup/restore thing is backing up that HKEY_LOCAL_MACHINE\SOFTWARE\APPS and so the CF2.0 thinks that it is installed because of the existance of the "HKEY_LOCAL_MACHINE\SOFTWARE\APPS\Microsoft .NET CF 2.0" and also its Instl value bei ...Show All

  • .NET Development Declare Regex in ECMA style syntax

    I would just like to post a request. In a future version of the C# language (possibly 3.0) It would be very nice to be able to create a Regex in the ECMAScript style syntax. So instead of: Regex myRx = new Regex("\\d+\\.\\d{2}"); We could use: Regex myRx = /\d+\.\d{2}/; Since Regex features are built into the .NET framework, why not make them a first-class feature of the C# language. - Kelly To view the request made to Microsoft Connect it is listed here ECMA-Style Regex Creation by Dustorm. Its an interesting idea... ...Show All

  • SQL Server Emulator Error to replicate data on SQL server

    Hi Guys, I've tried to make Microsoft lab to create a DB(SQL sever CE) on emulator by existing one on SQL Server,but i've a problem : when i use moethod(of object SqlCeReplication ) to make replicate data, emulator send error -2147012867(A connection with the IIS server could not be established) may you help me,please thx,bye. Are you using a firewall on your desktop, ie Norton. Then see this blog for info: http://dotnetjunkies.com/WebLog/darrenshaffer/archive/2005/12/07/134186.aspx ...Show All

  • Visual Studio Team System Weird Compare Issue

    When I click the "Check-In" button on a TFS SCC project in the source control explorer I get a list if .vspscc and .vssscc file conflicts that occur. When I click on resolve and then click the compare button I get a pop-up window that has the notification icon, 2 buttons but no text at all. Not even on the buttons. What is going on here I installed TFS about 4 days ago. Cheers, Mark Regardless, the fact that it repros in both providers is interesting -- there's only so much shared code between them. Some things that might be helpful: - a screenshot showing the state of the resolve dialog(s) when the pop-up appears - a stack trace from a debugger at the time of the bug - configuring a 3rd-party di ...Show All

  • .NET Development how to zip an Xml Document

    Dear All, I found a library (name Chilkat ) through which i can easily zip(compress) xml file, but it has only 30 days evolution period, could any one please show me way how to compress xml. thanks You can use SharpZipLib to compress anything and it's free: http://www.icsharpcode.net/OpenSource/SharpZipLib/ ...Show All

  • SQL Server SQL Service Broker vs MSMQ

    I'm in the process of doing the initial research for the architecture of a large scale, transactional messages routing platform. My initial design called for a series of MSMQ queues and Windows Services, written in C#, to process the messages in these queues. There will be incoming and outgoing queues, queues to store unroutable messages, etc. My application will be routing many hundreds of thousands (and eventually millions) of messages per day. These message are very small (< 200 bytes each) and must be routed very quickly. (<1 second processing overhead per message for high priority messages.) Using the term "routing" may be a bit misleading. The messages arrive via TCP socket connections. I will just need to take in a ...Show All

  • Visual Studio 2008 (Pre-release) Customizing TreeView Control (Sep CTP)

    Is it possible to customize the TreeView Control, found in September CTP, in the following way: 1. Replace the "plus" sign, used for expanding the tree, with an arrow 2. Move the "plus" (or the "arrow") from left side to the right side of the tree Thanks, - Marko Vuksanovic Both of these are possible by building a new ControlTemplate for TreeViewItem. The following site has an example ControlTemplate that you can modify: http://windowssdk.msdn.microsoft.com/en-gb/library/ms788727.aspx ...Show All

©2008 Software Development Network