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

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

waheyluggage

Member List

rad2319
schlrobe
Jan Drenthen
ngkay
hey_ian
anubisascends
Arska
Dordorgum
SunilN
YunXu
Adamus Turner
Don Isenor
Johngeh
Ruja
nativecpp
AlexDcosta
Iceman_Aragorn
Chris W
Furqanms
SOAC
Only Title

waheyluggage's Q&A profile

  • .NET Development Stripping surplus characters

    Hi, I'm trying to find a regex to strip off excess characters at the end of words e.g. replace hellooooooooo with hello or even helloo (since some words may end with 2 repeated characters e.g. freeeeeee-->free). I'm using C# and thought it may involve lookahead, but not sure how to do it. Any help appreciated. Since it sounds like this operation will be done quite a few times, I would optimize what sergei says if you believe the problem is only found in vowels. ([aeiou])\1{2,} ...Show All

  • Visual Basic Add input from textbox?

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim TextBox1 As String = "TextBox1.Text" Dim TextBox2 As String = "TextBox2.Text" If Button1.CanSelect Then TextBox3.Text = TextBox3.Text & TextBox1 & vbCrLf TextBox3.Text = TextBox3.Text & TextBox2 & vbCrLf End If End Sub What is supposed to go into the RED parts to take the info(text) from the text boxs and add it to the TextBox3 Wow Thanks A LOT man it worked. I love this forum its about the only one that i get HELPFUL respones, Not ones with there own codes that either take forever to make it work with my own app or arent what I need. Thanks Guys for helping ...Show All

  • Windows Forms Irritating Flicker Upon Startup

    I've built a WinForms app in C#. The basic startup screen is similar to that of MS Word, albeit with a gradient blue background. I just added a Splash screen. It runs on a separate thread and simply displays a borderless form at the center of the screen. It fades in, the main screen appears behind it, and it fades out, leaving the main screen. That's all fine. But what's not is that the main screen now has an irritating flicker of sorts when it appears with the Splash screen in front of it. It never used to do this. What's causing this and how can I prevent it from happening Robert Werner http://PocketPollster.com I too am getting flickering. However, I'm using another thread to add items to a contr ...Show All

  • Visual Studio Express Editions Make Column Titles from a Textbox

    What changes do I need to make to the text below, so that I can use the text from within a textbox to become the column header text for my newly created column ------------------------------------------------------------ Private Sub Insert_Button_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Insert_Button.Click ' Initialize the button column. Dim Insert As New DataGridViewButtonColumn With Insert .HeaderText = "Details" .Name = "Details" .Text = "View Details" ' Use the Text property for the button text for all cells rather ' than using each cell's value as the text for its own button. .UseColumnTextForButtonValue = T ...Show All

  • .NET Development XslCompiledTransform loading external xml from database using document()

    I have some xml and xsl documents all stored in a database, so there are no physical files. I use the XslCompiledTransform and a custom XmlUrlResolver class to load xsl documents from the database. My custom XmlUrlResolver class only resolves the import and include directives. How can I write a custom resolver for the document() directive If you want an XSLT transformation to generate an XML DOCTYPE declaration in the result tree then you should use the xsl:output element in your stylesheet e.g. <xsl:output method="xml" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/> Then with .NET 2.0 and transformation ...Show All

  • Windows Forms Add events to the list view

    Moving to Windows Forms forums. hi i know that no event with scrolling in the listView Control i need it becase i used the list view to view my records and i have many of records it take a time to viewed so i want to fill the list view with few records and when i scroll down fill it with more records thanks ...Show All

  • .NET Development How to detect and get any object that arrives to the server ?

    Newbie How can I detect and get any object that arrives to the server I.e. In the classic calculator sample, how to show in the server the operators and results For my application, all the clients and the server resident in the same machine. It is not possible that 2 or more clients send the object at same time. Each client send an object to server and this (the server) must to show it. The object could content a PictureBox with the image (took it for the client) and events (i.e. doubleclick shows the name of the image). How should be my application A "pseudo-code" would be very useful for me. VC#, .Net 2 Thanks Deza Thanks for your interest. But I alredy found a solu ...Show All

  • Microsoft ISV Community Center Forums Cascading command bars for custom add-ins

    I have 3 macros in an add-in that I would like to group together in a custom menu item. Below is the code I am currently using for 2 of the macros that simply add these to the bottom of the Tools... menu as a new group when the .xla is loaded. They work great! However, my preference would be to create a command bar named CMRDashboard which expands to have the two choices below as well as a third option of 'Show Documentation' that I am currently writing. How do you programatically create cascading menu items Sub CreateCMRMenuBar_Item_items() CreateCMRMenuBar_Item_Item DeleteCMRMenuBar_Item_Item End Sub Sub CreateCMRMenuBar_Item_Item() Dim MenuItem As CommandBarControl CreateCMRMenuBar_Item_Item_Delete DeleteCMRMenuBar_Item_I ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. End users shouldn't have to rewrite XNA math functions in order to improve performance.

    The overhead of passing a 64 byte Matrix by value is significant. Most especially when you are comparing two matrices for equivalency (==), or performing a Vector*Matrix multiplication (Vector3.Transform(Matrix)). The following matrix comparison function performs 5-10 times better than your built in == comparison. If the matrices are equal, then it is about 5 times faster. If they are unequal then it fails fast, and is about 10 times faster. public static bool Equals(ref Matrix a, ref Matrix b) { // i check the diagonal first for quick fails return a.M11 == b.M11 && a.M22 == b.M22 && a.M33 == b.M33 && a.M44 == b.M44 && a.M12 == b.M12 && a.M13 == b.M13 && a.M1 ...Show All

  • Software Development for Windows Vista In July CTP, using StateMachineWorkflowInstance to obtain CurrentState freezes workflows in that State

    Dear all, I have a working StateMachineWorkflow hosted under asp.net 2.0. I have written a simple routine (shown below) to interrogate the current state of a workflowinstance: public string WfCurrentStateDescription(string WorkflowInstanceId) { // Get the workflowRuntime which was started in global.asax WorkflowRuntime wfRuntime = (WorkflowRuntime)Application[WorkflowRuntimeKey]; StateMachineWorkflowInstance wfInst = new StateMachineWorkflowInstance(wfRuntime, new Guid(WorkflowInstanceId)); return wfInst.CurrentState.Description; } I find that, once I have called this on a workflowinstance, that instance gets "stuck" in the current state and never transitions to the next state, even though code appears to get c ...Show All

  • Visual Basic new at this...compiling my app

    Hi everybody~ I have a dumb question… I am using VB.Net 2005 Express, and relatively new at it. So far, I have “published” an app and given it to two people. I noticed right off that it was not what I expected, it was a few files (including an exe) and a folder. Anyway, both times it was installed, the user had to download and install the .net 2.0 framework which took as much as an hour to download and install. Is this right Is there another way to compile instead of publish Will all of my users have to go through this lengthy preparation Would it be different with VS 2005 Standard or Pro Please enlighten me! Thanks, Mike the "Build" ...Show All

  • Windows Live Developer Forums VEPushpin.OnMouseOverCallback 'x' Value Inconsistency

    I'm working with the VEPushpin.OnMouseOverCallback function and I've run into an issue where the 'x' value provided to this callback is not consistent. The code pasted below illustrates this situation. Specifically notice the style on the div 'myMap' that includes "left:100px;". In this code the callback displays an alert that shows the value of x, y, title and details. The inconsistency is that after this page loads (in IE or Firefox) the first time you hover over the pushpin (on Minneapolis, MN) the x value includes the 100px offset. The second, third, ... time I hover over the pushpin the x value DOES NOT include the 100px offset. This code is a simplified version of what is happening in my app. I was hoping to use the x a ...Show All

  • Visual Basic Hard Disk Serial Number

    hi. i want 2 know that ,is there anyway to get hard disk serial number(Hard Disk , not Hard Drives) without using WMI. plz forgive me for my bad english go0d luCk Serial number is unique on each hard drive, its physically programmed on the circuit board/ROM. What you are referring to about different drives are logical partitions, which are volume numbers. Regardless how many logical partitions you have on a physical drive, the serial number is always the same, its built into the physical hard disk itself. The only change that will happen with the logical partitions is the volume label. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How many DBP warmup submissions are already submitted, and how many still in the pipeline?

    Hello all. Just curious about the competition. I know that I'm typing (and scribbling in photoshop) as fast as I can to try to meet the deadline, but I'm curious as to how many others are doing the same. I realise the MSFT people probably want to keep the number of entries secret until the end, but if you've got a project submitted, or underway, speak up - (not looking for ideas to pillage, just want to know how big the playing field is) Cheers from the frozen North. Dan Lingman NogotoGames.com ...Show All

  • Visual Studio Team System "Either source control has not been configured for this team project or you do not have permission to access it"

    Double-clicking "Source Control" for ProjectA pops up the following messagebox: --------------------------- Microsoft Visual Studio --------------------------- Configure Source Control Either source control has not been configured for this team project or you do not have permission to access it. Would you like to create the source control folder, $/ProjectA --------------------------- Yes No Help --------------------------- I have checked the stored procedure: exec prc_QueryItems @targetServerItem=N'$\*\',@version=1110,@deletionId=0,@depth=1,@deleted=0,@itemType=1 And indeed it does not return any row so this might explain the messagebox stating that no source control has been configured. When I click Yes ...Show All

©2008 Software Development Network