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

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

chocobo_ff

Member List

Shaun Logan
ian1974
asalcedo
Dietz
Young K
Gamaliel Isaac
Nick Cox
Daikoku
BlackPepper
Shantale
ScooterBrown
dgolds
SukhiNew
rwbogosian
Karlo
bigdogguy
MDesigner
Zapp
Latso
Bilberry71
Only Title

chocobo_ff's Q&A profile

  • SQL Server Merge Replication with SQL Mobile 2005

    We are using SQL 2005 (SP1) and mobile agents with SQL Mobile. We are seeing an excessive number of updates after a device's database is reinitialized. My understanding was that if I generate a new snapshot or reinitialize all subscriptions (from the server), the devices would only get what the database looks like right now (inserts only) after syncing and/or reinitializing, but they are actually getting the right number of inserts and a huge number of updates in Replication Monitor. Any ideas Thanks! Mike I have contacted Microsoft developer support and resolved this issue with them. It is a known issue and they have a hot fix for it. However, the fix won't be available publicly until the next s ...Show All

  • .NET Development Regex: Remove all punctuation at end of every line

    How can I use regex to remove all punctuation at the end of every line in a multiline textbox Thanks in advance ! Regex.Replace( input, @"\p{P}\s*$", "", RegexOptions.Multiline ) Just typed this in off the top of my head. The Multiline option will make the '^' and '$' match against the start and end of each line instead of the start and end of the whole string. ...Show All

  • SQL Server Example of SMO or WMI to configure SQL Server port number.

    Hi, Are there any one who give a example of SMO or WMI to set SQL Server port number Actually, you need to use the ServerProtocols namespace from Microsoft.SqlServer.Management.Smo.Wmi. MSDN doesn't have much good help on this specifically, but I found a couple blogs worth looking at: http://sqlserver2005.de/SQLServer2005/MyBlog/tabid/56/EntryID/19/Default.aspx http://www.sqljunkies.com/WebLog/marathonsqlguy/archive/2006/11/30/25785.aspx <-- This has a good sample of how to look at the properties, it's a short leap to setting them from here. The ServerProtocol topic in BOL is at http://msdn2.microsoft.com/en-us/library/microsoft.sqlserver.management.smo.wmi.serverprotocol.aspx . Mike ...Show All

  • Visual C++ How to set the path of #import directive dynanically?

    when I use #import directive to import a COM library, if the path is certain, I can import it well, but if the path is not certain , i use the following statement ,the program has a error: CString str=GetPathOfComDll(); #import str; Maybe there is another way to set the path of COM library in vc and please tell me how to set the path of COM dll dynamically (I have to get the path from the registry and set the path again) I apprecate your help. ...Show All

  • Visual Studio Express Editions rtf box word and character counts

    I am looking into learning how to do word and or character counts in rtf box. found this http://msdn.microsoft.com/library/default.asp url=/library/en-us/odc_vsto2005_ta/html/OfficeVSTO2005WordOM.asp on using word object model to try it. Anyone have any references otherwise web search hasnt come up with anything educational for me at all. Is using word object the best or only approach Was going try do a search for spaces between word sort of thing. Charlie, try the text changed event Private Sub rtbDoc_TextChanged( ByVal sender As Object , ByVal e As System.EventArgs) Handles rtbDoc.TextChanged ' Set label2.text to blank in IDE Dim TestArray() As Stri ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Order of DeviceLost, DeviceDisposing, DeviceCreated, DeviceReset, etc?

    While the documentation documents the GraphicsDeviceManager.DeviceDisposing, GraphicsDeviceManager.DeviceCreated, and GraphicsDevice.DeviceLost and GraphicsDevice.DeviceReset events, it doesn't document when these will be invoked, and in what order. Assuming the user drags the window from one device to another, I would ASSUME I'll get the following sequence of events: GraphicsDevice.DeviceLost GraphicsDeviceManager.DeviceDisposing <new device is created> GraphicsDeviceManager.DeviceCreated (I can hook up to the new device events here) GraphicsDevice.DeviceReset However, there's nothing that actually guarantees that I'll get the DeviceLost and DeviceReset events. Currently, I don't have a multiple-device system to test on, so I can't ...Show All

  • Visual Basic CallBacks, or what do I really need?

    Thanks for your replies so far - it's really appreciated! I'm using VB.NET to create a little app that shows the current networkspeeds (or whatever network statistic I point it at) and displays it as a nice looking historycurve (=customized panel that does the calculations) with extra labels that show the maximum/average/speeds as they change. The picture in link below has a running example of my app. The reason I made the xxLabels seperate objects as opposed to incorporating them in the xxPanel's paintcode, is because this allows me to easily resize/reposition them manually within their parent xxPanel on runtime. (and I'd also like to make my app available as opensource on SourceForge afterwards, which is why I'd like it to have as mu ...Show All

  • Visual Studio Express Editions Filter Problem

    I'm struggling with being able to filter a bindingsource. I have a form with a datagridview (Player_InfoDataGridView). I have an event that triggers when the user double clicks on a specific record within the datagridview. That event opens another form (Tracking_List) with textboxes containing data from a bindingsource. The form has a bindingnavigator that moves from one record to the next. I need to be able to filter that form based on certain fields from the datagridview on the first form. I have assigned variables to capture the values of the certain fields to use in the filter based on the current row that the user double clicks on. However, I cannot find the correct filter code that works. Here is what I have so far: Private Su ...Show All

  • .NET Development (WinForm) check if service is running? if not start it

    How can I check if a service is running, if this isn't, then start it . I would like to start database service but not at windows start-up. thanks in advance for your help, Edward I would have a look at the service controller/management classes in .Net and have a look what they can do, another option is to jump into the system.management classes and use WMI Windows Management Interfaces) to change the status of the service, ie start it. ...Show All

  • Visual Basic Change icon in treeview control

    Could you please tell me how to change the icon when the 'plus/minus' sign in a treeview control is changed. For example, if the sign beside a node is "-", then display icon "A"; otherwise, display icon "B". I would highly appreciate your help! refer to http://p2p.wrox.com/topic.asp TOPIC_ID=35294 also http://www.obout.com/t2/ex_changeicons.aspx much better .. http://forum.java.sun.com/thread.jspa threadID=5133180&messageID=9481080 in java .. dear frnd if u find this helpful mark it as helpful n as answer as well.. thx.. ...Show All

  • .NET Development Regex problems

    Hi all, I'm having problems with Regex, or more accurately trying to find the right expression to use. Basically I've opened up a text file, and I'm reading in the lines, and at a certain point I need to get a certain part of the line. the line I'm trying to read is: Color [Lime] Reading the line is no problem, but what I want to do is extract the word between the brackets(there are two different lines in the file that I want to read) so that I can assign it to a textbox color. I've tried some different expressions like "Color [(.* )]" and "/\Color \[(.* )\]" which have failed miserably. Does anyone have any suggestions The code I have at the moment is Regex *regex = new Regex(S"Color [(.* )]"); St ...Show All

  • Visual Studio Team System Can't execute Team Build - TF30063 error

    Hi, I'm trying to execute a Build on my local machine, but I am getting the following error: TF42056: The build service could not connect to the Team Foundation Server: TF30063: You are not authorized to access http://buildServerName:8080/ I have Team Foundation for Testers installed on my machine. I know that I actually can access port 8080 on the build server because that's where our code lives, and I can access and modify the code. I'm really stuck as to how to get builds working. Can builds only be done on machines that have Team Foundation for Developers on it I hope not, because it wouldn't make any sense that a tester couldn't launch a build so they could run their tests. Any help would be greatly appreciated!! I am at a ...Show All

  • Visual Basic Scroll event for the ListBox control

    I have a ListBox control on a form in a Windows Forms app. The list contains more items than it can display, so the vertical scroll bar appears automatically. My question is, does any event fire when a user scrolls the list I know the TopIndex property reflects the index of the top-most displayed item, but it doesn't appear to have a change event associated with it either. If there are no events that fire when the displayed list has changed (Layout and Paint don't work), does anyone have any ideas on how to detect that in code TIA- This may not be what your after, but if you change the list box to owner drawn fixed and implement the method below (adpated from the online help) it will certainly be ca ...Show All

  • Visual Studio Team System Want to build only listed folders instead of cloaking

    We create new branches for our various projects from one release to the next. One issue I saw was that I have to cloak older branches each time or else a TeamBuild will grab unwanted changesets etc. This will become very tedious as more and more branches are created and eventually each workspacemapping.xml (for each build) file will become humongous having to cloak all unwanted branches/folders. It would be a much cleaner solution to only list the folders that I wanted included in the build. What is the best way to manage this Just include multiple "Map" entries in your WorkspaceMapping.xml file: < xml version = " 1.0 " encoding = " utf-8 " > < SerializedWorkspace xmlns:xsi = " ...Show All

  • SQL Server Schedule Job Keep on failing!

    Hi, Actually i saved a SSIS package into a SQL Server 2005, then scheduled to run a job from SQL Agent, but, the job keep on failing and no error message was returned in order for me to toubleshoot. After the job failed, i restart the job again, and it actually continue to run, but unfortunately, it stopped again after some time. And, before i sheduled the job, i actually tried to run the package itself in SQL Server Business Intelligent, it runs suceessfully. In the package, i actually set the ProtectionLevel to DontSaveSensitive. Another option that I used to run the pakage was using dtexex.exe: dtexec.exe /FILE "E:\Package.dtsx" /MAXCONCURRENT " -1 " But, the error message returned also not so u ...Show All

©2008 Software Development Network