|
Oops... it's not MS Installer... Visual Studio Installer[^] is what I meant.
Yes, it is not integrated with the VB6 IDE, but you can create MSI files using this app.
|
|
|
|
|
Google for "Crystal Reports runtime install" or "Crystal Reports redistributable" and you'll find the installer to do this.
|
|
|
|
|
since your app is a small one why not rewrite the app into dotnet and move away from a dead product. You will be lucky to find the installation files for VB6/CR.
You can distribute the appropriate DLLs and register them. Finding them will be a challenge.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
manohar_balu wrote: I have developed a VB6.0 application
Why? VB6 has been dead for at least 5 years. If you are going to be doing VB programming, you should stick to VB.NET. It'll look better on a resume or c.v. than VB6 ( unless it is completely maintenance work you are doing ).
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Dear Fellows,
I have created a Windows service, which is supposed to start a notepad.exe. But the problem I am experiencing is that my service never starts but gets stuck at the myService.Start() in the following lines of code, I am able to start the service when i include a form_Load or Button_Click. Can somebody please help and tell me is it important to include a windows form to my service project to get the service started. Here is my code:
Private Sub CheckService()
' Verify to see if the service is installed.
Dim installedServices() As ServiceController
Dim tmpService As ServiceController
Dim i As Integer = 0
installedServices = ServiceController.GetServices()
For Each tmpService In installedServices
If tmpService.DisplayName = "MyService" Then
myService = tmpService
myService.Start()
End If
Next tmpService
End Sub
Thank you in Advance
|
|
|
|
|
It's been a while since I've done a windows service, if I remember correctly you should be able to just instantiate the service control by name and then start the service. You shouldn't have to loop all services for the correct name.
dim oService as New ServiceController("MyService")
oService.Start
1. Ensure your service is installed in the windows services.
2. Ensure the service is started and working.
3. Create a sep. project for the GUI. The windows service project shouldn't have a form itself. The GUI project will be responsible for starting, restarting, etc the service. Use a notifyIcon if necessary.
Any suggestions, ideas, or 'constructive criticism' are always welcome.
"There's no such thing as a stupid question, only stupid people." - Mr. Garrison
|
|
|
|
|
Well thank you for your time, the stupid thing i was doing is that I was not implementing a separate project, but was doing everything in the same class. Well i could start the service now. I would really be thankfull if you help my new problem. The problem is that I need to run an exe from this service. i tried the Process.start in the service onStart() sub, but ended up with nothing. i have set the service property to "Interact with desktop", but no luck! Please help if possible.
|
|
|
|
|
Does it stop on the myService.Start() line when trying to start the service in the Services applet in Windows or when running the project locally in Debug mode?
Keep It Simple Stupid! (KISS)
|
|
|
|
|
Well thanks Ben for your time, the stupid thing i was doing is that I was not implementing a separate project, but was doing everything in the same class. Well i could start the service now. I would really be thankfull if you help my new problem. The problem is that I need to run an exe from this service. i tried the Process.start in the service onStart() sub, but ended up with nothing. i have set the service property to "Interact with desktop", but no luck! Please help if possible.
|
|
|
|
|
Hello All,
I am trying to create a screensaver slideshow that displays a set of images from a folder. Also I would like to be able to control the delay between each showing. I've seen many articles but thus far the ones I came across are different from what I'm trying to do. If you know of a good article on this, please let me know. Thank you in advance for your help.
|
|
|
|
|
|
Hello,
Thank you so much for responding, but I still need to know if there is a tutorial or an article out there on how to create this program.
|
|
|
|
|
|
hello all,
I need a help in VBA,
I have table in my MS access, with two fields, name and items
eg :
Name items
Ram | Book
Ram | Pen
Ram | Pencil
Raja | Book
I want to delete a particular rowfield from my table if the data repeats.
After deleting, i want the table to be like
Ram | Book
| Pen
| Pencil
Raj | Book
i dont want to repeat Ram
hope my doubt is clear
|
|
|
|
|
Actually u don't want display the ram repeatedly use SQL query Union, Union all, minus. or you can use condition and remove the name or same records.
|
|
|
|
|
Can i update 2nd and third ram with some particular value
|
|
|
|
|
Ya u can do it in 2 ways 1.permanently or 2.temp.
1. Update the database record using update statement.
2. use Condition statement replace value in front end.
|
|
|
|
|
You can use Update query i which u can set value.
Like :
Update table Set Name = "Demo" where Class = "null";
Regard
Anubhava Dimri
mailto: anubhava.prodata@gmail.com
|
|
|
|
|
Thanks friends...
but if i use the update command, all the three ram is replaced with some particular value. i want to retain first Ram just want replace second and third with some value or with blank space.
How to do these.
|
|
|
|
|
In where class use the more then one condition like
where name='Ram' and age=20;
like then that record only updated.
Ananda.
|
|
|
|
|
Sorry for disturbing.
My table name is General Issue table and the two fields are TestCaseName and TestScriptName. In TestCaseName column some testcases are same. i just want only one entry for particular test case.
The code i using is,
rs.Open "SELECT TestCaseName FROM [General Issue table]", oConnection
Do While (rs.EOF = False)
varTestCaseName_Repeat = rs.Fields(0).Value
rs.MoveNext
If (varTestCaseName_Repeat = rs.Fields(0)) Then
"here how to use update statement"
End If
Loop
|
|
|
|
|
Use this.
Dim Str As String
rs.Open "SELECT TestCaseName FROM [General Issue table]", oConnection
Do While (rs.EOF = False)
varTestCaseName_Repeat = rs.Fields(0).Value
rs.MoveNext
If (varTestCaseName_Repeat = rs.Fields(0)) Then
Str= "UPDATE TestCaseName SET name='" & value1 & "', age=" & value2 & " WHERE name='" & rs.Fields(0) & "' And age=" & rs.Fields(1) & ";"
rs.Open Str, oConnection
End If
Loop
Ananda
|
|
|
|
|
TO DELTE THAT RECORD WHAT U NEED DO IS TO SET UR DATABASE IN ORDER
NOT TO REPEAT A NAME.
FOR INSTANCE IF U ARE USING ADODC CONTROL
THE CODE WILL BE LIKE THESE
DIM RS AS NEW ADODB.RECORDSET
DIM CN AS NEW ADODB.CONNECTION
CN.CONNECTIONSTRING ="DATABASE PATH"
CN.OPEN
RS.OPEN "DELETE * FROM TABLENAME WHERE FIELDNAME='" & NAME & "'",CN
|
|
|
|
|
Hi
Help me.
- Use Visual Studio 2005
- As programming language, use C#
Merge SQLite data with HTML template. This action should be done using one 'Merge' button click.
Show merged document in webbrowser.
Save merged document to PDF.
- Merger
Replaces '##[fieldname]##' in the HTML template document with data from the corresponding
column of the SQLite table.
Create one new page in the document for each record in the SQLite table.
Thank you.
Regards,
Och-Erdene
|
|
|
|
|
Och-Erdene wrote: As programming language, use C#
So why are you also posting this in the VB forum?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|