|
This may help you (taken from VB2005 Express HelpFile)
ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/dv_fxtools/html/482c0d83-7144-4497-b626-87d2351b78d0.htm
modified 1-Aug-19 21:02pm.
|
|
|
|
|
i have already set up a listbox to be saved as a txt file, but now i wish to be able to have it saved to whereever the compiled program is, for example just say the program is called listboxes.exe and is in C:\testfolder
then the txtfile containing the listbox data will be saved to its directory, c:\testfolder
|
|
|
|
|
You properly could use application.StartupPath, it returns a string containing the path to where you executed your program
We can all do great things.
|
|
|
|
|
Hi
This is my first ever post to a forum!
I have been given the job of downloading a text file from a website using a windows forms application (will later probably turn it into a windows service). This is pretty easy and u can do it in two lines of code using the Webclient class.
BUT the problem is, I need to go to a webpage, then logon, which redirects me to another webpage, then click on the file i wish to download to download it.
I don't know where to begin! Is this possible? What classes should I be using to achieve this?
Thanks for you help in advance.
catscradle
|
|
|
|
|
Hi,
Does anyone know of good examples (articles) in vb.net to for esigning a PDF file using itextsharp, PKCS and frameword 1.1??
Thanks for any help,
|
|
|
|
|
You asked this same question 23 hours ago. Maybe no one knows or the person who might know hasn't come by yet. Have patience, grasshopper
|
|
|
|
|
thanx for the cockyness, but if you don't know the answer then just shut up I didnt ask u specifically. Ge get a life
|
|
|
|
|
How about you quit asking the same question over and over
|
|
|
|
|
how to update a datagrid cells and rows at runtime in vb.net coding?
thank you
|
|
|
|
|
I found and error on my VB 6.0 when i try to link the vb to dbf
"couldnt find installable ISAM???"
wats it that mean?
|
|
|
|
|
is there any component to select to link the .dbf file from VB??
I wanna create a program that able for me to write inside the .dbf file, but i cant link it... wat happen?
Private Sub Adodc1_WillMove(ByVal adReason As ADODB.EventReasonEnum, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)
Dim oConn As New ADODB.Connection
Dim oRs As New ADODB.Recordset
'ODBC Driver for dBASE
oConn.Open "Driver={Microsoft dBASE Driver (*.dbf)};" & _
"DriverID=277;" & _
"Dbq=C:\Documents and Settings\Administrator\Desktop\SaTO\"
'Then specify the filename in the SQL statement:
oRs.Open "Select * From Shelf.dbf", oConn, , , adCmdText
End Sub
|
|
|
|
|
Hi, I want to display values in datagridview columns as "0.00%". I am able to display the values but I can also type the characters. This should not be allowed, I want that the user should not be able to type in characters.
If I do something like this:
datagridviewCOL.DefaultCellStyle.Format = "N2"
The above doesn't help .
Can anyone please let me know?
Thanks!
|
|
|
|
|
Hi all,
Is there any way to get all database in a server?
I'm trying to create an application like a database explorer that will have a list of all databases and servers.
For ex.
In Server1, we have 4 databases, in server 2, 5 databases, i want to show them all. Is there any way to get the informations?
Thanks
|
|
|
|
|
|
Thanks Paul
|
|
|
|
|
Hi!
I'm having a very disturbing problem.
I'm working in a program witch has several forms (windows forms)
When I add a form to the project I can invoke that form from a menu (for
instance)
The problem is that as I start working in the form (adding controls,
formatting then, etc) suddenly the form is no longer recognized and when
invoked I got an error "Type frmForm1 is not defined"
In this particular form I'm adding GroupBoxes, CheckBoxes, TextBoxes and
Labels.
I'm using VB .Net 2003
Can anyone help please? I'm tired of repeating the work all over again.
TIA
|
|
|
|
|
When you rename the form do you rename it in the solution box and takeaway the extesnion.
i.e.
rename from "Form1.vb" to "frmForm1" removing the ".vb" and clickiing yes to the message box. If so, the ".vb" must be on the end or as the message says, "the form may become unusable"
Posted by John Cotterill (The ANZAC)
|
|
|
|
|
Hi John!
Thanks for the reply.
Answering to your question… The problem was not on the creation of the form. It was correctly created and I was able to work with it for a while until its reference was not found any more.
But I already found the problem… While working in the form (applying controls, formatting them, renaming them, etc…). I accidentally renamed the form instead of the control I wanted to rename… And of course the reference to its previous name was lost… And I started everything with a new form and it happened again and so on… For three or four times before I posted this message… What are the odds of a thing like that happen?
Jorge
|
|
|
|
|
Does anyone knows how to configure .net runtime 1.1 to allow socket client to communicate with a socket server on a different machine ? Also, I have trouble from a socket client (on asp.net page) to connect to a socket server. I know that this is a security issue because I can get it to run on the same computer, even from client that is on asp.net page.
Rookie Programmer
|
|
|
|
|
How do you programmatically click a button in a Webbrowser control?
I have found the HtmlElement instance for the button and tried using RaiseEvent("click") and RaiseEvent("Click"). They don't work.
|
|
|
|
|
I have just got into programming in Vb.Net 2005. I have previous experience with C and C++ and VB6. I have keen interest in doing sockets nowand my main aim is to make a chat client-like application. I have no previous knowledge of them. I just wanted to have a tutorial or some example programs on doing sockets with Vb.Net 2005 (framework: 2.0). If someone could recommend me a good book on this, that would be even better.
Thanks in advance...
Sagar RW
|
|
|
|
|
Have you looked around on this site?
|
|
|
|
|
Thank you for replying Paul. Yes, I did look on the site and was able to find two source codes dealing with WinSocks in .Net. Also, I already have a chat client source code. However, since I don't know much about sockets, it is hard to understand them just like that. The ones I downloaded from here also contain some Assembly code which I have no idea about.
|
|
|
|
|
|
Thanks for replying. Could you also recommend me a good book for sockets with VB.Net?
|
|
|
|