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

Software Development Network >> moh hassan's Q&A profile

moh hassan

Member List

Markus Fritz
worldhello
BobTheBuild
Srdjan
Pradeep Gupta
Sarath.
Omar Fawzi
fubnuts
Michael Vanhoutte
Maaloul
bo.skjoett
JIM.H.
Steve from adzac
gokhanmutlu
simon_56387
MMCompton
anomolous
bgailer
Deb Magsam
Evan Mulawski
Only Title

moh hassan's Q&A profile

  • Visual Studio Tools for Office Outlook property page does not show correct

    Hi all, i added a new property page to Outlook (developed with VSTO in C#). This page shows up, but it has a little bug. There is a small part which is not shown correct. I’ve added a picture which shows the problem. http://img.langalaxy.de/ppage.png What can I do, that the property page looks like "Outlook" property page Thanks All the property pages have this small free space. There should be no controls. I am glad, when this small bar has the same color as the rest of the page. I use a 15" display at 1400 x 1050. ...Show All

  • Windows Forms Loading data into winforms with strongly typed datasets

    I've been experimenting with strongly typed datasets and relational databases with winforms. I am wondering if there is a better established approach then the approach that I am taking to store and update data. The method that i'm currently employing goes like this: I have an mdi parent form which has mdi children. Each mdi child (for example) represents a file. That file will have a unique ID, so the file can be loaded in two ways - creating a new file or loading an existing file. The file will have misc properties made up of textboxes, comboboxes etc. So the file objects have the following properties and methods: class File : Form int FileID ; File() - basic constructor AssignID () - uses stored proc to create a row in da ...Show All

  • Visual Studio 2008 (Pre-release) Transition framework with Slide In, Fade In, and Wipe samples

    Hi All, As promised in this post I've written a blog entry about a new technique I came up with for implementing transitions: http://11011.net/archives/000661.html I put up a sample project that contains an example of the New York Times Reader "Slide In", a simple "Fade In" and the "Wipe" transition from LearnWPF . - Doug ...Show All

  • Visual Basic downloading files via inet

    I see a lot fo vb6 code for downloading files from a web server. I've found one "ok" method of tracking download progress. Other than porting this stuff to .net from 6, are there any improvements to inet and this process in vb.net I'm using vb.net 2003 I found this. Seems to be what I want: Function DownloadChunks( ByVal sURL As String , ByVal pProgress As ProgressBar, ByVal Filename As String ) Dim wRemote As System.Net.WebRequest Dim URLReq As HttpWebRequest Dim URLRes As HttpWebResponse Dim FileStreamer As New FileStream(Filename, FileMode.Create) Dim bBuffer(999) As Byte Dim iBytesRead As Integer Try URLReq = WebReq ...Show All

  • Windows Forms Accessing the Html page having activex control through internet explorer using UNC path

    Hi, While accessing the Html page having activex control through internet explorer using UNC path, IE (6.0 sp1 on windows XP SP2) fails to load the page. for eg: \\localhost\check\client.HTM here the "client.HTM" has an activex control created in vb. Any other way to load the page in IE using UNC path Thanks in advance. Regards, Kailai ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Extended desktop issues

    Hello. We have an application which plays back video full screen (signage). Recently, we introduced the ability to allow users to configure it so that it "plays back" on an extended desktop rather than the main desktop. We are aware of the issues that govern how video is played back on extended desktops (i.e. the card will play it back on one or the other, but generally not both simultaneously). We use Managed DirectX (microsoft.directx.audiovideoplayback) to handle our video stuff and to date, it's worked perfectly. However, we've run across a problem whereby *some* video (WMV HD and better quality video). So, we can watch the app play back a sequence of video and it is always the same video which fails to render proper ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Why does this not work (calling xna from c++)

    // Hi, // Linker option is /clr, entrypoint "main". Don't forget to add the required references. Heres the code : // file "main.cpp"   using namespace Microsoft::Xna::Framework; using namespace Microsoft::Xna::Framework::Content; using namespace Microsoft::Xna::Framework::Graphics;   namespace SimpleGameLoop { ref class Game1 : public Microsoft::Xna::Framework::Game { public : Game1() { hGraphics = gcnew GraphicsDeviceManager( this ); hContent = gcnew ContentManager(Services); }   protected : virtual void Initialize ( void ) override { Microsoft::Xna::Framework::Game::Initialize(); } vir ...Show All

  • SQL Server AMO. AggregationDesign.EstimatedPerformanceGain

    Hi, why this field is always empty I this a "free" field, that can be set from ISV developer as he want But it is not persistent. (Is this a bug ) What a purpose of the field This is not right. After designing aggregations this field is definitly not set in AMO. public static void DesignAggregation( MeasureGroup pMg, long pOtimizations, long pAggCount, out long oOptimisations, out long oAggCount ) { double lOptimizations = 0 ; double lStorage = 0 ; long lAggCount = 0 ; bool lHasFinished = false ; AggregationDesign lAd; lAd = pMg.AggregationDesigns.Add(cDefaultAggrDesign); lAd.InitializeDesign(); lOptimizations = ...Show All

  • SQL Server MDF Size and SP_SPACEUSED

    How come my SP_SPACEUSED and the actual file size don't match db1.MDF 932,032 KB (viaexplorer) db1_log.LDF 734,784 KB (via explorer) SP_SPACEDUSED database_size 1627.75 MB unallocated space 211.77 MB reserved 715176 KB data 569496 KB index_size 26152 KB unused 119528 KB Why is there such a big difference It did match: data file size + log file size = database_size. Therefore, applying the formular, you will find the result is consistent: (932,032 KB + 734,784 KB) / 1024 KB/MB = 1627.75 MB Thanks Stephen ...Show All

  • Visual Basic wmp.dll playlist problem

    I'm trying to make a player using wmp.dll. I want to be able to have a song playing, then if someone wants to add another song to the now playing playlist, like if you right click on a song file and it says "Add to Windows Media Player list". I'm trying to load the song into the now playing playlist from an input dialog box, if that helps. I know there is a .currentPlaylist.insertItem(lIndex as Integer, pIWMPMedia as WMPLib.IWMPMedia) function but if i say something like wmp1.currentPlaylist.insertItem(1, dlg.fileName) it doesn't work. Any help ...Show All

  • Windows Forms Visual Styles and Context Menus

    There really isn't a menu with Visual Styles. You'll notice that system menus (right click desktop or right click file in Explorer) are flat. Menu text font, colours, and background colour are defined by user preferences; but, neither of the included Themes really changes the way menus look. If you use either Professional or System your menus will get the appropriate colours chosen in the Display Properties control panel. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA doomed?

    XNA may be the greatest thing since sliced bread, but I don't see it getting a lot of support until you make a simple web page that explains what features the XNA framework supports and why I would want to use it. I'm not going to download the thing just to figure out what it is. Just google it, damn it! http://www.google.com/search q=xna XNA is not doomed, you are. Sry for being a little too aggressive maybe, but this topic is just plain stupid. ...Show All

  • Visual Studio Express Editions 'Excel Macro' converted to run outside?

    This may or may not be the right place for this. I have a little Excel Macro (created by trial/error and one *** load of searching forums) that converts a XLS version of multi-paged PDF into the data that matters. The PDF are Forecast worksheets, that lose all formats when made a CSV/XLS. So from a nice little 50 page PDF report it becomes 4000+ lines in Excel. Now I have the macro done that (that can be converted using VB Express - I only just found out about it) removes most of the ***, and condences it down to the answer (i.e. a 22,500 line XLS became 17 lines with the forecasts that did not balance). Ok, now the question: How can this macro be made more fool-proof Current idea's are: Convert to a DLL so that a user ...Show All

  • Visual Basic Bringing file into Stream

    I'm trying to bring a file I open from my hard drive and bring it into a Stream. I'm doing it this way because I want to simulate a test. I'm using VB.NET in Visual Studio 2003. This is a Windows application. When I get past the line "Count = pdfStream.Read(Buffer, 0, Buffer.Length)", "Count" is equal to zero, which it should be 8193. I think I am not getting the file to be recognized by the MemoryStream or perhaps the Buffer, but I can't see where to hook it together. Can you see where I'm missing it Thank you! ofdChoosePDF.ShowDialog() 'Choose the file from an OpenFileDialog box. Dim thePdfFileAndDirectory As String = ofdChoosePDF.FileName 'Get filename. Dim pdfStream As MemoryStream pdfStream = New Mem ...Show All

  • Microsoft ISV Community Center Forums Peak fitting program in VBA?

    I am looking for a VBA program to fits DNA melt derivative derivative curves to find peaks - these are similar to spectroscopic peaks (Lorentzian/Gaussian/etc.) and programs for fitting spectroscopic peaks should work well here also. Thanks for the help. - Greg ...Show All

©2008 Software Development Network