hi all, i create installer class that will run while installation but it will receive value from user during installation what is the proper way for this? thank you
anom2m
Posts
-
Sending parameter while installation -
Run Sql Script While installationthank you Ramana, can u tell me how to get the SQL server name dynamically of client machine in this script
-
Run Sql Script While installationHi all, I have many SQL Stored procedures that i need to run before my program start ,so i need to run them while project installation ,how can do this? your support is highly appreciated thank you
-
How to Execute sql script in vb.netyou can use
Imports System.IO public sub RunSQL Dim conn As New SqlClient.SqlConnection Dim sqlCmd As New SqlClient.SqlCommand Dim sqltxt As String conn.ConnectionString = ("Data Source= " + DS + " ;Initial Catalog= " + DB + ";Integrated Security=True") conn.Open() sqltxt = System.IO.File.ReadAllText("SP.sql") sqlCmd.CommandText = sqltxt sqlCmd.Connection = conn sqlCmd.ExecuteNonQuery() conn.Close()
this code will read the file once and execute it -
Entry point for uninstalli create new class that display warning message if he find string in text file and this code inside Sub of the class so how can i call this function from the dll in the setup project while uninstall Code :
Imports System.IO Imports System.Windows.Forms Public Class Uninstall Dim str As String Public Sub FixDynamics() str = System.IO.File.ReadAllText("Test.txt") If str.Contains("Auto") = True Then MessageBox.Show("Exist txt") End If End Sub
-- modified at 3:26 Thursday 25th May, 2006 -
Entry point for uninstallHi all, i need to edit file on the target folder and this editing must run in Uninstalling this program what exaclty shall I do?
-
Sql File in DLL problemthank you Rizwan , can u guide me how to do the encryption? so that when file exist in the customer's machine can't be opened!!!
-
Sql File in DLL problemHi all, i have SQL script that i will execute it in class and i have to add this SQL file to the class ,but i need no one else see this file ,so i make the copy option to be"Do not copy" , but i use this file to read from it ,so when i use the created dll in another solution , it can't find that file what exactly shall i do? your answers will be appreciated Thank you
-
fill datagridhi all, i want to fill datagrid from table in vb6 ,please help thanx:confused:
-
converting from numbers to words "Crystal reports"thank you for help accually i know this function but i need an algorithm to appaly this function as it is only used for english language and i want it for arabic so it must be done step by step and the main problem that crystal does't support recursion thank you again
-
converting from numbers to words "Crystal reports"hi i need to know how can convert from number to words thank you
-
Crystal reports"Numbers to words"hi i need to know how can convert from number to words thank you
-
Control Locationhi all, i have a text box in screen of Great plains Product and i want to detremine it's location accroding to the windows screen ,how can i do this? as i really need it thank you
-
register Ocx while setup projecttry to use property called register for that ocx and make it comselfregister