|
Hello,
You have to install .net framework on client machine before istalling your application developed in .net. Or else while deploying your application just include dotnetframe work which u can see in solution explorer(dependencies), during deployment. If you include dotnet frame work the file size of your application, i.e, your setup.exe will increase by 30 mb max. And when ever you will try to install your application on the machine which does not have framework it will istall the framework first automatically and then start with the installation of your actuall application, else if it will install only your actual application.
Try it out
Bye.
Nikhil Bandekar
Mumbai,
India
|
|
|
|
|
Dear Sir
I thank you for your answer
Please I want more details, since I add the setup file for .NET FrameWork onto the Application Folder (i.e. the Setup Solution) but when I run the program
onto another machine the .NET FrameWork does not setup automatically with it.
Good Luck
MNG
|
|
|
|
|
Hi
I don't think framework gets bundled with your setup program. Your setup program just contains the files that it requires to run (if you have added any extra files). You have to isntall the .net framework separately on the client machine and then install your application.
Hope this helps
Kanniah
|
|
|
|
|
How can I get the names for all computers which are connected to a LAN(Local Area Network)?
MMT_PC
|
|
|
|
|
Hi all,
how an I make with VB6 a dll to have all the functions and utilities that I usually need in a project? I've done it with an ActiveX Dll but I need to put them in a class. Is there any way to do it globally?
Thanks in advance,
Marc Soleda.
... she said you are the perfect stranger she said baby let's keep it like this... Dire Straits
|
|
|
|
|
How can I get the names for all computers which are connected to a LAN(Local Area Network)?
MNG
|
|
|
|
|
How can I get the names for all computers which are connected to a LAN(Local Area Network)?
MNG
|
|
|
|
|
Dear Sir
How can I install a .Net FramWork when I make a setup for a program which made by VB.Net?
MYH
|
|
|
|
|
Dear Sir
Can I make setup for a program and run it onto a machine
that has not Visual Studio nor .Net framwork?
|
|
|
|
|
Hi, I need to know the name od the current windows desktop in vb6. I use the following code. l which is the lenght of the string of desktop name, is filled but, the strig s would not be filled.
I would like to ask why this happens, and if there are any other methods to get current desktop name?
Option Explicit
Private Declare Function GetUserObjectInformation Lib "user32" Alias "GetUserObjectInformationA" (ByVal hObj As Long, ByVal nIndex As Long, pvInfo As Any, ByVal nLength As Long, lpnLengthNeeded As Long) As Long
Private Declare Function GetThreadDesktop Lib "user32" (ByVal dwThread As Long) As Long
Private Declare Function GetCurrentThreadId Lib "kernel32" () As Long
Private Const UOI_NAME As Long = 2
Private Function GetCurrentDesktopName() As String
Dim s As String, l As Long
Const MAX As Long = 500
s = String(65355, vbNullChar)
If GetUserObjectInformation(GetThreadDesktop(GetCurrentThreadId), UOI_NAME, VarPtr(s), MAX) Then
GetCurrentDesktopName = Left(s, l - 1)
End If
End Function
Private Sub Command1_Click()
MsgBox GetCurrentDesktopName
End Sub
|
|
|
|
|
|
hello guys
my main problem of my application is that i cannot the load the file which is from ms word 2003..ok to be more understandable first i have a textbox that will get the path of the file like for example "c;\sample.doc" then i have button there that will show the msword.exe the problem is that it doesnt work...can you fix this code...
..Private Sub btnshowfile_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnshowfile.Click
Dim fLocation As String = txtfilelocation.Text
Dim fType As String
Dim iOpen As Integer
If txtfilelocation.Text = fLocation Then
End If
fType = Mid(fLocation, Len(fLocation) - 2, 3)
Select Case fType
Case "DOC", "doc"
iOpen = Shell("C:\Program Files\Microsoft Office\Office10\winword.exe " & Chr(34) & fLocation & Chr(34), AppWinStyle.NormalFocus)
end select
end sub..
thats my code...it doesnt load anything in 2003 office
please help....
thanks in advance
|
|
|
|
|
This is one of easy ways
You can open files with there associated applications like this
System.Diagnostics.Process.Start("C:\YourFile.doc")
Chatura Dilan
SC Java Programmer
|
|
|
|
|
Are they automatically cleared/dropped when the user closes his browser?
I sure hope they are...
If not, how to make sure that happens..?
|
|
|
|
|
Yes, It will be cleared after closing the browser.
abc
|
|
|
|
|
thx
|
|
|
|
|
i want to make sql statment that use mod % Div /
i have tow colum
tt | time
---------
1 | 1
2 | 2
3 | 9
i want to make list for all record if (time % 5 = 0)
* how can make this
Palestine
|
|
|
|
|
exactly how youve written it - mod operator in sql is %
so
SELECT * FROM myTableName
WHERE (time % 5) = 0
|
|
|
|
|
hi
could someone tell me why this code is not working, i mean the
insert query
<br />
<asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" DataKeyNames="CustomerID"<br />
DataSourceID="SqlDataSource1" AutoGenerateInsertButton="true" Height="50px" Width="184px" AllowPaging="true"><br />
<Fields><br />
<asp:BoundField DataField="CustomerID" HeaderText="CustomerID" ReadOnly="True" SortExpression="CustomerID" /><br />
<asp:BoundField DataField="CompanyName" HeaderText="CompanyName" SortExpression="CompanyName" /><br />
<asp:BoundField DataField="ContactName" HeaderText="ContactName" SortExpression="ContactName" /><br />
<asp:BoundField DataField="ContactTitle" HeaderText="ContactTitle" SortExpression="ContactTitle" /><br />
<asp:BoundField DataField="Address" HeaderText="Address" SortExpression="Address" /><br />
<asp:BoundField DataField="City" HeaderText="City" SortExpression="City" /><br />
<asp:BoundField DataField="Region" HeaderText="Region" SortExpression="Region" /><br />
<asp:BoundField DataField="PostalCode" HeaderText="PostalCode" SortExpression="PostalCode" /><br />
<asp:BoundField DataField="Country" HeaderText="Country" SortExpression="Country" /><br />
<asp:BoundField DataField="Phone" HeaderText="Phone" SortExpression="Phone" /><br />
<asp:BoundField DataField="Fax" HeaderText="Fax" SortExpression="Fax" /><br />
</Fields><br />
</asp:DetailsView><br />
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="Data Source=MOHAMMED-TAMIMI;Initial Catalog=Northwind;Integrated Security=True"<br />
ProviderName="System.Data.SqlClient" SelectCommand="SELECT * FROM [Customers]" FilterExpression="CustomerID='{0}'"<br />
InsertCommand="INSERT INTO [Customers]([CustomerID], [CompanyName]) VALUES (@custID, @company)" ><br />
<FilterParameters><br />
<asp:ControlParameter ControlID="GridView1" Name="CustomerID" PropertyName="SelectedValue" /> <br />
<br />
</FilterParameters><br />
<InsertParameters><br />
<asp:Parameter Name="custID" Type="String" /><br />
<asp:Parameter Name="company" Type="String" /> <br />
</InsertParameters><br />
</asp:SqlDataSource> <br />
Tamimi - Code
|
|
|
|
|
My Dear Friend,
The problem with this query is that the INSERT Statement is incomplete.
if you say: SelectCommand="SELECT * FROM [Customers]
than you're selecting all the parameter fields from CUSTOMERS which are 11 parameters.
Having said that your INSERT statemetn should have 11 parameter fields.
HOPE this helps you.
Good luck
Amadeo,
|
|
|
|
|
hi
i changed the select command to
"SELECT CustomerID,CompanyName FROM [Customers]" but i got the same
problem.
anyway thank you
Tamimi - Code
|
|
|
|
|
windows can store your logon information for network locations and web sites
in Control panel->user Account->manage my network password->> (Stored User Name and Password)
and you can see this informatin in a list and if you click properties you can see
server name & user name & password.
can add new entry and change them or remove if you want
How can i retreive the list of server name & username for all stored account
(put them in dropdownlist or saved them on DataBase)
using asp.net or vb.net code
can any one help me ????!!!!
Saeed
|
|
|
|
|
How do i find a process which i know the name of and determine if it exists.
e.g. find out if internet explorer is running.
Posted by The ANZAC
|
|
|
|
|
Here are two ways of doing it. Second one uses iteration which may prove to be resource heavy.
1st Method - GetProcessesByName(processname as String)
If Not IsNothing(Process.GetProcessesByName("iexplore")) Then
MessageBox.Show("Explorer is running.")
End If
2nd Method - GetProcess()
Dim objProc As System.Diagnostics.Process
For Each objProc In Process.GetProcesses
If objProc.ProcessName = "iexplore" Then
MessageBox.Show("Explorer is running.")
Exit For
End If
Next
|
|
|
|
|
hi
i have developed an application.i want to deploy it in a client machine,bt the problem is that i dont know how to make the crystal report database login information dynamic.can anybody help me in this regard to make the crystal report dynamic so that it can take the login information from the registry at the time of installation of the setup wizard?
how can i incorporate the microsoft.net framework in the setup along with the project so that it will automatically install the framework at the time of installation of projects?
any queries in this regard will be warmly solicited
i m pradip kishore from india,working in vb.net & asp.net
|
|
|
|