krinpit's Q&A profile
.NET Development Regex expression help
I need help making a regex expression. I want to find every 3rd comma. Here is my string I want to run the expression on... Day,Amount,Direction,3,100,West,5,43,North,5,44,NorthWest,7,54,South,2,5995,East,,,,,,,,,,54,35345,,,543,North,6,,West Now, I want a regex to find every third comma and then I will replace it with a semicolon ";" with my own code. Eventaully I want the above string to be like this, with every 3rd comma a semicolon Day,Amount,Direction;3,100,West;5,43,North;5,44,NorthWest;7,54,South;2,5995,East;,;,;,;,;,54;35345,;,543,North;6,,West; Emoticons were changing my [ i ] to . Changed my in ...Show All
Visual Studio Can't debug ASP in VS2005
VS2005 doesn't seem to support debugging ASP pages. Is this really so That's a serious problem if it is. Thanks Jeremy No, she meant IE. Can you clarify what you mean by 'refuse to debug them'. Do you see your ASP documents in the Script Explorer window As for the many requests to bring back auto-attach support for ASP debugging, what are people looking for: Debug classic ASP code locally Debug ASP code + .NET code (either a .NET COM object or ASP.NET code in the same process) Debug class ASP code on a remote computer Case #2 and #3 are pretty hard to solve. On the other hand, Monica's ...Show All
Visual Basic HTML Editor in Visual Basic - HELP
Hello everyone and anyone who is reading this. I would like to know how to build an HTML editor in Visual Basic. I really dont know where to start. If anyone could tell me how, or tell me what I need to know, any help would be very appreciated and will not go unrewarded. Thank you. wf.service@sbcglobal.net Original Poster" "I would like to know how to build an HTML editor in Visual Basic" Levyuk :"There is a way to edit a html page directly without having to program anything. " In my eyes these are two different things. It's sort of interesting but "guy" rather obscures that you're talking to a woman, and I appreciate the distinctiv ...Show All
Windows Forms VB to VB.NET Question
I converting a program (that I didn't write) that uses MSMQ (Microsoft Message Queuing). Is there a better way of doing this in .NET Trey If you just want to send/receive messages, you don't need that. But if you want to couple database transactions and stuff with your MSMQ transaction, you need the DTC and COM+. ...Show All
Visual C++ need to create a .exe using vc++ without runtime files ?
Hello All I need to create an application Suppose if I use VC++ do I need to include any big runtime files Say for example the Dot net runtime Suppose If I use Visual C++ Express Edition to create application do I need to include Runtime files like the Dot net runtime Thanks Steven > One day, I will post reasons why shunning the .NET framework just because not every computer has .NET installed is moronic, but since today is not that day... When you get around to writing it, you have my backing. :) People should be aware that the .NET Framework is a free redistri ...Show All
Visual Studio Team System Port Requirements for Remote Client
We are testing Team System in a distributed scenario. The application tier is located behind a firewall in US. Offshore users will be connecting from overseas via the Tfs Client (remote users are *not* in the same domain since they belong to different vendor organizations). Questions: 1. Which ports (besides 80 and 443) need to be opened for the Source Control client to work with the App Tier server The global teams will use a single repository. 2. In adiditon to the the ports indicated in #1, are there additional ports that need to be opened for the remote Team System client to be able to work fully (for Work Item Tracking, Team Bu ...Show All
SQL Server SSIS Sequence container,data flow task
I am creating a staging database in which I am loading required tables from 2 different sources. I have 30 different tables to load from source 1 and 10 different tables from source 2. This is the way I am doing, in Control flow task I am using Sequence container and in that I included the data flow task, the data flow task has source OLD DB connection from where I select the table and then destination OLE DB connection where I load the data. So for 30 tables I have one Sequence container with 30 different data flow task and each data flow task has OLE DB source and OLD DB destination. I wanted to find out if this is the efficient way ...Show All
Visual Studio Team System CA1823 False Positive
It's easy to see why this false positive occurs, but it's still annoying! Consider the following code (from a plain-vanilla console app): This false positive turns up a lot. It's interesting how many const strings out that are used exclusively as a substring within another pattern. 8) We will either clear up this noise or disable the check in the next (post 1.35) update. Sorry for the inconvenience and thanks for the report. ...Show All
Visual FoxPro Getting the current row number in a grid
Hi, I am using a grid in a form with grid1.AllowCellSelection = .T. The .RowSource of the grid is a table. I need to locate the row of a table when I move back and forth in the grid. I mean when I hold a shift + rt. mouse button down on a particular row of a column I should be able locate that data in the corresponding table linked to the grid. I thought if I have the following code in the grid.AfterRowColChange I can get the row number which is going to be the corresponding row in the linked table. grid1.AfterRowColChange() THISFORM.nRecNo = RECNO(THISFORM.cAlias) where .nRecNo and .cAlias are the properties of the form. ...Show All
SQL Server Error importing data from oracle database to an SQL database
Hi! When i was importing a database table from an Oracle Database to a SQL database table, the wizard returns this error: Could not connect source component. Warning 0x80202066: Source - VB_PERMISSIONS [1]: Cannot retrieve the column code page info from the OLE DB provider. If the component supports the "DefaultCodePage" property, the code page from that property will be used. Change the value of the property if the current string code page values are incorrect. If the component does not support the property, the code page from the component's locale ID will be used. Error 0xc0204018: DTS.Pipeline: The "output column " ...Show All
Visual Basic defualt browser
How do you get windows to reconize my program as a browser and be able to set is as the defualt browser See this MSDN document for all the details on registering your program with 'Set Program Access and Defaults' -- as you'll see, creating some Registry keys and values is all that is required. '//mdb ...Show All
.NET Development replace webbrowser contextmenu
greetings, how is this done when i add a contextmenu(strip) to a form that has a webbrowser control and then set the wb contextmenu to it, the wb still uses the default. docs don't mention any thing that this should not work. a search doesn't turn up any additional info. toggling the "iswebbrowsercontextmenu" property works fine. any ideas tia jas this works: in the Sub WebBrowser1_DocumentCompleted add- AddHandler htmlDoc.ContextMenuShowing, AddressOf contextMenuSub create this Sub- &nb ...Show All
Windows Live Developer Forums Contest winners ever receive their prizes?
Have any of the MSN Activity contest winners received their prizes or told how or when they will receive them Yes, of course! Juzzi already got a part of his price, Todd surprised him by giving him the VS.NET 2005 personally . I have received a mail telling me my prize would be sended within 4 - 6 weeks, and received that a few weeks ago... ...Show All
Visual Studio 2008 (Pre-release) SetValue on Field, or Just Use Property?
Using BezierSegment as an example, can someone explain the difference using SetValue with the BezierSegment.Point1Property field and directly setting the BezierSegment instance's Point1 property There should be no difference. CLR properties like Point1 are there to simplify the coding experience and also provide "up-front", discoverable strong typing since DependencyProperty SetValue has to take object since properties can be of all diff. types. I highly recommend reading this section of the SDK if you're looking to bring yourself up to speed on dependency properties. Also, as a shameless plug, ...Show All
Windows Forms Disappearing Status Bar Problem
Perhaps someone here can suggest something that will get me on the right trail I've got a windows app (non-MDI) with a status bar. All is well when the app is originally launched. The status bar appears as desired. But when I minimize the app to the system tray then restore it (double clicking the notify icon in the system tray) the app rest ...Show All
