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

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

crussting

Member List

PaoloZ
Frankelman
Wiegje
Ankini
Ultrawhack
MatHobbs
Soup01
Burrough
XNA Rockstar
Hiral
cohnerap
Rodolfo Caporale
Dr Adrian Colquhoun
GeneralSQL
AboOmar
MaxHeadCase
georgeob
su45937
sascue
Josibe
Only Title

crussting's Q&A profile

  • Visual Studio Rules in DSL Tools V1

    Hello I tried to implement a mechanism to do some action when I add an element on the diagram. In an older thread, I read about Rules. I created a Rule which inherits from AddRule and added some code in the overwritten ElementAdded(...) method. To register this rule, I created a partial class named "GeneratedMetaModelTypes" and added the corresponding type. But it doesn't work, I also couldnt find any other partial class GeneratedMetaModelTypes... Is this not supported anymore in Version 1 Are there other possibilities to intercept the adding of an element Thanks for your reply! Best regards Christian Here is a sample from my model. I have two Rules [RuleOn(typeof(Connector), FireTime = TimeToFire.TopLevelCommit)] ...Show All

  • Windows Forms DataGrid View

    Hi all, I have a DataGridView. May I know how to dynamically create number of rows and columns in a DataGridView Just take for an example if I have 30 rows and 10 columns. Thanks Hi, it would be best to dynamically create a DataTable or a generic List<> of some objects and bind it to DataGridView, possibly with the BindingSource component. If DataGridView's AutoGenerateColumns property is set to true, columns will be added to DGV automatically. Andrej ...Show All

  • .NET Development SqlDataSource to call stored procedure

    Can someone show me how to use SqlDataSource to call stored procedure in a c# class (a support class for aspx) and not in aspx or code-behind Cindy, SqlDataSource is geared more towards declarative code, rather than programmatic access. Even though you could do it, why not just use SqlCommand Sahil Malik http://blah.winsmarts.com ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA/Xbox 360 memory management heads-up...

    I was just browsing through some docs on the 360's heap manager, and it turns out it is a compacting mark and sweep collector rather than the generational model used on the desktop... So... what's the deal regarding: Large block allocation (will it have a large object heap like the desktop version ) GC pauses times (do all threads halt during GC) Rico Mariani recommends a heap size equivalent to the Gen 0 size on the desktop, i.e. ~cache size. That seems way too small unless we are dumping lots of game data into unmanaged memory! Andy. Ross, I fully understand what you are saying, but why on earth implement a compacting GC on a device with 6 hardware threads and 512Mb of RAM Messing around with block all ...Show All

  • SQL Server Add values of distinct rows

    Hello All, I have a scenario wherein I wanted to add the values of distinct transaction number, how do I do that. i.e. Financial organisation (GROUP (Company)) 12/31/2003 606.60 approved 123 (Transaction Number) (1st Row) 5643577(Wok Report) (2nd Row) 01/05/2004 1000.00 approved 124 (Transaction Number) (to Satisfy $1000 three work reports were raised) 5643500(Wok Report) 5643501(Wok Report) 5643502(Wok Report) 02/05/2004 2000.00 approved 125 (Transaction Number) (to Satisfy $2000 three work reports were raised) 5643300(Wok Report) 5643301(Wok Report) 5643302(Wok Report) Total 3606.60 (Total per Company ...Show All

  • Microsoft ISV Community Center Forums Problem passing a range as argument

    Hello there, I'm developing a macro do do some calculations on a worksheet, but I always get a problem when I pass a Range as an argument to my function. My code is simple, and here it is: Sub Main()     Dim Range_do_Comeco As Range     Set Range_do_Comeco = Worksheets("Plan1").Range("AD2")     MyFunc(Range_do_Comeco ) End Sub Sub MyFunc(ByRef Valor_do_Range As Range) 'etc etc End Sub I need to pass the range as argument, because I change the values around the "area" of the range, and it keeps going throught the Plan. The compiler keeps saying, when I call MyFunc that "The object is necessary". Dunno what's wrong with the code =/ Thanks in advance if someone can help me = ...Show All

  • SQL Server Flat file format

    I have a table that I want to export to a flat file . The problem I am running into is, the person I am sending it to needs it in a specific format. It is a comma serperated file and I need quotes on some of the data but not all. For example : "1234",abc,"id" I know how to make it all or none but not conditionally. Also I have some fields that the total in them is 0.00 and when this gets exported to the file the format become .00, is there a way to make it 0 with out changing the ones that have totals. Thanks. 95five0 wrote: Thanks for the advise. Basically what I did was create a temp table and essemble each line into one varchar field. Then I just pushed the data from the temp ...Show All

  • Visual Studio Team System Performance Analysis in debug mode

    Hi, i have a solution with 7 projects, one .exe project and 6 .dll projects. I want to profile info on one of the .dll project. I can do it in "release mode". My question: Is it possible to collect profiling (instrumentation) info in "debug mode" If possible, how can i do it When i try to do it, i receive the error message: "Assembly was not found. Please check your Application installation" Thanks. Abongs Ian, Thanks for your answer. I stil have a problem with profiling instrumentation in debug mode. Now i receive the error message: "PRF0025: No data was collected." after the solution was close. I thing i will follow your advice <spending time on areas that are not really perform ...Show All

  • Visual Studio Express Editions Timer won't fire

    I have a timer on form1 with the timer_tick set up like this:     Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick         teaTime = False         MessageBox.Show("End timer")     End Sub In a module I have:     Public Sub Transition1()         Form1.Timer1.Enabled = True         teaTime = True         Dim st As Integer = 0         Do While teaTime             ...Show All

  • SQL Server Data transfer from ODBC to Sql Server

    Hi Can Anybody tell me the different ways of transfering data from ODBC Layer to SQL Server using C#. I want to transfer using Threads,means by running 4 threads, I need to transfer 4 tables at a time. Though we have SQLBulk copy Object in .NET it's not useful in multi threader env. Can anybody help me in this. My Vizai wrote: Thanks for the reply Duane . I'm also looking for that , how to . There are probably several ways to do it. One way is to implement a call back when a row is inserted. There would need to be a sql server trigger that fires each time a row is inserted. The call back would notify the client each time the trigger fires. Exactly how you would structure the call back is up t ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. No typedef and no Include. . .

    Are these VBA programmers writing the .Net framework and languages Many of you probably already know this, as I'm arriving late to the party. I wanted to use the typedef equivalent but apparently not in C#. Then of course I thought I'd try the #include -- maybe so, if I wanted comments (I gather). The end result: Common.cs using System; namespace <yoursHere> { using ID = System.Int32; public class objID { private ID itsID; public objID( ID theID ) { itsID = theID; } public ID ID { get { return itsID; } set { itsID = value; } } } } Did I miss something typedef UINT classID; class AClass { classID itsID; } ...Show All

  • Visual Studio Tools for Office Developing for both 2003 & 2007 with VSTO 2005 SE

    Okay, maybe this is a stunned question, but I want to make sure I'm crystal clear before I head too far down the wrong path. I did a search, and I understand all but one thing... I want to make an add-in for both Outlook 2003 and Outlook 2007. I *do* understand that the best (only ) approach is to make a "stub" add-in for 2003 and another "stub" for 2007, and have them each call into common assemblies. No problem there. On my development machine, I have Office 2007 installed. That means I don't have the Office 2003 PIAs (since you can't have both Outlooks installed at once). So if I make a new VSTO 2005SE project for an Outlook 2003 add-in, it obviously bitches that it can't find the Office 2003 PIAs. My question is: is ...Show All

  • Visual C++ dataReceived String???

    I am receiving data from the serialPort. The data is in the form of a System String. I am able to display the data in a text box but now I want to work on it! The data is from a hardware device so there are a few states that I need to display. Each string begins with a U, I, O, or P. There is some 0's and 1's and ends with a carriage return, line feed. When the program sees a \r\n I want to the program to examine what was received and give the correct output accordingly. I assume that I will need to read the data received into an array - but each time I try, I get error messages relating to the fact that you cannot convert a system string into a char or int. How would I store the string data that is received How do I then lo ...Show All

  • Visual Studio Express Editions Linking a ToolStripMenuItem

    Hi! I want to link an ToolStripMenuItem when I click it to another form so that my "Form2" will show up. Code examples You simply need to create an event handler that executes when the menu’s click event is fired and it is generally as simple as: Private Sub SomeToolStripMenuItemToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SomeToolStripMenuItemToolStripMenuItem.Click Dim form As New Form2 form.Show() End Sub Where SomeToolStripMenuItemToolStripMenuItem is the name (overly long in my case) of the ToolStripMenuItem that has been clicked on. Inside of this function we simply create a reference to a new form2 object and show ...Show All

  • Audio and Video Development Standard DVD

    Is it planned to create a tool that can convert existing standart DVD content to hd-dvd application, that declares the same list of video titles and chapters Polina wrote: Is it planned to create a tool that can convert existing standart DVD content to hd-dvd application, that declares the same list of video titles and chapters FYI: http://www.apple.com/de/finalcutstudio/quicktours/ quicktours/delivery/qt_dvsp_1_convert_sd_to_hd ...Show All

©2008 Software Development Network