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

Software Development Network >> Marlon de Graaf's Q&A profile

Marlon de Graaf

Member List

Matt Ortiz
retread
schmod54
mackenzie 2480
Javafun
Ian Cook
BigBoom
Tryst
Cobolman
Aleniko29139
Northwester
TheAmigo
BI NeuMan
polymorphicx
VeryNoisy
explode
enric vives
jwadew
anita punjabi
GLutz78
Only Title

Marlon de Graaf's Q&A profile

  • Visual Studio Tools for Office [Word] Runtime error on loading custom add-in

    Hello, I have a problem with loading my own add-in after I deployed the setup and installed the add-in. When I run the add-in directly out of visual studio it all works fine. However when I generate the setup.exe and use it to install the add-in it won't display in Word. When I go to the COM-addins dialog in Word I can see that it is indeed installed. When I click on it, i see the message: "Not loaded. There was a runtime-error ...... ". My guesses are that it has to do with security or something. I already put the macro's security to the lowest level, and followed the directions on http://msdn2.microsoft.com/en-us/library/aa537179(office.11).aspx to add something for the security. I allready spent hours searching google for this ...Show All

  • Visual Studio Team System What does locklevel == Unchanged means?

    Hi, any one knows what that locklevel means You can find the definition of locklevel here, but no explanation for it http://msdn2.microsoft.com/en-us/library/microsoft.teamfoundation.versioncontrol.client.locklevel(VS.80).aspx It means to not change the existing lock level on the item. For instance, if I pend an edit on a file that already has a checkin lock, I can specify either a particular lock level (including None), or I can specify Unchanged meaning to leave it whatever it already is - if it's currently unlocked, it stays that way, if it's currently got a checkout lock, it stays that way, etc. This is mostly useful IMHO when you're using the object model and programmatically doing operation ...Show All

  • Smart Device Development Timer invoke between threads

    Hi, In my previous thread in this forum I asked how to reach objects between different threads. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=638251&SiteID=1 Now I wonder how to run different timers in the same program, since they have no invoke() method. My first timer is polling different objects. On incoming answers I want to start a new timer for execution of the request a certain time. How do I do Pseudocode of how it is now, but does not work, is: timer1.Enabled = true; timer2.Enabled = false; private void timer1_Tick(object sender, EventArgs e) { if 1 poll1() if 2 poll2() } public void serialPort_DataReceived(object sender, SerialDataReceivedEventArgs e) { timer2.Enabled = True; if 1 execute1(); if 2 execute2(); } ...Show All

  • Visual C# Beginner question about method overloading!

    Can someone please explain to me what a method overload actually is and maybe possibly give me a code example in C# for me to see I am looking to land an entry level dev job and need to know this question! Thank you! Thank You boban.s! So what you are telling me is that method overloading gives the developer an opportunity to ' get ' more information from one method instead of creating multiple methods within the code. Correct ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. C# and Managed DirectSound reading samples from mic and writing samples to speakers

    My apologies, I've seen many references to this on the web. However, I have not been able to find complete enough documentation to make it work. I would like to read raw samples from the microphone, e.g. 16-bit PCM samples. I would like to be able to read them into a byte[] buffer or short[] buffer or something like that. I would also like to be able to take a byte[] or short[] buffer of PCM samples and write them to the speakers. I'd like to be able to do this using DirectSound under C# if possible but if I need to use some API under C# that wraps some underlying dll functions, thats ok too. I just need documentation or better yet, a well documented, COMPLETE example on how its done. Oh, and one last thing, I'd like to be able to do this ...Show All

  • Visual Basic Unable to find an entry point named 'destroyicon' in DLL 'user32.dll'.

    im working on visual basic 2005 express. im learning from the e-book 'build a program now" downloaded from msdn site. i m building weather tracker program. when i start debug i get this problem. how can i solve this. is that because of user32.dll or because mf my code ...Show All

  • .NET Development R

    I am getting some xml file from the resource to which i can't change the generated xml. In my application i am transforming this xml file by the help of my created xsl file to new xml file. I am getting the above mentioned error when Itry to execute mycode for transformation string fXmlFileName = @"C:\Test\FirstExporter1.xml" ; string fXsltFileName = @"C:\Test\FirstExporter.xsl" ; StreamWriter msOutput = new StreamWriter ( @"C:\Test\FirstExporterNew.xml" ); XPathDocument doc = new XPathDocument (fXmlFileName); XslCompiledTransform xslt = new XslCompiledTransform (); xslt.Load(fXsltFileName); xslt.Transform(doc, null , msOutput); msOutput.Close(); Can an ...Show All

  • SQL Server How to use cell data security with visual totals?

    Hi, We are working on a project with SQL Server 2005 and SSAS. We created several roles using dimension security and one special role that requires cell data access permissions (i.e. cell security). This last role is giving us trouble since we do not know how to implement visual totals on cell security. A problem description follows: 1) We have a budget and expenses cube with a) Account, b) Time and c) Cost Center dimensions 2) The special role was created for a group of users who have the following requirement for data access permission: - for some cost centers, restrict access to some accounts - and for the rest of cost centers see all accounts 3) When looking at data at the cost center and account level, the role works fi ...Show All

  • Windows Forms datagridview calendercolumn resetting by itself

    i have a problem. the cell 5 and 6 of my datagridview are calendercolumns(frm msdn help). whenever i run the program and exit, the calendercolumns are resetting to postions 0 and 1. i mean the column 0 and column 1 of datagridview are coming as calendercolumn. it is resetting by itself. i didn't add any such codes. even if i am running some other forms of the project it is resetting.hw can i solve can anybody tell me why ...Show All

  • Windows Forms picturebox.creatgraphics, when i close the window and reopen it the image is gone.

    using System; using System . Collections . Generic; using System . ComponentModel; using System . Data; using System . Drawing; using System . Text; using System . Windows . Forms; using System . Drawing . Imaging; namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click( object sender, EventArgs e) { Graphics g = CreateGraphics(); IntPtr pHdc = g . GetHdc(); Metafile mf = new Metafile ( "c:\\test.emf" , pHdc); g . ReleaseHdc(pHdc); g . Dispose(); g = pictureBox1 . CreateGraphics(); g . DrawImage(test(mf),0,0); mf ...Show All

  • Windows Forms About winform UI like options in vs

    I want to make a options window like option window in vs. when I click node in tree view leftside, the content on the right panel will changed. I get to way, one is use groupbox, the other is usercontrol. but I think all of them is too complex if there is a lot of options. Is there any suggestion thanks You could use a PropertyGrid, very easy to use but not easy to customize. It is not displayed by default in the tool box. Right click the toolbox and choose Add Items, check "PropertyGrid". ...Show All

  • Audio and Video Development Problem in Monitor Control API's in Vista

    I have ATI card on my VISTA system, I want to control the monitor parameters using Monitor configuration functions. As a result in my appilcation I have loaded the dll, like LoadLibrary ("dxva2.dll") I also get the proc address of following functions GetNumberOfPhysicalMonitorsFromHMONITOR = (tGetNumberOfPhysicalMonitorsFromHMONITOR) GetProcAddress (hModule, "GetNumberOfPhysicalMonitorsFromHMONITOR"); GetPhysicalMonitorsFromHMONITOR = (tGetPhysicalMonitorsFromHMONITOR) GetProcAddress(hModule, "GetPhysicalMonitorsFromHMONITOR"); GetCapabilitiesStringLength = (tGetCapabilitiesStringLength) GetProcAddress(hModule, "GetCapabilitiesStringLength"); When I try to use these function, follo ...Show All

  • Windows Forms Help coloring individual cells in datagridview based on cells beside them.

    Hi, I have this requirement to color individual cells in the datagridview based on the value of the cells right of them.  There is how the data looks like: ID  Time                     D1  D1Q   D2    D2Q     D3  D3Q ..... 1   '1/1/2007 00:05'  35  BLUE  23.5  GREEN   42  RED 2   '1/1/2007 00:10'  38  BLUE  24.8  YELLOW  38  YELLOW 3   '1/1/2007 00:15'  41  RED   23.1  YELLOW  33  RED 4   '1/1/2007 00:20'  36  RED &nb ...Show All

  • Visual Studio 2008 (Pre-release) Creating of message secured binding programmaticaly

    I have to imlement the client, which interoperate with the remote web service which is not WCF-based. The connection with remote system can be established by using of the basic profile and WS-UserName message security mechanism. This is the configuration file genareted by svcutil: < basicHttpBinding > < binding name = " localhostBinding " bypassProxyOnLocal = " false " hostNameComparisonMode = " StrongWildcard " maxBufferSize = " 65536 " maxBufferPoolSize = " 524288 " maxReceivedMessageSize = " 65536 " messageEncoding = " Text " textEncoding = " utf-8 " transferMode = " Buffered " useDefaultWebProxy = " true " & ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SpaceWars example, don't understand a scope thing

    Ok, i've been trying to solve this in my own game classes, and I'm wondering how exactly the SpaceWars game does it. for instance, if you look at Font.cs, and go to: public static void Draw( FontStyle fontStyle, int x, int y, string digits, Vector4 color) { float xPosition = x; FontInfo fontInfo = _fontInfo[( int )fontStyle]; for ( int i = 0; i < digits.Length; i++) { //Do't draw anything if its a space character if (digits != ' ' ) { //Look up the character position int character = fontInfo.Characters.IndexOf(digits ); //Draw the correct character at the correct position batch.Draw( SpacewarGame .ContentManager.Load< Texture2D >( SpacewarGame .S ...Show All

©2008 Software Development Network