|
Items 2 and 3 in this[^] list will let you download NS2.0.
And if you click on this previous link I gave you, there is a section dedicated to Installing it.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thanks. I downloaded the exe file for NS and will try to install on my system. I will let you know if, i found any error. I hope you will favour me in future also.
So many Thanks.
Girish Kumar Sharma
|
|
|
|
|
I downloaded the required exe file and run on my machine; but after installing it:- (I am using SQL Server 2000)
1. How can i start the Notification Service (NS) in Services.
2. How can i use Notification Service for my VB6 Application.
Thanks
Girish Kumar Sharma
|
|
|
|
|
i really can't walk you through the entire process. It would take more than an article to explain it all. Just follow the documentation in the first link I posted and you'll find everything you need. I don't know of any VB6 examples that are still on the Web. It looks like everything has been converted over to VB.NET.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
i have some problem doing my project i hope that all the kind hearted people around the world will somehow advice me how to go with it thank you. As for now i have to develop a client program that can download and upload to the server with Authentication. Using VB Graphic User Interface but programmed by C.
-- modified at 23:49 Monday 28th August, 2006
|
|
|
|
|
What you want to do is very labor intensive. It'll take so much code to do this that it's impractical. You'd be much better off writting the C code as a COM .DLL and calling it from the VB form.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I am trying to get this ActiveX control to work within Word 97:
http://www.codeproject.com/opengl/ntgraph3d_atl.asp[^]
I havr registered the control and made checked the box in the reference table, the control appears on the document as it should, but I just can't get it to draft any of the examples:
Private Sub CommandButton1_Click()
NTGraph3D1.ClearGraph
NTGraph3D1.AddElement
For i = 0 To 40
x = ((i - 20#) / 20#) * 3.15
For j = 0 To 40
NTGraph3D1.AddElement
z = ((j - 20#) / 20#) * 3.15
y = Sin(x) * Cos(z) + 2#
NTGraph3D1.ElementType(j) = 0
NTGraph3D1.ElementLineColor(i) = RGB(255, 0, 0)
NTGraph3D1.PlotXYZ x, y, z, j
Next
Next
NTGraph3D1.AutoRange
End Sub
Am I supposed to make any declarations or something?
Thanks
|
|
|
|
|
Is it possible to show image on a button??
I want to show a button in an image instead of just showing the text word.
***
I have found the solution, by setting the STYLE to Graphics then choose Select on PICTURES.
-- modified at 22:40 Tuesday 29th August, 2006
|
|
|
|
|
|
VB6 doesn't have an ImageButton.
The VB6 Button control does have an Image property. Being as I haven't used VB6 in about 6 years, I can't remember how it worked!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I recently created a program that allows you to put in a url in the textbox
and from that url you can download a program from the site you put in the textbox (as long as it is a link to the download part of that site) without accessing the internet explorer or your internet browser being open.
my question is that to access the internet you have to type in your username and password (the internet is using a proxy server) the error I get is 407 proxy authentication error (in other words it is blocking the program from downloading and asking the program for a password and username to access the internet. WHAT CODE CAN I USE SO THAT I CAN DOWNLOAD ANY PROGRAM WITHOUT THE
PROXY ASKING THE PROGRAM FOR THE USERNAME AND PASSWORD.
my EMAIL IS amill141@eq.edu.au
|
|
|
|
|
A***** wrote: from that url you can download a program from the site
How are you downloading this file and from what type of server? HTTP or FTP? In the .NET Framework 2.0, there is the HttpWebRequest class that can download files from a web server, and also has a .Proxy property where you can supply the proxy server IP or name, username, and password for the proxy.
There is NOTHING you can do to get around the proxy server without specifying any credentials.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Coming from VB6, I'm jumping straight to Visual Studio VB.NET 2005 Express (skipping VB.NET 2003). When I search this site or the Web for VB.NET 2005 article or sample code I get a lot of hits for VB.NET 2003 articles and code.
1) Can I assume that articles and code for VB.NET 2003 will work in VB.NET 2005?
2) I'm particularly interested in File and Directory manipulation. Reading all file names in a directory tree, changing their names, creating directories, copying, deleting etc. Does VB.NET 2005 have significant improvements/changes in this area over VB.NET 2003?
Thanks.
|
|
|
|
|
A lot of the VB.Net articles use code that is not compatible with VB2003 (such as generic collections and the like) but it is not usually too much trouble to convert it back to 2003 (and even - shock, horror) VB2002.
|
|
|
|
|
Freddie Code wrote: Can I assume that articles and code for VB.NET 2003 will work in VB.NET 2005?
In most cases, yes. ASP.NET is potentially more problematic though.
Best thing to do is work with the 2003 articles and then search MSDN for what's changed between 2003 and 2005.
Kevin
|
|
|
|
|
Hello codeprojectusers, I am writing a very simple web server for no real reason and if does kind of work, but when I get a request from a client I get an error from visual basic 2005 .net. It says that access to the folder requested was denied.
this is the code i am having a problem with
Dim fs As FileStream = New FileStream(filename, FileMode.OpenOrCreate)
I have no idea how to fix this without using that request permission method which I cannot get to work, soooooo I would appreciate any help, Thanks
Aaron
|
|
|
|
|
Use application folder of system with system.environment.application. It will never give up access denied.
Thanks & Regards
Kumar Prabhakar
abc
|
|
|
|
|
Thanks I will try that.
Aaron
|
|
|
|
|
i finish my project in vb.net 2003 and sql server 2000 now i need to make setup package and i don't know how to install data base on target machine
i need to install database and msde on client computer
how?
ma_refay
|
|
|
|
|
I have a project I wrote that uses MSDE for a database and installs it with the program. If your interested email me and i will send you the program. It's pretty big though because of the MSDE so we will have to send it through messenger or some thing along those lines.
Pablo
|
|
|
|
|
Check out this link
http://msdn2.microsoft.com/en-us/library/49b92ztk.aspx
Navi
|
|
|
|
|
I am working with VB.Net 2003; I see a lot of programs being designed a lot like Outlook. With the left pane with options and the right pane showing like the data grid or something. Then you can click on something like add new record in the left pane then an input box will come up so you can enter the data for a new record and save it.
Is there a template that allows you to do this? If so, can someone tell me where to go to get it?
Thanks!
|
|
|
|
|
Hi all
This is my first post so please be gentle!!
Ok im not new entirely to VB.net but I am totally new to threading/async calls/cross thread interaction.
The sample code below is an async operation to catch received socket traffic.
The async method works just fine in capturing what i need, now i need to raise an event from my class to the form it was instantiated on, but doing so in a thread safe manner. To do this I have been using a sync object of type "System.ComponentModel.ISynchronizeInvoke". I pass my main form to this object as the synchronising object. as below (this is the new method of my class)
<br />
Public Sub New(ByVal BufferSize As Int32, ByVal SyncObject As System.ComponentModel.ISynchronizeInvoke)<br />
_SyncObject = SyncObject<br />
_Connected = False<br />
_BufferSize = BufferSize<br />
End Sub<br />
Now this sync object i use handles all my thread safe calls without any issue except for my receive method as follows:
Private Sub BeginReceive(ByVal ar As IAsyncResult)<br />
Try<br />
Dim _Bytes As Byte() = CType(ar.AsyncState, Byte())<br />
Dim _numBytes As Int32 = _Socket.EndReceive(ar)<br />
<br />
If _numBytes = 0 Then<br />
Dim c As New dlgNoParams(AddressOf Disconnect)<br />
_SyncObject.Invoke(c, Nothing)<br />
Else<br />
Dim _Data As String = _Ascii.GetString(_Bytes)<br />
Dim args(0) As Object<br />
args(0) = _Data<br />
Dim d As New dlgReceiveData(AddressOf ReceiveData)<br />
_SyncObject.Invoke(d, args)<br />
Dim e As New dlgNoParams(AddressOf StartReceive)<br />
_SyncObject.Invoke(e, Nothing)<br />
End If<br />
Catch ex As Exception<br />
<br />
Dim myType As Type = ex.GetType<br />
Console.WriteLine(myType.ToString)<br />
If Not myType.FullName = "System.Net.Sockets.SocketException" Then<br />
Dim f As New dlgErrorEvent(AddressOf ErrorEvent)<br />
Dim args(0) As Object<br />
args(0) = ex<br />
_SyncObject.Invoke(f, args)<br />
Else<br />
'_QueueThread.Abort()<br />
_Socket = Nothing<br />
End If<br />
End Try<br />
End Sub
I have several other methods that are executed on the forms main thread using the same methods as obove but just references different delegates, but the basics behind them all are very similar.
Every time i receive data through the socket i get a "NullReferenceException was Unhandled" with a message of{"Object reference not set to an instance of an object."}
Can anyone point me in the right direction please? or offer me an alternative to a thread safe method of raising an event within my class that runs from this async thread please?
Many thanks in advance and thanks for looking
Highlander
It seems this only errors out when passing the args object as a 1-dimensional array which holds a string. If i pass the word 'Nothing' instead of the args object i dont get the error. But i need to pass args as the method processes the data and raises the appropriate event. Any ideas? I have Bold/Underlined the offending line where i get the error. Thanks again
-- modified at 10:58 Monday 28th August, 2006
|
|
|
|
|
Hi i have a problem on how to create a .csv file using vb.net in windows appliaction. i am required to read information from a dataset and then retreive some certain information to create this .csv file. Problem is i do not know how to create the file and i need to save it to a location without prompting the user to select where to save. need help urgently and informations pls let mi knows thanks a millon.
KaKaShi HaTaKe
|
|
|
|
|
Hi There
Bascially a csv file is a plain text file holding records line by line, each field on the line seperated by a comma (,)
You need to open/create a file using the system.io objects
use a datareader of sorts to access your dataset tables row by row
create a string of each row like so:
field1,field2,field3,field4....etc
then write that line to the file, each line = 1 row
then capture the next row and recreate your string with fields seperated by , (commas) and so forth. I could easily write the code here but I think you would learn more if you attempt it. Its easier than it sounds
|
|
|
|