|
i know its not simple to explain. give some brief notes or good links for encapsulation, polymorphism, abstract class with some coding example. and how it will use in our application.??
thanks for your help
|
|
|
|
|
You're still asking for WAY TOO MUCH information for a forum environment. Don't make me repeat myself.
|
|
|
|
|
Dear Mr. Dave Kreskowiak
Microsoft MVP Visual Developer
Thanks for your help. If you don't want to give me a link, tell me clearly. why r u dropping such kind of hurt message. Anyhow one of my good friend given the following link
http://www.c-sharpcorner.com/UploadFile/eecabral/OOPSand.NET211102005075520AM/OOPSand.NET2.aspx
Thanks for your co-operation.
Regards
Rafeeque Ahmed
|
|
|
|
|
That article just scrathes the surface. There's far more to OOP than what's in that article.
|
|
|
|
|
i hv developed an application in vb.net its having more 50 forms. when i open the same in vs.net my pc become slow. when the application is running, the pc get slow. this application was developed for Electrical Company and having 10 different users to access their option. the database also having much more (means 2 lakhs) record under one table not in every tables. some its giving error 'time out expired' while retrieving datas from the table.
what is best way to develop an application. what is procedure. what are things to be careful while developing an application?????. for retrieving data im using sqldatapter and filling in dataset. after that im not closing the connection. i read from some vb.net help book that if you fill the tables in dataset, after its filled in dataset its closing the connection automatically. im using sqlcommand and executenonquery to store information to the table.
it's a memory problem, obviously i would need to figure why so much memory is being used. It could be a problem with my code or perhaps just a problem due to the amount of data im retrieving.
kindly help
Rafeeque ahmed
|
|
|
|
|
Rafeeque Ahmed wrote: what is best way to develop an application.
Entire books are written on this subject alone. There is really no way of answering your question because of it's broad scope.
Rafeeque Ahmed wrote: what is procedure.
Again, another book.
Rafeeque Ahmed wrote: what are things to be careful while developing an application?????.
And another...
Rafeeque Ahmed wrote: it's a memory problem, obviously
No, it's not. It a major design problem with your app. Since we know nothing of your application, what's it's purpose is, what the slow parts of the app are, the structure of your database, the amount of data you REALLY need to be retrieving, are you using the appropriate methods for manipulting the data, are your queries optimized for the data and operation in question, ..., on and on and on, ... There is really nothing we can answer here other than suggesting a design review of your database, then a complete code review to veryify that you're doing things in the most advantageous way possible.
|
|
|
|
|
Your application performance problem can be one or more of many things. I would re-look over the entire design and see where there are potential bottlenecks and address them.
Rafeeque Ahmed wrote: what is best way to develop an application. what is procedure. what are things to be careful while developing an application?????
Like Dave said, this would require entire books or full term university coursework to cover...I would look around at a few books or on the web...
|
|
|
|
|
Iam using Webbrowser control in VB6 for Reporting and Printing.
While printing it also prints IE Header and Footer.
I searched many times from the google. But i didnt get any relevant result also.
I need to disable the Header and Footer of Webbowser control using VB, not manually from the page setup of IE.
And also to diable the Keyboard events for the Webbrowser.
Its very urgent!!!!
Please guide me.
Thanks & Regards
Kumaran
|
|
|
|
|
Hello,
How can i load a textfile into a textbox?
i tried:
dim txt as string
FileOpen(...)
Input(1, txt)
textbox1.text = txt
FileClose(1)
when i try this, i only get the first line of the file and not the lines below. how can i open a complete textfile and load it's (complete!) text into a textbox?
thanks in advance,
--Zaegra--
|
|
|
|
|
FileName = App.path & "\TextFile.txt"
Open FileName For Input As 1
whole_file = Input$(LOF(1), #1)
Close 1
Text1.Text = whole_file
Note : if the file contains more than one line you have to set the textbox control to multiline is true and their scrolls.
Thanks & Regards
Kumaran
|
|
|
|
|
Thanks, I will check this out
|
|
|
|
|
What's the process to submit an article of vb.net in this site?
|
|
|
|
|
|
Nilish wrote: What's the process to submit an article of vb.net in this site?
Just like how any other article on this site. Go to the Submission Wizard link that Dave provided...
|
|
|
|
|
Hi Every one,
I am trying to create a crystal report with custome paper size, but i won't be to do so.
Please help me to solve this issue.
|
|
|
|
|
|
|
Const FILE_SHARE = 0
Const MAXIMUM_CONNECTIONS = 25
Dim strComputer As String = "."
Dim objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")
Dim objNewShare = objWMIService.Get("Win32_Share")
Dim errReturn = objNewShare.Create _
("C:\Temp", "Temp", FILE_SHARE, _
MAXIMUM_CONNECTIONS, "MyFolder")
i doubleClick temp folder Remote Computer
return error access denied on file
help me
|
|
|
|
|
You might want to see if that folder actually got shared on the remote machine. Your code does get a return value from the objNewShare.Create method, but it ignores the result. So, you have no way of knowing if the sahre was actually created or not, or why it failed.
Also, your code creates the share, but it never sets up any permissions for any groups or users on that share.
|
|
|
|
|
Hi All,
any one please tell me how to make a VB script as a windows service......urgent....
Thanks,
Vimal
If U Get Errors U Will Learn
If U Don't Get Errors U Have Learnt
|
|
|
|
|
I don't see how that's possible. Why would you want to do that ? Why not write a service in VB.NET instead ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thanks for ur information... i dont know VB.net
If U Get Errors U Will Learn
If U Don't Get Errors U Have Learnt
|
|
|
|
|
If you have SQL-Server then you could schedule a regular job - which may allow you to achieve a similar effect. This can either run a stored procedure or a WScript VBS script.
|
|
|
|
|
What about VB6 then ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi All,
any one please tell me how to make a VB script as a windows service......urgent....
Thanks,
Vimal
If U Get Errors U Will Learn
If U Don't Get Errors U Have Learnt
|
|
|
|