Just so you guys know the "Unfortunately" was in response to it being a shame that in dealings with character literals that there isn't much else to do. ;)
It's been awhile since I've worked with VB, I'm doing C# now, but I seem to recall wiring up the event procedures within the loop as well when they were fairly similar. I could be attributing that to some C# code though. It's been too long.
Copy the file then 'shell out' to the executable at the location you specified for it to be placed.
Search for VB Shell and you should find the answer you need.
It should be noted, however, if you are using SalesLogix there are other ways around the problem, like calling the legacy code to do this from the newer vb code.
You need the connection established, connected and opened...
Dim oc As ADODB.Connection
Set oc = new ADODB.Connection
oc.connectionstring = "someconnectionstring"
oc.open
strSQL = "someSQL"
oc.execute(strSQL)
This sounds eerily like you are working with SalesLogix. If so I should warn you that SLX Scripting is not true VBScripting.
If I were to do this in SLX (which doesn't have control arrays or collections) I would have to change each control value line by line (unfortunately)
You can also do a For Next on the form Controls collection and compare the name of each control object
Dim myControl as Control
For Each myControl in Controls
if myControl.name = "somename" then
DoSomething
end if
Next myControl
I only want to run Installshield if the components to the application aren't already installed.
my decision structure is like this:
if (components installed)
run app;
else
run installer;
run app;
Running the installer every time would make the process too slow. I've been researching the...
Hello All, I'm in the process of putting one of my company's applications (originally written in VB6 back in the day) fully onto CD.
Obviously (or not so obviously) I need (or atleast would like) to ensure that certain objects (dll's etc.) are on the running machine prior to launching the...
Hello, I've developed an application in C# that opens a crystal report using the ReportDocument object provides it with some parameters and then prints the document to the printer.
The application works fine on the live server (after it is compiled) and USED to work fine on my development...
Hi guys, big problem here. I have to write a script to process through a bunch of word documents, open them up and then print them. The problem is that I need page one to go to one paper tray, page two to go to a different paper tray, and so on.
The user doesn't need to see the documents, I...
Just so you know, I found out how to do this, if any of you want to know here is a link with the information.
I am a little disappointed that this post was ignored like it was...
http://support.crystaldecisions.com/library/kbase/articles/c2007185.asp
Hey all, n00b here. I'm having a problem finding a solution to an issue. I need to print to alternating trays on a printer dependent upon which subreport the main report is printing.
the details:
I'm printing a bill for my company based in CR9. There is one main report that is actually simply...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.