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

Software Development Network >> Ghassan Rashed's Q&A profile

Ghassan Rashed

Member List

Omar Darwazeh
cwhetsel
Nagu
Sumit Bhatnagar
Mike737Aviator
@nt
Zero WangXin
vikionline
Hassan Ayoub
AnandSamant
sobo1
banababa
modtran
Jeff Weber
CHolmes
BobH
brian_tsim
Phil026
Mike Poole
cka11
Only Title

Ghassan Rashed's Q&A profile

  • .NET Development Transform to HTML for URL in XML Data using XSL

    Hi, I have a XML data and inside the contents of the elements, it contaings URL as seen : As you can see there is a URL link for the word "SAP" in the element description. < xml-stylesheet type="text/xsl" href="simple.xsl" > <root> <holidaycelebration> <title>Holiday In Malaysia</title> <StartDate>2006-11-28</StartDate> <EndDate>2006-11-19</EndDate> <Country>us</Country> <location>TEST</location> <description> The <a href= http://www.sap.com> SAP</a> Help Portal provides web-based documentation for all SAP Solutions. This enables you to search the online library for the right information where and when you ...Show All

  • Visual Studio Express Editions menustrip

    How to display the item (in text) selected under each menu of menustrip if you want to list the menu items then... Private Sub Button1_Click ( ByVal sender As Object , ByVal e As System . EventArgs ) Handles Button1 . Click For Each tsmi As ToolStripMenuItem In Me . MenuStrip1 . Items MessageBox . Show ( tsmi . Name ) ListMenuItems ( tsmi ) Next End Sub Private Sub ListMenuItems ( ByVal tsmi As ToolStripMenuItem ) If tsmi . HasDropDownItems Then For Each ddi As ToolStripMenuItem In tsmi . DropDownItems MessageBox . Show ( ddi . Name ) If ddi . HasDropDownItems Then ListMenuItems ( ddi ) ...Show All

  • SQL Server How to work out the difference of two numbers in SQL table.

    Hi I have 2 columns the first column is a counter thats always counting up like a meter, the second column is a formula that calculate the difference between the counter(column one). like Counter Difference 1 1 3 2 6 3 9 3 11 2 13 2 17 4 25 8 The first row is taken as it is, but the second row will be difference = 3-1 the third one will be 3-6 and so on. How can I do this in a SQL table or any other away Your help will be highly appreciated. Here is a solution for 2005. If you are using 2000, you can replace the CTE with a temp table and identity pretty easily: create table test ( c ...Show All

  • .NET Development System.COnfiguration in C#2.0

    I tried to add a new key value pair in app.setting System.Configuration. Configuration config = ConfigurationManager .OpenExeConfiguration( ConfigurationUserLevel .None);config.AppSettings.Settings.Add( "ModificationDate" , DateTime .Now.ToLongTimeString()); config.Save( ConfigurationSaveMode .Modified, true ); config.SaveAs( "New" ); // Force a reload of a changed section. ConfigurationManager .RefreshSection( "appSettings" ); But i can't see the change being reflected in the file.... Hi, You need to change how you open the configuration reference to (otherwise you only change the appsettings that the app holds in memory) Configuration ...Show All

  • Visual Studio 2008 (Pre-release) Sending/Uploading a stream with its name

    I want to send a picture stream with its name. But it seems that WCF only accepts one parameter which must be stream. Is there any way to send its name as well One way is by wrapping the proxy and adding an outgoing message header on the client. On the server, strip it off from the OperationContext. There is some code snippet here and should also be in the WCF documentation. http://weblogs.asp.net/avnerk/archive/2006/04/25/How-do-I-add-a-custom-header-to-every-WCF-message_3F00_.aspx ...Show All

  • SQL Server Connecting to sql from Delphi 5

    I try to connect (locally) to SQLServer Express from Delphi5. On my developer computer, which has Windows XP, SQLServer 2000, VisualStudio2005 (and with that, SQLExpress 2005), it is no problem. However, when I transfer my program and the database to other computers with Windows 2000/WindowsServer2003 and a more recent standalone-version of SQLExpress, I get error messages like: 'Db-Library error 10004: No connection possible: SQL Server not available or not existing' It does not matter which protocols I activate at the Server or whether the Server Browser service is running or not. Does anybody have an idea how this might be fixed Or whether it is a problem of the operating system Yes, all ...Show All

  • Visual Studio 2008 (Pre-release) Passing WindowsIdentity between services for use with Azman

    Hi all, The following scenario: a client connects to a service passing its WindowsIdentity (WI), e.g. domain\user, using wsHttpBinding. The service uses the WI for authorizing using Azman. The service depends on another service (which could also be called by other clients in different scenario's). The second service also has to authorize the WI of the initial client (domain\user). client --> service 1 --> service 2 | | AzMan AzMan Default, wsHttpBinding passes the WI of the 'intermediairy' service (the first service called, e.g. domain\network service) to the second service. This way the second service authorizes the service (domain\network service) and not the initial caller (domain\user). ...Show All

  • Visual Studio Express Editions WebBrowser non event

    I have a problem with WebBrowser when I navigate to a URL where the document doesn't complete under certain circumstances. First, the code... Dim wb As New WebBrowser wb.Navigate(URL) Do Until wb.ReadyState = WebBrowserReadyState.Complete MsgBox(wb.ReadyState.ToString) Loop MsgBox( "Finished" ) It never exits the Do Until loop unless I have the msgbox(wb.readystate.tostring) line in there. This seems to allow the application to do events. I get the same problem using the document completed event (it never fires unless I have the MsgBox line in the loop). I am using this code within a class and I can get it to work if I put it within a form class because I can put My.Application.Doevents in the ...Show All

  • .NET Development problem converting string to datetime datatype

    This code has been working for 2-3 mnths; now when we have moved both the site and the backend to a new server it throws this error... "Conversion from string "29/02/07" to type 'Date' is not valid." Dim username As String Dim reqrddate As Date = Format(CDate(txtrequireddate.Text), "dd MMM yyyy").ToString Dim nhi As String Dim eventnum As Integer Dim accnum As String = "" Dim reqstdate As String = txtrequestdate.Text Dim delivery As String '= "" Dim ward As String = txtward.Text Dim i As Integer Dim Item As String = Nothing Dim j As Integer Dim acclength As Integer <--more code --> Dim sql As String = "insert into requests ( [User_name ...Show All

  • Windows Forms set value from one form to other

    My windows application have two form (A.cs & B.cs). A.cs have a button and a Label. B.cs have a textBox and a Button. I wish to have a function that in the beginning, A.cs is shown, after i click the button, B.cs is show. Then, I put somethings into the textbox, and then click the button. B.cs close and send the value of textBox to the Label.Name. Can anyone help me urgent, thx Just put the Modifier property of the textbox and label(b.cs) and button(b.cs) as Public. Add an instance of B.cs on your A.cs B b = new B(); b.Show(); Do not put A a = new A() in B.cs AND B b = new B() in A.cs or you will get an exception with a LOOP. You might need to put the button1_Click event in ...Show All

  • Visual Studio Express Editions Restricting size of new window

    Hello, I am adding a small catalogue to my website (no online purchasing). When an image is clicked, I want to launch a new window with a larger copy of the same image displayed. I assume the simpliest way to do this would be to set a hyperlink on the original image to launch the next page, where I have the larger image stored. My question is, how can I restrict the size of the new window, so it opens at, say, a third of the main window. Many thanks Karen You may want to try using the forums at asp.net for asp related questions forums.asp.net With VB Express you cannot create asp.net applications so this question is definately off topic for this forum. ...Show All

  • SQL Server Very Urgent ASP.NET 2.0 with SQL Server 2005 - ADO.NET 2.0 DataAccess using Functions (CTE)

    Dear All, We developed a web based application using asp.net 2.0 with C# and back end SQL Server 2005. In Database we wrote a CTE for get record from SQL Server 2005. In ASP.NET, we wrote Dataset (xsd file) for DAL using TableAdapter we retrive the data using Table adapter in Dataset. In Local development Web server working well. When I hosted to live web server I encounter the new type of error. The query has been canceled because the estimated cost of this query (706) exceeds the configured threshold of 300. Contact the system administrator. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where ...Show All

  • Software Development for Windows Vista Output path property settings

     I  try to  build SpeechApplication sample, yet get the following message: " The OutputPath property is not set for this project . Please check to make sure that you have specified a valid Configuration/Platform combination. Configuration='Debug - Common Bin'  Platform= 'AnyCPU' ".  Output path value from project properties is '..\bin\'.  What's wrong I'm using dotnetfx3.exe - .Net Framework 3.0. I got the sample from %programfiles%\Microsoft Windows SDK\Windows SDK Documentation in the SpeechApplication.zip file. I will try to get June CTP. ...Show All

  • Smart Device Development Creating reports in apocket pc application in VS.net2005.

    I want to know how to create a crystal report(or just a report document) in apocket pc to print it. I want to print the reports from the pocket by a small printer .please I need a sample code. Can I use the word or Excel by writing a code HOW THANKS...................... Hi, neither word or excel expose a programmatic interface. Your only real way is to do it yourself, and use something like PrinterCE for the printing Pete ...Show All

  • Visual Studio Express Editions GPIB communications

    I was wondering if anyone knew how to interface with GPIB using VB 2005. I am writing a program that has a RS232 interface and a GPIB interface. I have the RS232 interface working but when I try to add a reference to Visa32.dll I get an error that it is not a vaild Com file or that it cannot be accessed. I have read a number of examples from National Instruments and they each say to reference the Visa32.dll file. I have verified that it on the hard drive and in the Windows/system32 directory. Any help would be appreciated Thanks Hi So does that means Visual Basic 2005 cannot be used to interface with GPIB I want to use Visual Basic 2005 to control GPIB so as to automate the measurement but ...Show All

©2008 Software Development Network