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

Software Development Network >> Paul Martin's Q&A profile

Paul Martin

Member List

bonni
Igor B.
Jangid
nelpasa
Mani_2006
TheJet
Alfonso Calderon
kawing0510
Amde
RogueProgrammer
cverdon
M.Glenn
gabriel_333
Kiwi bloke
Meliphar
kcchesnut
iyeru42
PeterTPeterT
billqu
Touraj
Only Title

Paul Martin's Q&A profile

  • Visual Basic Setting a dropdown combo to read-only in visual studio 2005 in vb

    Greetings, I don't want the user to be able to write in a combo box. How do I set the combo to read-only. Thank you, Set the DropDownStyle property to: "DropDownList" this will allow the user to only select those items that are already in the combobox....the other solution owuld be to use a listbox control ...Show All

  • Smart Device Development ACCESS for AXIM X5???????

    Hello I just purchased Dell AXIM X5. I am just wondering if there is a program like access or access itself to put on my Palm. I use access on a daily basis at home and would love it if i could use it on my palm or a program like it. Does any one know if this is possible Also is there a place where I can get programs for my AXIM X5 Please reply. If this is the wrong place for this thread I am sorry and please direct me to the correct place. This forum is smart device development related. Since your question is not related to smart device development, it's off topic here. Please post to relevant forum or news group: http://support.microsoft.com/newsgroups/default.aspx Cl ...Show All

  • .NET Development OLEDB + SQL

    I'm importing an excel worksheet into SQL Server VIA a Import Procedure i created in VB.NET (2003). The excel worksheet's first column has a mix of Integers and Strings. When I populate the datagrid (which i'm using for testing purposes to preview the data before it is entered into the SQL Server Database), I see the Strings, but I don't see the integers. the strings are int he format of "M00000" and the integers are in the format of "000000". What would be the reasoning to this and is there a way to fix it Things I've tried: Converting and Casting as Paul kindly suggested, its the connection string problem. Please modify the connection string to what Paul had suggested and al ...Show All

  • Visual Studio upgrade vb 2003 solution under source control from 2003 to 2005 in other source control db

    Hi, I have a VB.NET 2003 solution under source control(VSS), that I want to update to 2005. Both VS2003 and VS 2005 are installed on my pc. I would like to keep the 2003 version in the 2003 vss db for a few months until I am certain that everything works in VS2005. I have several 3rd party .NET components that are not certain to be 100% compliant. My upgrade path would be: make an xcopy of the entire 2003 solution to a new folder start vs2003 , open the solution that was copied in the new folder in file/sourcesafe/change sourcesafe: unbind all projects and the solution from the VSS 2003 database. close VS2003 start VS2005, open the solution that was copied in the new folder follow the upgrade wizard to convert ...Show All

  • SQL Server MDX help

    Hi All, I have a calculated measure in my OLAP cube which is a distinct count of one of the keys in the Fact table. This is a semi-additive measure so I need Distinct count of the last child of this measure. How can I do this Is there a built-in function to handle this. I am using AS 2005. Any help would be greatly appreciated. Rohit Paul, I changed the granularity in my Time Dimension table to Month. The hierarchy for this dimension is Year - Quarter - Month but the MDX code you sent for the calculated measure still does not work.   Rohit     ...Show All

  • Windows Forms Datagridview SelectionChanged Event

    I have searched and haven't found an answer to this. I am binding a dataset to a datagridview and when I set the datasource, the SelectionChanged event fires multiple times. Can someone explain what is going on and how can I just execute the SelectionChanged event once Thanks, Greg ...Show All

  • Windows Forms OpenFileDialog and Static Variables

    I ran across a weird problem. If I use the OpenFileDialog and call the "ShowDialog" method, it seems that my static variables are changed, usually set to Empty if the static variable is a string. has anyone had this problem before I know it sounds weird but I have verified and re-verified that this is happening. Thanks ...Show All

  • Audio and Video Development Taking Screen Snapshots

    Is anyone aware of a way to take screen captures of the video and save those to the player storage for later viewing application.addEventListener( "scheduled_event" , OnScheduledEvent, false ); function VideoMainCaptureCallback(i,uri) { application.FileIO.copy( "file:///filecache/myimage.cvi" , "file:///required/myimage.cvi" , true ,aplicationFileIOCallback); } function aplicationFileIOCallback() { Player.playlist.play(); } function PlayerVideoMainCapture(filename) { try { Player.video.main.capture(filename,VideoMainCaptureCallback); } catch (ex) { DebugOutput( "PlayerVideoMainCapture(" + filename + ") Exception: " + ex.message); } }   function O ...Show All

  • SQL Server How do you set parameters on a cube?

    I had no problem setting parameters with a relational database. But with a cube its so much more difficult. When i check the parameter box in the dataset it gives me way too many options..when i only want 1999, 2000, 2001, 2002, 2003, 2004, 2005 and 2006. Instead, its displaying all the quarters in each of those years, so i get this long list. Is there any way i can fix that. And actually get the parameter to work. Because when i click one, it doesnt look like it queries the report. Whats the process for putting a parameter in the report Am i missing something Teo, Thanks for this tip. This helps me easily display two levels of a hierarchy for a parameter. I want to display three levels. So my Hierarchy i ...Show All

  • Visual Studio Tools for Office VSTO Tools Add In, Outlook 2003

    Hi, we created an Add In using VSTO Tools for Outlook 2003. We have a problem when Outlook 2003 is running and another application has it as well, and we close Outlook, it still runs in memory but when we open Outlook, our Add In disappears. Is there any event or something we can do to make the Add In shown always Thanks! Please read this blog entry describing VSTO Outlook startup and shutdown logic. I hope it will make things a bit more clear. In particular this part describes the behavior that you are seeing: However, there is another problem with Outlook’s shutdown behavior. Outlook is often automated externally without showing any UI. For example, ActiveSync does this. In this situatio ...Show All

  • Windows Forms form method Show()

    I have 2 forms. from the button of form1 i display the form2 Form2 f= new Form2(); f.Show(); How can i check if the form2 is dislayed (or has been closed) , so i dont display twice the form2 when i click again the button. I think there are many metheds to do this.first,you can use "f.ShowDialog()" to make the form2 show only once.I think this is the easist way. 2.you can dim a countnumber, the countnumber will -1 with the button clicked,if countnumber<0,the button.visible= false .......so on ...Show All

  • Visual Studio Team System Issue in Process Template tool

    I am having issues with the Process Template tool in the latest version of the TFS power tools. I am able to open up the process template and see the editor, but if I expand the Work Item Type definitions and click on one of the work items it comes up with a tab that just has xml in it (i.e. Bug.wit). When I looked through the documentation on the features to modify the layout of a work item, I see that clicking on a work item should bring up another window that has a GUI. Have you seen this issue before Can you check if you have write access to the folder which has the processtemplate.xml. Also can you give your installation steps and any warning or error messages that you encounter during the installation process. ...Show All

  • Visual Studio Express Editions DataGridView Event Handlers

    Hi, I wonder if anyone could help. I have a DataGridView created within code e.g. Dim dgv As DataGridView dgv = New DataGridView I then add columns dynamically and finally add the data. What I don't know is how do I now attach event handlers onto dgv to monitor for events such as row select. Any help would be appreciated. Regards, Sean I think, but dont quote me, the SelectionChanged event for what you are asking should be the answer or a stear in the right direction. To add event handlers, take a look at this: http://msdn2.microsoft.com/en-us/library/system.windows.forms.datagridview.selectionchanged.aspx the example provided should hopefully give you enough to work from ...Show All

  • Visual Basic DB Timing Issue (I think)

    I'm not sure which forum this belongs in, so I'll start here. I write a record to an Access DB and shortly thereafter try to read it back. No record is returned. I break @ the re-read and check Access with its IDE. No record shows. I refresh in Access and still no record. If I let the process run to termination (ie, back to the screen) and then attempt the re-read, the record is there (both in the application and the Access IDE). I seem to recall there is a 'flush' type process that can be called to write dirty buffers, but I can remember what it's called (or really if it exists or is just my Old Memorex Memory). Any ideas (Please don't ask for code -- its about 1000 lines . Roger Hi, It is very difficult to help w ...Show All

  • Visual C++ Release build memory problems leading to performance degredation

    Hi everyone, I have just integrated an old open-source third-party numerical solver into my C++/MFC computational fluid dynamics code, and I'm having problems with performance degradation. The solver makes a large number of memory allocations, allocating around 1Gb in total for a typical analysis. My code uses the solver repeatedly during an analysis, but each time all the allocated memory is freed (according to CMemoryState & Visual Leak Detector). I can run a test where I solve using the same boundary conditions each time - when I do this with a debug build, the runtime for the solver is the same each time, but when I use a release build the runtime climbs each time - rapidly at first (+50% the second time, +40% the third time ...Show All

©2008 Software Development Network