|
Hi,
Does anyone knows how to create a setup package that will install a custom font into the clients windows\fonts directory without prompting him.
Some People succeed because they are Destined to, but most people succeed because they are Determined to
|
|
|
|
|
the default property of font folder is that if you copy any font it automatically installs it. so you just need to add the font in your setup project and give it destination to windows\font folder and it will be installed
|
|
|
|
|
I have the following problem:
I have a project ActiveX Document (vbd) developed in vb and wanted to develop it in NET.
Everywhere I have read that this is not possible.
Somebody could help me?
Thanks
|
|
|
|
|
VB.NET doesn't build ActiveX documents or binaries.
You'll have to keep using VB6 if you want to continue the project. You'll have to scrap it and start from scratch if you want to do something equivilent in VB.NET or C#. Though, the user will have to have the .NET Framework installed on their machines if they want to use your component.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Sorry,
but my ingles is bad.
I do not understand the expression "scrap it and start from scratch"
|
|
|
|
|
Drop the original project. Rewrite the entire project in something equivilent in the .NET Framework.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
ok!!
but, what he is its equivalent one in NET that is looked like a project?
thanks again
|
|
|
|
|
There isn't any one project that replaces an ActiveX project. What you use depends on what your doing. It could be limited to client-side JavaScript, a Web Control, a mixture of both.
The only language in the .NET Framework that still targets ActiveX is C++.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
What is the easiest way to format all the items of a column to currency?
|
|
|
|
|
The listview won't do it, you need to.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
i need help in connecting Access to VB.net ..
can anyone let me know what is wrong with my code ..
Public strSQL As String
Public objCon As ADODB.Connection
objCon = New ADODB.Connection
Dim Rs As New ADODB.Recordset
objCon.ConnectionString = "MaxBufferSize=2048;FIL=MS Access;DSN=Scan;PageTimeout=5;UID=admin;DBQ=D:\VB.Net\VulnerabilityAssessment.mdb;DriverId=25"
objCon.Open()
strSQL = "Insert Into RemoteHost(HostIP, HostAddress,ScanTime)"
strSQL = strSQL & " Values(strIpAddress,Host.HostName ,Date.Now);"
objCon.Execute(strSQL)
objCon.Close()
objCon = Nothing
|
|
|
|
|
Please don't ask the same question twice.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
i need help in connecting access to vb.net ...
but i m having problem ...
can anyone let me knoe wht is wrong with my code
Public strSQL As String
Public objCon As ADODB.Connection
objCon = New ADODB.Connection
Dim Rs As New ADODB.Recordset
objCon.ConnectionString = "MaxBufferSize=2048;FIL=MS Access;DSN=Scan;PageTimeout=5;UID=admin;DBQ=D:\VB.Net\VulnerabilityAssessment.mdb;DriverId=25"
objCon.Open()
strSQL = "Insert Into RemoteHost(HostIP, HostAddress,ScanTime)"
strSQL = strSQL & " Values(strIpAddress,Host.HostName ,Date.Now);"
objCon.Execute(strSQL)
objCon.Close()
objCon = Nothing
|
|
|
|
|
fareee wrote:
strSQL = strSQL & " Values(strIpAddress,Host.HostName ,Date.Now);"
Try
strSQL = strSQL & " Values( " & strIpAddress & ", " & Host.HostName & " , " & Date.Now & " );"
You're trying to pass constant strings into the table.
This is assuming that your question is poorly worded, and you're not really having trouble connecting to Access. Either way, this is a problem in your code.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
How can I copy or save data from an MSHFlexGrid COntrol of another application? I tried the API functions, but it did not work.
Any idea
Holger
|
|
|
|
|
Ok easy one for y'all, but Im stumped. I have 2 listboxes. First listbox is populated with the 12 months and when double clicked on a month, it needs to move to the other listbox. The second listbox is initially blank.
Any ideas??
Thanks in advance
Jason
|
|
|
|
|
Remove it from the items collection on one, and add it to the other.
VB6 or VB.NET ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
1st Listbox has a collection of months. When double clicked on a month it moves to the 2nd Listbox. I would assume that I need to have it move back to the 1st listbox when double clicked as well.
VB.Net
Thanks Christian
|
|
|
|
|
Private Sub ListBox1_DoubleClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.DoubleClick
Dim S As String = ListBox1.SelectedItem
ListBox2.Items.Add(S)
ListBox1.Items.Remove(S)
End Sub
Private Sub ListBox2_DoubleClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox2.DoubleClick
Dim S As String = ListBox2.SelectedItem
ListBox1.Items.Add(S)
ListBox2.Items.Remove(S)
End Sub
You'd need to add something to rearrange them in the right order, if you want that.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
CG, you da man as always. I knew it was something very simple. I couldn't see the forest because of the trees. Thanks again.
I'll work on customizing it from here.
THANKS AGAIN CHRISTIAN!!!!
JB
|
|
|
|
|
*blush* you're welcome.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hello All,
I am trying to write a screen scrape programme in VB.net.
Is there a way to find a window assosiated to a thread?
I have tried to use the FindWindow API but it returns a very long number.
can anyone help...
Basically I am trying to extract a value from a ComboBox control which is on another application window.
Vishal
|
|
|
|
|
Anonymous wrote:
have tried to use the FindWindow API but it returns a very long number.
That would be a HWND. What did you think it was ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Is it possible to create any kind of script page that would serve as a tunneling application on a server? ASP/PHP or a .NET Webservice? Then use a windows application to perform the tunneling, etc...just like http-tunnel and hopster.
|
|
|
|
|
Hello'
I am populating dataGrid based on DataSet's table that is editable
but I wanted to edit original data not to enter new row. how can I do this ?
any openion ?
|
|
|
|