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

Software Development Network >> sam-pan's Q&A profile

sam-pan

Member List

大頭仔
slickred
PaulScully
Woyler
Intelligence
Solar9
elinde
Capt. KDS
Joe H
Hemant Kumar
Duncan McC
Kendal
progames25
davidjmsdn
lezi
Komandur.Kannan
Raconteur971
Crane101
Peter Ritchie
Marco9976
Only Title

sam-pan's Q&A profile

  • Internet Explorer Development IE7 RC1 and vbscript (InternetExplorer.Application)

    Hi, Has anyone had problems with existing vbscripts that output to IE and the IE7 RC1 release I have some vbscripts that use IE to display output and they work perfectly in IE6 but are broken with the RC1 release of IE7. Code like this below doesn't display anything in the browser window: Set objExplorer = CreateObject("InternetExplorer.Application") objExplorer.Navigate("about:blank") objExplorer.AddressBar = 1 objExplorer.Toolbar = 1 objExplorer.StatusBar = 1 objExplorer.Width = 600 objExplorer.Height = 400 objExplorer.Left = 300 objExplorer.Top = 150 Do Until (objExplorer.readyState = 4) wscript.sleep 100 Loop objExplorer.Visible = 1 Set objDocument = objExplorer.Document objDocument.Open objDocument.W ...Show All

  • SQL Server A lot Of Questions!!!

    Good Morning.. i have started developing on DTS recently. and i have a few question about "How-To" issues. Hope you guys can help 1) I noticed, whenever i want to "redirect row" whenever an error happen, i need to set my AccessMode to OpenRowSet... This mode as i noticed, cant be used when i am tranferring data into a sql table which has primary key set e.g. Ms Access which has identity -> SQL table with PK set Is there anyway, to capture the row error in my situation 2) Another question is, in a data flow... can i have a source which has multiple output arrow. Sorry for the inconvenince,Thank you in advance Hi Phil thanks for the fast reply I am ...Show All

  • .NET Development select data from database (MySQL) but it show as ??????

    i have develop webservice app with MySQL (tis-620 encode) but when i select data that contain thai language it display as but for number and english data it display correctly i want to know how i can get correct data (display thailanguage correctly) thank! You need to add support for Globalization. If you ae displaying the data in a text box with regular font then it will display this " ". Change the font type that supports displaying Thai Language. ...Show All

  • Visual C# Run Application

    hi, as you all know, I have a reputation for making a text editor with extra functions. I'm continuing with this fancy text editor, and am now asking if it is possible to run other applications using my program and C# eg. As you all know, MS Word is the biggest text editor made. I want to add some word art to my RTB, but can't do it in my own editor. How do I run MS Word using my application so I can add it Thanks. Eragon. just to add, you can also use the assistant ProcessStartInfo class to customize how the application you are going to execute should be ran, example: running in a different user account changing the way it starts up such as creating no window or minimizing the process when it starts up ...Show All

  • Visual C# How do I create and use C# DLLs?

    Hello all, I am trying to create my first C# DLL and I am having some difficulty. This DLL will house some common authentication functions. I will need to use the DLL functions on the front of many different C#.NET web applications. I do understand the basic concept of DLLs and thought I could just jump in and create one. So I created my DLL, added my functions, and referenced the DLL in a test web page. But when I tried to access the functions in the test app there were no functions available in the namespace. So I clearly did not create the DLL correctly. I am looking for a tutorial or a step-by-step example that I can follow. Thank you in advance for any help/references you can supply, Chris ...Show All

  • Visual Studio Tools for Office Is there a way to activate a certain Tab on the Ribbon?

    I have a Word 2007 application level add-in that creates a custom tab on the ribbon ("MyTab"). I would like to write code in the DocumentOpen to force "MyTab" to be the current active tab when certain documents are in use. Is there a callback that will allow me to force a particular ribbon tab to be selected Same question for me. I have a program in VBA that manage some particular documents, and my special Tab offerts some functions designed for this kind of documents. Therfore, my special Tab should be activated each time a new document of this kind is opened for consultation. So, why Microsoft Team did it so difficult to activate tabs For the moment, I use the vba function &qu ...Show All

  • Visual Studio Team System Is there some material about how the TFS track and record all information?

    e.g., how the TFS stores the info, and where How the TFS knows a file, or a project is version controlled, or not How the TFS manages all data, in what manner What's the structure of TFS And so forth. I believe a lot of people wanna know TFS internals. Thx. Richard Berg MSFT wrote: The VS IDE stores info about controlled files & projects in the *.sln, *.*proj, and *.suo files. The actual data written to these files is specific to TFS, but the general format is not -- TFS implements the same "MSSCCI" interface used by every other VS source control provider. Other source control providers sometimes have other files too (e.g. SourceSafe uses *.vssscc). As far as the TFS datab ...Show All

  • .NET Development how to get the temporature from this webservice?

    I am trying to coonect to this webservice: http://www.webservicex.net/globalweather.asmx WSDL using this code: net.webservicex.www. GlobalWeather getWeatherToday = new WindowsApplication1.net.webservicex.www. GlobalWeather (); txtTemp.Text = getWeatherToday.GetWeather( "Bahrain International Airport" , "Bahrain" ); but i need to get the temporature only not the whole xml data in the textbox.. thank you very much but after all i didn't like this webservice because it outputs the temperature as 96 F (36 C) but I just need 36 (without C) Thanks again... ...Show All

  • SQL Server Mirroring Problem using Certificates ( between LAN and DMZ )

    Hello Guys, Here it is my scenario; My principal server in LAN and my mirror server in DMZ and Iam using certificates both partners (I dont use witness server). I did not use wizard.I have just Setting Up Database Mirroring Using Certificates (Transact-SQL) ( http://msdn2.microsoft.com/en-us/library/ms191140.aspx ) Iam sure all steps are ok!(I mean ports,certificates,users,logins,endpoints,GRANT CONNECT ON ENDPOINT,SP1....) But I am still getting error Principal Server; Database mirroring connection error 4 'An error occurred while receiving data: '64(error not found)'.' for 'TCP://195.xx.yy.zz:5022'. Also,Mirror Database status changed (Restoring---->In Recovery) I tried many tests but I did not succeed.Do y ...Show All

  • Visual Basic String Variables

    I want to use a string variable when creating a connection to an Access Database in VB 6.0 so the user can select the file. I have created a form and the code to capture the file path and store it in a variable as follows. g_strFile is stored as "C:\Practice\Stats.mdb" Now I am trying to use that variable in the connection string: Set Db = Ws.OpenDatabase (g_strFile) When I run the program I get the following error: Run-time error '3055' Not a valid file name. Is it possible to do what I am trying Any help would be appreciated. Thanks T hese forums are for VB.NET and there are better places to find answers for older versions of VB. Maybe the VB6 newgroups - http://msdn.micro ...Show All

  • Visual Studio Tools for Office Create Appointment Item Hidden From User

    Hi, I am making an Outlook Add-in for Office 2007 using VSTO 2005 SE. I am querying an SQL Server for Outlook Appointment Item details, and then creating the Appointment Items. When this process runs a typical user will end up creating anywhere from 10 to 100 Appointment Items. This all works fine but at the moment it is visually disruptive due to the Appointment Item creation process showing each new Appointment Item. The result is a continuous flashing of Appointment Items on the screen until the process has finished. How can I create these Appointment Items in the background so the user does not see the items being created Here is the subroutine I am using to create the Appointment Items; Friend Sub CreateAppoi ...Show All

  • Gadgets Installing new Sidebar Gadget for default (all user) Vista installs

    Hi, Just wondering if anyone knows how to get a Sidebar Gadget to appear on a new Vista installation as default for all users Is it a case of adding the myGadget.gadget to the sidebar directory (along with all the other gadgets) and making a change to the default registry If so, what needs to be done Many thanks in advance! See my comments in this thread. ...Show All

  • .NET Development How does one send XML file to a IP address?

    Here is my simple problem. I've been contacted by my ex-client (I'm retired). Their customer has switch to a new database system. So the old method of sending reply data is not valid anymore. The customer told my ex-client send the data via XML. From what I understand XML is just a formating of the data, not a protocol of actually sending of data. They given me a IP address and said. Send the XML there. Their "help" consist of just this: <WebService(Namespace:=" http://microsoft.com/webservices/ ")> Public Class MyWebService ' implementation End Class I really don't have any interest in learning XML. However, it is not a problem to format the data so that it will be XML compliant. The problem I ha ...Show All

  • Audio and Video Development Video Size

    As I see current version of the ihd doesn't support vido resizing. I.E. I can not place menu items at the left side of the screen and video at the right side of the screen. Is it planned to be implemented in future Are they published If you mean http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwmt/html/introduction_to_hd_dvd_authoring__codz.asp it doesn't contain information about the Object Model ...Show All

  • Visual Studio Express Editions How to make new textbox input rows??

    Hello, I am a complete newb VS2005 pro user. My office bought me a copy of the VS2005 pro although my user level is VB2005 novice. I am attempting to create a timesheet database application for an office of 40 or so employees. In the windows form designer, I have a row of textboxes that allows the user to input a project number, the hours for the pay period (14 days) and a remark. How would I create an event (say a menu item) that would allow a user to add a blank row for a new project number and hours I know that there are probably a number of ways to skin this cat. For the sake of learning and OOP discussion, I was thinking that a data row would be a class that could be called up as a new instance. Another problem that ...Show All

©2008 Software Development Network