www.voiceguide.com/vghelp/html/modVbs.htm" u can also find good reference at Microsoft site u need to add 1. Microsoft Office lib 10 or 11 or 9 and MicorSoft word 9.0 lib right click on project Add referece and select the above mentined components bye
User 2269706
Posts
-
Export to WOrd -
word document in web applicationHi Friend, i need a small help I want to displya the word document on the web form with out changing the formate ie ., i need some control with in which i can display the word document in the server Thanks in Advance
-
how to run vb script for setup & deployment wizardI had created a vb script file I want to execute the script file , before of after installing the applicaion. how to run vb script form setup using Visual Studio Setup & deployment wizard Thanks in Advance
-
this is how u have to create ODBC , DSN using vb script'Values for variables on lines 25 - 29, 32, and 36 'must be set prior to running this script. On Error Resume Next Dim RegObj Dim SysEnv Set RegObj = WScript.CreateObject("WScript.Shell") '***** Specify the DSN parameters ***** DataSourceName = "Name_of_Connection" DatabaseName = "Name_of_DB" Description = "Description of connection" LastUser = "Default_Username" Server = "Put_server_name_here" 'if you use SQL Server the driver name would be "SQL Server" DriverName = "SQL Server" 'Set this to True if Windows Authentication is used 'else set to False or comment out WindowsAuthentication = True 'point to DSN in registry REG_KEY_PATH = "HKLM\SOFTWARE\ODBC\ODBC.INI\" & DataSourceName ' Open the DSN key and check for Server entry lResult = RegObj.RegRead (REG_KEY_PATH & "\Server") 'if lResult is nothing, DSN does not exist; create it if lResult = "" then 'get os version through WSCript Enviroment object Set SysEnv = RegObj.Environment("SYSTEM") OSVer = UCase(SysEnv("OS")) 'check which os is running so correct driver path can be set Select Case OSVer Case "WINDOWS_NT" DrvrPath = "C:\WinNT\System32" Case Else DrvrPath = "C:\Windows\System" End Select 'create entries in registry RegObj.RegWrite REG_KEY_PATH & "\DataBase",DatabaseName,"REG_SZ" RegObj.RegWrite REG_KEY_PATH & "\Description",Description,"REG_SZ" RegObj.RegWrite REG_KEY_PATH & "\LastUser",LastUser,"REG_SZ" RegObj.RegWrite REG_KEY_PATH & "\Server",Server,"REG_SZ" RegObj.RegWrite REG_KEY_PATH & "\Driver",DrvrPath,"REG_SZ" 'if WindowsAuthentication set to True, 'a trusted connection entry is added to registry 'else, SQL Authentication is used. if WindowsAuthentication = True then RegObj.RegWrite REG_KEY_PATH & "\Trusted_Connection","Yes","REG_SZ" end if 'point to data sources key REG_KEY_PATH = "HKLM\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources\" & DataSourceName 'and add the name of the new dsn and the driver to use with it RegObj.RegWrite REG_KEY_PATH,DriverName,"REG_SZ" MsgBox DataSourceName & " DSN Created!" else MsgBox DataSourceName & " DSN already exists!" end if Set RegObj = Nothing Set SysEnv = Nothing
-
Creating setup for application including ODBCHow to create a setup for application incuding odbc setup, for project done in Visual Basic 6.0 (ie with out manually creating odbc on target machine) The setup should install application as well as odbc on target machine for project Visual Basic 6.0 Thanks in Advance!
-
Web control to hold Paragraph, bullets differnet fontI am working on VB.NET Web forms I need a control to display paragraphs with bullets, text with different fonts, text allignment etc., (which looks like wordpad to edit text) Thanks in Advance
-
create folder in server Visual Web Developer 2005I want to Create/Delet folders in server using C#.Net web developer 2005 and also getting list of files stored in the server Thanks in Advance
-
Web Services and Dot Netya my friend online audio/video is possible it is avaliable as a COM component is is baiscall microsoft product, it is free for download from Microsorf site i think u can find at "http://www.microsoft.com/windows/NetMeeting/Authors/SDK/default.ASP" but it is in Visual C++, worked on it long time back try it have a nice day Under standing comes form failures sucesses comes form understanding failures
-
Open/Save word documen in the serverOpen/Save word documen in the server i need to open the word document in the server and display it to the user, and save changes if any to the server back i am able to open and display it in explore (.doc file is in url) but save back to server ?? so for this i need some control with in with i can open and save , if any of u had gown through the same problem. pls respond Understanding comes from failures SUCESSES comes form understanding failures
-
Open/Save word documen in the serveri need to open the word document in the server and display it to the user, and save changes if any to the server back i am able to open and display it in explore (.doc file is in url) but save back to server ?? so for this i need some control with in with i can open and save , if any of u had gown through the same problem. pls respond Understanding comes from failures SUCESSES comes form understanding failures
-
Open/Save word documen in the serverOpen/Save word documen in the server i need to open the word document in the server and display it to the user, and save changes if any to the server back i am able to open and display it in explore (.doc file is in url) but save back to server ?? so for this i need some control with in with i can open and save , if any of u had gown through the same problem. pls respond Understanding comes from failures SUCESSES comes form understanding failures
-
Open/Save word documen in the serveri need to open the word document in the server and display it to the user, and save changes if any to the server back i am able to open and display it in explore (.doc file is in url) but save back to server ?? so for this i need some control with in with i can open and save , if any of u had gown through the same problem. pls respond Understanding comes from failures SUCESSES comes form understanding failures
-
how to rename a txt file VB.NETThanks u My dear Friend it my mistake!, I had not closed the file in overlook, and breaking my head from few hours Thanks a Lot Have a Nice day! Bye:) Understanding comes form failures Sucesses comes form Understanding failures -- modified at 5:59 Wednesday 7th June, 2006
-
how to rename a txt file VB.NETcan u pls give me some example , delete file "a.txt" i need to rename a file rename "b.txt" as "a.txt", or overwite "a.txt" with "a.txt" oFile1.Delete("C:\WINDOWS\Doctors.txt") System.IO.File.Move("C:\Windows\tempdoc.txt", "C:\Windows\Doctors.txt") oFile1.Move -- modified at 5:52 Wednesday 7th June, 2006
-
Set tab stop in vb.net [modified]My dear friend for each textbox right click Select Properties u will fine TabIndex Property select Text1 change the TabIndex Property to 1 select Text2 change the TabIndex Property to 2 select Text3 change the TabIndex Property to 3 ............ : : :
-
how to rename a txt file VB.NETThanks for ur responce I am vc++ programmer new to .net i did the same but I am getting exception The process cannot access the file because it is being used by another process... this is the code oFile1.Delete("C:\WINDOWS\Doctors.txt") System.IO.File.Move("C:\Windows\tempdoc.txt", "C:\Windows\Doctors1.txt") 'oFile1.Move("c:\Windows\tempdoc.txt", "C:\Windows\Doctors1.txt") even the both r giving the samte error Can you Please Advice me
-
how to rename a txt file VB.NEThow to rename a txt file i am able to file, Create, Delete ,, but how to rename a txt file VB.NET
-
Open/Save word documen in the server ( web browser)Thank u I am new to web based projects I am getting thei following error ! can u please help me Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type 'WordApplication.siteheader'. Source Error: Line 1: <%@ Control Language="c#" AutoEventWireup="false" Codebehind="siteheader.ascx.cs" Inherits="WordApplication.siteheader" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%> Line 2: Line 3:
-
Open/Save word documen in the server ( web browser)I want to openthe word documnet in the server in the web browser and edit in the browser and save it to server Please Advice/Sugget me in this Thanks in Advance!
-
run time error : "Catastrophic failure" ,,, what can be the problemi am using DSOFramer ocx control and i am getting error! "Catastrophic failure" 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 it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: Catastrophic failure Source Error: Line 74: Line 75: axFramerControl1.Titlebar = false; Line 76: axFramerControl1.CreateNew("Word.Document"); Line 77: //axFramerControl1.Open(("http://localhost//Sample1.doc");E:\TEST Doc Line 78: pls do help me out! Thanks in Advance!!