Communicate Ms Word And Ms Access?
Dec 25, 2009I want to create a program that could generate reports from an ms access database and place it on ms word, how can I do that.
View 3 RepliesI want to create a program that could generate reports from an ms access database and place it on ms word, how can I do that.
View 3 RepliesI have small application using Access .accdb as database. Presently i am using the below procedure to open,Add,Edit,delete,update
Public DBPath As String = ProjDrive & "00_PROJECT_MANAGMENTDATABASE"
Public dbProvider As String = "Provider=Microsoft.ACE.OLEDB.12.0;
Public daReview As OleDb.OleDbDataAdapter 'DataApapter for Review
Public dsReview As New DataSet
[Code]...
I run a report of nearly 10 pages in Ms.Access, included in with various conditions. When I export text to Ms.Word, the text is not justified but is left aligned. Is there any possibility of getting text aligned at export.
View 2 Repliesthis is a small part of my senior project and I am heading in the right direction I just don't know where to go next. I already have code written so that "the potential" data can go to appropriate boomkarks on this custom word document.
Dim oWord As Word.Application
Dim oDoc As Word.Document
'Start Word and open the document template.
oWord = CreateObject("Word.Application")
[code]....
I recently had some problems with the performance of the Word object model. In an add-in that I wrote for Word I need to parse through all the words of a document and replace some of them or ask the user for the ones that have multiple replacements. I know that it is faster to ask Word for all of the document text content at once and then process it and put it back all at once again, but this is not suitable for my add-in because I need to have access to the range objects that represent the words that have multiple replacements so that I can somehow mark them in the document and present the user with a tool tip from which he can select the replacement he wants.
So for the moment the single great speed improvement that came in my head was multithreading since most people already have dual core or better. The problem is that all the things you find on Google say that multithreading in Office is a very bad thing to do.
So is there any one who managed to do this in a manner that worked in most of its usage? By this I mean if it also worked on other PCs then the development one?
I wish to communicate over usb in vb.net i realize i might need to use openfile windows api or createfile windows api but im doing a generic mouse driver which should be miles simpler to do since microsoft and usb.org already have the report descriptors available so all i want to do is just send data to the device directly using my program.
[Code]...
I'm working on a little app which needs to recieve information from a script on a web server. I tried to have the vb.net app pole a php web page for a command every half of a second. This worked but, the app is streaming video and every time the app needs to pole the webpage the video stutter stops. I tried setting the pole timer to 5 seconds and still every 5 seconds the video stutters. I thought that maybe sockets would be the answer, so I looked for examples of vb.net socket servers and php socket clients. I tried implementing a solution but the php cannot seem to connect to the vb.net server. I googled around and saw that maybe php cannot communicate with a vb.net application.
View 1 RepliesIf I control both applications, what is the best way to communicate between 2 exe's written in VB.Net. For example, I want to drop an XML file from one app, and pick it up with the other, but I do not want poll for the file. I've heard of named pipes, but I found it was complicated. What's the most effecient way to do this?
View 4 RepliesI'd like to know what the best way to communicate between two applications via a LAN would be? ..and would it work over multiple versions of Windows (XP, Vista, NT etc..)?
I am setup with Visual Basic Express 2008.
I am a novice with programming and really need to get a device communicate with PC through COM3.
how to send and receive data via COM3 in VB.
I have a Digi Modem connect to a device. How could I sent the code through the IP address what the Modem create to get communicate with my device? how to defined the IP, 2) make the communication 3) sent the code?
View 4 RepliesI am trying to send and receive packets over the LAN (i.e. NIC port) using VB.NET. I found some code that uses Socket wrench, but problem with such solutions is that users will need to install extra drivers and all which I do not want. I am looking to use drivers native to the .NET environment to send and receive packets through the LAN port. My windows forms application is in VB.NETneil
View 1 RepliesI am looking to send and receive packets from the LAN port using some kind of WIndows Native object so that the user of my Windows Forms control does not have to install any third party software.[For example, for Serial port I use MSComm, i want to know what I can use for LAN port?]
View 1 RepliesI`m working on a project where i have connected a FPGA chip to the PCI bus but now i am trying to figure out how to communicate in VB to that device? Normally the device has memory assigned to it in XP (address h00000200 to h0000037F) but i don`t know how to read/Write to that memory directly in VB...
View 2 RepliesI have a library that interacts with our phone system, ie, Hey phone, call this number for me. This library is used in one of our in house products. I would like to put this instead in a service, so that any of our in house products can send the service a message to place a phone call. So basically I want to communicate from a program built in .Net 3.5 with a service running on the same machine also built in the 3.5 framework. I have done some work with WCF and was considering using this but thought I would ask what others have done or would do.
View 4 RepliesRecently, I Developed an Experiment Application with VB.net(in Windows platform), When the application collected the data,I want to use R to Analysis the data, But I don't know how to Communicate with R (In other word, I want to send R script to R in my own application).
View 1 RepliesI have a program that opens the command prompt and sends commands. I need to leave the first CMD open, open ANOTHER cmd and send more commands to the second one.
Then I do some processing and can close them both. How can I open more than one, and how do I refer to the first or second one?
I'm coding a restaurant program where every table, server and guest is a different object - Is there a right way of getting objects to communicate with each other?For example, one server might have 5 table objects, each table might have 2 guest objects. Is there a way to neatly tie all this information together. If a guest moves to a different table I have to change a large number of variables (number of guests served by server, table set to empty, new table sat...etc etc.)?
View 2 Replieshow can I let two threads communicate with each other by using VB.net?
View 3 RepliesI am writing a VB.Net application wherein I would like to be able to communicate with it from a remote computer. Specifically, I would like to be able to send (from a remote computer) both text data and also images (jpg, png, etc.) and then have the application use the sent information by displaying it to the user. How would I code the VB.Net app to be able to handle incoming data like this?
If possible I'd like to not be dependent on .Net technology on the "sending" side so I'm not sure if I would just use sockets or a web service or what.
I have a problem I have a project that needs to have a communication of asp .net to vb .net my project is i want to access or control(like a remote control) the vb .net application(server) using asp .net(client side) asp .net is like a remote control and the vb .net is the application that needs to control i need to use internet to do that.
View 1 RepliesI do not know how to communicate form VB.net with a webpage, meaning that when I send a data string, then the results shown on the form VB.net, so the webpage of the server sends the data string to form vb.net.
View 4 RepliesWhat is an easy to implement way to communicate between 2 vb.net (3.5) form applications that are running on the same machine?
The current problem is that in each program a user needs to be logged into to use. If the user is logged into one, and clicks a button to launch another, it should pass who is logged in so they do not need to log in again in the second program.
How is possible to communicate through USB port in VB.NET 2005?
View 8 Repliescan we communicate to Serial port COM1 through Microsoft Robotic Studio?We are developing wireless robot which will take data from serial por
View 14 RepliesHow to send commands to a telnet session and then read the output from the telnet session?
I can easily create a Telnet session using something like this[code]...
I've got this code below that creates an HTTPLISTENER that is nicely waiting at listener.GetContext().How do I communicate with this from another VB app? I cannot seem to get WebRequest.Create to work with the URI that my HTTPLISTENER example is using. This line of code from a second app is not working:
Dim request As WebRequest = WebRequest.Create(prefixes(0))
Here is the code:
[Code]...
I've got this code below that creates an HTTPLISTENER that is nicely waiting at listener.GetContext().[code]....
View 1 Repliesam using vb2008, and i was wondering how to to get the content in an input field in a webpage displayed in Internet Explorer, so when i hit a button for example, i get the content of the input field(usually texbox) in a textbox inside my app. note that am not talking about using the web browser component, but a running instance of ie
View 1 Repliesi'm making a server application which has to communicate with more than a client at time, do i have to list every remotehostip is it read only or i'm doing something wrong?p.s. i'm not fully understanding how winsock udp connections work so if you have the time could you explain (or show an example) on how it works ?
View 7 Replies