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

Software Development Network >> Michael Ruminer's Q&A profile

Michael Ruminer

Member List

binod m paul
yanivpinhas
Hans1982
Matthew Wiggins
Tommi Pitkälä
Inferno986
MohsinAta
THE RAZI
Vinit Tyagi
AlexBB
perstam
Leo Kent
ComicSansMS
John Lieurance
Whoisit
GeraldH
WarehouseMan
amisole
Jon Braganza
Ravindra Patil
Only Title

Michael Ruminer's Q&A profile

  • Visual C# How to store long value in byte array

    I am trying to store a long value in a byte array. How to do it One solution would be to use MemoryStream and BinaryWriter classes like this: byte[] GetArray(long value) { using ( MemoryStream stream = new MemoryStream ()) using ( BinaryWriter writer = new BinaryWriter (stream)) { writer.Write(value); return stream.ToArray(); } } ...Show All

  • Visual Basic IDE adds decimals

    Hi! This odd behavior started the other day and I can't seem to find why this is happening. Let's say I have a "dim myVar as single" When I type : myVar = 0.8F The IDE changes it to : myVar = 0.800000012F Any idea why this happens Thx! What addins do you have running What is the Regional format of your PC I can not find anything in the IDE that would cause this behavior ...Show All

  • Windows Forms LinkLabel doesn't work with web-URL

    Ok, I'm totally new to programming, but please help me anyway. When I click a link in any application that should call some "http://..." or "file://..." URL, I get an exception telling me "application not found". Since I've started with VB programming, I've stumbled across this darn bug again and again when testing my first steps as a programmer and learned that it's the command System.Diagnostics.Process.Start that's causing the ruccus. (Well, not exactly since it seems to be some setting in my Windows XP that's really causing it. ) I've posted the very same question in oh so many forum threads all over the web, but never got an answer that solved this problem. Can (pretty please) someone tell ...Show All

  • SQL Server DTS Packages Unspecified Error

    WE have dts packages created with ftp component in Sql 2000 dts designer. At the same time client where we are developing the package has sql 2005 components. When we move this package to sql 2000 production server - we can execute nor we can open the package it will give unspecified error. if we recreate the package on client which does not have sql 2005 component than only it works. So for any mistake the packge once opened in sql 2000 designer also with client having sql 2005 components it does not work. Only criteria this error happens when you have ftp component used in dts package. Did anyone has seen this problem Any fixes or patches available to be applied Thanks for the help. Manoj Hi Microsoft already kn ...Show All

  • Visual Studio 2008 (Pre-release) TOP/LIMIT Support for LINQ?

    Is there (or will there be) any support for limiting a result Something like var pagedData = from ds in datasource rows 50 to 100 select ds; Regards, Daniel You have at least 3 options for profiling. 1) Use SQL Profiler with SQL Server. 2) The datacontext exposes a .Log method which attaches to a stream and outputs the generated queries to that stream. You can easily attach it to the console window using the following: db.Log = Console.Out 3) The MAY CTP includes a visualizer which you can use during debugging to examine the LINQ to SQL generated query. It also allows you to modify the query and test fetching the results. To check this, put a breakpoint on your foreach and hov ...Show All

  • Visual Studio report viewer

    report viewer ... is there a way to directly print a report, without previewing it Take a look at www.gotreportviewer.com for samples that do this. ...Show All

  • Windows Forms OMG Accidently discovered how to make any control readonly w/o Graying. (possibly a bug)

    This is a new version of the old put it all in a panel and disable the panel trick. I did this in Visual Studio 2005 and it is repeatable. I discovered this entirely by accident. Create a new User Control (You use this as your "Panel") now drop in a text box, and , some combo boxes and a few checkboxes for good measure. Normally when you diable your user control any child controls are also diabled as is the new way , but check this out. Add the followign Code to your user control protected override void OnEnabledChanged( EventArgs e) { foreach ( Control childC in this .Controls) { childC.Enabled = false ; } base .OnEnabledChanged(e); } Thats it!!!!! Now there is o ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA framework for non C#

    One of the great advantages of the .NET framework is that developers can work on the same project in different programming languages. As I'm reading about XNA, it seems that this will not be possible with the XNA framework. Will the only programming language that has access to the XNA framework be C# I believe Microsoft should support a VB compiler and documentation. I am a VB programmer, I have considered moving to C#, but from what I have heard there is a productivity hit. And anyway if Microsoft is going after the hobbyist market then there is no better language than VB. Alternatively Microsoft could offer XNA C# documentation specifically for beginner programmers just to get people using programming and then move them onto creati ...Show All

  • .NET Development splitting web.config file

    My web.config file is very long and difficult to find code. Is it possible to split web.config file into a no. of Xml files If so please let me know the approach to split. thanx in advance, See my ASP.NET 2.0 configuration article here: http://www.odetocode.com/Articles/418.aspx . Specifically the section named "Using an External Configuration Source". Hope that helps, ...Show All

  • Audio and Video Development video zoom

    I'm working on a small function that zooms the video (with optional panning) but using the code below doesn't seem to work, any tips addEventListener("controller_key_down",keyPressed,true); function keyPressed(evt) { Player.video.main.changeLayout(0,0,Player.createVideoScale(1,2),0,0,1920,1080,"00:00:00:00"); } The above code should have changed the video on any key press. Thanks I changed it to this now: addEventListener("controller_key_down",keyPressed,false); function keyPressed(evt) { Player.video.main.changeLayout(0,0,Player.createVideoScale(1,2),0,0,1920,1080,"00:00:01:00"); } but still no effect in emulator or on the A1. ...Show All

  • SQL Server output to a text file

    Is it possible to send the output of a query to a text file in a stored procedure When I run stored procedure in Query Analyzer I am able to do that and I am wondering if this is possible in a automated way Hi, you can call the bcp utility from stored procedure.. create procedure copytoTextFile as exec master..xp_cmdshell 'bcp "SELECT au_fname, au_lname FROM pubs..authors ORDER BY au_lname" queryout c:\Authors.txt -c -S -Usa -Ptest' ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA - Microsoft lack of vision

    Its real sad that Microsoft, once again, shows this lack of vision for a games development tool: 1: Get visual: Don't force users to write such a lot of code to do just very little. It reminds the Charles Petzold's "Hello Window" hell of code days. 2: Provide visual tools: Let users choose the components, change their properties and write just the required code for the events. 3: Quick development means quick prototype and minimum learning curve. XNA has a lot of things to learn. Definetively it is NOT for students and hobbists. We will have to wait until someone encapsulates XNA framework into a group of visual components, that can be easily drag & dropped, inspected and tested very easily without having to learn lots of n ...Show All

  • Software Development for Windows Vista more than one Video Renderer, the get_FullScreenMode() always return E_NOTIMPL!

    In my program there are two video render filters, one for local window and the other for remote. However, when I did the following: IVideoWindow *pRemoteVideoRendererVW=NULL hr = Graph.gcap.pFg->QueryInterface(IID_IVideoWindow, (void **) &pRemoteVideoRendererVW); if (hr!=S_OK) { Log.Log(1,"IID_IVideoWindow failed %08x",hr); return; } LONG lMode; hr= pRemoteVideoRendererVW->get_FullScreenMode(&lMode); if (hr!=S_OK) { Log.Log(1,"CCyklOneDlg::OnFullscreen get_FullScreenMode failed %08x",hr); goto exit; } Everything went through without any error. Excepting the pRemoteVideoRendererVW returned by the QueryInterface() does not guarantee that it was the remote windows. It sometimes returns the local vid ...Show All

  • SQL Server Line Break formatting

    I have a report with a narrow column. The column contains a comma delimited number list. If the length of the string exceeds the width of the column then the line breaks. No problem with this, except that there are breaks between the numbers. Example: 123,124,125,126 can be formatted as 123,12 4, 125,1 26 I'd like to force a break at a position within the string if its on the comma. Any thoughts on doing this in the Expressions window TIA By assuming that all your number list of three digits than we can adjust the column width such that it fixes the numbers. if numbers are not fixed length digits than i wont think we can do . ...Show All

  • Smart Device Development OSIP porting to winCE

    Hi , can anybody tell me how to port osip library on winCE I am working on visual studio 2005 Since I want to use it for smartphone 2005 sdk. Thanks in advance Hi , This forum is primarily monitored by Visual Studio for devices group. Please check this link for more appropriate forums for this type of queries. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=286724&SiteID=1 Thanks Srikanth Bogadapati ...Show All

©2008 Software Development Network