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

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

Gummy417519

Member List

Greg J. Brown
Mark Flamer
CBuilder
69gto4004spd
Graham Harris
Ricardo Redert
bimalr1
Duane Douglas
cadouthat
Christoph De Baene
73304218
PepsiWales
TJ2007
Burnt1ce
Joel Martinez
imranmp
Abara6
praveench2k
Mega_x
TACIR
Only Title

Gummy417519's Q&A profile

  • Visual Studio Express Editions split paras into single column vertically scrolling datagridview

    I have data stored in my bound access table's memo field. The data is a string like a poem stored in paras with a blank line inbetween paras. Using that as delimiter, how can I split these paras and populate the contents of Column1, row(i) of single column vertically scrolling datagridview where i is the para number Thanks for any help. So would this be the correct code Class  Program           Sub   Main( ByVal   args()  As   String )          Dim   twolines  As   String  =  "firstLine " & vbLf& vbLf& " secondLine" &nb ...Show All

  • Windows Forms Need to catch an event for SelectedNodeChanged

    I have TreeView control on my WinForm (using VS2005). When Selected Node changes, I need to do some action. I cannot find SelectedNodeChanged event or SelectedIndexChanged event in the list of events for my treeview control in Windows forms. Thanks, Ora You have 2 events you can hook into . BeforeSelect and AfterSelect Hope that helps. ...Show All

  • SQL Server procedure of function to show free space to a file

    Any idea of a function or procudure the returns the free space of a data file so I can see when I need to reclaim free space. sp_spaceused Displays the number of rows, disk space reserved, and disk space used by a table in the current database, or displays the disk space reserved and used by the entire database. Syntax sp_spaceused [[ @objname = ] ' objname ' ] [ , [ @updateusage = ] ' updateusage ' ] Arguments [ @objname = ] ' objname ' Is the name of the table for which space usage information is requested. objname is nvarchar(776) , with a default of NULL. [ @updateusage = ] ' updateusage ' Indicates whether or not DBCC UPDATEUSAGE should be run within the database (when ...Show All

  • Visual C++ Templates overloades and specializations

    I want to create a function that returns the absolute value of a number. This number could be real (int, double, etc) or complex (of real, double, etc). I currently have the following: //--------------------------------------------------------------------- template<class data_t> data_t myAbs(data_t x) { return ((x > 0) (x):(-x)); } //--------------------------------------------------------------------- template<class data_t> data_t myAbs<complex<data_t> >(complex<data_t> x) { return (sqrt(x.real() * x.real() + x.imag() * x.imag())); } //--------------------------------------------------------------------- This compiles. However, when I call the function with a complex argument, the first function is c ...Show All

  • Windows Live Developer Forums Developing Live Messenger AddIn's: Help!

    Hello people: First at all, it's my first time posting on this forums so I would to make a little presentation of me. My name is Christian and I'm a member of a Dotnetclub in Sevilla, Spain. (Dotnetclubs are associations of students whose love .NET platform, and we have Microsoft Iberica's support). I'm developing some AddIns for Windows Live Messenger (v8.0.0683), and I'm going to do a conference, but I'm having some problems. I made an Add-In who connects to a Web Service for consume some service of the WWW. I want to show in a MSN Conversation how many time left the bus to arrive to a determinate bus stop. I had some problems loading that Add-In. It gives me an error message: 80131500. How can I solve it Thanks. ...Show All

  • Visual Studio 2008 (Pre-release) Changing the value/content of a property/control in a DataTemplate doesn't update UI

    In my application, I've got this XAML code: < Page.Resources > < SharepointListItemsViewer:NodeTemplateSelector x:Key = " nodeTemplateSelector " /> </ Page.Resources > < Graph:Graph Name = " theGraph " NodesBindingPath = " ChildNodes " CoefficientOfDampening = " 0.7 " FrameRate = " 0.5 " NodeTemplateSelector = " {StaticResource nodeTemplateSelector} " > < Graph:Graph.Resources > < Style TargetType = " {x:Type Button} " > < Setter Property = " Template " > < Setter.Value > < ControlTemplate TargetType = " {x:Type Button} " > < Border ...Show All

  • Software Development for Windows Vista Problems incorporating WorkflowCommitWorkBatchService

    Hi I'm currently building a state machine workflow with the OOB web service activities.  I'm using the OOB persistence service and i'm also saving information into a custom data model.  To ensure the consistency between the workflow state and the custom data model I am following the work batch approach.  This works fine however I have the following problem with this arrangement. The problem is that I want to let the client using the web service know if there were any problems commiting the work, ie: I want to give them back a soap exception indicating any failure.  Is this possible using these standard activities and services Just as an example of the problem, I found this problem when I moved my source to a ne ...Show All

  • Windows Forms [c# .net 2] Exporting data from dataGridView

    Evening. I have an unbound dataGridView which I'm populating programatically (not using a dataset) from xml/user entered data. What i now need to do is when the user clicks save i want it to write all data from the dataGridView to an xml file. I think the only/best ( ) way to do this is to iterate through each row/cell and write the xml file manually. Problem is, I just cant seem to do the forloop right. Can someone help me out Thanks. Michael It's up to you to decide your xml schema. The only reason i used column name is that when you want to load the xml back lateron, it's easier to map the values back to the columns. Otherwise you have to use your own code to map your element name back to column name. A ...Show All

  • SQL Server Silent install new SQL Express instance via MSI

    I'm currently building an MSI to install SQL Express and want to install as a new instance, not the default instance, and not into the SQLEXPRESS instance either. I saw the package.xml for Express in my VS Studio install. How would I go about using this Or would I have to modify the MSI via Orca or something I hope not. Wouldn't have a clue where to start. In short, regardless if there is already an SQL Express instance on the machine or not, I need to silently install a fresh new instance of the server engine only, no client tools except sqlcmd.exe I have seen that MS would advise that everyone use the SQLEXPRESS instance but I don't agree with it. I don't want other application installs trampling over my server settings and I do ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. What profiler should I use with GSE?

    I'd really like to profile my code, but I can't figure out what to use. I presume I need something that works with VC# Express. Anyone out there figure this out Thanks! I prefer dotTrace :-) http://www.jetbrains.com/profiler/ ...Show All

  • Smart Device Development MediaPlayer host sample freezes on Blackjack & Dash?

    I am trying to use the sample CEWMPHostML from: http://www.microsoft.com/downloads/details.aspx familyid=46ba698a-c00d-4b90-9177-460854f1b57c&displaylang=en My program based on that sample works in the emulator and I believe on most devices, but locks up on the Samsung Blackjack and T-Mobile Dash.  Is this a CPU related problem or Media Player control problem or what   Can anyone with one of these devices replicate this   I tried both the Smartphone 2003 and Smartphone 5.0 targets. If anyone is able to test it on a Dash or Blackjack and get it to work, please let me know.  I'm not certain it is failing on the Dash, only got one report of that, and several for the Blackjack. I have added a bug in the ...Show All

  • Visual Studio Team System Deploying Across Domains

    A common scenario is to keep qa/production boxes out of the development domain.  I set up my TeamBuild service to run under a local user account and set up the same local username/password account on the boxes I need to touch as part of the deployment (TFS, QA and Prod box).  My build process copies the compiled files over and creates the virtual directory appropriately using the Web Deployment Project's dll -- specifically the CreateVirtualDirectory task.  However, my CreateVirtualDirectory task (not my copy operation) is failing in the situation where I'm using this local user account strategy between two boxes not in the same domain.  Is it something the CreateVirtualDirectory task is not doing; I'm not doing;& ...Show All

  • Visual C++ Hashtable in C++

    Hi, I need to use a hashtable in C++. Apparently there isn't one, so I tried to use the hashtable in the System.Collections. After enabling the /clr in the solution explorer I can use a hashtable within functions, but not globably, which is my need. If i try to declare the hastable globaly it gives me this error: Error 1 error C3145: 'hs' : global or static variable may not have managed type 'System::Collections::Hashtable' Anyone know a way around this or of a different hashtable class that I can use There's also unordered_map which is what will likely be in the standard. There's an implementation in Boost which seemed to work quite nicely for me (apart from some pretty obvious ODR violation ...Show All

  • Windows Forms Balloon tip in .net

    Hi, I'm writting a textbox control which shows a balloon (with title an close button) when the user input is invalid. Creating the balloon is no problem, I'm using de Win32 Api for that. First I create a NativeWindow and set some parameters with CreateParams and CreateHandle. The style of my window is : cp.Style=WS_POPUP | TTS_BALLOON | TTS_NOPREFIX | TTS_ALWAYSTIP | TTS_CLOSE; Next I create the text for my balloon using the TOOLINFO struct. the uFlags field is set to: ti.uFlags=TTF_SUBCLASS|TTF_IDISHWND|TTF_TRACK When everything is created I add the toolinfo to my window by calling SendMessage(_bw.Handle,TTM_ADDTOOL,0, ptrStruct ); SendMessage(_bw.Handle, TTM_TRACKACTIVATE,1, ptrStruct); shows my balloon and ...Show All

  • Visual Studio VS 2005 SP1 installation questions

    I have Visual Studio 2005 Professional Edition. I was installing Service Pack 1 and had to leave. When I came back it seemed that someone else was on the computer and no installation programs were running. Does the installation program give you any options aside from cancel Is there a way for me to verify that it is 100% installed Is it ok to install the service pack again even if it is already installed or partially installed Hi, Unfortunately, I had to install this Service Pack 1 more than once or twice. I can tell you from my experiance that it can take up to several hours, but at the end, it gives you a message that it is complete. In the Visual Studio (Professional BTW) help>about I have ...Show All

©2008 Software Development Network