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

Software Development Network >> Muhammad Adel's Q&A profile

Muhammad Adel

Member List

David Ing
Jina
x-pert
ajay_whiz
sroughley
RayClark096
sridhar reddy mitapalli
Ashish Vyas
R Raghu
jonesbrasil
djm-web
J.B. III
Pascal Frey
Bigmo
sumit kr
narasiman_jayachandran_2b5374
Yuhang
RaulHD
Mark Benningfield
selinux.es
Only Title

Muhammad Adel's Q&A profile

  • SQL Server Reporting Services: Allow Blank Value for a multi-valued Parameter

    I have a multi-value parameter "Keyword" that also allows blank value. When I try to view my report with a default null Keyword value, it doesn't display any. Please help. Thanks! Gerri I assume you want to return everything if the parameter is null, right does you query support null parameters For instance, if my query says: select * from table where field IN(@parameter ) not sure of the technical way to explain this, but a null parameter would return no data because null is not a value in "field". In fact, I doubt that a null parameter would even result in a dataset where the value of "field" is null (never thought about it). I would guess, (disclaimer - I cou ...Show All

  • Visual C# Converting a string to an object reference?

    Hey guys, I have a text box thats named texBox1. I need to get this text box's text, of course using textBox1.Text but the problem is the name of the text box is defined by a variable... If MyVariable == 1, then I need textBox1, if the variable is equal to 2, then I need textBox2... etc. So to fix this, I tried converting to to a string; "textBox" + MyVariable.ToString() This works ok, I now have a string of the name of the desired text box. But how do I access its text from a string I'd need to transform it in some kind of reference to textBox1 from the string :s. The only to do this that I can see is String.System.IConvertible but I dont understand its working. So if anyone had any idea how to do this, it would be apreciated. T ...Show All

  • Windows Forms validate password

    I have a password field in my login page (ASP.NET 1.1), how can I validate password based on at least 6 characters, one number, and one capital letter. Hi Jim, You should a Regular expression to verify the password. An example of what you need can be found here (c#): http://weblogs.asp.net/erobillard/archive/2004/09/29/235889.aspx The example uses Microsoft's defintion of a strong password: at least seven characters long contains at least one character from each of the four groups: uppercase lowercase numerals symbols found on the keyboard. With a few changes, you can change the sample to match your needs Hope this helps, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Gamekit developming

    I have an idea - to make freeware game developming kit using XNA Game Studio Express , which will include all required instruments for normal game-developing like Level/word editing instruments, simple scripting language and physics included. All that included in 1 progamm using which game-developer would make his game. I have a question - can I find here enthusiasts which can do this kind of job I'm not a programmer - I'm gamedesigner that worked on a few shareware games. Main reason of why I'm asking such help, it's because I've tried to find such kind of soft for making mini-projects or game prototypes which can help not pro gamedesigners to start making their ideas come true and achieve practice on game-developming. That's why I ...Show All

  • SQL Server How to query an remote excel file using OPENROWSET

    Hi, can anyone help me out this problem. i want to query an excel file which at remote location through openrowset. Select * from openrowset(.... thanks thanks a lot i need more clarification for the same. if the excel file is kept in a remote mechine then i need to access the same ( \\ipaddress\foldername\xlsfilename.xls ). the same query will work if i give like this ...Show All

  • Visual Studio Team System Changing the TFS connection for MS Project

    I have been using MS Project to sync task between MPP and TFS but now the TFS server is hosted on another server and followed the instructions at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=312033&SiteID=1 but when I attempt to map to the new server location it does complain there are values in the pjTaskText10 (work item id) and 23 (rev) columns. Of course... I don't want to clear this fields (which is what the error dialog suggest I should do) because I will loose the link between each MPP task and its TFS work item counterpart. How can this be done otherwise I am afraid if I delete those values then It will create duplicate tasks in TFS. Hello, The link gives information about how t ...Show All

  • Visual Studio Tools for Office outlook add-in 2002 vs 2003

    I have built an outlook add-in on my machine (has outlook 2003) and is running fine. But when running the same dll in another machine (has outlook 2002) it fails. Any idea why Hi anisxahmed Since this is a COM Add-in that was created NOT using VSTO, you're in the wrong place, here. The people in this forum think in terms of .NET; VB6 is not .NET. PIAs are irrelevant to your question. You need to direct your questions to a more appropriate place, such as http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.outlook.vba&lang=en&cr=US or http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.com.add_ins&lang=en&cr=US You will find p ...Show All

  • Visual Studio 2008 (Pre-release) Schema URL invalid?

    I had compiled some video carousel demo before I went on holiday at the end of September, and it was all happily working. I tried to re-build it just now, and I keep getting some errors that the schema can't be found... Has this changed, or am I the only one unable to reach the schema < Page x:Class = " VideoCarousel.Page1 " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " Page1 " xmlns:l = " clr-namespace:VideoCarousel " WindowTitle = " VideoCarousel " > Trying to load the schema url ( http://schemas.microsoft.com/winfx/2006/xaml/presentation)in IE res ...Show All

  • .NET Development Secure FTP through proxy server

    I tried using the FTPWebRequest object to do a secure FTP download through my proxy server. However, with the proxy object set correctly and EnableSSL=true, when I execute the getResponse method I get an exception of "SSL cannot be enabled when using a proxy." I will likely be using a production server that is behind the firewall and will thus need to communicate through the proxy server. Is there a .NEt way to do secure FTP through a proxy server I could use the IPSwitch ws_ftp program to do it, but don't want to go through our purchasing process if there is a simple way to do this with .net code. and how do you get trough a firewall my problem is that I want to run my ftpUploadApp ...Show All

  • SQL Server Running MSSQL 2000 database in a 2005 Server

    I'm running 2000 databases in a 2005 server. Can anyone tell me if there are adverse effects in doing this As I understand it, the 2005 performance benefits are available to databases running as 2000(Ver80) But some of the new futures may not be available.. And any documentation from Microsoft/white papapers regarding this subjects are appreciated.. I think george has hijacked this thread :).. Actually what I was ineterested in knowing is whether the performance inprovements in server 2005, is still applicable when you are running version 80 databases in server 2005.. Thanks.. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. NoSuitableGraphicsDeviceException in Beta 2

    I developed a small Tetris clone in Beta 1 of XNA Game Studio Express and am now trying to convert it to Beta 2. The problem is, I'm using a fairly old laptop and when I try and build a project I get a NoSuitableGraphicsDeviceException exception thrown. The message reads "Could not find a Direct3D device that has a Direct3D9-level driver and supports pixel shader 1.1 or greater.". Considering that even VESA is a compatible Direct3D9 driver, the graphics card in my laptop must not support 1.1 pixel shaders. In which case, is there any way to disable this feature so that I can continue to develop on my laptop For a start, the game I'm developing is just a simple 2D game so it doesn't need pixel shaders at all. ...Show All

  • .NET Development System.Security.Cryptography.CryptographicException occure

    In my web application i am using System.Security.Cryptography to encrypt decrypt Password. While decryption System.Security.Cryptography.CryptographicException occure with an error message "Bad data". while executing "cryptStream.FlushFinalBlock()" Method. Please Help Would you be able to provide a short code sample This frequently indicates that the CSP has an invalid key of some sort. A small example of what you're doing could help to pinpoint the issue. Reid ...Show All

  • Visual Studio MPF language service - brace matching

    Hi guys, this is a simple (and possibly stupid) question. It is probably a common question, so a couple of quick pointers or urls would be great. I have a MPF language service, and i want to implement brace matching. I used the ManagedMyC project as a starting point, so i use MPPG and MPLex to generate the lexer and parser. The braces i want to match are not the standard {} and () - they are keywords like .IF and .ENDIF - so how do i implement brace matching and highlighting Is it done via the lexer (i.e. there is a rule for it in parser.y), or am i expected to add some code to the parser for it Thanks, sluggy Try these Help topics, which can be found in the Visual Studio 2005 SDK documenta ...Show All

  • Visual Basic Two Decimal Point For Double Value

    How to get two decimal point value for a double value For example 231.321312321312132 = 231.32 and 231 = 231.00. Thank you.   lucerias wrote: Is there any way to check how many zero(s) of an integer, for example 2000000 has 6 zero(s) I am thinking of using For Loop, is there any other way else   Besides that, how to round the value from 3,242,423,432 to 4,000,000,000 Thank you. 'DISCLAIMER: Note this code doesn't round up or down specifically. 'It just takes the 1st number and adds the noughts!! Dim myValue As Double myValue = 3242423432.456789 myValue = Int(myValue) Dim myLength, index As Integer Dim newString1, newString2 As Strin ...Show All

  • SQL Server what directory are my nightly backups (.bak) files written to?

    where in sql server 2005 ( and 2000 for that matter) do i find the path to the location where backups are placed (.bak files) is there sql i can use to find this out I also thought about the default setting first, but then it struck me that there's no guarantee that any given backup actually used the default path, so I thought it'd better to look at the backups taken just to be sure. =:o) /Kenneth ...Show All

©2008 Software Development Network