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

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

Sabrecat

Member List

Lance Colton
Bonebreak
w014nd
Artschi
Secsi
pitks
Seiggy
barkingdog
Don Eddleman
WaaZ
BFlynn
Evan Mulawski
RayClark096
narend
Cilieborg
LLeuthard
Gabriel Gheorghiu
Can-Ann
Chris Holt
singam
Only Title

Sabrecat's Q&A profile

  • Windows Forms CollectionEditor problem :(

    I've been working on a CollectionEditor, but I'm getting an obscure error message whenever I try to use the Add button. To reproduce and demonstrate this error, I've made this short piece of code: using System; using System.Collections.Generic; using System.Text; using System.Collections.ObjectModel; using System.ComponentModel.Design; using System.ComponentModel; using System.Drawing.Design; namespace Test { public abstract class BaseItem { private string _name; public string Name { get { return this._name; } set { this._name = value; } } } public class IntItem : BaseItem { private int _value; public int Value { get { return this._value; } set { this._v ...Show All

  • Visual C# Move Directory Across Volumes

    I have developed an application designed to copy a directory on the D:\ drive to the C:\ drive, and I recieve a message that it can't copy across volumes using the following line of code: System.IO. Directory .Move( "D:\\WBWU" , "C:\\My Documents" ); Would that work, or am I wrong That's right. I guess one way would be to go through each file and sub folder and copy it that way. It's a bit hard but there is code to do this on these forums. It's to do with security permission apperently ...Show All

  • Windows Forms datarelation and dataview

    Simple q regarding .net 2003 I got several tables A master and e few details/child tables add datarelations to it and bind it to controls... so far so good Now i wan't to filter/search the mastertable, Sound easy but when  i use a dataview i lose sync with the detail/child tables Remco how exactly do you mean "lose sync" how are you filtering the data Are you using the Select() method in the dataTable Example: DataRow[] theResults = theDataTable.Select("[ID] = 6"); this will return back all relevent records, I believe, of the search criteria does this help ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. New Starter kits?

    Hi everyone! I just joined the creators club and deployed my first game (The spacewar kit) and everything worked great! But I was under the impression that with the launch of the creators club we would have access to more starter kits and tutorials. Are more of these comming in future updates Or am I just missing them 1) Yes. 2) No. The XNA racer kit is not ready yet. See here . ...Show All

  • Visual Studio Need RAM

    I have just excuted some data flow packages, which requires more RAM, virtual memory. I will continue building the DW etc etc... Today I have altogether 256kb + 256 kB. What if I change one to 512kb. Would that be enough or should I by 1 GB How much RAM you need depends on several factors. 512MB is a minimum and I have experienced that 2GB of RAM is ideal. Nevertheless the increased productivity that you gain by adding extra RAM by far outweighs the cost. But for now, try to increase the paging file to the recommended settings and shutdown services and applications that you are not using (Eg SQL Server Developer Edition) ...Show All

  • SQL Server PDF Rendering bug

    We are trying to publish a group of financial reports using SQL Server Reporting Services. We have hit a snag when we try to render the reports in PDF format. The leading spaces of each line are stripped in the output file. For example: Department 10.7240 - ICU Expenses SubDepartment -------- ------------- 1,200 100 454 150 Becomes: Department 10.7240 - ICU Expenses SubDepartment -------- ------------- 1,200 100 454 150 Does anyone know a solution for this problem By the way, we did upgrade to SP2. That did not correct the problem. Thanks for the information. Actually we are moving a fully formatted report from an old DEC Alpha system to .pdf ...Show All

  • Visual C++ Static Datatype

    Hello I am not sure when to use a static data type when coding a win32 program. Can someone pls explain that concept. Thanks Revant wrote: Can someone pls explain that concept. Static has different meaning, depending on the context. If used in a function, the variable will retain its value for all executions of that function. It will be initialized only once. void foo() { static int myVar = 0; myVar++; // myVar will be incremented by one, for each execution of foo() } A class function marked static will be callable without an instance of the class class Foo { public: static void myFunction() { // myFunction can not access non-static members of Foo! } }; ...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 Abongs, Yes you can collect profiling data in debug mode, although I would not advise it. In debug mode, your code will not be optimized, so you may end up spending time on areas that are not really performance issues when running in release mode. However, if you really want to you can debug in profi ...Show All

  • Visual Studio Team System Merging: How is the target branch determined (or: how to merge)

    Hi, I am trying to merge a changeset into another branch. I'd like to know how Team Foundation Source Control determines what target branches are possible to choose. Let me explain by examplifying. My branch setup is this The root is branched into 2 separate branches, A and B A is later branched once more, so we have A and A.a. Now, I'd like to merge a changeset from the branch A.a directly into B without merging the change into branch A. Is this possible The target branches I get when I choose the A.a source tree is only A, not B. For the simple case this is true but I am going to write a blog post that shows how this fails for a lot of the complex scenarios and why we decided not to do it. Now that does ...Show All

  • Visual C# Prebuilt collection class?

    Does .NET 2.0 have any pre-built (non-abstract) collection or dictionary classes I'd like to have a simple collection with strings as indices and some custom objects as values, where I can add, remove, check if an item exists, and get an item by index. I really don't want to have to implement all of the needed methods, but I haven't been able to find any ready-made collection classes in the .NET libraries. Any ideas To answer my own question, I found it: System.System.Collections.Generic.Dictionary<key type, value type> The implementation is a little unwieldy (separate ContainsKey() and ContainsValue() methods, for example), but it will have to do. ...Show All

  • .NET Development Using custom IClientChannelsinkProvider in Code

    Hi EveryBody, I have written Client Side SinkProvider, which I can use through configuration file, but I don't know how to use it through code. The configuration code is as follows: <configuration> <system.runtime.remoting> <application> <channels> <channel ref="http"> <clientProviders> <formatter ref="soap" /> <provider type="ClientProvider.ClientSinkSerializerProvider,PrjServer" /> </clientProviders> </channel> </channels> <client> <wellknown type="PrjServer.Server,PrjServer" url="http://192.192.7.69:6000/PrjServer/test.rem" /> &l ...Show All

  • .NET Development how to do this..urgent hepl

    hi all i would liike to redirect the page with two string to be sent to another page i ve been suggested to do with item template column.. here my code goes <asp:TemplateField> <ItemTemplate> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("vname", "pdmcutmilestonedetails.aspx vname={0}") %>' Text='<%# Eval("vname") %>'></asp:HyperLink> </ItemTemplate> </asp:TemplateField> how to add one more value called cutno as parameter vname is passed .. how to add cutno am gettin this error format exception was unhandled by user code.. Index (zero based ...Show All

  • Visual Basic Colour Combo Box

    Hi, How do i get a combo box to display system colours As i am using it so the user can select the background colour for a graph. I have tried colourcb.text = color() but this produces an error any ideas Andy nogChoco, Took me a few minutes to figure out how to 'dll build' it to add to my toolbox. (versus just using it as a class.) But man, that code rocks! ...Show All

  • Visual Studio VSS 2005 Http connection

    Hello All I tried to set up my http connection, however I am getting the following error message, failed to launch the IIS server . Hi, Do you have IIS installed on your machine You can check that through Control Panel -> Add Remove Programs -> Add/Remove Windows Components -> IIS. Also when exactly are you receiving the specific error you talk of. Are you getting this while opening the VSS database Thanks, Nitin ...Show All

  • Visual C++ Change DLL Search Order Dynamically?

    Is there a way I can alter the dll search order dynamically (launching executable process) * SetDllDirectory( ) only works with LoadLibrary/LoadLibraryEx * CreateProcess( ) doesn't seem to have any flags/parameters to toy with. * LoadLibrary( )/LoadLibraryEx( ) don't load executable bits for executing (only for resource manipulation) * Changing values in the registry upon load is unacceptable and would likely break anyway. einaros wrote: Rafael Rivera wrote: Yea, I went down the Detours path but couldn't find a way to avoid having to write a copy of the original executable to disk so I abandoned it. If I could use Detours and pipe the output to a portion of memory and execute it, then ...Show All

©2008 Software Development Network