|
how i can read data from textbox (notepad) which has alot of data by form in vb.net
so
1- first i need to select the file
2- reading data
3- arrange data and store the arrangment data in sql
kilany
|
|
|
|
|
Mr kilany wrote: how i can read data from textbox (notepad) which has alot of data by form in vb.net
so
1- first i need to select the file
2- reading data
try this:
http://www.vbforums.com/showthread.php?t=423925
It is coded in VS2005 but basically you need to import
system.io
open a stream and then make sure you close it after you finish reading. I am not sure what type of data is being read. I am unable to comment on storing/arranging part.
If you want to ask the user for where the file is stored, use file dialogues.
Hope that helps.
|
|
|
|
|
thanx alot man,
the most important thing that the open and search function included in vb.net , may you give me the topic which is related to open textpad and reading data from it to let me you search engines, and if you have any links related to this supject please care for me, because i have a project which use VB>NET and should read from notepade and search some things inside it,
thanx second time ........
kilany
|
|
|
|
|
|
Hi
How can I Make Encryption And Decryption for a Text (String) By any way ?!
|
|
|
|
|
you could write your own algorithm to encrypt the msg, a simple idea is:
use 001 to represent A, 010 to B, 011 to C ......
if you want it more complex and secure, you could refer to the RSA key pairs, to build your algorithm.
Cheers,Kev
|
|
|
|
|
|
try this:
Function Encrypt(ByVal strval$, ByVal blndec As Boolean) As String
Dim str, str1, str2, str3, str4 As String
Dim int1, int2, int3 As Integer
str1 = strval$
int1 = Len(str1)
int2 = 1
Do While int2 <> (int1 + 1)
str2 = Mid(str1, int2, 1)
If blndec = True Then
int3 = Asc(str2) + 3 'Decrypt
Else
int3 = Asc(str2) - 3 'Encrypt
End If
str3 = Chr(int3)
str4 = str4 & str3
int2 = int2 + 1
Loop
Encrypt = str4
End Function
geboy
|
|
|
|
|
In a Windows application, the print button on the CrystalReportViewer control toolbar opens the standard print dialog box.
I want ask if I can print directly on the printer using the print button without opens the standard print dialog box?
|
|
|
|
|
I want ask if I can print report or string directly on the printer without opens the standard print dialog box.
MYH
|
|
|
|
|
|
How can I print report or string directly on the printer without opens the standard print dialog box?
MYH
|
|
|
|
|
Take the report document, assign the printer name to it, and call Print().
|
|
|
|
|
yes you can jest set the openmethod equals to zero. your data will be print directly to the printer.
geboy
|
|
|
|
|
Hi, Jayachandra here,
I am having a doubt in vb 6.0. If i want to display a report on user input. What is the code to get report by user input. please help me in this concept. I would be thankful.
Waiting for reply.
please ....
Jayachandra
-- modified at 5:23 Sunday 17th September, 2006
|
|
|
|
|
Hi
Can you please explain in brief so that I can help out to sort your issue
Regards
Tushar kothari
|
|
|
|
|
Sir, Thank you for you response.
My problem is, I want to display a report by user input.
For Ex. There are no. of srudent records in the database. If i want to display only one student,i.e. example, student Id is S001. I want to display his details only by using Data Reports in VB 6 with Access. I want the code for connecting to DataReports through passing parameters.
Thank you sir,
JAYACHANDRA
|
|
|
|
|
How to trace client request in network (The network is a lan network in which Internet is provided by server and clients are using Internet.And sanding request for different website.)
How to got that requseted website name and got that IP address by which manchine that is sent.
And On Which Date and Time.
Using VB.NET(It's a windows baesd application)Plz Help ME OUT.
Bhavna
|
|
|
|
|
A little Google goes a long way. Results[^] for "vb.net packet capture".
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
i convert my project in atm in vb.net but i am having error... app error... can someone help me???
asa
|
|
|
|
|
You're going to have to be more specific. What is your code and what are you having problems with?
|
|
|
|
|
can you help me in the making a code for the ATM machine??? dunno how to do it...
asa
|
|
|
|
|
Yes, there is most probably someone here who can help you with any problems you might have while coding your school assignment.
There is noone here that will do your school assignment for you, though. Although it would be convenient for you at the moment, you would most likely learn absolutely nothing from it, which is the exact opposite of the intention of the assignment.
---
b { font-weight: normal; }
|
|
|
|
|
Learning comes from experience so, try to tackle your problem with starting off with the design or the User interface (UI). After doing the buttons and so on you can then get into coding it.
Try searching Google for answers.
|
|
|
|
|
Perhaps you should reply to the original poster instead of me?
---
b { font-weight: normal; }
|
|
|
|