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

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

rmxdave

Member List

mukkamala
GameOver_1
Albert_leung_leung
mameelas
Julio Diaz C.
Ted.
2006
globelin
soconne
AlucardHellSing
ssboyz
Pixelpands
VoiceOfExperience
BLiTZWiNG
Blkbird
danmor
Tall Dude
softwarejaeger
mleary
MarcoVsto
Only Title

rmxdave's Q&A profile

  • Visual Studio Tools for Office Call macro from C#

    Hello: I have an Excel Workbook Project withs VSTO and what i need is to run an existing vb macro. I create the macro with Visual Studio Macros (Alt-F11) inside VS 2005 and the look like this: Imports System Imports EnvDTE Imports EnvDTE80 Imports System.Diagnostics Public Module Module1 Public Sub Test() MsgBox( "Hola amigos" ) End Sub End Module Then i want to excute this macro from a sheet of my project, the look look like this: using System; using System.Data; using System.Drawing; using System.Windows.Forms; using Microsoft.VisualStudio.Tools.Applications.Runtime; using Excel = Microsoft.Office.Interop.Excel; using Office = Microsof ...Show All

  • Visual Studio 2008 (Pre-release) Unable to view xbaps

    Hi all, Ever since I installed the September CTP of thw WinFX Runtime Components, I've been unable to view any of xbaps that I'd been able to previously. I always get the following error "System.Windows.Serialization.BamlParseException: Error at element 'InstallationProgressPage' in markup file 'PresentationUI;V6.0.5070.0;31bf3856ad364e35;component/installationprogress.xaml' : Unable to find DependencyProperty or PropertyInfo for property named 'FocusedElement'. Note that property names are case sensitive.." That is of course just the first line of a long stack trace. Any ideas Hi Karen, I've just tried mage.exe -cc and still get the same problem. Yes I did have the July C ...Show All

  • Visual Studio Team System Problems with walking through the CIL from a custom plug-in...

    Hi Everyone, I'm implementing a custom FxCop rule that calculates the number of 'branches' in a method (a code complexity metric). I thought this would be relatively simple with FxCop: simply implement an IntrospectionRule and when FxCop visits a method, look for all the 'jumps' in de CIL (brtrue, brfalse, beq, bgr, ...). The code I'm implementing is greatly based on the custom rule example by Michael Fanning http://www.gotdotnet.com/Community/UserSamples/Details.aspx SampleGuid=0BE37E51-6A0E-4E8E-A61F-84A388000859 This works fine for methods using if-constructs. The CIL output always contains one of these branch operations for every 'if'. It all breaks down when using a switch construct. I have two problems with this.  1. The C ...Show All

  • Windows Forms How to get same Dateformat to a textbox from datetimepicker?

    Hi I am using VB.net or VS 2005 to get the date display in a textbox from datetimepicker Datetimepicker1.Format = DateTimePickerFormat.Custom Datetimepicker1.CustomFormat = "yyyy-MM-dd" Textbox1.Text = Datetimepicker1.Value The above works fine. I have different question now. The format in the Datetimepicker is "yyyy-MM-dd" BUT I am getting the dateformat in the textbox is "yyyy/MM/dd". So how can I get the date format of ("yyyy-MM-dd" ) in my textbox. not yyyy/MM/dd ...Show All

  • Visual C# What database are you using?

    Daer Srs. I actually would like to know what databases do you usually use.. or what would you recomend for a not very simple winapp how do you mean "what database do you usually use" Everyone has their own way/product they use. It also depends on the type of application. Please tell us the type of application you are creating. Some people use Xml to store data locally, which is ideal for a mini mini database some people use MS Access locally to store data instead of using SQL Server - this would be a better approach if you are not doing major database stuff some people use SQL Server because not only is it industry standard but because it is good at managing and processing large amounts of data, which has more potenti ...Show All

  • Windows Forms DataGridView binding self joined nested table for tree view

    I tried many things to bind the following table to show a tree view id int parent id text But I was never able to display the values of this table in the grid as tree view - only in a linear way. I added a relation id <->>parentid I bound the datagridview to a binding source which contained the dataset as datasource and the relation as member. No success. Is this possible, are there examples TIA Hi, If it is ok for you to use third-party controls, maybe you should try Hierarchical DataGridView control which is developed especially to address similar problems. You can find more information on http://www.applicationaspect.com/SiteSections/Home/Common/Home.aspx Reg ...Show All

  • Gadgets z-index with <object> and <g:background>

    I'm nearing completion of my gadget, but I have one last feature which is stalling me. My gadget is using an ActiveX control to stream video from a webcam. Everything is working great, however I'm running into the old problem of not being able to catch onclick events on the <object> tag. My workaround so far has been to use onmouseover, which works fine, but it is less than perfect. While messing around with g:background, however, I noticed that if the z-index is higher than the z-index of the ActiveX object, I suddenly can right-click on the object and get the normal gadget context menu. Usually, that does not work. Also, the onmouseover event on the object stops firing, which leads me to believe that in some wa ...Show All

  • SQL Server Package configurations stored in the database

    If the configurations are stored in the database then does the package pick up the configuration as and when required or it a one time pick when the package is executed. What I plan to do When the package is executed, I want to have a script task at the start of the package that will update the configuration table in the database with the values that the package needs to run with. I mean change the values of the configurations of the tasks which will be executed after the script task. Thanks for your time. $wapnil spattewar wrote: Ok understand that. Then maybe I can save the package configuration into an xml file and the provide that xml file as an input to th ...Show All

  • Visual C++ set<String> in Visual C++ .NET

    How do you use a set of Strings If I say set<String> *st; String *s = S"FOO"; st->insert(*s); I get an "illegal use of managed type" message. thanks As Jonathan said, you can't use std::set as a container of the managed type System::String.  There is no "set" in the .NET framework, but there is a collection, and Jonathan points you in the right direction.  There happens to be a predefined collection that can be used for strings (but for other types you would use a Dictionary).  Example code below: In C++/CLI (VS 2005), you cannot declare a pointer to a managed type, but you can declare a handle.  String* should be String^. ...Show All

  • Visual Studio 2008 (Pre-release) Bug Fixes

    Hi, Being a developer I know that writing software is a tedious business. I would just like to know how much time is spent by the WPF team going through bugs at the official bug logging site ( connect.microsoft.com) The reason why I am asking is because I logged a few bugs that are really critical for the application we are developing, and I would like a "timeline" as how long the whole process would take before the changes is added in a next CTP (which already to long to wait) or maybe a patch Thank you very much, Jaco Jaco- I'm glad Ben was able to help! It might be better to open up a new topic with a descriptive title for this new issue. Thanks, Rob ...Show All

  • SQL Server URL Access Problem - Temp Window Not Closing Automatically

    Hello, I'm using SQL Server 2005 Reporting Services. I'm having an issue when using URL Access to generate and display a report. As I mentioned, I'm using URL Access to generate the report and display it in different formats (not HTML because I don't want the report in the report viewer). I'm generating and displaying the report in the respective native application (for example, Acrobat Reader when I chose the PDF format). Here's an example of the URL Access string that I'm using: http://localhost/ReportServer /Reports/DailySummary&rs:Command=Render&rs:Format=PDF Doing this opens a temporary browser window and then a dialog that asks if I want to save the report or open it. If I choose to open it, the report opens in ...Show All

  • Windows Forms maximize application up to taskbar

    Hi I have a windows form app which I maximize on startup. The bottom of the form however seems to dissapear behind the taskbar giving an unfinished affect. How can I set the form to fill the screen up to the taskbar Matt This didn't help but while making the change I thought I'd try setting topmost to true. This has corrected the display so that it fills to the taskbar. Slightly irritating in that I now have to specifically minimize the app if I want to work with something else but I can live with that. Might try turning this off programmatically after its been maximized. Thanks all for the help. Matt ...Show All

  • Visual C++ Selected Row - ListView

    Hi, Does anyone know the syntax of getting the selected row for an listview I.e if I click on the second row of the listview it should return 2. Thanks ...Show All

  • .NET Development Composite DataTable or DataSet with multiple DataTables?

    Hi there: I am trying to create a DataTable that includes data from more than one data sources (ie more than one table in a SQL Server database). These data sources are related, there is a foreign key relationship between them. The problem is the foreign key columns in the data sources have the same name. For example I have the ID column as a primary key in Table1 and then I have OwnerID as a foreign key in Table2 and OwnerID in Table3. The foreign key relationship is between Table1.ID and Table2.OwnerID, respectively Table1.ID and Table3.OwnerID. I have a problem adding these columns to my DataTable (since they have the same name). I added the columns with different names, but I can't create ColumnMappings for both of them. If ...Show All

  • Visual C# what files for deploying

    I've built a windows application and when I build the project there are a lot more files than I really need: myconnectiondll.dll myconnectiondll.pdb myDB.mdb myapp.application myapp.exe myapp.exe.config myapp.exe.manifest myapp.pdb myapp.vshost.application myapp.vshost.exe myapp.exe.config myapp.exe.manifest I can grab just the .dll, .mdb and the .exe and it runs just fine. Do I need any files other than those 3 when I deploy the application I'm creating my own installer because I need to install a few other things too, but I might try making a deployment project just to see which files it uses. Thanks ...Show All

©2008 Software Development Network