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

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

omasoud

Member List

Sven Luedemann
ekekakos
IvanVC
Sanjib
ron nash
CKF
HelpMePl0x
Pixel Shader
Jotnarta
Wadworth Waxstrong
danmbuen2
Dave9999
Peter McEvoy
RobFellows
windypoint
vidhyaprakash
IamWasim
Hassan Ayoub
rwerner
NastyMatt
Only Title

omasoud's Q&A profile

  • Smart Device Development 2nd try: What DLL are wave routines in?

    I'm having trouble getting access to some wave routines: I have been using these routines to access sound under Windows XP using the winmm.dll DLL. I would like to know which DLL these routines are in under WM5 (if at all) [DllImport(DLL)] public static extern int waveOutGetNumDevs(); [DllImport(DLL)] public static extern int waveOutPrepareHeader(IntPtr hWaveOut, ref WaveHdr lpWaveOutHdr, int uSize); [DllImport(DLL)] public static extern int waveOutUnprepareHeader(IntPtr hWaveOut, ref WaveHdr lpWaveOutHdr, int uSize); [DllImport(DLL)] public static extern int waveOutWrite(IntPtr hWaveOut, ref WaveHdr lpWaveOutHdr, int uSize); [DllImport(DLL)] public static extern int waveOutOpen(out IntPtr hWaveOut, int uDevi ...Show All

  • Windows Forms xml transform in windows forms application

    I have really enjoyed using the XML control in web applications and now have a need to use xml data and an xsl stylesheet to display formatted data inside a window forms application. I don't see an XML control so I've been playing with the web browser control. Does anyone have suggestions for a good way to accomplish this Thanks, John Everything you're looking for can be found in the System.XML namespaces -- in solution explorer right mouse click to add a reference to the xml stuff and add a using (C#) or imports (vb) to your code file. ...Show All

  • SQL Server matrix: more than 1 column in static rowgroups ?

    Hello, I am working with a matrix report item and would like to display something like that : DataGroup1 DataGroup2 StaticText11 StaticText12 Data1 StaticText21 StaticText22 Data2 StaticText31 StaticText32 Data3 But I cannot find a simple way to have 2 columns of static text on the left. The only way I've found is inserting a table report item in the matrix cells, but it cannot be exported in Excel. The only samples I found do'nt have multiple colums in the static rowgroup. Is it possible Kind regards, Xavier Miller. Geert Verhoeven wrote: Hi, It is also possible to add a second Row Group and set the group expression the same value as the first. This way y ...Show All

  • Visual Studio 2008 (Pre-release) Import of a Signed SAML assertion in SamlAssertion class (May CTP)

    Hi, I have developed a STS on a device that generates a SAML Assertion which is signed. I have checked this XML assertion with an original created by WCF with the same parameters. I'm willing to use this SAML/RSTR using a WCF proxy but I'm building the RSTR/SAML without using a .NET framework on PC, so I cannot use any class of WCF to build this RSTR/SAML, I get a XML text representation. They perfectly match (Digest and Signature are perfectly the same). I can import this SAML when it's not signed in the SamlAssertion using ReadXml method, then I had the SigningCredential and it works perfectly. However if I import the same way the Signed XML it is imported but the RSTR built with this SAML is rejected by WCF. I found out ...Show All

  • Visual C# How might I re-write this code?

    Hello, I was just wondering how I might re-write this piece of code to avoid CS1612 private void btnLog_Click( object sender, EventArgs e) { if ( this .Size.Height == 237 && this .Size.Width == 243 ) { cursize = "large" ; } else { cursize = "mini" ; } if (cursize == "mini" ) { btnLog.Text = "Show Log >>" ; this .Size.Height = 237 ; } else { btnLog.Text = "Hide Log <<" ; this .Size.Height = 125 ; } } Any help would be greatly appreciated :) Regards Jason Yes I agree with the other guy that replied. If there are only two states I would use a Boolean but if there ar ...Show All

  • SQL Server Unable to connect

    I am unable to connect SQL Server Management Studio to any of the databases on my computer. At this stage I am simply starting the Management Studio and asking it to connect to a database I made a few months ago before this connection trouble arose. I'm specifying the server name "BENCHLAP" which is the name of My Computer, using Windows Authentication. The error I get is: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) The client is local. At least, it is if I unders ...Show All

  • Smart Device Development Send mail from Pocket PC

    Hi, I am developing smart device applications by using CF 1.0. I need your help. How to send mail Is there any code to send mail from pocket pc Please send your suggestions or links. Thanx, M. GANESAN you can't just send mail without a mail server to receive it, though you CAN send mail without an SMTP service on your device. if you do have an SMTP server, you can use socket programming to implement a simple SMTP client to send mail. unfortunately I don't believe System.Net.Mail.SmtpClient is implemented for NETCF, neither 1.0 nor 2.0. SMTP client examples using sockets: http://www.codeproject.com/cs/internet/smtpconsole.asp http://www.codeproject.com/cs/internet/sendmailcsharp.asp http://www.eggheadcafe.com/a ...Show All

  • Visual Basic How to transform files from code?

    I have the following files format for VISUAL STUDIO 6 Pack, which I have to transform to EXE application: 1. PDM 2. vbp 3. frm 4. frx 5. SCC 6. vbw I'm new to this and would like to know how to do Regards Hello Paul, 1. question: I would like to know which software I need for this code to do File  and than  "Make EXE". 2. question: Is possible to get this software for free and which link 3. question:  Is vdp format Visual Studio or is the same VS 2005 Regards and thank you for fast reply. ...Show All

  • Windows Forms DataGridView

    I have a DataGridView on a form and I want the user to be able to edit several different fields in any of the rows displayed. After editing the fields (in possibly many rows) I want to find which rows in the DataGridView have been edited. How do I find out which rows in my DGV have been edited Thanks, Dave MSDN says "When the user navigates away from the row, the control commits all row changes." So I think you can just determine whether current row is changed using IsCurrentRowDirty property. ...Show All

  • Visual Studio Team System Bug in 'Move' feature?

    Hi, Here is a reproduction of the steps I took. I had a folder in TFS at the path $/Root/Recon. I mapped a local path to it in my workspace (C:\Dev\Recon). I then attempted to move the folder in TFS to another location and received a message to the effect that a move could not be performed because the fodler was mapped to a local path. That was ok, so I removed the mapping. Then I tried again and got this error: No appropriate mapping exists for c:\Dev\Recon. I tried this multiple times with the same end result. I even shut down VS and restarted it. Finally, I another random TFS folder to c:\dev\recon. THEN only it worked. Sounds like a bug. Or was I performing the move incorrectly If both the source and target are mapped when you t ...Show All

  • .NET Development Window.open, but in a new process...how?

    How can I open a new window in seperate process I have found the following: function openNewProcess(url){ set IE= CreateObject( "InternetExplorer.Application" ); IE.Visible = true ; IE.Navigate(url); } This is not what I want as some of our clients don't use internet explorer. I want the page to open in a new process, but in their default browser. I also found this: function openNewProcess(url){ var wsh = new ActiveXObject( 'WScript.Shell' ); if (wsh) wsh.Run(url); } But when I run it I get: "Automation server can't create object". Can someone please help me get this ironed out TIA Hi Adam/Kelvin, I have similar requirem ...Show All

  • Software Development for Windows Vista Possible but difficult?

    I had windows XP installed on a partition, i created a new one for vista but now having deleted the XP partition I want to make the vista partition larger but am unable to do so, is there any way of resizing the vista partition I have tried in the storage section of computer management, but no joy, i can shrink or expand any other partition but not vista. Problem might be that it's in an extended partition, and the free space is before the vista partition not after, if this is the problem, does anyone have any options for a more comprehensive description (and screenshots) please go here: http://www.danielbyrne.net/blog/ p=5 Thanks in advance! Dan Have you tried Partition Manager programs like: Partiti ...Show All

  • Smart Device Development button with round corners

    Is posible to make a button with round corners and in case that is posible how can i do that. thx Yes, I'm talking about Pocket PC, SP and Windows CE. That is only natural since this is Compact Framework forum and NETCF runs on devices. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Help with Movement Code

    Hi all, I've recently been working on the 'MultiAnimation' sample that comes with the directX SDK in an effort to make the character move based on key presses. This is going pretty well so far but some of my code is getting a little ugly and I was hoping someone out there could have a look and let me know if there's a better method I could be using. Code is below: unsigned __stdcall moveLoop( void * pvTiny) { CTiny* ptiny = reinterpret_cast <CTiny*>(pvTiny); if (ptiny) { CTiny& tiny = *ptiny; tiny.m_inMoveThread = true ; while (GetKeyState( 'O' ) < 0) { Sleep(1); } tiny.m_inMoveThread = false ; tiny.SetIdleKey( false ); } return 0; } void CTiny::moveForward() ...Show All

  • Visual Studio Team System Validate Console.Write Console.WriteLine

    Hello, I need to develop a rule to identify Console.Write and Console.WriteLine calls. It is because sometimes developers use this instructions to help trace some execution, but forget to delete it, and it goes to production. Please give any ideas to develop this rule for FxCop 1.32 Thanks in advance. Carlos Figueroa Creo que ya lo tengo... I think I've founded the solution public override ProblemCollection Check(Member member) { Method method1 = member as Method; if (method1 == null ) return null ; for ( int num1=0; num1<method1.Instructions.Length; num1++) { Instruction instruction1 = method1.Instructions[num1]; Method method2 ...Show All

©2008 Software Development Network